/* ============================================================
   E-COMMERCE STRATEGY v2 — selectors prefixed es2-
   Offer-led layout on top of the shared shell, buttons, crumbs,
   compare table, sticky bar, logos, FAQ, contact and reviews in css/styles.css.
   Photos: Unsplash, credited in img/stock/es/README.md.
   Screens: own demos, see img/screens/es/README.md.
   ============================================================ */

.es2-page {
  --ink: var(--deep);
  --ink-line: var(--deep-line);
  --ink-muted: var(--deep-muted);
  --es2-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.45);
  --es2-card-shadow: 0 22px 48px -22px rgba(0, 0, 0, 0.42);
  --es2-green: #1f9d55;
}

.es2-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);
}
.es2-js [data-reveal].is-in { opacity: 1; transform: none; }

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

.es2-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);
}
.es2-head .section-label,
.es2-offer-copy .section-label,
.es2-pays-copy .section-label { margin-bottom: 18px; }
.es2-head h2,
.es2-offer-copy h2,
.es2-pays-copy h2 {
  max-width: 20ch;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}
.es2-head-aside { justify-self: end; max-width: 40ch; }
.es2-head-aside p { font-size: var(--fz-16); line-height: 1.55; color: var(--muted); }
.es2-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.es2-head-aside.es2-cta { margin-top: 0; max-width: none; gap: 12px; }
.es2-note { margin-top: 18px; max-width: 90ch; font-size: var(--fz-13-5); line-height: 1.5; color: var(--muted); }

.es2-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--es2-card-shadow);
}
.es2-card-k { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.es2-card-k em { font-style: normal; letter-spacing: 0.02em; color: var(--text); }

.es2-ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border: 1px solid var(--line); color: var(--text); }
.es2-ico svg { display: block; width: 34px; height: 34px; fill: currentColor; }
.es2-ico.is-sm { width: 40px; height: 40px; }
.es2-ico.is-sm svg { width: 26px; height: 26px; }

.es2-chip { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 9px; background: var(--surface); color: var(--text); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }

.es2-tier li::before,
.es2-incl li::before,
.es2-inc ul li::before {
  content: "";
  flex: 0 0 17px;
  height: 17px;
  margin-top: 1px;
  background: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Ccircle cx='8.5' cy='8.5' r='8' fill='none' stroke='%23000'/%3E%3Cpath d='M5.3 8.8l2.1 2.1 4.3-4.5' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Ccircle cx='8.5' cy='8.5' r='8' fill='none' stroke='%23000'/%3E%3Cpath d='M5.3 8.8l2.1 2.1 4.3-4.5' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.es2-marquee { display: flex; overflow: hidden; }
.es2-marquee-track { display: flex; align-items: center; flex-shrink: 0; margin: 0; padding: 0; list-style: none; animation: es2-marq var(--dur, 60s) linear infinite; }
.es2-marquee:hover .es2-marquee-track { animation-play-state: paused; }
@keyframes es2-marq { to { transform: translateX(-100%); } }
@keyframes es2-zoom { from { transform: scale(1.08); } }
@keyframes es2-ping { from { opacity: 1; transform: scale(0.7); } to { opacity: 0; transform: scale(2); } }
@keyframes es2-grow { from { transform: scaleY(0); } }
@keyframes es2-pop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: none; } }

/* ============================================================
   HERO
   ============================================================ */
.es2-hero { padding: clamp(20px, 3vw, 36px) 0 0; background: var(--bg); overflow: hidden; }
.es2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px clamp(32px, 5vw, 80px);
  align-items: center;
}
.es2-hero-copy .section-label { margin: clamp(28px, 5vw, 64px) 0 22px; }
.es2-h1 { font-size: clamp(42px, 5.1vw, 76px); font-weight: 600; letter-spacing: -0.055em; line-height: 0.97; }
.es2-nb { white-space: nowrap; }
.es2-mark { background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% 0.3em no-repeat; }
.es2-js .es2-mark { animation: es2-mark 0.9s var(--ease) 0.9s both; }
@keyframes es2-mark { from { background-size: 0 0.3em; } }
.es2-lede { max-width: 44ch; margin-top: 26px; font-size: var(--fz-18); line-height: 1.5; color: var(--muted); }

.es2-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;
}
.es2-facts li { display: grid; gap: 6px; padding: 20px 28px 0; border-left: 1px solid var(--line); }
.es2-facts li:first-child { padding-left: 0; border-left: 0; }
.es2-facts b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.es2-facts li > span { font-size: var(--fz-13-5); color: var(--muted); }

.es2-stage { position: relative; height: clamp(520px, calc(100vh - var(--header-h) - 150px), 690px); margin-top: clamp(16px, 3vw, 40px); }
.es2-hero-photo { position: absolute; top: 0; right: 0; width: 82%; height: 88%; margin: 0; overflow: hidden; background: var(--bg-alt); box-shadow: var(--es2-shadow); }
.es2-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 42% 40%; }
.es2-js .es2-hero-photo.is-in img { animation: es2-zoom 2.4s var(--ease) both; }

.es2-teamcard,
.es2-toast,
.es2-kpicard { position: absolute; z-index: 3; }
.es2-teamcard { top: 6%; left: 0; display: grid; gap: 12px; width: clamp(250px, 44%, 300px); }
.es2-lead { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.es2-lead-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: var(--bg); }
.es2-lead-ico svg { width: 26px; height: 26px; fill: currentColor; }
.es2-lead p { display: grid; gap: 2px; min-width: 0; }
.es2-lead b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.es2-lead small { font-size: 12px; color: var(--muted); }
.es2-live { position: relative; flex: none; width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: var(--es2-green); }
.es2-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--es2-green); animation: es2-ping 1.8s ease-out infinite; }
.es2-roles { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.es2-roles li { padding: 4px 8px; border: 1px solid var(--line); background: var(--bg); font-size: 12px; font-weight: 600; }
.es2-js .es2-teamcard.is-in .es2-roles li { animation: es2-pop 0.5s var(--ease) both; }
.es2-js .es2-teamcard.is-in .es2-roles li:nth-child(1) { animation-delay: 0.7s; }
.es2-js .es2-teamcard.is-in .es2-roles li:nth-child(2) { animation-delay: 0.78s; }
.es2-js .es2-teamcard.is-in .es2-roles li:nth-child(3) { animation-delay: 0.86s; }
.es2-js .es2-teamcard.is-in .es2-roles li:nth-child(4) { animation-delay: 0.94s; }
.es2-js .es2-teamcard.is-in .es2-roles li:nth-child(5) { animation-delay: 1.02s; }
.es2-js .es2-teamcard.is-in .es2-roles li:nth-child(6) { animation-delay: 1.1s; }
.es2-js .es2-teamcard.is-in .es2-roles li:nth-child(7) { animation-delay: 1.18s; }

.es2-toast { top: 47%; right: -2%; display: flex; align-items: center; gap: 12px; width: clamp(240px, 42%, 290px); }
.es2-toast-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; background: var(--accent); color: var(--accent-ink); }
.es2-toast-ico svg { width: 26px; height: 26px; fill: currentColor; }
.es2-toast p { display: grid; gap: 2px; min-width: 0; }
.es2-toast b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.es2-toast small { font-size: 12px; color: var(--muted); }

.es2-kpicard { right: 6%; bottom: 0; display: grid; gap: 10px; width: clamp(260px, 48%, 330px); }
.es2-kpi-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.es2-kpi-row p { display: grid; gap: 4px; }
.es2-kpi-row b { font-size: 30px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.es2-kpi-row small { font-size: 12px; color: var(--muted); }
.es2-up { color: var(--es2-green); font-weight: 600; }
.es2-spark { display: flex; align-items: flex-end; gap: 3px; height: 44px; }
.es2-spark i { width: 7px; height: var(--h); background: color-mix(in srgb, var(--text) 22%, transparent); transform-origin: bottom; }
.es2-spark i:last-child { background: var(--accent); }
.es2-js .es2-kpicard.is-in .es2-spark i { animation: es2-grow 0.9s var(--ease) both; }
.es2-js .es2-kpicard.is-in .es2-spark i:nth-child(n + 4) { animation-delay: 0.1s; }
.es2-js .es2-kpicard.is-in .es2-spark i:nth-child(n + 7) { animation-delay: 0.2s; }
.es2-js .es2-kpicard.is-in .es2-spark i:nth-child(n + 10) { animation-delay: 0.3s; }

.es2-js .es2-card.is-in { animation: es2-float 7s ease-in-out infinite; animation-delay: calc(var(--d, 0s) + 1s); }
@keyframes es2-float { 50% { translate: 0 -8px; } }

.es2-hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 48px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.es2-hero-foot p { font-size: var(--fz-13-5); color: var(--muted); }
.es2-badges { display: flex; align-items: center; gap: 26px; list-style: none; }
.es2-badges img { height: 34px; width: auto; }

/* ============================================================
   SOUNDS FAMILIAR — three looping scenes, each mapped to a plan.
   es2.js steps every [data-at] element through is-on → is-x → is-off.
   ============================================================ */
.es2-fits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.es2-fitcard { display: flex; flex-direction: column; container-type: inline-size; }
.es2-fitcard figure { position: relative; margin: 0 0 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
/* Scene text stops shrinking at 11px, so narrow cards need a taller stage */
@container (max-width: 380px) { .es2-fitcard figure { aspect-ratio: 1 / 1; } }

/* Everything inside a scene is sized in em off the scene width, so it scales as one picture */
.es2-fx { container-type: inline-size; }
.fx-stage {
  position: absolute;
  inset: 0;
  font-size: 12px;
  font-size: max(11px, calc(100cqi / 34));
  line-height: 1.3;
  background: radial-gradient(color-mix(in srgb, var(--text) 14%, transparent) 1px, transparent 1.5px) 0 0 / 1.7em 1.7em;
  transition: opacity 0.5s var(--ease);
}
.es2-fx.is-reset .fx-stage { opacity: 0; }
.es2-fx.is-snap * { transition: none !important; }

.fx-phase { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.fx-phase > span { grid-area: 1 / 1; padding: 5px 9px; text-align: center; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.fx-phase > span:first-child { background: var(--surface); color: var(--muted); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.fx-phase > span:last-child { background: var(--accent); color: var(--accent-ink); opacity: 0; transform: translateY(6px); }
.fx-phase.is-x > span:first-child { opacity: 0; transform: translateY(-6px); }
.fx-phase.is-x > span:last-child { opacity: 1; transform: none; }

.fx-prog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: var(--accent); transform: scaleX(var(--t, 0)); transform-origin: left; transition: transform 0.1s linear; }

.fx-card {
  position: absolute;
  padding: 0.95em 1.1em;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--es2-card-shadow);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.es2-js .fx-card { opacity: 0; transform: translateY(1.2em) scale(0.98); }
.es2-js .fx-card.is-on { opacity: 1; transform: none; }
.es2-js .fx-card.is-off { opacity: 0; transform: translateX(-1.6em) scale(0.97); }
html:not(.es2-js) .fx-ad { display: none; }

.fx-k { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; font-size: 0.76em; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fx-k em { font-style: normal; letter-spacing: 0.02em; color: var(--text); }
.fx-title { margin-top: 0.4em; font-size: 1.22em; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }

.fx-swap { display: inline-grid; }
.fx-swap > span { grid-area: 1 / 1; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.fx-swap > span:last-child { opacity: 0; transform: translateY(0.5em); }
.is-x .fx-swap > span:first-child,
.fx-swap.is-x > span:first-child { opacity: 0; transform: translateY(-0.5em); }
.is-x .fx-swap > span:last-child,
.fx-swap.is-x > span:last-child { opacity: 1; transform: none; }
.fx-k em.fx-swap { justify-items: end; }

.fx-rows { display: grid; margin-top: 0.55em; list-style: none; }
.fx-rows li { display: flex; align-items: center; gap: 0.7em; padding: 0.5em 0; border-top: 1px solid var(--line); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.fx-rows li > span { display: grid; flex: 1; min-width: 0; gap: 0.1em; }
.fx-rows b { font-size: 0.95em; font-weight: 600; letter-spacing: -0.01em; }
.fx-rows small { overflow: hidden; font-size: 0.82em; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.es2-js .fx-rows li[data-at] { opacity: 0; transform: translateX(-0.8em); }
.es2-js .fx-rows li[data-at].is-on { opacity: 1; transform: none; }

.fx-av { display: grid; place-items: center; flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--bg-alt); color: var(--muted); }
.fx-av svg { width: 1.55em; height: 1.55em; fill: currentColor; }
.fx-av.is-ink { background: var(--text); color: var(--bg); }

.fx-tag { display: inline-grid; flex: none; font-size: 0.74em; font-style: normal; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.fx-tag > span { grid-area: 1 / 1; padding: 0.35em 0.65em; border: 1px solid var(--line); background: var(--bg); text-align: center; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.fx-tag > span:last-child { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); opacity: 0; transform: scale(0.8); }
.fx-tag.is-no > span:last-child { border-color: var(--line); background: transparent; color: var(--muted); }
.is-x > .fx-tag > span:first-child { opacity: 0; transform: scale(0.8); }
.is-x > .fx-tag > span:last-child { opacity: 1; transform: none; }

.fx-tick { position: relative; flex: none; width: 1.35em; height: 1.35em; border: 1px solid var(--text); border-radius: 50%; transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.fx-tick::after { content: ""; position: absolute; left: 50%; top: 45%; width: 0.32em; height: 0.6em; border: solid var(--accent-ink); border-width: 0 1.5px 1.5px 0; opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(0.4); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
.is-x > .fx-tick { border-color: var(--accent); background: var(--accent); }
.is-x > .fx-tick::after { opacity: 1; transform: translate(-50%, -50%) rotate(45deg); }

/* Scene 1 — the vacancy that never fills, then a team on day 14 */
.fx-ad { top: 16%; left: 6%; width: 74%; }
.fx-ad .fx-rows li.is-x { opacity: 0.5; }
.fx-ad .fx-rows li.is-x b { text-decoration: line-through; }
.fx-team { top: 16%; left: 6%; display: grid; gap: 0.75em; width: 76%; }
.fx-lead { display: flex; align-items: center; gap: 0.75em; padding-bottom: 0.75em; border-bottom: 1px solid var(--line); }
.fx-lead p { display: grid; gap: 0.1em; min-width: 0; }
.fx-lead b { font-size: 1.05em; font-weight: 600; letter-spacing: -0.01em; }
.fx-lead small { font-size: 0.85em; color: var(--muted); }
.fx-roles { display: flex; flex-wrap: wrap; gap: 0.4em; list-style: none; }
.fx-roles li { padding: 0.3em 0.6em; border: 1px solid var(--line); background: var(--bg); font-size: 0.85em; font-weight: 600; transition: opacity 0.35s var(--ease), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.es2-js .fx-roles li { opacity: 0; transform: scale(0.5); }
.es2-js .fx-roles li.is-on { opacity: 1; transform: none; }
.fx-toast { right: 5%; bottom: 8%; display: flex; align-items: center; gap: 0.75em; width: 54%; }
.fx-toast p { display: grid; gap: 0.1em; min-width: 0; }
.fx-toast b { font-size: 0.95em; font-weight: 600; }
.fx-toast small { font-size: 0.8em; color: var(--muted); }
.fx-ok { position: relative; flex: none; width: 2.4em; height: 2.4em; background: var(--accent); }
.fx-ok::after { content: ""; position: absolute; left: 50%; top: 45%; width: 0.45em; height: 0.85em; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg); }

/* Scene 2 — the owner's late-night list handed to specialists */
.fx-todo { top: 14%; left: 5%; right: 5%; }
.fx-todo .fx-rows li { padding: 0.42em 0; }
.fx-todo .fx-rows li > span { display: block; overflow: hidden; font-size: 0.92em; white-space: nowrap; text-overflow: ellipsis; transition: color 0.4s var(--ease); }
.fx-todo .fx-rows li.is-x > span { color: var(--muted); text-decoration: line-through; }
.fx-chart { left: 14%; right: 4%; bottom: 6%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.1em; padding-block: 0.8em; }
.fx-chart-txt { display: grid; gap: 0.15em; }
.fx-chart-txt b { font-size: 1.7em; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.fx-chart-txt b > span:last-child { color: var(--es2-green); }
.fx-chart-txt small { font-size: 0.8em; color: var(--muted); }
.fx-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.fx-chart path { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.5s var(--ease), stroke-dashoffset 1.2s var(--ease); }
.fx-grid { stroke: var(--line); stroke-width: 1; }
.fx-spend { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 4; }
.fx-rev { stroke: var(--text); stroke-width: 2.5; }
.fx-rev.is-b { stroke: var(--es2-green); stroke-dasharray: 100; stroke-dashoffset: 100; }
.fx-chart .is-b { opacity: 0; }
.fx-chart.is-x .is-a { opacity: 0; }
.fx-chart.is-x .is-b { opacity: 1; }
.fx-chart.is-x .fx-rev.is-b { stroke-dashoffset: 0; }

/* Scene 3 — activity reports read as margin, then a decision gets made */
.fx-report { top: 14%; left: 5%; width: 72%; }
.fx-report .fx-rows li { justify-content: space-between; padding: 0.5em 0; }
.fx-report .fx-rows li > span { display: block; flex: none; font-size: 0.92em; color: var(--muted); }
.fx-report .fx-rows b { justify-items: end; font-variant-numeric: tabular-nums; }
.fx-report .fx-rows li:nth-child(2) .fx-swap > span { transition-delay: 0.15s; }
.fx-report .fx-rows li:nth-child(3) .fx-swap > span { transition-delay: 0.3s; }
.fx-up { color: var(--es2-green); }
.fx-down { color: #b42318; }
.fx-switch { display: inline-flex; align-items: center; gap: 0.45em; letter-spacing: 0.04em; }
.fx-switch > span { transition: color 0.3s var(--ease); }
.fx-switch > span:first-child,
.fx-report.is-x .fx-switch > span:last-child { color: var(--text); }
.fx-report.is-x .fx-switch > span:first-child { color: var(--muted); }
.fx-switch i { position: relative; width: 2.3em; height: 1.25em; border-radius: 1em; background: var(--line); transition: background 0.3s var(--ease); }
.fx-switch i::after { content: ""; position: absolute; top: 0.18em; left: 0.18em; width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.45s var(--ease); }
.fx-report.is-x .fx-switch i { background: var(--accent); }
.fx-report.is-x .fx-switch i::after { transform: translateX(1.05em); }
.fx-decide { right: 5%; bottom: 7%; width: 60%; }
.fx-opts { display: grid; gap: 0.35em; margin-top: 0.6em; list-style: none; }
.fx-opts li { display: flex; align-items: center; gap: 0.6em; padding: 0.45em 0.6em; border: 1px solid var(--line); font-size: 0.9em; transition: opacity 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease); }
.fx-decide.is-x .fx-opts li:not(.is-pick) { opacity: 0.45; }
.fx-decide.is-x .fx-opts li.is-pick { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 22%, var(--surface)); font-weight: 600; }
.fx-decide.is-x .is-pick > .fx-tick { border-color: var(--accent); background: var(--accent); }
.fx-decide.is-x .is-pick > .fx-tick::after { opacity: 1; transform: translate(-50%, -50%) rotate(45deg); }
.es2-fitcard h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.12; }
.es2-fitcard > ul { display: grid; gap: 8px; margin: 16px 0 20px; list-style: none; }
.es2-fitcard > ul li { display: flex; gap: 10px; font-size: var(--fz-15); line-height: 1.4; color: var(--muted); }
.es2-fitcard > ul .sp-x { position: relative; left: auto; top: auto; flex: none; margin-top: calc(0.7em - 8.5px); }
.es2-js .es2-fitcard.is-in > ul .sp-x { animation: es2-pop 0.5s var(--ease) both; }
.es2-js .es2-fitcard.is-in > ul li:nth-child(2) .sp-x { animation-delay: 0.62s; }
.es2-js .es2-fitcard.is-in > ul li:nth-child(3) .sp-x { animation-delay: 0.74s; }
.es2-js .es2-fitcard.is-in > ul li:nth-child(1) .sp-x { animation-delay: 0.5s; }
.es2-fit-plan { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fz-15); }
.es2-fit-plan span { color: var(--muted); }
.es2-fit-plan b { font-weight: 600; }

/* ============================================================
   THE OFFER — dark, photo + who is on your team
   ============================================================ */
.es2-dark { background: var(--ink); border-top-color: var(--ink); color: var(--deep-text); }
.es2-dark .section-label { color: var(--accent); }
.es2-offer { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.es2-offer-copy { position: sticky; top: calc(var(--header-h, 72px) + 32px); }
.es2-offer-lede { max-width: 44ch; margin-top: 20px; font-size: var(--fz-17, 17px); line-height: 1.55; color: var(--ink-muted); }
.es2-ones { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; list-style: none; }
.es2-ones li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--ink-line); }
.es2-ones-ico { display: grid; place-items: center; width: 30px; height: 30px; background: var(--accent); color: var(--accent-ink); }
.es2-ones-ico svg { width: 22px; height: 22px; fill: currentColor; }
.es2-ones b { font-size: var(--fz-15); font-weight: 600; }
.es2-offer-photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep-alt); }
.es2-offer-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }

.es2-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--ink-line); background: var(--ink-line); list-style: none; }
.es2-team li { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 26px; background: var(--ink); transition: background 0.3s; }
.es2-team li:hover { background: var(--deep-alt); }
.es2-team .es2-ico { border-color: var(--ink-line); color: var(--accent); }
.es2-team div { display: grid; gap: 4px; }
.es2-team b { font-size: clamp(18px, 1.5vw, 20px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.es2-team span:not(.es2-ico) { font-size: var(--fz-14-5); line-height: 1.45; color: var(--ink-muted); }
.es2-team li.is-lead { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px; padding: 26px 22px; background: color-mix(in srgb, var(--accent) 12%, var(--ink)); }
.es2-team li.is-lead .es2-ico { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.es2-team li.is-lead b { font-size: clamp(21px, 1.9vw, 25px); }
.es2-team li.es2-team-cta { justify-content: space-between; gap: 18px; background: var(--deep-alt); }
.es2-team-cta p { display: grid; gap: 4px; }
.es2-team-cta b { color: var(--accent); }
.es2-team-cta .btn { align-self: flex-start; }
.es2-team em { margin-left: auto; align-self: flex-start; padding: 4px 9px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-style: normal; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }

/* ============================================================
   WHAT'S INCLUDED — three columns of monthly work
   ============================================================ */
.es2-incs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.es2-inc { display: flex; flex-direction: column; padding: 26px 24px 28px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s; }
.es2-inc:hover { border-color: var(--text); }
.es2-inc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.es2-inc-when { padding: 4px 9px; background: var(--bg-alt); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.es2-inc h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; }
.es2-inc ul { display: grid; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); list-style: none; }
.es2-inc ul li { display: flex; gap: 11px; font-size: var(--fz-15); line-height: 1.42; }
.es2-notinc { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 20px; border: 1px dashed color-mix(in srgb, var(--text) 30%, transparent); }
.es2-notinc p { font-size: var(--fz-15); line-height: 1.5; color: var(--muted); }
.es2-notinc b { color: var(--text); font-weight: 600; }

/* ============================================================
   WHAT YOU GET — tabbed showcase of demo screens
   ============================================================ */
.es2-show { display: grid; grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.es2-show-tabs { position: relative; display: grid; gap: 2px; }
.es2-show-tab {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border: 1px solid transparent;
  background: none;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}
.es2-show-tab:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.es2-show-tab.is-on { border-color: var(--line); background: var(--surface); }
.es2-show-tab:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.es2-show-ico { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); color: var(--muted); transition: background 0.3s, border-color 0.3s, color 0.3s; }
.es2-show-ico svg { display: block; width: 26px; height: 26px; fill: currentColor; }
.es2-show-tab:hover .es2-show-ico { color: var(--text); }
.es2-show-tab.is-on .es2-show-ico { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.es2-show-txt { display: grid; min-width: 0; }
.es2-show-txt b { font-size: var(--fz-17, 17px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: var(--muted); transition: color 0.3s; }
.es2-show-tab:hover b,
.es2-show-tab.is-on b { color: var(--text); }
.es2-show-txt small { max-height: 0; overflow: hidden; opacity: 0; font-size: 14px; line-height: 1.4; color: var(--muted); transition: max-height 0.45s var(--ease), opacity 0.3s, margin 0.45s var(--ease); }
.es2-show-tab.is-on small { max-height: 3em; margin-top: 3px; opacity: 1; }
.es2-show-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--text); transform: scaleX(0); transform-origin: left; }
.es2-show:not(.is-auto) .es2-show-tab.is-on .es2-show-bar { transform: scaleX(1); }
.es2-show.is-auto .es2-show-tab.is-on .es2-show-bar { animation: es2-bar var(--show-dur, 7s) linear forwards; }
.es2-show.is-auto.is-paused .es2-show-tab.is-on .es2-show-bar { animation-play-state: paused; }
@keyframes es2-bar { to { transform: scaleX(1); } }
.es2-show-stage { min-width: 0; }
.es2-show-note { margin-top: 14px; font-size: var(--fz-13-5); color: var(--muted); }

.es2-win { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--es2-shadow); overflow: hidden; }
.es2-win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.es2-win-bar i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--text) 16%, transparent); }
.es2-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; }
.es2-win-body { position: relative; }
.es2-win-body img { display: block; width: 100%; height: auto; }
.es2-shot { margin: 0; }
.es2-shot + .es2-shot { border-top: 1px solid var(--line); }
.es2-js .es2-win.is-show .es2-win-body { aspect-ratio: 1600 / 1046; overflow: hidden; background: #eceff3; }
.es2-js .es2-shot { position: absolute; inset: 0; border-top: 0; opacity: 0; visibility: hidden; transform: scale(1.015); transition: opacity 0.5s var(--ease), transform 0.8s var(--ease), visibility 0s 0.5s; }
.es2-js .es2-shot.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); }

/* ============================================================
   WHY IT PAYS — cost bars, four wins, compare table
   ============================================================ */
.es2-pays { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.es2-pays-lede { max-width: 44ch; margin-top: 20px; font-size: var(--fz-17, 17px); line-height: 1.55; color: var(--muted); }
.es2-wins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); list-style: none; }
.es2-wins li,
.es2-extras li { display: flex; gap: 12px; align-items: flex-start; }
.es2-wins div,
.es2-extras div { display: grid; gap: 2px; min-width: 0; }
.es2-wins b { font-size: var(--fz-16); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.es2-wins span:not(.es2-ico) { font-size: 14px; line-height: 1.4; color: var(--muted); }

.es2-cost { display: grid; gap: 26px; margin: 0; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--es2-shadow); }
.es2-cost-row { display: grid; gap: 12px; }
.es2-cost-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.es2-cost-h span { font-size: var(--fz-15); font-weight: 600; }
.es2-cost-h b { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.es2-cost-row.is-us .es2-cost-h b { color: var(--text); }
.es2-cost-bar { display: flex; height: 34px; background: var(--bg-alt); overflow: hidden; }
.es2-cost-bar .es2-seg { width: var(--w); height: 100%; transition: width 1.1s var(--ease); }
.es2-js .es2-cost:not(.is-in) .es2-cost-bar .es2-seg { width: 0; }
.es2-cost-bar .es2-seg + .es2-seg { box-shadow: inset 1px 0 0 var(--surface); }
.es2-seg.is-0 { background: var(--text); }
.es2-seg.is-1 { background: color-mix(in srgb, var(--text) 66%, var(--surface)); }
.es2-seg.is-2 { background: color-mix(in srgb, var(--text) 44%, var(--surface)); }
.es2-seg.is-3 { background: color-mix(in srgb, var(--text) 28%, var(--surface)); }
.es2-seg.is-4 { background: color-mix(in srgb, var(--text) 16%, var(--surface)); }
.es2-seg.is-us { background: var(--accent); transition-delay: 0.4s; }
.es2-cost-leg { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 18px; list-style: none; }
.es2-cost-leg li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.es2-cost-leg .es2-seg { flex: none; width: 10px; height: 10px; }
.es2-cost-leg b { margin-left: auto; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.es2-cost-sub { font-size: 13px; color: var(--muted); }
.es2-keep { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 14px; padding: 18px 20px; background: var(--ink); color: var(--deep-text); }
.es2-keep span { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.es2-keep b { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--accent); }
.es2-keep small { grid-column: 1 / -1; font-size: 13px; color: var(--ink-muted); }

.es2-compare td,
.es2-compare th { vertical-align: middle; }
.es2-compare tbody th { width: 24%; }

/* ============================================================
   PLANS — tiers, extras, compare matrix
   ============================================================ */
.es2-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.es2-tier { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 26px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.es2-tier.is-pop { background: var(--ink); border-color: var(--ink); color: var(--deep-text); }
.es2-tier-ico,
.es2-tier-ico svg { width: 56px; height: 56px; }
.es2-tier-ico { margin: 0 0 8px; color: inherit; transition: transform 0.5s var(--ease); }
.es2-tier-ico svg { display: block; fill: currentColor; }
.es2-tier.is-pop .es2-tier-ico { color: var(--accent); }
.es2-tier:hover .es2-tier-ico { transform: translateY(-4px); }
.es2-tier-badge { position: absolute; top: 14px; right: 14px; z-index: 1; padding: 5px 9px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.es2-tier-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.es2-tier h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.es2-tier-price { display: flex; align-items: baseline; gap: 8px; font-size: clamp(44px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.055em; line-height: 0.95; }
.es2-tier-price small { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.es2-tier-best { font-size: var(--fz-15); line-height: 1.45; }
.es2-tier-time { margin-top: auto; font-size: var(--fz-13-5); font-weight: 600; }
.es2-tier.is-pop .es2-tier-k,
.es2-tier.is-pop .es2-tier-price small { color: var(--ink-muted); }
.es2-tier ul { display: grid; gap: 11px; margin: 6px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); list-style: none; }
.es2-tier.is-pop ul { border-top-color: var(--ink-line); }
.es2-tier li,
.es2-incl li { display: flex; gap: 11px; font-size: var(--fz-15); line-height: 1.4; }
.es2-tier.is-pop li::before { background: var(--accent); }
.es2-tier .btn { width: 100%; }
.es2-tier.is-pop .btn-lime:hover { background: #fff; color: var(--ink); }

.es2-extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; list-style: none; }
.es2-extras li { padding: 20px; border: 1px dashed color-mix(in srgb, var(--text) 30%, transparent); }
.es2-extras b { font-size: clamp(20px, 1.8vw, 25px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.es2-extras div > span { font-size: var(--fz-14); line-height: 1.45; color: var(--muted); }

.es2-mx { margin-top: clamp(48px, 6vw, 80px); }
.es2-mx-title { margin-bottom: 18px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.035em; }
.es2-mx-wrap { border: 1px solid var(--line); background: var(--surface); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.es2-matrix { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fz-15); }
.es2-matrix th,
.es2-matrix td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.es2-matrix tbody th { width: 40%; font-weight: 500; text-align: left; }
.es2-matrix td { color: var(--muted); font-size: var(--fz-14); }
.es2-matrix td.is-us { color: var(--text); }
.es2-matrix .is-us { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.es2-matrix thead th { padding-top: 20px; padding-bottom: 18px; font-size: var(--fz-17, 17px); font-weight: 600; letter-spacing: -0.02em; }
.es2-matrix thead th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.es2-matrix thead th.is-us small { color: var(--text); }
.es2-mx-grp th { padding-top: 22px; padding-bottom: 10px; background: var(--bg); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: left; }
.es2-matrix tbody:last-child tr:last-child th,
.es2-matrix tbody:last-child tr:last-child td { border-bottom: 0; }
.es2-matrix .sp-check,
.es2-matrix .sp-x { position: relative; left: auto; top: auto; display: inline-block; vertical-align: middle; }
.es2-matrix td.is-us .sp-check { background: var(--text); border-color: var(--text); }
.es2-matrix td.is-us .sp-check::after { border-color: var(--surface); }

.es2-incl { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; list-style: none; }
.es2-incl li { font-size: var(--fz-14-5); color: var(--muted); }

/* ============================================================
   FIRST 30 DAYS — four icon steps on a line
   ============================================================ */
.es2-steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 44px; list-style: none; }
.es2-steps::before,
.es2-steps::after { content: ""; position: absolute; top: 7px; left: 0; height: 2px; background: var(--line); }
.es2-steps::before { right: 0; }
.es2-steps::after { width: calc(var(--p) * 100%); background: var(--text); }
.es2-step { position: relative; }
.es2-step::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 0;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  background: var(--bg);
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.es2-step.is-done::before { background: var(--accent); border-color: var(--text); transform: rotate(45deg); }
.es2-step-when { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.es2-step-ico { display: grid; place-items: center; width: 68px; height: 68px; margin: 18px 0 22px; border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: transform 0.5s var(--ease); }
.es2-step-ico svg { display: block; width: 44px; height: 44px; fill: currentColor; }
.es2-step:hover .es2-step-ico { transform: translateY(-4px); }
.es2-step h3 { margin-bottom: 8px; font-size: clamp(21px, 2vw, 27px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.es2-step > p:not(.es2-step-when) { font-size: var(--fz-15); line-height: 1.5; color: var(--muted); }
.es2-step-out { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; list-style: none; }
.es2-step-out li { padding: 4px 9px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 600; white-space: nowrap; }

/* ============================================================
   GUARANTEES
   ============================================================ */
.es2-guar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.es2-guar li { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; border: 1px solid var(--line); background: var(--surface); }
.es2-guar .es2-ico { margin-bottom: 10px; }
.es2-guar b { font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.es2-guar span:not(.es2-ico) { font-size: var(--fz-15); line-height: 1.45; color: var(--muted); }

/* ---- Mega marquee ---- */
.es2-mega { overflow: hidden; padding: clamp(14px, 2vw, 22px) 0; background: var(--ink); color: var(--deep-text); }
.es2-mega .es2-marquee-track { --dur: 40s; }
.es2-mega-item { padding-right: 0.32em; font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; white-space: nowrap; }
.es2-mega-item i { font-style: normal; color: var(--accent); }

/* ---- Dark theme ---- */
html[data-theme="wpx-dark"] .es2-cost-bar .es2-seg + .es2-seg { box-shadow: inset 1px 0 0 var(--bg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .es2-guar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es2-pays { grid-template-columns: 1fr; }
  .es2-pays-copy h2 { max-width: 16ch; }
  .es2-cost { max-width: 760px; }
}

@media (max-width: 1080px) {
  .es2-hero-grid { grid-template-columns: 1fr; }
  .es2-stage { height: clamp(460px, 70vw, 620px); max-width: 780px; width: 100%; margin-inline: auto; }
  .es2-show { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .es2-show-tabs { display: flex; gap: 8px; margin-right: calc(var(--gutter, 20px) * -1); padding: 2px var(--gutter, 20px) 4px 2px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .es2-show-tabs::-webkit-scrollbar { display: none; }
  .es2-show-tab { flex: none; width: auto; grid-template-columns: auto auto; gap: 9px; padding: 7px 14px 7px 7px; border-color: var(--line); scroll-snap-align: start; }
  .es2-show-ico { width: 32px; height: 32px; }
  .es2-show-ico svg { width: 22px; height: 22px; }
  .es2-show-txt b { font-size: 14.5px; white-space: nowrap; }
  .es2-show-txt small { display: none; }
  .es2-offer { grid-template-columns: 1fr; }
  .es2-offer-copy { position: relative; top: auto; }
  .es2-offer-copy h2 { max-width: 18ch; }
  .es2-offer-photo { max-width: 760px; }
  .es2-incs { grid-template-columns: 1fr 1fr; }
  .es2-inc:last-child { grid-column: 1 / -1; }
  .es2-inc:last-child ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

@media (max-width: 900px) {
  .es2-head { grid-template-columns: 1fr; }
  .es2-head-aside { justify-self: start; }
  .es2-fits { grid-template-columns: 1fr 1fr; }
  .es2-fitcard:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 24px; align-content: start; }
  .es2-fitcard:last-child figure { grid-row: span 4; align-self: start; margin: 0; }
  .es2-fitcard:last-child .es2-fit-plan { grid-row: 4; grid-column: 2; }
  .es2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; padding-top: 26px; }
  .es2-steps::before,
  .es2-steps::after { display: none; }
  .es2-step::before { top: -26px; width: 14px; height: 14px; }
  .es2-extras { grid-template-columns: 1fr; }
  .es2-tiers { grid-template-columns: 1fr; max-width: 560px; }
  .es2-tier { padding: 24px 20px 22px; }
  .es2-tier-price { font-size: 44px; }
}

/* The wide third card puts its scene in a half column, under the 380px the container query sees */
@media (min-width: 641px) and (max-width: 840px) {
  .es2-fitcard:last-child { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .es2-fitcard:last-child figure { aspect-ratio: 1 / 1; }
}

@media (max-width: 640px) {
  .es2-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .es2-facts li { padding: 16px 10px 0; }
  .es2-facts b { font-size: 19px; white-space: normal; }
  .es2-facts li > span { font-size: 12px; }
  .es2-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; height: auto; }
  .es2-hero-photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3.3; }
  .es2-teamcard,
  .es2-toast,
  .es2-kpicard { position: relative; inset: auto; width: auto; }
  .es2-teamcard { width: 86%; margin: -56px 0 0 10px; padding: 12px 14px; }
  .es2-toast { display: none; }
  .es2-kpicard { margin: 0 0 0 auto; width: 84%; padding: 12px 14px; }
  .es2-kpi-row b { font-size: 26px; }
  .es2-hero-foot { justify-content: center; text-align: center; }
  .es2-badges { flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
  .es2-badges img { height: 28px; }
  .es2-fits { grid-template-columns: 1fr; gap: 40px; }
  .es2-fitcard:last-child { display: flex; }
  .es2-fitcard:last-child figure { align-self: stretch; margin: 0 0 20px; }
  .es2-team { grid-template-columns: 1fr; }
  .es2-team li { flex-direction: row; align-items: flex-start; padding: 18px 16px; }
  .es2-team li.is-lead { flex-wrap: wrap; padding: 20px 16px; }
  .es2-team li.is-lead div { flex: 1 1 calc(100% - 140px); }
  .es2-team li.es2-team-cta { flex-direction: column; align-items: stretch; }
  .es2-team-cta .btn { align-self: stretch; }
  .es2-incs { grid-template-columns: 1fr; }
  .es2-inc:last-child ul { grid-template-columns: 1fr; }
  .es2-inc { padding: 22px 18px 24px; }
  .es2-notinc { align-items: flex-start; padding: 16px; }
  .es2-win-bar { height: 30px; padding: 0 10px; gap: 5px; }
  .es2-win-bar i { width: 7px; height: 7px; }
  .es2-win-bar span { padding: 2px 10px; font-size: 11px; }
  .es2-show-note { font-size: 12.5px; }
  .es2-wins { grid-template-columns: 1fr; gap: 16px; }
  .es2-cost { padding: 18px 16px; gap: 22px; }
  .es2-cost-h { flex-wrap: wrap; gap: 4px 12px; }
  .es2-cost-leg { grid-template-columns: 1fr; }
  .es2-keep { grid-template-columns: 1fr; }
  .es2-matrix { min-width: 0; font-size: 13.5px; }
  .es2-matrix th,
  .es2-matrix td { padding: 10px 8px; }
  .es2-matrix tbody th { width: 38%; padding-left: 12px; }
  .es2-matrix td { font-size: 12.5px; }
  .es2-matrix thead th { font-size: 14px; }
  .es2-matrix thead th small { font-size: 11.5px; }
  .es2-mx-grp th { padding-left: 12px; }
  .es2-steps { grid-template-columns: 1fr; row-gap: 30px; padding-top: 0; }
  .es2-step::before { display: none; }
  .es2-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  .es2-step > * { grid-column: 2; }
  .es2-step-ico { grid-column: 1; grid-row: 1 / span 4; width: 56px; height: 56px; margin: 0; }
  .es2-step-ico svg { width: 36px; height: 36px; }
  .es2-step-when { margin-bottom: 6px; }
  .es2-guar { grid-template-columns: 1fr; }
  .es2-head-aside.es2-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .es2-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .es2-js .es2-card.is-in,
  .es2-js .es2-hero-photo.is-in img,
  .es2-js .es2-teamcard.is-in .es2-roles li,
  .es2-js .es2-kpicard.is-in .es2-spark i,
  .es2-js .es2-fitcard.is-in > ul .sp-x,
  .es2-live::after,
  .es2-marquee-track,
  .es2-js .es2-mark { animation: none; }
  .es2-js .es2-shot { transform: none; transition: none; }
  .es2-cost-bar .es2-seg { transition: none; }
  .es2-fx * { transition: none !important; }
  .fx-prog { display: none; }
}

/* Dark surfaces: buttons on them take the dark palette's action colour */
.es2-dark,
.es2-team li,
.es2-keep,
.es2-tier.is-pop,
.es2-mega {
  --cta: var(--deep-accent);
  --cta-hover: var(--deep-accent-hover);
  --cta-ink: var(--deep-accent-ink);
}
