/* ============================================================
   EMAIL MARKETING v2 — selectors prefixed em2-
   Builds on the shared shell, buttons, crumbs, badges, logos, reviews,
   FAQ and contact form in css/styles.css.
   Photo: Unsplash, see img/stock/email/README.md.
   Ōra (made-up store), its emails and product crops: img/screens/em/README.md.
   The email mock-ups, the pop-up over the store screenshot and the report
   card use fixed colours: they show someone else's brand, not the site theme.
   ============================================================ */

.em2-page {
  --ink: var(--deep);
  --ink-2: var(--deep-alt);
  --ink-line: var(--deep-line);
  --ink-muted: var(--deep-muted);
  --em2-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.45);
  --em2-good: #178a4c;
  --em2-bad: #c93c25;
  --em2-warn: #a86a12;
  --em2-blue: #2f6fe0;
  --ora: #c75a3a;
}
html[data-theme="wpx-dark"] .em2-page {
  --em2-good: #3ddc84;
  --em2-bad: #ff6b55;
  --em2-warn: #f2b14c;
  --em2-blue: #8ab4f8;
}

.em2-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.em2-ico { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.em2-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.em2-js [data-reveal].is-in { opacity: 1; transform: none; }
.em2-js .em2-tier[data-reveal],
.em2-js .em2-plats > li[data-reveal] { transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s), border-color 0.3s; }

/* ---- Shared bits ---- */
.em2-sec { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); background: var(--bg); scroll-margin-top: var(--header-h, 72px); }
.em2-sec.svc-alt { background: var(--bg-alt); }

.em2-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px 56px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.em2-head .section-label { margin-bottom: 18px; }
.em2-head h2 {
  max-width: 22ch;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.em2-head-aside { justify-self: end; max-width: 44ch; }
.em2-head-aside p { font-size: var(--fz-16); line-height: 1.55; color: var(--muted); }

/* Logo tile: always white, so monochrome marks stay visible on every theme */
.em2-logo { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1px solid #e3e3de; background: #fff; }
.em2-logo img { display: block; width: 62%; height: 62%; object-fit: contain; }
.em2-word { display: inline-grid; place-items: center; flex: none; height: 32px; padding: 0 12px; border: 1px solid #e3e3de; background: #fff; }
.em2-word img { display: block; width: auto; height: 17px; }

.em2-checks { display: grid; gap: 9px; list-style: none; }
.em2-checks li { position: relative; padding-left: 27px; font-size: var(--fz-15); line-height: 1.45; }
.em2-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.725em - 8.5px);
  width: 17px;
  height: 17px;
  border: 1px solid var(--text);
  border-radius: 50%;
}
.em2-checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.725em - 5.5px);
  width: 4px;
  height: 7px;
  border: solid var(--text);
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.em2-win { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--em2-shadow); overflow: hidden; }
.em2-win-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.em2-win-bar i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--text) 16%, transparent); }
.em2-win-bar span { min-width: 0; margin: 0 auto; padding: 3px 18px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.em2-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line); background: var(--surface); }
.em2-switch button { position: relative; z-index: 1; padding: 11px 22px; border: 0; background: none; color: var(--muted); font: inherit; font-size: var(--fz-15); font-weight: 600; white-space: nowrap; cursor: pointer; transition: color 0.3s; }
.em2-switch button[aria-pressed="true"] { color: var(--bg); }
.em2-switch button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.em2-switch i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--text); transition: transform 0.5s var(--ease); }
.em2-switch.is-b i { transform: translateX(100%); }
.em2-switch.is-sm button { padding: 8px 16px; font-size: 13.5px; }

.em2-marquee { display: flex; overflow: hidden; }
.em2-marquee-track { display: flex; align-items: center; flex-shrink: 0; margin: 0; padding: 0; list-style: none; animation: em2-marq var(--dur, 60s) linear infinite; }
.em2-marquee:hover .em2-marquee-track { animation-play-state: paused; }

.em2-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: currentColor; animation: em2-blink 1s steps(1) infinite; }

@keyframes em2-marq { to { transform: translateX(-100%); } }
@keyframes em2-zoom { from { transform: scale(1.08); } }
@keyframes em2-mark { from { background-size: 0 0.3em; } }
@keyframes em2-blink { 50% { opacity: 0; } }
@keyframes em2-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes em2-pop { from { opacity: 0; transform: scale(0.6); } }
@keyframes em2-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes em2-ping { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.6); opacity: 0; } }
@keyframes em2-flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 90%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }

/* ============================================================
   HERO — photo, a phone notification and one shopper's evening
   ============================================================ */
.em2-hero { padding: clamp(20px, 3vw, 36px) 0 0; background: var(--bg); overflow: hidden; }
.em2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px clamp(32px, 5vw, 80px);
  align-items: center;
}
.em2-hero-copy .section-label { margin: clamp(20px, 3.4vw, 44px) 0 22px; }
.em2-h1 { font-size: clamp(44px, 5vw, 76px); font-weight: 600; letter-spacing: -0.055em; line-height: 0.97; }
.em2-mark { background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% 0.3em no-repeat; }
.em2-js .em2-mark { animation: em2-mark 0.9s var(--ease) 0.9s both; }
.em2-lede { max-width: 50ch; margin-top: 26px; font-size: var(--fz-18); line-height: 1.5; color: var(--muted); }
.em2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.em2-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line);
  list-style: none;
}
.em2-facts li { display: grid; align-content: start; gap: 6px; padding: 20px 28px 0; border-left: 1px solid var(--line); }
.em2-facts li:first-child { padding-left: 0; border-left: 0; }
.em2-facts b { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.em2-facts li > span { max-width: 18ch; font-size: var(--fz-13-5); line-height: 1.35; color: var(--muted); }

.em2-stage { position: relative; height: clamp(600px, calc(100vh - var(--header-h, 72px) - 110px), 720px); margin-top: clamp(16px, 3vw, 40px); }
.em2-hero-photo { position: absolute; top: 0; right: 0; width: 82%; height: 60%; margin: 0; overflow: hidden; background: var(--bg-alt); box-shadow: var(--em2-shadow); }
.em2-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.em2-js .em2-hero-photo img { animation: em2-zoom 2.4s var(--ease) both; }

/* Notification on the photo: light glass on any theme */
.em2-toast {
  position: absolute;
  top: 26px;
  left: 6%;
  z-index: 4;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: min(300px, 70%);
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(250, 248, 245, 0.93);
  color: #1d1b19;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.em2-js .em2-toast { opacity: 0; transform: translateY(-14px) scale(0.96); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.em2-js .em2-toast.is-on { opacity: 1; transform: none; }
.em2-toast p { display: grid; min-width: 0; font-size: 12.5px; line-height: 1.3; }
.em2-toast b { font-weight: 700; }
.em2-toast p span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #4a4642; }
.em2-toast time { align-self: start; font-size: 11px; color: #8a847d; }
.em2-av { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--ora); color: var(--deep-text); font: 600 19px/1 Georgia, "Times New Roman", serif; }

.em2-jour {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: min(470px, 84%);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.6);
}
.em2-jour-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--ink); color: var(--deep-text); }
.em2-jour-head p { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; }
.em2-jour-head span { font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; }
.em2-live { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.em2-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: em2-ping 1.6s var(--ease) infinite; }

.em2-jour-list { position: relative; display: grid; padding: 8px 16px; list-style: none; }
.em2-jour-list li { position: relative; display: grid; grid-template-columns: 40px 30px minmax(0, 1fr) auto; align-items: center; gap: 0 10px; min-height: 46px; padding: 4px 0; }
.em2-jour-list li + li::before { content: ""; position: absolute; top: -12px; left: 64px; width: 1px; height: 20px; background: var(--line); }
.em2-jour-list time { font-size: 11.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.em2-jour-list .em2-ico { box-sizing: content-box; width: 15px; height: 15px; padding: 6px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.em2-jour-list p { display: grid; min-width: 0; font-size: 13px; line-height: 1.3; }
.em2-jour-list b { font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.em2-jour-list p span { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); }
.em2-jour-list img { display: block; width: 36px; height: 36px; border: 1px solid var(--line); object-fit: cover; }
.em2-jour-list li.is-bad .em2-ico { border-color: var(--em2-bad); color: var(--em2-bad); }
.em2-jour-list li.is-mail .em2-ico { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.em2-jour-list li.is-win .em2-ico { border-color: var(--em2-good); background: var(--em2-good); color: var(--deep-text); }
.em2-js .em2-jour-list li { opacity: 0.2; transition: opacity 0.4s; }
.em2-js .em2-jour-list li.is-on { opacity: 1; }
.em2-js .em2-jour-list li.is-on .em2-ico { animation: em2-pop 0.45s var(--ease) both; }
.em2-js .em2-jour-list li.is-mail.is-on .em2-ico { animation: em2-pop 0.45s var(--ease) both, em2-flash 1.1s var(--ease) 0.3s; }

.em2-jour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg-alt); font-size: 12.5px; color: var(--muted); }
.em2-jour-foot b { padding: 4px 10px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.em2-js .em2-jour-foot b { opacity: 0; transform: scale(0.7); transition: opacity 0.35s, transform 0.5s var(--ease); }
.em2-js .em2-jour.is-done .em2-jour-foot b { opacity: 1; transform: none; }

.em2-hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 40px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 48px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.em2-hero-foot .svc-badges { min-height: 0; margin: 0; padding: 0; border-top: 0; }
.em2-hero-foot .svc-badges img { height: 34px; }
html[data-theme="wpx-dark"] .em2-hero-foot .svc-badges img { filter: invert(1) hue-rotate(180deg); }
.em2-hero-note { max-width: 70ch; font-size: 12.5px; color: var(--muted); }

/* ---- Platform strip ---- */
.em2-strip { border-top: 1px solid var(--line); background: var(--bg-alt); overflow: hidden; }
.em2-strip-in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px; }
.em2-strip-k { padding: 22px 32px 22px 0; border-right: 1px solid var(--line); font-size: 13px; line-height: 1.35; color: var(--muted); white-space: nowrap; }
.em2-strip-k b { font-weight: 600; color: var(--text); }
.em2-strip .em2-marquee { -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.em2-strip .em2-marquee-track { --dur: 55s; }
.em2-strip li { display: inline-flex; align-items: center; gap: 10px; margin-right: 40px; font-size: var(--fz-15); font-weight: 600; white-space: nowrap; }
.em2-strip .em2-logo { width: 32px; height: 32px; }

/* ============================================================
   REVENUE — flows against campaigns
   ============================================================ */
.em2-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px clamp(28px, 4vw, 56px); padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); background: var(--surface); }
.em2-split-rows { display: grid; align-content: center; gap: 26px; }
.em2-split-row p { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.em2-split-bar { display: flex; height: 54px; background: color-mix(in srgb, var(--text) 7%, transparent); }
.em2-split-bar i { position: relative; display: flex; align-items: center; width: calc(var(--w) * 1%); min-width: 0; font-style: normal; }
.em2-split-bar span { padding: 0 14px; font-size: var(--fz-15); font-weight: 600; white-space: nowrap; }
.em2-split-bar .is-flow { background: var(--accent); color: var(--accent-ink); }
.em2-split-bar .is-camp { justify-content: flex-end; background: color-mix(in srgb, var(--text) 13%, transparent); color: var(--text); }
.em2-split-bar .is-tiny span { position: absolute; left: calc(100% + 4px); padding: 0 10px; color: var(--text); }
.em2-js .em2-split-bar i { width: 0; transition: width 1.3s var(--ease) 0.35s; }
.em2-js .em2-split-row + .em2-split-row .em2-split-bar i { transition-delay: 0.6s; }
.em2-js .em2-split.is-in .em2-split-bar i { width: calc(var(--w) * 1%); }
.em2-js .em2-split-bar span { opacity: 0; transition: opacity 0.4s 1.4s; }
.em2-js .em2-split.is-in .em2-split-bar span { opacity: 1; }

.em2-split-stats { display: grid; align-content: center; border-left: 1px solid var(--line); }
.em2-split-stats > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 4px 18px; padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); }
.em2-split-stats > div:last-child { border-bottom: 0; }
.em2-split-stats dt { font-size: var(--fz-14-5); font-weight: 600; }
.em2-split-stats dd { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.em2-split-stats dd b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.em2-split-stats dd:nth-of-type(1) b { box-shadow: inset 0 -0.3em 0 color-mix(in srgb, var(--accent) 70%, transparent); }
.em2-split-src { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.em2-split-src a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.em2-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; list-style: none; }
.em2-trio li { display: grid; align-content: start; gap: 10px; padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.em2-trio-k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.em2-trio h3 { font-size: clamp(20px, 1.8vw, 25px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.em2-trio li > p:last-child { font-size: var(--fz-15); line-height: 1.5; color: var(--muted); }

/* ============================================================
   FLOWS — dark section, flow canvas plus phone preview
   ============================================================ */
.em2-dark { border-top-color: var(--ink); background: var(--ink); color: var(--deep-text); }
.em2-dark .section-label { color: var(--accent); }
.em2-dark .em2-head-aside p { color: var(--ink-muted); }

.em2-ftabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--ink-line); }
.em2-ftabs button { display: grid; gap: 2px; min-width: 0; padding: 14px 16px 13px; border: 0; border-left: 1px solid var(--ink-line); background: none; color: var(--deep-text); font: inherit; text-align: left; cursor: pointer; transition: background 0.3s, color 0.3s; }
.em2-ftabs button:first-child { border-left: 0; }
.em2-ftabs button:hover { background: color-mix(in srgb, var(--deep-text) 6%, transparent); }
.em2-ftabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.em2-ftabs b { font-size: var(--fz-16); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.em2-ftabs span { overflow: hidden; font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-muted); }
.em2-ftabs button.is-on { background: #fff; color: var(--ink); }
.em2-ftabs button.is-on span { color: #5c5a56; }

.em2-flows-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 28px; }
.em2-fp[hidden] { display: none; }
.em2-fp-head h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.em2-fp-head dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid var(--ink-line); }
.em2-fp-head dl div { padding: 12px 16px 12px 0; }
.em2-fp-head dl div + div { padding-left: 16px; border-left: 1px solid var(--ink-line); }
.em2-fp-head dt { margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.em2-fp-head dd { font-size: 14px; line-height: 1.4; }
.em2-fp-bench { padding: 10px 14px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--deep-text) 5%, transparent); font-size: 13.5px; line-height: 1.45; color: color-mix(in srgb, var(--deep-text) 82%, transparent); }

.em2-canvas {
  display: grid;
  justify-items: center;
  margin-top: 20px;
  padding: 28px 22px;
  border: 1px solid var(--ink-line);
  background: radial-gradient(color-mix(in srgb, var(--deep-text) 9%, transparent) 1px, transparent 1.2px) 0 0 / 18px 18px, var(--ink-2);
  list-style: none;
}
.em2-node { position: relative; width: min(440px, 100%); }
.em2-node + .em2-node { margin-top: 22px; }
.em2-node + .em2-node::before { content: ""; position: absolute; top: -22px; left: 50%; height: 22px; border-left: 1px dashed color-mix(in srgb, var(--deep-text) 35%, transparent); }
.em2-node > p,
.em2-node button p { display: grid; gap: 1px; min-width: 0; }
.em2-node span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.em2-node b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.em2-node small { margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--ink-muted); }
.em2-node.is-trigger,
.em2-node.is-filter,
.em2-node.is-split { display: flex; align-items: center; gap: 12px; padding: 11px 16px; }
.em2-node.is-trigger { background: var(--accent); color: var(--accent-ink); }
.em2-node.is-filter,
.em2-node.is-split { border: 1px dashed color-mix(in srgb, var(--deep-text) 32%, transparent); background: var(--ink); }
.em2-node.is-wait,
.em2-node.is-exit { display: flex; align-items: center; justify-content: center; gap: 8px; width: auto; padding: 6px 14px; border: 1px solid var(--ink-line); border-radius: 999px; background: var(--ink); color: var(--ink-muted); }
.em2-node.is-wait b,
.em2-node.is-exit b { font-size: 12.5px; font-weight: 600; }
.em2-node.is-wait .em2-ico,
.em2-node.is-exit .em2-ico { width: 15px; height: 15px; }
.em2-node.is-mail button {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--deep-text) 20%, transparent);
  background: color-mix(in srgb, var(--deep-text) 7%, transparent);
  color: var(--deep-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.em2-node.is-mail button:hover { border-color: color-mix(in srgb, var(--deep-text) 50%, transparent); }
.em2-node.is-mail button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.em2-node.is-mail button[aria-pressed="true"] { border-color: var(--deep-text); background: #fff; color: var(--ink); }
.em2-node.is-mail button[aria-pressed="true"] span { opacity: 0.6; }
.em2-node.is-mail b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.em2-node.is-mail em { padding: 3px 8px; border: 1px solid currentColor; font-size: 11px; font-style: normal; font-weight: 600; white-space: nowrap; opacity: 0.75; }
.em2-node.is-mail button::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.em2-flows.is-auto .em2-node.is-mail button.is-prog::after { animation: em2-prog var(--hold, 5s) linear both; }
.em2-js .em2-fp.is-on .em2-node { animation: em2-in 0.45s var(--ease) calc(var(--i, 0) * 0.07s) both; }

.em2-preview { position: sticky; top: calc(var(--header-h, 72px) + 24px); display: grid; justify-items: center; gap: 14px; }
.em2-preview-cap { min-height: 1.4em; font-size: 13px; color: var(--ink-muted); text-align: center; }
.em2-flows-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--ink-line); }
.em2-flows-more p { font-size: var(--fz-14-5); }
.em2-flows-more ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.em2-flows-more li { padding: 6px 12px; border: 1px solid var(--ink-line); border-radius: 999px; font-size: 13px; color: var(--ink-muted); }

/* ============================================================
   PHONE + EMAIL MOCK-UP (fixed brand colours, sized by the phone)
   ============================================================ */
.em2-phone {
  --m-bg: #fff;
  --m-chrome: #f6f4f1;
  --m-text: #1d1b19;
  --m-muted: #6c665f;
  --m-line: #ebe6e0;
  --m-card: #f7f3ee;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  max-width: 290px;
  min-height: 0;
  aspect-ratio: 9 / 18.6;
  padding: 9px;
  border-radius: 42px;
  background: #0c0c0c;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--deep-text) 12%, transparent), 0 40px 70px -30px rgba(0, 0, 0, 0.65);
}
.em2-phone.is-lg { max-width: 330px; }
.em2-phone-bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 24px; border-radius: 33px 33px 0 0; background: var(--m-chrome); color: var(--m-text); font-size: 12px; font-weight: 600; }
.em2-phone-bar i { position: absolute; top: 8px; left: 50%; width: 30%; height: 18px; border-radius: 10px; background: #0c0c0c; translate: -50% 0; }
.em2-phone-sig { display: flex; align-items: flex-end; gap: 2px; height: 10px; }
.em2-phone-sig b { width: 3px; background: currentColor; }
.em2-phone-sig b:nth-child(1) { height: 4px; }
.em2-phone-sig b:nth-child(2) { height: 6px; }
.em2-phone-sig b:nth-child(3) { height: 8px; }
.em2-phone-sig b:nth-child(4) { height: 10px; }
.em2-screen { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); min-height: 0; overflow: hidden; border-radius: 0 0 33px 33px; background: var(--m-bg); color: var(--m-text); container-type: inline-size; transition: background 0.4s; }

.em2-mail { grid-area: 1 / 1; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); min-height: 0; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; text-align: left; }
.em2-preview .em2-mail { opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
.em2-preview .em2-mail.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.em2-mail-top { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 5cqw 2.4cqw; background: var(--m-chrome); transition: background 0.4s; }
.em2-mail-top .em2-av { width: 9.5cqw; height: 9.5cqw; border-radius: 50%; font-size: 5.4cqw; }
.em2-mail-from { display: grid; min-width: 0; font-size: 3.4cqw; line-height: 1.25; }
.em2-mail-from b { font-size: 4.1cqw; font-weight: 700; }
.em2-mail-from span { color: var(--m-muted); }
.em2-mail-top time { margin-left: auto; font-size: 3.3cqw; color: var(--m-muted); }
.em2-mail-subj { position: relative; padding: 2.6cqw 5cqw 0; background: var(--m-chrome); font-size: 4.7cqw; font-weight: 700; line-height: 1.25; transition: background 0.4s; }
.em2-mail-pre { padding: 1.2cqw 5cqw 3cqw; border-bottom: 1px solid var(--m-line); background: var(--m-chrome); font-size: 3.5cqw; line-height: 1.35; color: var(--m-muted); transition: background 0.4s; }
.em2-mail-scroll { min-height: 0; overflow: hidden; -webkit-mask: linear-gradient(#000 82%, transparent); mask: linear-gradient(#000 82%, transparent); }
.em2-mail-body { display: grid; align-content: start; gap: 3.2cqw; padding: 4.5cqw 6cqw 8cqw; transform: translateY(0); transition: transform 0.9s var(--ease); }
.em2-phone.is-scroll .em2-mail-body,
.em2-mail.is-scroll .em2-mail-body { transform: translateY(calc(var(--scroll, 0px) * -1)); transition: transform var(--scroll-t, 4s) cubic-bezier(0.45, 0, 0.35, 1); }
.em2-mail-logo { position: relative; padding-bottom: 1cqw; font: 400 8.4cqw/1 Georgia, "Times New Roman", serif; letter-spacing: 0.02em; text-align: center; }
.em2-mail-hero { position: relative; margin: 0; aspect-ratio: 3 / 2; background: var(--m-card); }
.em2-mail-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.em2-mail-cart { display: grid; grid-template-columns: 17cqw minmax(0, 1fr) auto; align-items: center; gap: 3cqw; padding: 2.6cqw; border: 1px solid var(--m-line); background: var(--m-card); font-size: 3.6cqw; }
.em2-mail-cart img { display: block; width: 17cqw; height: 17cqw; object-fit: cover; }
.em2-mail-cart p { display: grid; gap: 0.6cqw; min-width: 0; }
.em2-mail-cart p span { color: var(--m-muted); }
.em2-mail-k { margin-top: 1cqw; font-size: 3.1cqw; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ora); text-align: center; }
.em2-mail-h { font: 400 6.8cqw/1.14 Georgia, "Times New Roman", serif; letter-spacing: -0.01em; text-align: center; }
.em2-mail-p { font-size: 3.8cqw; line-height: 1.5; color: var(--m-muted); text-align: center; }
.em2-mail-stars { font-size: 4.4cqw; letter-spacing: 0.08em; color: #e0a526; text-align: center; }
.em2-mail-stars span { margin-left: 1.5cqw; font-size: 3.6cqw; font-weight: 700; letter-spacing: 0; color: var(--m-text); }
.em2-mail-ask { display: flex; justify-content: center; gap: 1.6cqw; font-size: 8cqw; line-height: 1; color: #e0a526; }
.em2-mail-cta { text-align: center; }
.em2-mail-btn { position: relative; display: inline-block; padding: 3.3cqw 7cqw; border-radius: 999px; background: var(--ora); color: var(--deep-text); font-size: 3.9cqw; font-weight: 600; }
.em2-mail-note { margin-top: -1cqw; font-size: 3.3cqw; line-height: 1.4; color: var(--m-muted); text-align: center; }
.em2-mail-pk { margin-top: 2cqw; padding-top: 3.6cqw; border-top: 1px solid var(--m-line); font-size: 3cqw; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--m-muted); text-align: center; }
.em2-mail-prods { position: relative; display: grid; gap: 3cqw; list-style: none; }
.em2-mail-prods.is-1 { grid-template-columns: 0.5fr; justify-content: center; }
.em2-mail-prods.is-2 { grid-template-columns: 1fr 1fr; }
.em2-mail-prods.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.em2-mail-prods li { display: grid; align-content: start; gap: 0.8cqw; min-width: 0; font-size: 3.2cqw; line-height: 1.25; }
.em2-mail-prods img { display: block; width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 1cqw; background: var(--m-card); object-fit: cover; }
.em2-mail-prods b { overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.em2-mail-prods span { color: var(--m-muted); }
.em2-mail-foot { position: relative; margin-top: 2cqw; padding-top: 4cqw; border-top: 1px solid var(--m-line); font-size: 2.9cqw; line-height: 1.55; color: var(--m-muted); text-align: center; }
.em2-mail-foot u { text-underline-offset: 2px; }

/* ============================================================
   TEMPLATES — four phones, dark mode, two languages, anatomy pins
   ============================================================ */
.em2-tpl-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.em2-tpl-hint { margin-left: auto; font-size: 13px; color: var(--muted); }
.em2-tpl[data-lang="en"] [lang="lv"],
.em2-tpl[data-lang="lv"] [lang="en"] { display: none; }
.em2-tpl[data-scheme="dark"] .em2-phone {
  --m-bg: #131313;
  --m-chrome: #1c1c1c;
  --m-text: #f1ede8;
  --m-muted: #a8a19a;
  --m-line: #2c2a28;
  --m-card: #1f1d1b;
}

.em2-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 28px; list-style: none; }
.em2-gallery > li { display: grid; justify-items: center; align-content: start; gap: 16px; }
.em2-gallery .em2-phone { cursor: ns-resize; }
.em2-gallery-k { display: grid; gap: 2px; text-align: center; }
.em2-gallery-k b { font-size: var(--fz-16); font-weight: 600; }
.em2-gallery-k span { font-size: 13px; color: var(--muted); }

.em2-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 6.6cqw;
  height: 6.6cqw;
  border-radius: 50%;
  background: #111;
  color: var(--deep-text);
  box-shadow: 0 0 0 0.7cqw color-mix(in srgb, var(--deep-text) 90%, transparent);
  font: 700 3.4cqw/1 -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-style: normal;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.em2-mail-subj:has(> .em2-pin) { padding-left: 11cqw; }
.em2-mail-subj > .em2-pin { top: 2.6cqw; left: 3cqw; }
.em2-mail-logo > .em2-pin { top: -0.6cqw; left: 18%; }
.em2-mail-hero > .em2-pin { top: 2cqw; left: 2cqw; }
.em2-mail-btn > .em2-pin { top: -2.4cqw; left: -2.4cqw; }
.em2-mail-prods > .em2-pin { top: -2cqw; left: -2.6cqw; }
.em2-mail-foot > .em2-pin { top: 2cqw; left: 4%; }
.em2-tpl[data-pin="1"] .em2-pin[data-pin="1"],
.em2-tpl[data-pin="2"] .em2-pin[data-pin="2"],
.em2-tpl[data-pin="3"] .em2-pin[data-pin="3"],
.em2-tpl[data-pin="4"] .em2-pin[data-pin="4"],
.em2-tpl[data-pin="5"] .em2-pin[data-pin="5"],
.em2-tpl[data-pin="6"] .em2-pin[data-pin="6"] { background: var(--accent); color: var(--accent-ink); transform: scale(1.35); }

.em2-anat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); counter-reset: anat; list-style: none; }
.em2-anat li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 14px; padding: 18px 20px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-increment: anat; cursor: default; transition: background 0.25s; }
.em2-anat li::before { content: counter(anat); grid-row: 1 / 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 12.5px; font-weight: 700; transition: background 0.25s, color 0.25s; }
.em2-anat li:hover,
.em2-anat li.is-on { background: var(--surface); }
.em2-anat li:hover::before,
.em2-anat li.is-on::before { background: var(--accent); color: var(--accent-ink); }
.em2-anat b { font-size: var(--fz-16); font-weight: 600; letter-spacing: -0.01em; }
.em2-anat span { font-size: var(--fz-14-5); line-height: 1.45; color: var(--muted); }
.em2-tpl-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; margin-top: 24px; list-style: none; }
.em2-tpl-notes li { position: relative; padding-left: 18px; font-size: var(--fz-14-5); line-height: 1.45; color: var(--muted); }
.em2-tpl-notes li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; background: var(--accent); }

/* ============================================================
   DELIVERABILITY — sender check, spam-rate gauge, the rules
   ============================================================ */
.em2-dlv-ctrl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.em2-dlv-score { font-size: var(--fz-15); color: var(--muted); }
.em2-dlv-score b { margin-right: 4px; font-size: 32px; font-weight: 600; letter-spacing: -0.04em; color: var(--em2-bad); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.em2-dlv[data-mode="after"] .em2-dlv-score b { color: var(--em2-good); }
.em2-dlv-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }

.em2-dlv-rows { list-style: none; }
.em2-dlv-rows li { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 4px 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.em2-dlv-rows b { font-size: var(--fz-14-5); font-weight: 600; }
.em2-dlv-rows p { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.em2-dlv-rows em { flex: none; min-width: 74px; padding: 3px 8px; border: 1px solid currentColor; font-size: 11.5px; font-style: normal; font-weight: 700; text-align: center; color: var(--em2-good); }
.em2-dlv-rows li[data-before="bad"] .is-before em { color: var(--em2-bad); }
.em2-dlv-rows li[data-before="warn"] .is-before em { color: var(--em2-warn); }
.em2-dlv[data-mode="before"] .is-after,
.em2-dlv[data-mode="after"] .is-before { display: none; }
.em2-js .em2-dlv.is-run .em2-dlv-rows p { animation: em2-in 0.4s var(--ease) calc(var(--i, 0) * 0.1s) both; }
.em2-dlv-out { padding: 14px 18px; font-size: var(--fz-14-5); font-weight: 600; }
.em2-dlv[data-mode="before"] .em2-dlv-out { background: color-mix(in srgb, var(--em2-bad) 10%, var(--surface)); color: var(--em2-bad); }
.em2-dlv[data-mode="after"] .em2-dlv-out { background: color-mix(in srgb, var(--em2-good) 10%, var(--surface)); color: var(--em2-good); }

.em2-dlv-side { display: grid; gap: 16px; }
.em2-gauge { padding: 22px 22px 18px; border: 1px solid var(--line); background: var(--surface); }
.em2-gauge-k { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.em2-gauge-v b { display: block; margin: 8px 0 16px; font-size: clamp(40px, 4vw, 54px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--em2-bad); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.em2-dlv[data-mode="after"] .em2-gauge-v b { color: var(--em2-good); }
.em2-gauge-bar { position: relative; display: grid; grid-template-columns: 25fr 50fr 25fr; height: 12px; }
.em2-gauge-bar .is-ok { background: color-mix(in srgb, var(--em2-good) 55%, transparent); }
.em2-gauge-bar .is-mid { background: color-mix(in srgb, var(--em2-warn) 45%, transparent); }
.em2-gauge-bar .is-high { background: color-mix(in srgb, var(--em2-bad) 60%, transparent); }
.em2-gauge-bar i { position: absolute; top: -6px; left: calc(var(--x, 85) * 1%); width: 4px; height: 24px; margin-left: -2px; background: var(--text); transition: left 1.2s var(--ease); }
.em2-gauge-marks { position: relative; height: 30px; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.em2-gauge-marks span { position: absolute; top: 0; left: calc(var(--x, 0) * 1%); white-space: nowrap; translate: -50% 0; }
.em2-gauge-marks span:first-child { translate: 0 0; }
.em2-gauge-marks span:last-child { translate: -100% 0; }

.em2-rules { display: grid; padding: 4px 0 4px 22px; border-left: 2px solid var(--line); list-style: none; }
.em2-rules li { position: relative; display: grid; gap: 2px; padding: 10px 0; }
.em2-rules li::before { content: ""; position: absolute; top: 15px; left: -28px; width: 10px; height: 10px; border: 2px solid var(--bg-alt); border-radius: 50%; background: var(--text); }
.em2-rules li.is-now::before { background: var(--accent); box-shadow: 0 0 0 2px var(--text); }
.em2-rules time { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.em2-rules p { font-size: var(--fz-14-5); line-height: 1.45; color: var(--muted); }
.em2-rules b { font-weight: 600; color: var(--text); }

/* ============================================================
   LIST — pop-up over the store screenshot, live segments
   ============================================================ */
.em2-list { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.em2-list-side { position: sticky; top: calc(var(--header-h, 72px) + 24px); display: grid; gap: 28px; }
.em2-pop-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); list-style: none; }
.em2-pop-rules li { display: grid; align-content: start; gap: 4px; padding: 16px 20px 0 0; }
.em2-pop-rules li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.em2-pop-rules b { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.em2-pop-rules span { font-size: var(--fz-14-5); line-height: 1.45; }
.em2-signup { margin: 0; }
.em2-signup figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.em2-signup-stage { position: relative; aspect-ratio: 16 / 11.5; overflow: hidden; background: #f4efe9; }
.em2-signup-stage > img { display: block; width: 100%; height: auto; }
.em2-signup-stage::after { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 12, 0.42); }
.em2-pop {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(340px, 80%);
  padding: 22px 22px 20px;
  border-radius: 14px;
  background: #fbf8f4;
  color: #1d1b19;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  translate: -50% -50%;
}
.em2-pop-x { position: absolute; top: 10px; right: 14px; font-size: 20px; line-height: 1; color: #8a847d; }
.em2-pop-steps { display: flex; gap: 6px; list-style: none; }
.em2-pop-steps li { flex: 1; padding-top: 7px; border-top: 3px solid #e6dfd7; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9b948c; transition: border-color 0.3s, color 0.3s; }
.em2-pop[data-step="1"] .em2-pop-steps li:nth-child(-n + 1),
.em2-pop[data-step="2"] .em2-pop-steps li:nth-child(-n + 2),
.em2-pop[data-step="3"] .em2-pop-steps li { border-color: var(--ora); color: var(--ora); }
.em2-pop-p { display: none; gap: 12px; }
.em2-pop[data-step="1"] .is-1,
.em2-pop[data-step="2"] .is-2,
.em2-pop[data-step="3"] .is-3 { display: grid; animation: em2-in 0.4s var(--ease); }
.em2-pop-k { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ora); }
.em2-pop-h { font: 400 23px/1.15 Georgia, "Times New Roman", serif; }
.em2-pop-t { font-size: 14px; line-height: 1.5; color: #5f5a54; }
.em2-pop-field { min-height: 44px; padding: 11px 13px; border: 1px solid #d8d1c9; border-radius: 8px; background: #fff; font-size: 14.5px; }
.em2-pop-check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 12px; line-height: 1.4; color: #5f5a54; }
.em2-pop-check i { position: relative; width: 18px; height: 18px; border: 1.5px solid #9b948c; border-radius: 4px; background: #fff; transition: background 0.25s, border-color 0.25s; }
.em2-pop-check i::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--deep-text); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.25s var(--ease); }
.em2-pop.is-ticked .em2-pop-check i { border-color: var(--ora); background: var(--ora); }
.em2-pop.is-ticked .em2-pop-check i::after { transform: rotate(45deg) scale(1); }
.em2-pop-btn { display: block; padding: 12px; border-radius: 999px; background: var(--ora); color: var(--deep-text); font-size: 14px; font-weight: 600; text-align: center; }
.em2-pop-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; }
.em2-pop-opts li { padding: 9px 10px; border: 1px solid #d8d1c9; border-radius: 999px; background: #fff; font-size: 13px; text-align: center; transition: border-color 0.25s, background 0.25s; }
.em2-pop-opts li.is-sel { border-color: var(--ora); background: color-mix(in srgb, var(--ora) 12%, #fff); font-weight: 600; }
.em2-pop .em2-caret { display: none; }
.em2-pop.is-typing .em2-caret { display: inline-block; }

.em2-segs { padding: 22px 24px 24px; border: 1px solid var(--line); background: var(--surface); }
.em2-segs-k { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.em2-segs-k span { position: relative; padding-left: 14px; letter-spacing: 0.04em; text-transform: none; font-weight: 600; }
.em2-segs-k span::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--em2-good); }
.em2-segs ul { list-style: none; }
.em2-segs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.em2-segs li p { display: grid; gap: 1px; min-width: 0; }
.em2-segs li b { font-size: var(--fz-15); font-weight: 600; }
.em2-segs li p span { font-size: 13px; color: var(--muted); }
.em2-segs li em { grid-row: 1 / 3; grid-column: 2; font-size: 24px; font-style: normal; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; text-align: right; }
.em2-segs li small { justify-self: start; padding: 2px 8px; background: color-mix(in srgb, var(--accent) 35%, transparent); font-size: 12px; font-weight: 600; }
.em2-segs li.is-off em { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.em2-segs li.is-off small { background: color-mix(in srgb, var(--em2-bad) 14%, transparent); color: var(--em2-bad); }
.em2-law { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--text); background: var(--bg-alt); }
.em2-law-k { margin-bottom: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.em2-law p:last-child { font-size: var(--fz-14); line-height: 1.55; color: var(--muted); }

/* ============================================================
   MONTHLY — campaign calendar and the report
   ============================================================ */
.em2-month { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.em2-cal { padding: 20px; border: 1px solid var(--ink-line); background: var(--ink-2); }
.em2-cal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 16px; }
.em2-cal-head p { display: grid; gap: 2px; }
.em2-cal-head b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.em2-cal-head p span { font-size: 12.5px; color: var(--ink-muted); }
.em2-cal-legend { display: flex; gap: 14px; list-style: none; }
.em2-cal-legend li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-muted); }
.em2-cal-legend li::before { content: ""; width: 9px; height: 9px; background: var(--c); }
.em2-cal-legend .is-content,
.em2-cal-send.is-content { --c: #8ab4f8; }
.em2-cal-legend .is-launch,
.em2-cal-send.is-launch { --c: var(--accent); }
.em2-cal-legend .is-sale,
.em2-cal-send.is-sale { --c: #ff8a75; }
.em2-cal-wk,
.em2-cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; list-style: none; }
.em2-cal-wk { margin-bottom: 6px; }
.em2-cal-wk li { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.em2-cal-days li { min-height: 70px; border: 1px solid var(--ink-line); }
.em2-cal-days li.is-pad { border-color: transparent; }
.em2-cal-days li.is-we:not(.has-send) { background: color-mix(in srgb, var(--deep-text) 2.5%, transparent); }
.em2-cal-day span { display: block; padding: 6px 7px; font-size: 12px; color: color-mix(in srgb, var(--deep-text) 42%, transparent); }
.em2-cal-days li.has-send { border-color: transparent; }
.em2-cal-send {
  display: grid;
  align-content: space-between;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 6px 7px 8px;
  border: 0;
  border-left: 3px solid var(--c);
  background: color-mix(in srgb, var(--c) 17%, transparent);
  color: var(--deep-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.em2-cal-send span { font-size: 12px; font-weight: 700; }
.em2-cal-send b { font-size: 12px; font-weight: 600; line-height: 1.2; }
.em2-cal-send:hover { background: color-mix(in srgb, var(--c) 30%, transparent); }
.em2-cal-send:focus-visible { outline: 2px solid var(--deep-text); outline-offset: 2px; }
.em2-cal-send[aria-pressed="true"] { background: var(--c); color: var(--ink); }
.em2-cal-flows { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ink-line); font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.em2-cal-flows b { margin-right: 6px; font-weight: 600; color: var(--deep-text); }

.em2-cal-detail { padding: 22px; border: 1px solid var(--ink-line); background: var(--ink-2); }
.em2-cal-d[hidden] { display: none; }
.em2-cal-d.is-on { animation: em2-in 0.4s var(--ease); }
.em2-cal-d-k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-muted); }
.em2-cal-d-k span { padding: 3px 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.em2-cal-d-k .is-content { background: #8ab4f8; }
.em2-cal-d-k .is-launch { background: var(--accent); color: var(--accent-ink); }
.em2-cal-d-k .is-sale { background: #ff8a75; }
.em2-cal-d-h { margin: 14px 0 6px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.em2-cal-d dl { display: grid; }
.em2-cal-d dl div { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--ink-line); }
.em2-cal-d dt { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.em2-cal-d dd { font-size: var(--fz-15); line-height: 1.4; }
.em2-cal-d-note { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--ink-muted); }

/* Report card: a light document in the dark section, on every theme */
.em2-report {
  --text: #121211;
  --muted: #625e58;
  --line: #e3dfd9;
  --surface: #fff;
  --bg: #fff;
  margin-top: 16px;
  padding: clamp(20px, 2.6vw, 30px);
  background: #fafaf7;
  color: var(--text);
}
.em2-report-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.em2-report-head p { display: grid; gap: 2px; }
.em2-report-head b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.em2-report-head p span { font-size: 13px; color: var(--muted); }
.em2-report .btn-outline { border-color: #121211; color: #121211; }
.em2-report .btn-outline:hover { background: #121211; color: var(--deep-text); }
.em2-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); list-style: none; }
.em2-kpis li { display: grid; gap: 4px; padding: 18px 16px; border-left: 1px solid var(--line); }
.em2-kpis li:first-child { padding-left: 0; border-left: 0; }
.em2-kpis li > span { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.em2-kpis b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.em2-kpis small { font-size: 12.5px; color: var(--muted); }
.em2-report-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 56px); padding-top: 20px; }
.em2-report-k { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.em2-bars { display: grid; gap: 9px; list-style: none; }
.em2-bars li { display: grid; grid-template-columns: 128px minmax(0, 1fr) 64px; align-items: center; gap: 12px; font-size: 13.5px; }
.em2-bars b { font-weight: 600; }
.em2-bars i { display: block; width: calc(var(--v) * 1%); height: 12px; background: #121211; transform-origin: left; }
.em2-bars li:first-child i { background: var(--ora); }
.em2-bars span { text-align: right; font-variant-numeric: tabular-nums; }
.em2-js .em2-report .em2-bars i { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.em2-js .em2-report.is-in .em2-bars i { transform: none; }
.em2-js .em2-report.is-in .em2-bars li:nth-child(2) i { transition-delay: 0.1s; }
.em2-js .em2-report.is-in .em2-bars li:nth-child(3) i { transition-delay: 0.2s; }
.em2-js .em2-report.is-in .em2-bars li:nth-child(4) i { transition-delay: 0.3s; }
.em2-js .em2-report.is-in .em2-bars li:nth-child(5) i { transition-delay: 0.4s; }
.em2-js .em2-report.is-in .em2-bars li:nth-child(6) i { transition-delay: 0.5s; }
.em2-report-next .em2-checks li { font-size: var(--fz-14-5); }
.em2-report-note { margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* ============================================================
   PLATFORMS
   ============================================================ */
.em2-plats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.em2-plats > li { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; padding: 26px 24px 22px; border: 1px solid var(--line); background: var(--surface); }
.em2-plats > li:hover { border-color: var(--text); }
.em2-plats > li.is-pick { border-color: var(--text); box-shadow: inset 0 4px 0 var(--accent); }
.em2-plat-badge { position: absolute; top: -12px; left: 24px; padding: 5px 10px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.em2-plat-logo { display: flex; align-items: center; justify-content: center; gap: 10px; height: 64px; border: 1px solid #e3e3de; background: #fff; color: #121211; }
.em2-plat-logo img { display: block; width: auto; height: 26px; }
.em2-plat-logo b { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.em2-plat-best { font-size: var(--fz-15); line-height: 1.45; }
.em2-plat-best b { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.em2-plats .em2-checks { align-content: start; }
.em2-plats .em2-checks li { font-size: var(--fz-14-5); }
.em2-plat-cost { padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; color: var(--muted); }

.em2-stack { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 16px; padding: 22px 26px; background: var(--ink); color: var(--deep-text); }
.em2-stack p { max-width: 84ch; font-size: var(--fz-16); line-height: 1.55; color: color-mix(in srgb, var(--deep-text) 80%, transparent); }
.em2-stack b { margin-right: 4px; font-weight: 600; color: var(--deep-text); }
.em2-stack .btn-outline { flex: none; border-color: color-mix(in srgb, var(--deep-text) 50%, transparent); color: var(--deep-text); }
.em2-stack .btn-outline:hover { border-color: var(--deep-text); background: #fff; color: var(--ink); }

/* ============================================================
   PROCESS
   ============================================================ */
.em2-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.em2-steps li { position: relative; padding: 24px 22px 26px; border: 1px solid var(--line); background: var(--surface); }
.em2-steps li::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 4px; background: var(--text); transform-origin: left; }
.em2-steps li:last-child::before { background: var(--accent); }
.em2-js .em2-steps li::before { transform: scaleX(0); transition: transform 0.9s var(--ease); }
.em2-js .em2-steps.is-in li::before { transform: none; }
.em2-js .em2-steps.is-in li:nth-child(2)::before { transition-delay: 0.25s; }
.em2-js .em2-steps.is-in li:nth-child(3)::before { transition-delay: 0.5s; }
.em2-js .em2-steps.is-in li:nth-child(4)::before { transition-delay: 0.75s; }
.em2-step-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.em2-step-k span { padding: 3px 8px; background: var(--text); color: var(--bg); letter-spacing: 0.06em; }
.em2-steps h3 { margin: 14px 0 8px; font-size: var(--fz-20); font-weight: 600; letter-spacing: -0.02em; }
.em2-steps li > p:last-child { font-size: var(--fz-14-5); line-height: 1.5; color: var(--muted); }

/* ============================================================
   PRICING
   ============================================================ */
.em2-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.em2-tier { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr auto auto; align-content: start; gap: 14px; padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.em2-tier:hover { border-color: var(--text); }
.em2-tier.is-pop { border-color: var(--text); box-shadow: inset 0 4px 0 var(--accent); }
.em2-tier-badge { position: absolute; top: -12px; left: 28px; padding: 5px 10px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.em2-tier-k { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.em2-tier h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.em2-tier-price { display: flex; align-items: baseline; gap: 8px; font-size: clamp(44px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.em2-tier-price small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.em2-tier-best { padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: var(--fz-15); line-height: 1.5; color: var(--muted); }
.em2-tier-best b { font-weight: 600; color: var(--text); }
.em2-tier-time { font-size: 14px; color: var(--muted); }
.em2-tier-time b { font-weight: 600; color: var(--text); }
.em2-tier .btn { justify-self: start; margin-top: 6px; }

/* ============================================================
   RELATED + MEGA STRIP
   ============================================================ */
.em2-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.em2-rel a { display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: 8px; height: 100%; padding: 22px 0 24px; border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: border-color 0.3s, transform 0.4s var(--ease); }
.em2-rel a:hover { border-color: var(--text); transform: translateY(-4px); }
.em2-rel a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.em2-rel-k,
.em2-rel b,
.em2-rel p { padding: 0 22px; }
.em2-rel-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.em2-rel b { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fz-20); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.em2-rel b::after { content: "→"; flex: none; transition: transform 0.3s var(--ease); }
.em2-rel a:hover b::after { transform: translateX(4px); }
.em2-rel p { font-size: var(--fz-15); line-height: 1.45; color: var(--muted); }

.em2-mega { padding: 28px 0; border-top: 1px solid var(--line); background: var(--bg-alt); overflow: hidden; }
.em2-mega .em2-marquee-track { --dur: 40s; }
.em2-mega-item { display: inline-flex; align-items: center; gap: 18px; padding: 0 28px; font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -0.045em; white-space: nowrap; color: var(--text); }
.em2-mega-item i { font-style: normal; font-weight: 400; color: var(--muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .em2-ftabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .em2-ftabs button:nth-child(4) { border-left: 0; }
  .em2-ftabs button:nth-child(n + 4) { border-top: 1px solid var(--ink-line); }
  .em2-plats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .em2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em2-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .em2-kpis li:nth-child(4) { padding-left: 0; border-left: 0; }
  .em2-kpis li:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .em2-month { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .em2-hero-grid { grid-template-columns: 1fr; }
  .em2-stage { height: auto; }
  .em2-hero-photo { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .em2-toast { top: 18px; left: 18px; }
  .em2-jour { position: relative; width: min(500px, calc(100% - 24px)); margin: -110px 0 0 12px; }
  .em2-split { grid-template-columns: 1fr; }
  .em2-split-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 0; }
  .em2-split-stats > div { grid-template-columns: 1fr; padding: 16px 16px 0; border-bottom: 0; border-left: 1px solid var(--line); }
  .em2-split-stats > div:first-child { padding-left: 0; border-left: 0; }
  .em2-split-src { padding-top: 0; border-top: 0; }
  .em2-trio { grid-template-columns: 1fr; max-width: 640px; }
  .em2-flows-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .em2-gallery { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 250px; margin-right: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .em2-gallery > li { scroll-snap-align: start; }
  .em2-tpl-hint { display: none; }
  .em2-anat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em2-dlv-grid { grid-template-columns: 1fr; }
  .em2-dlv-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .em2-list { grid-template-columns: 1fr; }
  .em2-list-side { position: static; }
  .em2-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .em2-head { grid-template-columns: 1fr; }
  .em2-head-aside { justify-self: start; }
  .em2-flows-grid { grid-template-columns: 1fr; }
  .em2-preview { position: relative; top: 0; order: -1; }
  .em2-tiers { grid-template-columns: 1fr; max-width: 560px; }
  .em2-report-grid { grid-template-columns: 1fr; }
  .em2-tpl-notes { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .em2-h1 { font-size: clamp(42px, 12vw, 56px); }
  .em2-lede { font-size: var(--fz-17); }
  .em2-cta .btn { width: 100%; }
  .em2-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .em2-facts li { padding: 16px 12px 0; }
  .em2-facts b { font-size: 22px; }
  .em2-facts li > span { font-size: 12.5px; }
  .em2-hero-photo { aspect-ratio: 4 / 3; }
  .em2-hero-photo img { object-position: 58% 30%; }
  .em2-toast { top: 12px; left: 12px; width: min(280px, calc(100% - 24px)); }
  .em2-jour { width: calc(100% - 16px); margin: -56px 0 0 8px; }
  .em2-jour-head span { display: none; }
  .em2-jour-list { padding: 6px 12px; }
  .em2-jour-list li { grid-template-columns: 36px 28px minmax(0, 1fr) auto; gap: 0 8px; }
  .em2-jour-list li + li::before { left: 57px; }
  .em2-hero-foot .svc-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; }
  .em2-hero-foot .svc-badges li { min-width: 0; }
  .em2-hero-foot .svc-badges img { width: 100%; height: 28px; }
  .em2-strip-in { grid-template-columns: 1fr; gap: 0; }
  .em2-strip-k { padding: 16px 0 6px; border-right: 0; }
  .em2-strip-k br { display: none; }
  .em2-strip .em2-marquee { padding-bottom: 16px; }
  .em2-split { padding: 20px 16px; }
  .em2-split-bar { height: 46px; }
  .em2-split-bar span { padding: 0 10px; font-size: 13.5px; }
  .em2-split-stats { grid-template-columns: 1fr; }
  .em2-split-stats > div { grid-template-columns: minmax(0, 1fr) auto auto; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .em2-split-stats > div:last-child { border-bottom: 0; }
  .em2-ftabs { display: flex; margin: 0 calc(var(--gutter) * -1); border-left: 0; border-right: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .em2-ftabs::-webkit-scrollbar { display: none; }
  .em2-ftabs button { flex: 0 0 auto; border-top: 0 !important; border-left: 1px solid var(--ink-line) !important; scroll-snap-align: start; }
  .em2-ftabs button:first-child { border-left: 0 !important; }
  .em2-fp-head dl { grid-template-columns: 1fr; }
  .em2-fp-head dl div,
  .em2-fp-head dl div + div { padding: 10px 0; border-left: 0; border-bottom: 1px solid var(--ink-line); }
  .em2-canvas { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 22px var(--gutter); border-left: 0; border-right: 0; }
  .em2-node.is-mail em { display: none; }
  .em2-phone.is-lg { max-width: 300px; }
  .em2-switch { display: grid; width: 100%; }
  .em2-switch button { padding: 11px 8px; font-size: 14px; }
  .em2-tpl-ctrl .em2-switch { width: 100%; }
  .em2-anat { grid-template-columns: 1fr; }
  .em2-dlv-ctrl { gap: 10px; }
  .em2-dlv-win { margin: 0 calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
  .em2-dlv-rows li { grid-template-columns: 1fr; padding: 12px var(--gutter); }
  .em2-dlv-out { padding: 14px var(--gutter); }
  .em2-dlv-side { grid-template-columns: 1fr; }
  .em2-signup { margin: 0 calc(var(--gutter) * -1); }
  .em2-signup figcaption { padding: 0 var(--gutter); }
  .em2-signup .em2-win { border-left: 0; border-right: 0; }
  .em2-signup-stage { aspect-ratio: 4 / 5; }
  .em2-pop-rules { grid-template-columns: 1fr; }
  .em2-pop-rules li,
  .em2-pop-rules li + li { grid-template-columns: 96px minmax(0, 1fr); padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .em2-pop { width: calc(100% - 32px); padding: 18px; }
  .em2-pop-h { font-size: 21px; }
  .em2-segs { padding: 18px 16px 20px; }
  .em2-segs li em { font-size: 20px; }
  .em2-cal { margin: 0 calc(var(--gutter) * -1); padding: 16px var(--gutter); border-left: 0; border-right: 0; }
  .em2-cal-wk,
  .em2-cal-days { gap: 3px; }
  .em2-cal-wk li { font-size: 9.5px; letter-spacing: 0; text-align: center; }
  .em2-cal-days li { min-height: 46px; }
  .em2-cal-day span { padding: 4px; font-size: 11px; }
  .em2-cal-send { padding: 4px; border-left-width: 2px; }
  .em2-cal-send b { display: none; }
  .em2-cal-legend { gap: 10px; }
  .em2-cal-detail { margin: 0 calc(var(--gutter) * -1); padding: 20px var(--gutter); border-left: 0; border-right: 0; }
  .em2-report { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 20px var(--gutter); }
  .em2-report-head .btn { width: 100%; }
  .em2-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em2-kpis li,
  .em2-kpis li:nth-child(4) { padding: 14px 12px; border-left: 1px solid var(--line); }
  .em2-kpis li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .em2-kpis li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .em2-kpis li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .em2-bars li { grid-template-columns: 104px minmax(0, 1fr) 56px; gap: 8px; font-size: 12.5px; }
  .em2-plats { grid-template-columns: 1fr; }
  .em2-plats > li { padding: 24px 20px 20px; }
  .em2-stack { padding: 20px; }
  .em2-stack .btn { width: 100%; }
  .em2-steps { grid-template-columns: 1fr; }
  .em2-tier { padding: 24px 20px; }
  .em2-tier .btn { width: 100%; justify-self: stretch; }
  .em2-rel { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .em2-jour-list img { display: none; }
  .em2-gallery { grid-auto-columns: 232px; }
}

@media (prefers-reduced-motion: reduce) {
  .em2-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .em2-js .em2-mark,
  .em2-js .em2-hero-photo img,
  .em2-marquee-track,
  .em2-caret,
  .em2-live::after,
  .em2-js .em2-jour-list li.is-on .em2-ico,
  .em2-js .em2-fp.is-on .em2-node,
  .em2-js .em2-dlv.is-run .em2-dlv-rows p,
  .em2-pop[data-step] .em2-pop-p,
  .em2-cal-d.is-on { animation: none; }
  .em2-js .em2-split-bar i,
  .em2-js .em2-split-bar span,
  .em2-js .em2-report .em2-bars i,
  .em2-js .em2-steps li::before,
  .em2-js .em2-toast,
  .em2-gauge-bar i,
  .em2-switch i,
  .em2-mail-body { transition: none; }
}

/* Dark surfaces: buttons on them take the dark palette's action colour */
.em2-jour-head,
.em2-dark,
.em2-node.is-filter,
.em2-node.is-split,
.em2-node.is-wait,
.em2-node.is-exit,
.em2-cal,
.em2-cal-detail,
.em2-stack {
  --cta: var(--deep-accent);
  --cta-hover: var(--deep-accent-hover);
  --cta-ink: var(--deep-accent-ink);
}
