/* ============================================================================
   PassGMC · Merchant Center suspended · Variation A "Night shift"
   Filmic one-shot. Night desk, a scan line, a mist sheet, morning.
   Theme: PassGMC tokens mapped onto the scrollcraft roles. The engine files
   (scrollcraft.css / scrollcraft.js) are untouched; everything here is ours.
   ========================================================================== */

:root {
  /* night grounds */
  --night: #071f25;
  --night-2: #0a2c33;             /* teal-900 */
  --sc-canvas: #0a2c33;
  --sc-surface: #0e3a42;
  --sc-ink: #ffffff;
  --sc-ink-soft: rgba(255, 255, 255, 0.74);
  --sc-accent: #6fb0bb;           /* teal-300: accent on dark */
  --sc-accent-ink: #0e3a42;
  --sc-font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sc-font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sc-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sc-gutter: clamp(16px, 5.6vw, 88px);
  --sc-maxw: 90rem;
  /* one left edge for every act, flow or pinned, at every width */
  --edge: max(var(--sc-gutter), calc((100vw - var(--sc-maxw)) / 2 + var(--sc-gutter)));
  --sc-r-sm: 10px; --sc-r-md: 14px; --sc-r-lg: 28px;
  --sc-shadow-color: 192 62% 6%;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --nav-h: 56px;
  --scrim: 5, 24, 29;            /* rgb of the night scrim, a deep petrol */
}

/* Jumps are instant: a smooth glide from the hero to the pricing would
   fast-forward the whole film under a keyboard user. */
html { background: var(--night-2); scroll-behavior: auto; }
body { font-feature-settings: "ss01" 0; }
body, button, input { font-family: var(--sc-font-text); }
img { max-width: 100%; height: auto; }
p, h1, h2, h3, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.i--fill { fill: currentColor; stroke: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
code { font-family: var(--sc-font-mono); }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: #fff; color: var(--ink-900); padding: 12px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none; box-shadow: var(--shadow-lg);
  transition: top 160ms var(--ease);
}
.skip:focus { top: 16px; }

/* focus: the accent, themed to the ground it sits on */
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; border-radius: 6px; }
.nav :focus-visible, .sheet :focus-visible, .scan__field :focus-visible, .scan .btn:focus-visible { outline-color: var(--teal-500); }
.pricing :focus-visible { outline-color: var(--teal-300); }
.plan :focus-visible { outline-color: var(--teal-500); }

.eyebrow {
  font-family: var(--sc-font-mono); font-size: 12px; line-height: 1.3; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700);
}
.eyebrow--dark { color: var(--teal-300); }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sc-font-text); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 140ms var(--ease), color 140ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--primary { background: var(--teal-500); color: #fff; box-shadow: var(--shadow-xs); }
.btn--inverse { background: #fff; color: var(--ink-900); }
.btn--lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--teal-600); }
  .btn--primary:active { background: var(--teal-700); }
  .btn--inverse:hover { background: rgba(255, 255, 255, 0.88); }
}
.btn[disabled] { background: var(--fill-100); color: var(--slate-300); cursor: not-allowed; }

/* ----------------------------------------------------------------- nav -- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center; pointer-events: none;
}
.nav__pill {
  --cta: 0px;
  display: flex; align-items: center; gap: 16px;
  height: var(--nav-h); padding: 6px 6px 6px 22px; pointer-events: auto; flex-shrink: 0;
  background: #fff; border-radius: 999px;
  box-shadow: 0 1px 2px rgba(5, 24, 29, 0.18), 0 10px 28px -10px rgba(5, 24, 29, 0.45);
  transition: clip-path 360ms var(--ease), transform 360ms var(--ease);
}
.nav__pill.is-compact {
  clip-path: inset(0 var(--cta) 0 0 round 999px);
  transform: translateX(calc(var(--cta) / 2));
}
.nav__logo { display: block; flex-shrink: 0; line-height: 0; border-radius: 8px; padding: 8px 0; margin: -8px 0; }
.nav__logo img { width: 120px; max-width: none; height: auto; }
.nav__cta { height: 44px; transition: opacity 240ms var(--ease), background-color 140ms var(--ease), visibility 0s linear 0s; }
.nav__pill.is-compact .nav__cta { opacity: 0; visibility: hidden; transition: opacity 200ms var(--ease), visibility 0s linear 360ms; }

/* ================================================================ HERO == */
.hero__stage { background: var(--night); }
.hero__world { position: absolute; inset: 0; overflow: hidden; }
.plate { position: absolute; left: 0; top: 0; transform-origin: 0 0; width: 1344px; height: 752px; }
.plate picture { position: absolute; inset: 0; }
.plate__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; }

/* the laptop screen: a 400 x 250 DOM plane, perspective-mapped in JS */
.screen {
  position: absolute; left: 0; top: 0; width: 400px; height: 250px;
  transform-origin: 0 0; overflow: hidden;
  background: var(--mist-50); color: var(--ink-900);
  font-family: var(--sc-font-text);
  backface-visibility: hidden;
}
.screen__layer { position: absolute; inset: 0; }
.screen__notice { display: grid; place-items: center; background: #e9eff1; }
.screen__report { display: flex; flex-direction: column; background: var(--mist-50); clip-path: inset(0 0 100% 0); }
.screen__glass {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 95% at 52% 46%, rgba(255, 255, 255, 0) 55%, rgba(10, 44, 51, 0.16) 100%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 38%);
}
.screen__sweep {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; margin-top: -1px;
  background: var(--teal-500); opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 0.5px rgba(23, 107, 122, 0.4);
}
/* the one functional gradient: the teal-50 scan-sweep trailing the line */
.screen__sweep::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 46px;
  background: linear-gradient(to bottom, rgba(234, 243, 245, 0) 0%, rgba(207, 228, 232, 0.85) 100%);
}

.ntc {
  width: 292px; padding: 22px 24px 20px; background: #fff;
  border: 1px solid var(--line-200); border-radius: 14px; box-shadow: var(--shadow-md);
  display: grid; justify-items: start; gap: 4px;
}
.ntc__icon {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--clay-bg); color: var(--clay-strong); margin-bottom: 8px;
}
.ntc__icon .i { width: 21px; height: 21px; }
.ntc__title { font: 700 27px/1.08 var(--sc-font-text); letter-spacing: -0.025em; color: var(--ink-900); }
.ntc__policy { font: 500 14px/1.4 var(--sc-font-mono); color: var(--slate-600); }

/* gate pill + severity tag + gauge (PassGMC components in plain HTML/SVG) */
.gate {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
  border-radius: 999px; border: 1px solid; white-space: nowrap;
  font: 500 13px/1 var(--sc-font-mono);
}
.gate .i { width: 16px; height: 16px; }
.gate--notready { background: var(--clay-bg); color: var(--clay-strong); border-color: var(--clay-border); }
.gate--nearly { background: var(--honey-bg); color: var(--honey-strong); border-color: var(--honey-border); }
.gate--ready { background: var(--sage-bg); color: var(--sage-strong); border-color: var(--sage-border); }

.sev {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 4px;
  font: 500 13px/1 var(--sc-font-mono); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
}
.sev--critical { background: var(--clay-bg); color: var(--clay-strong); }
.sev--high { background: var(--honey-bg); color: var(--honey-strong); }

.gauge {
  position: relative; display: inline-grid; place-content: center; justify-items: center; gap: 3px;
  aspect-ratio: 1; flex-shrink: 0; padding-bottom: 4%;
}
.gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gauge circle { fill: none; stroke-linecap: round; transform: rotate(135deg); transform-origin: 50% 50%; }
.gauge__track { stroke: var(--line-200); stroke-width: 9; stroke-dasharray: 202.63 270.18; }
.gauge__arc { stroke: var(--clay-base); stroke-width: 9; stroke-dasharray: 202.63 270.18; stroke-dashoffset: calc(202.63 * (1 - var(--score) / 100)); }
.gauge--lg .gauge__track, .gauge--lg .gauge__arc { stroke-width: 8; stroke-dasharray: 207.35 276.46; }
.gauge--lg .gauge__arc { stroke-dashoffset: calc(207.35 * (1 - var(--score) / 100)); }
.gauge__arc--notready { stroke: var(--clay-base); }
.gauge__num {
  position: relative; text-align: center; font-family: var(--sc-font-mono); font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink-900); font-variant-numeric: tabular-nums; line-height: 1;
}
.gauge__cap {
  position: relative; text-align: center; padding-left: 0.12em;
  font: 500 12px/1 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-500);
}

/* the report as it appears on the laptop (400 x 250 virtual pixels) */
.mini__bar {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; flex-shrink: 0;
  background: #fff; border-bottom: 1px solid var(--line-200);
}
.mini__bar img { width: 18px; height: 18px; }
.mini__tag { font: 500 10.5px/1 var(--sc-font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-600); }
.mini__gate { margin-left: auto; height: 22px; padding: 0 8px; gap: 4px; font-size: 10.5px; }
.mini__gate .i { width: 12px; height: 12px; }
.mini__body { flex: 1; display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 10px 11px 11px; min-height: 0; }
.mini__score {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-200); border-radius: 10px; padding: 8px 6px;
}
.gauge--mini { width: 82px; }
.gauge--mini .gauge__num { font-size: 27px; }
.gauge--mini { gap: 2px; }
.gauge--mini .gauge__cap { font-size: 7px; }
.mini__count { font: 600 10.5px/1.35 var(--sc-font-text); color: var(--slate-600); text-align: center; }
.mini__list { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mini__eyebrow { font: 500 9.5px/1 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay-strong); margin: 2px 0 1px; }
.mini__row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 6px;
  background: #fff; border: 1px solid var(--line-200); border-left: 3px solid var(--clay-base);
  border-radius: 8px; padding: 5px 7px 6px;
}
.mini__row .sev { height: 15px; padding: 0 5px; font-size: 8.5px; }
/* check titles wrap to a second line rather than being cut short */
.mini__t {
  font: 600 11.5px/1.15 var(--sc-font-text); color: var(--ink-900); letter-spacing: -0.01em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.mini__row code {
  grid-column: 1 / -1; justify-self: start; font-size: 9.5px; line-height: 1; font-weight: 500;
  color: var(--teal-700); background: var(--teal-50); border-radius: 4px; padding: 3px 5px;
}

/* hero copy */
.hero__copy {
  position: absolute; z-index: 20;
  left: var(--edge); right: var(--edge);
  top: clamp(104px, 15.5vh, 190px);
}
.hero__recede { transform-origin: 0 0; will-change: transform; }
.hero__title {
  font-weight: 640; font-size: clamp(2.25rem, 0.75rem + 4.55vw, 5.4rem);
  line-height: 0.98; letter-spacing: -0.042em; color: #fff; text-wrap: balance;
}
.hero__line { display: block; }
.hero__title em { font-style: italic; font-weight: 620; letter-spacing: -0.03em; padding-right: 0.04em; }
.hero__sub {
  margin-top: clamp(18px, 3vh, 30px); max-width: 33rem;
  font-size: clamp(1.05rem, 0.94rem + 0.36vw, 1.3rem); line-height: 1.5; letter-spacing: -0.006em;
  color: rgba(255, 255, 255, 0.82); text-wrap: pretty;
}

.hero__scrim { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.hero__scrim--head {
  background:
    /* 2K plate (1 Nov): the sharper city lights sit behind the end of the H1, so the scrim reaches further right */
    radial-gradient(ellipse 94% 66% at 14% 20%, rgba(var(--scrim), 0.86) 0%, rgba(var(--scrim), 0.68) 48%, rgba(var(--scrim), 0.34) 70%, rgba(var(--scrim), 0) 90%);
}
/* landscape: the end of the H1's second line sits over the lit plant and window; a second, local scrim keeps it legible */
@media (min-aspect-ratio: 1/1) {
  .hero__scrim--head {
    background:
      radial-gradient(ellipse 32% 26% at 80% 28%, rgba(var(--scrim), 0.55) 0%, rgba(var(--scrim), 0.32) 55%, rgba(var(--scrim), 0) 100%),
      radial-gradient(ellipse 94% 66% at 14% 20%, rgba(var(--scrim), 0.86) 0%, rgba(var(--scrim), 0.68) 48%, rgba(var(--scrim), 0.34) 70%, rgba(var(--scrim), 0) 90%);
  }
}
.hero__scrim--caption {
  opacity: 0;
  background: linear-gradient(90deg, rgba(var(--scrim), 0.9) 0%, rgba(var(--scrim), 0.74) 28%, rgba(var(--scrim), 0.3) 46%, rgba(var(--scrim), 0) 60%);
}
.hero__scrim--foot {
  top: auto; height: 44%;
  background: linear-gradient(to top, rgba(var(--scrim), 0.9) 0%, rgba(var(--scrim), 0.66) 45%, rgba(var(--scrim), 0) 100%);
}
.hero__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 75%; z-index: 30; pointer-events: none; opacity: 0;
  background: linear-gradient(to top, var(--night-2) 0%, var(--night-2) 22%, rgba(10, 44, 51, 0.72) 55%, rgba(10, 44, 51, 0) 100%);
}

.hero__caption {
  position: absolute; z-index: 20; left: var(--edge); top: 50%;
  width: min(25rem, 32vw); transform: translateY(-50%);
}
.hero__caption-text {
  margin-top: 12px; font-weight: 620; font-size: clamp(1.6rem, 1rem + 1.6vw, 2.6rem);
  line-height: 1.06; letter-spacing: -0.032em; color: #fff; text-wrap: balance;
}

/* the front plane: bokeh, screen-blended, drifting faster than the room */
.atmo {
  position: absolute; inset: -7%; z-index: 24; pointer-events: none;
  mix-blend-mode: screen; opacity: 0.62; will-change: transform;
}
.atmo__drift { position: absolute; inset: 0; }
.atmo img { width: 100%; height: 100%; object-fit: cover; max-width: none; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .atmo img { animation: atmo-breathe 22s ease-in-out infinite alternate; }
  .atmo.is-paused img, .is-paused .atmo img { animation-play-state: paused; }
}
@keyframes atmo-breathe {
  from { transform: translate3d(-10px, 6px, 0) scale(1); }
  to   { transform: translate3d(14px, -10px, 0) scale(1.035); }
}

/* the scan bar */
.hero__bar {
  position: absolute; z-index: 40; left: var(--edge); bottom: clamp(22px, 5vh, 48px);
  width: min(41rem, calc(100% - 2 * var(--sc-gutter)));
}
.scan__label {
  display: block; width: fit-content; margin: 0 0 10px 4px;
  font: 500 12px/1.3 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.scan__row {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; color: var(--ink-900);
  background: #fff; box-shadow: 0 2px 4px rgba(5, 24, 29, 0.25), 0 18px 40px -16px rgba(5, 24, 29, 0.6);
  border: 1px solid transparent;
  transition: box-shadow 160ms var(--ease), border-color 160ms var(--ease);
}
.scan__row:focus-within { box-shadow: 0 0 0 3px rgba(111, 176, 187, 0.65), 0 18px 40px -16px rgba(5, 24, 29, 0.6); }
.scan__field { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding-left: 16px; }
.scan__icon { width: 20px; height: 20px; color: var(--slate-500); }
.scan__field input {
  flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent;
  font: 400 16.5px/1.2 var(--sc-font-text); color: var(--ink-900);
}
.scan__field input::placeholder { color: var(--slate-500); opacity: 1; }
.scan__field input:focus-visible { outline: none; }
.scan.is-error .scan__row { border-color: var(--clay-base); }
.scan__micro {
  width: fit-content; margin: 12px 0 0 4px; font-size: 15.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.84);
}
.scan__msg:empty { display: none; }
.scan__msg {
  margin-top: 10px; display: inline-flex; align-items: flex-start; gap: 8px;
  padding: 10px 14px; border-radius: 10px; font-size: 14.5px; line-height: 1.4; border: 1px solid;
}
.scan__msg.is-error { background: var(--clay-bg); color: var(--clay-strong); border-color: var(--clay-border); }
.scan__msg.is-ok { background: var(--teal-50); color: var(--teal-700); border-color: var(--teal-100); }

/* phone art direction: the lifted card */
.lift { display: none; }

/* ============================================================= TENSION == */
.tension__stage { background: var(--night-2); display: flex; align-items: center; }
.atmo--tension {
  inset: -10%; z-index: 0; opacity: 0.38;
  transform: translate3d(0, calc(var(--sc-p, 0) * -90px), 0) scale(1.06);
}
.tension__inner { position: relative; z-index: 2; width: 100%; padding-top: 48px; }
.ledger { list-style: none; display: grid; gap: clamp(12px, 2.2vh, 26px); max-width: 50rem; }
.ledger__line {
  font-weight: 560; font-size: clamp(1.3rem, 0.92rem + 1.2vw, 2.2rem);
  line-height: 1.2; letter-spacing: -0.022em; color: #fff; text-wrap: pretty;
}
.ledger__text { opacity: clamp(0.56, calc(1 - (var(--sc-p, 0) - var(--next)) * 7), 1); }
.tension__lift { margin-top: clamp(26px, 5vh, 58px); will-change: transform; }
/* v2: a full sentence now, not a four-word punch. Sized to land in two lines
   on desktop so it still clears the rising sheet until it bows out. */
.tension__land {
  font-weight: 680; font-size: clamp(1.9rem, 0.8rem + 3.5vw, 4rem);
  line-height: 1.02; letter-spacing: -0.042em; color: #fff; text-wrap: balance;
}
.tension__src {
  margin-top: clamp(22px, 4vh, 40px);
  font: 500 12px/1.3 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

/* =============================================================== SHEET == */
.sheet {
  position: relative; z-index: 5;
  background: var(--mist-50); color: var(--ink-900);
  border-radius: 28px;
  box-shadow: 0 -28px 60px -24px rgba(3, 16, 20, 0.6);
  --sc-ink: var(--ink-900); --sc-ink-soft: var(--slate-600);
  --sc-accent: var(--teal-500); --sc-accent-ink: #fff;
}
.js .sheet { margin-top: -100vh; }
.sheet ::selection { background: var(--teal-100); color: var(--ink-900); }

/* ---------------------------------------------------------------- TURN -- */
.turn { padding: clamp(92px, 15vh, 160px) 0 clamp(56px, 9vh, 110px); }
.turn__title {
  font-weight: 680; font-size: clamp(2.7rem, 1rem + 5.4vw, 6.6rem);
  line-height: 0.96; letter-spacing: -0.05em; color: var(--ink-900);
}
.turn__statement {
  margin-top: clamp(22px, 4vh, 40px); max-width: 21em;
  font-weight: 560; font-size: clamp(1.45rem, 0.95rem + 1.75vw, 2.75rem);
  line-height: 1.2; letter-spacing: -0.028em; color: var(--ink-900); text-wrap: pretty;
}
.hl { opacity: clamp(0.3, calc((var(--sc-p, 1) - 0.2 - var(--i) * 0.062) * 10 + 0.3), 1); }

/* --------------------------------------------------------------- NAMES -- */
.names { padding: clamp(36px, 6vh, 80px) 0 clamp(90px, 15vh, 160px); }
.names__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5.5vw, 96px); align-items: start;
}
.names__aside { position: sticky; top: 96px; }
.names__title {
  font-weight: 660; font-size: clamp(2rem, 1rem + 2.7vw, 3.75rem);
  line-height: 1.02; letter-spacing: -0.04em; max-width: 13ch; text-wrap: balance;
}
.photo-card { margin-top: clamp(22px, 3.4vh, 36px); }
.photo-card__frame {
  border-radius: 20px; overflow: hidden; aspect-ratio: 1024 / 688; background: #1a2b30;
  box-shadow: 0 2px 4px rgba(16, 40, 46, 0.08), 0 26px 50px -24px rgba(16, 40, 46, 0.45);
}
.photo-card__frame img {
  width: 100%; height: 112%; max-width: none; object-fit: cover; display: block;
  transform: translate3d(0, var(--drift, -5%), 0);
}
.photo-card figcaption {
  margin-top: 16px; max-width: 46ch; font-size: 16px; line-height: 1.55; color: var(--slate-600);
}

.stack { list-style: none; display: flex; flex-direction: column; gap: 104px; padding-top: 6px; }
.stack__card {
  --k: 0;
  position: sticky; top: calc(96px + var(--k) * 16px);
  min-height: 252px; padding: 28px 30px 26px;
  background: #fff; border: 1px solid var(--line-200); border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 40, 46, 0.06), 0 24px 48px -26px rgba(16, 40, 46, 0.36);
  transform-origin: 50% 0;
}
.stack__card:nth-child(2) { --k: 1; } .stack__card:nth-child(3) { --k: 2; }
.stack__card:nth-child(4) { --k: 3; } .stack__card:nth-child(5) { --k: 4; }
.stack__card:nth-child(6) { --k: 5; } .stack__card:nth-child(7) { --k: 6; }
.stack.is-measuring .stack__card { position: static; }
.stack__veil { position: absolute; inset: 0; border-radius: inherit; background: var(--teal-900); opacity: 0; pointer-events: none; }
.stack__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-600); margin-bottom: 18px;
}
.stack__icon .i { width: 22px; height: 22px; }
.stack__card h3 {
  font-weight: 650; font-size: clamp(1.35rem, 1rem + 0.9vw, 1.85rem);
  line-height: 1.12; letter-spacing: -0.028em; color: var(--ink-900);
}
.stack__card p { margin-top: 10px; font-size: 17px; line-height: 1.5; color: var(--slate-600); max-width: 40ch; }
.stack__where { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px !important; }
.stack__where span { font: 500 11.5px/1 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-500); }
.stack__where code, .issue__path code {
  font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--teal-700);
  background: var(--fill-100); border: 1px solid var(--line-200); border-radius: 6px; padding: 6px 8px;
  white-space: nowrap;
}
.stack__card--total {
  background: var(--teal-800); border-color: rgba(255, 255, 255, 0.08); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.stack__metric { font: 600 22px/1 var(--sc-font-mono); color: var(--teal-200) !important; margin: 0 !important; letter-spacing: 0.02em; }
.stack__metric span { font-size: 64px; letter-spacing: -0.03em; color: #fff; margin-right: 8px; }
.stack__bridge {
  margin-top: 16px !important; max-width: 26ch !important;
  font-weight: 600; font-size: clamp(1.3rem, 1rem + 0.8vw, 1.75rem) !important;
  line-height: 1.2 !important; letter-spacing: -0.025em; color: #fff !important;
}

/* ================================================================ PEAK == */
.peak__stage { background: var(--mist-50); }
.peak__field {
  position: absolute; inset: calc(var(--nav-h) + 30px) 20px 20px; border-radius: 28px;
  background: var(--teal-50);
  box-shadow: inset 0 0 0 1px rgba(23, 107, 122, 0.08);
}
.peak__copy {
  position: absolute; z-index: 3;
  left: calc(var(--edge) + 12px); top: calc(50% + 32px); transform: translateY(-50%);
  width: min(29rem, 33vw);
}
.peak__eyebrow { margin-bottom: 18px; }
.steps { display: grid; }
.step { grid-area: 1 / 1; }
.step__n { font: 500 12px/1.3 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); }
.step__t {
  margin-top: 10px; font-weight: 660; font-size: clamp(2rem, 1.1rem + 2.5vw, 3.6rem);
  line-height: 1.0; letter-spacing: -0.04em; color: var(--ink-900);
}
.step__d { margin-top: 16px; font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.28rem); line-height: 1.5; color: var(--slate-600); max-width: 30ch; }
.step__fine {
  margin-top: 20px; max-width: 34ch; font-size: 15px; line-height: 1.5; color: var(--slate-600);
  padding: 12px 14px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line-200); border-radius: 10px;
}

.report-wrap {
  position: absolute; z-index: 2;
  right: calc(var(--edge) + 8px); top: calc(50% + 33px);
  transform: translateY(-50%) scale(var(--rs, 1)); transform-origin: 100% 50%;
  width: min(740px, 51vw);
}
.report {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line-200); border-radius: 20px;
  box-shadow: 0 2px 6px rgba(16, 40, 46, 0.06), 0 40px 80px -36px rgba(16, 40, 46, 0.45);
}
.report__bar {
  display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 22px;
  border-bottom: 1px solid var(--line-100);
}
.report__logo { width: 104px; height: auto; }
.report__mark { display: none; }
.report__tag {
  font: 500 11.5px/1 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate-600); background: var(--fill-100); padding: 6px 9px; border-radius: 6px;
}
.report__gates { margin-left: auto; display: grid; justify-items: end; }
.report__gates .gate { grid-area: 1 / 1; opacity: 0; transition: opacity 220ms var(--ease); }
.report__gates .gate.is-on { opacity: 1; }
.report__score { display: flex; align-items: center; gap: 28px; padding: 22px 26px 18px; }
.gauge--lg { width: 148px; }
.gauge--lg .gauge__num { font-size: 46px; }
.gauge--lg { gap: 5px; }
.gauge--lg .gauge__cap { font-size: 11px; }
.report__summary { flex: 1; min-width: 0; }
.report__h { font: 600 20px/1.3 var(--sc-font-text); letter-spacing: -0.01em; color: var(--ink-900); }
.report__counts { display: grid; margin-top: 6px; font-size: 16px; color: var(--slate-600); }
.report__counts .cnt { grid-area: 1 / 1; transition: opacity 220ms var(--ease); }
.report__counts b { font-family: var(--sc-font-mono); font-weight: 600; color: var(--ink-900); }
.cnt--after { opacity: 0; }
.report.is-after .cnt--before { opacity: 0; }
.report.is-after .cnt--after { opacity: 1; }
.ba {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  opacity: 0; transform: translate3d(0, 6px, 0);
}
.ba__cell {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
  background: var(--mist-50); border: 1px solid var(--line-200); white-space: nowrap;
}
.ba__k { font: 500 11px/1 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-500); }
.ba__v { font: 600 18px/1 var(--sc-font-mono); color: var(--ink-900); }
.ba__g { font: 500 12px/1 var(--sc-font-mono); }
.ba__g--notready { color: var(--clay-strong); }
.ba__g--ready { color: var(--sage-strong); }
.ba__arrow { width: 18px; height: 18px; color: var(--teal-500); }

.report__list { padding: 4px 22px 24px; }
.report__eyebrow { display: grid; margin: 0 0 10px 4px; }
.report__eyebrow .lbl { grid-area: 1 / 1; font: 500 12px/1.3 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.lbl--free { color: var(--slate-500); }
.lbl--full { color: var(--clay-strong); opacity: 0; }
.issues { list-style: none; display: grid; gap: 8px; }
.issue {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 22px auto minmax(0, 1fr) auto 22px; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--line-200); border-radius: 14px; background: #fff;
}
.issue::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px;
  border-radius: 14px 0 0 14px; background: var(--clay-base); opacity: var(--start, 0);
}
.issue__n {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700); font: 600 12px/1 var(--sc-font-mono);
  opacity: var(--start, 0);
}
.issue__t { font: 600 16px/1.3 var(--sc-font-text); color: var(--ink-900); letter-spacing: -0.008em; min-width: 0; }
.issue__path { display: grid; justify-items: end; }
.issue__path > * { grid-area: 1 / 1; }
.issue__lock {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 6px;
  font: 500 12.5px/1 var(--sc-font-mono); color: var(--slate-600); background: var(--fill-100);
  opacity: clamp(0, calc(1 - var(--u, 0) * 2), 1);
}
.issue__lock .i { width: 14px; height: 14px; }
.issue__path code { font-size: 12.5px; padding: 6px 8px; opacity: clamp(0, calc(var(--u, 0) * 2 - 1), 1); transform: translate3d(calc((1 - var(--u, 0)) * 6px), 0, 0); }
.issue__res { position: relative; width: 22px; height: 22px; display: grid; place-items: center; }
.issue__res .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--clay-base); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.issue__res .tick { position: absolute; inset: 0; width: 22px; height: 22px; color: var(--sage-strong); opacity: 0; transform: scale(0.95); transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
.issue.is-fixed .dot { opacity: 0; transform: scale(0.95); }
.issue.is-fixed .tick { opacity: 1; transform: none; }

.report__sweep {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 4;
  background: var(--teal-500); opacity: 0; pointer-events: none;
}
.report__sweep::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 120px;
  background: linear-gradient(to bottom, rgba(234, 243, 245, 0) 0%, rgba(207, 228, 232, 0.7) 100%);
}

.appeal {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 5;
  padding: 20px 22px 22px; background: #fff; border-radius: 14px;
  border: 1px solid var(--line-200); border-top: 3px solid var(--teal-500);
  box-shadow: 0 -2px 6px rgba(16, 40, 46, 0.04), 0 30px 60px -20px rgba(16, 40, 46, 0.45);
  transform: translate3d(0, 112%, 0);
}
.appeal__eyebrow { font: 500 12px/1.3 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); }
.appeal__title { margin-top: 6px; font: 650 24px/1.2 var(--sc-font-text); letter-spacing: -0.02em; color: var(--ink-900); }
.appeal__items { list-style: none; margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.appeal__items li {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px;
  background: var(--mist-50); border: 1px solid var(--line-200);
  font: 600 15px/1.2 var(--sc-font-text); color: var(--ink-900);
}
.appeal__items .i { width: 18px; height: 18px; color: var(--teal-600); }

/* =============================================================== PROOF == */
.proof__stage { background: var(--mist-50); }
.proof__photo {
  position: absolute; inset: calc(var(--nav-h) + 30px) 20px 20px; border-radius: 28px; overflow: hidden;
  background: #c9c2b6;
}
.proof__photo img {
  position: absolute; top: 0; left: -6%; width: 112%; height: 100%; max-width: none; object-fit: cover;
  transform: translate3d(calc((var(--sc-p, 0.5) - 0.5) * 70px), 0, 0) scale(1.04);
}
.proof__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 44, 51, 0.10) 0%, rgba(10, 44, 51, 0) 30%, rgba(10, 44, 51, 0.22) 100%);
}
.proof__rail {
  position: absolute; left: 0; top: calc(50% + 34px);
  display: flex; align-items: stretch; gap: 22px;
  padding: 0 calc(var(--edge) + 22px);
  translate: 0 -50%;
}
.proof__intro {
  flex: 0 0 auto; width: 452px; padding: 34px 34px 32px;
  background: rgba(244, 247, 248, 0.96); border-radius: 20px;
  box-shadow: 0 2px 6px rgba(16, 40, 46, 0.08), 0 30px 60px -28px rgba(16, 40, 46, 0.5);
  display: flex; flex-direction: column; justify-content: center;
}
.trust {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-200);
  box-shadow: var(--shadow-xs);
  font: 600 12px/1.2 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-900);
}
.trust .i { width: 16px; height: 16px; color: var(--teal-700); }
.proof__title {
  margin-top: 22px; font-weight: 660; font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.6rem);
  line-height: 1.08; letter-spacing: -0.035em; color: var(--ink-900); text-wrap: balance;
}
.hlt { color: var(--teal-700); }
.proof__sub { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--slate-600); }
.tcard {
  flex: 0 0 auto; width: 356px; padding: 26px 26px 24px; margin: 0;
  background: #fff; border: 1px solid var(--line-200); border-radius: 20px;
  box-shadow: 0 2px 6px rgba(16, 40, 46, 0.08), 0 30px 60px -28px rgba(16, 40, 46, 0.5);
  display: flex; flex-direction: column;
}
.tcard figcaption { display: flex; align-items: center; gap: 14px; }
.tcard figcaption img { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-200); object-fit: cover; }
.tcard__name { display: block; font: 700 15.5px/1.3 var(--sc-font-text); color: var(--ink-900); }
.tcard__role { display: block; font-size: 14px; line-height: 1.4; color: var(--slate-600); }
.stars { display: flex; gap: 4px; margin: 18px 0 14px; color: var(--teal-700); }
.stars .i { width: 18px; height: 18px; }
.tcard blockquote { flex: 1; margin: 0; font-size: 16px; line-height: 1.62; color: var(--ink-900); text-wrap: pretty; }
.tcard__q { width: 26px; height: 26px; color: var(--line-300); margin-bottom: 10px; }
.tcard__q--end { align-self: flex-end; margin: 10px 0 0; transform: rotate(180deg); }

/* =============================================================== OFFER == */
.offer { padding: clamp(80px, 13vh, 140px) 0 clamp(96px, 17vh, 180px); }
.pricing {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr); gap: 34px 56px; align-items: center;
  padding: clamp(28px, 4.6vw, 64px); border-radius: 28px;
  background: var(--teal-800); color: #fff;
  box-shadow: 0 30px 70px -40px rgba(10, 44, 51, 0.8);
}
.pricing__title { font-weight: 660; font-size: clamp(2rem, 1.1rem + 2.4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.pricing__sub { margin-top: 16px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); max-width: 26ch; }
.pricing__plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px;
  background: #fff; color: var(--ink-900); border-radius: 20px; border: 1.5px solid transparent;
  box-shadow: 0 30px 50px -30px rgba(3, 16, 20, 0.7);
}
.plan--best { border-color: var(--teal-400); }
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--teal-500); color: #fff; padding: 6px 12px; border-radius: 999px;
  font: 600 11px/1 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.plan__name { font: 700 16px/1.3 var(--sc-font-text); color: var(--ink-900); }
.plan__price { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; }
.plan__amt { font: 600 44px/1 var(--sc-font-mono); letter-spacing: -0.03em; color: var(--ink-900); }
.plan__cur { font: 500 13px/1 var(--sc-font-mono); color: var(--slate-500); }
.plan__scans { margin-top: 6px; font-size: 15px; color: var(--slate-600); }
.plan__list { list-style: none; margin: 20px 0 22px; display: grid; gap: 10px; flex: 1; }
.plan__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.35; color: var(--slate-600); }
.plan__list .i { width: 17px; height: 17px; color: var(--sage-base); }
.pricing__free {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  padding: 18px 18px 18px 24px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
}
.pricing__free-t { font-size: 18px; line-height: 1.4; color: rgba(255, 255, 255, 0.84); }
.pricing__free-t strong { display: block; margin-bottom: 2px; color: #fff; font-weight: 650; }
.pricing__privacy {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: -8px;
  font-size: 15px; color: rgba(255, 255, 255, 0.78);
}
.pricing__privacy .i { width: 16px; height: 16px; color: var(--teal-300); }

.faq {
  margin-top: clamp(84px, 14vh, 150px);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 28px 64px; align-items: start;
}
.faq__title { font-weight: 660; font-size: clamp(2rem, 1.1rem + 2.2vw, 3.2rem); line-height: 1.04; letter-spacing: -0.04em; max-width: 11ch; text-wrap: balance; }
.faq__list { border-top: 1px solid var(--line-300); }
.qa { border-bottom: 1px solid var(--line-300); }
.qa summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 18px 4px; cursor: pointer;
  font: 600 clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem)/1.35 var(--sc-font-text); letter-spacing: -0.012em; color: var(--ink-900);
  border-radius: 8px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 22px; height: 22px; color: var(--teal-600); transition: transform 240ms var(--ease); }
.qa[open] summary .i { transform: rotate(180deg); }
.qa p { padding: 0 4px 24px; max-width: 62ch; font-size: 17px; line-height: 1.62; color: var(--slate-600); }
@media (prefers-reduced-motion: no-preference) {
  .qa[open] p { animation: qa-in 260ms var(--ease); }
}
@keyframes qa-in { from { opacity: 0; transform: translate3d(0, -4px, 0); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) { .qa summary:hover { color: var(--teal-700); } }

/* =============================================================== CLOSE == */
.close { position: relative; z-index: 1; }
.js .close { margin-top: -100vh; }
.close__stage { background: var(--night); }
.close__plate { position: absolute; inset: 0; overflow: hidden; transform-origin: 62% 56%; will-change: transform; }
.close__plate img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 50%;
}
.close__day { opacity: 0; }
.close__scrim { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.close__scrim--col {
  background: linear-gradient(90deg, rgba(var(--scrim), 0.84) 0%, rgba(var(--scrim), 0.62) 34%, rgba(var(--scrim), 0.18) 54%, rgba(var(--scrim), 0) 66%);
}
.close__scrim--foot {
  top: auto; height: 30%;
  background: linear-gradient(to top, rgba(var(--scrim), 0.92) 0%, rgba(var(--scrim), 0.55) 50%, rgba(var(--scrim), 0) 100%);
}
.close__copy {
  position: absolute; z-index: 20; left: var(--edge); top: 47%; transform: translateY(-50%);
  width: min(41rem, 52vw);
}
.close__title {
  font-weight: 670; font-size: clamp(2.3rem, 1rem + 3.9vw, 5.1rem);
  line-height: 1; letter-spacing: -0.044em; color: #fff; text-wrap: balance; max-width: 13ch;
}
.scan--close { margin-top: clamp(26px, 4.5vh, 44px); }
.foot {
  position: absolute; z-index: 20; left: var(--edge); right: var(--edge); bottom: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px;
  font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.84);
}
.foot img { width: 99px; height: auto; }
.foot__legal { flex: 1 1 26rem; max-width: 46rem; }
.foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.foot__links a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 0.25em; display: inline-flex; align-items: center; min-height: 44px; }
.foot__links a:hover { text-decoration-color: #fff; }

/* ======================================================= TABLET / PHONE == */
/* v2: the longer check titles and Shopify paths no longer share one line below
   1400px, so the path drops under its title (v1 did this below 1100px). */
@media (max-width: 1400px) {
  .issue { grid-template-columns: 22px auto minmax(0, 1fr) 22px; row-gap: 8px; }
  .issue__n, .issue .sev, .issue__t, .issue__res { grid-row: 1; }
  .issue__res { grid-column: 4; }
  .issue__path { grid-column: 3 / 4; grid-row: 2; justify-items: start; }
}
@media (max-width: 1100px) {
  .peak__copy { width: min(26rem, 36vw); }
  .report-wrap { width: min(600px, 54vw); }
  .pricing { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
}

/* Portrait screens use the tall plate (A3). Its laptop screen is too small to
   read, so the screen content lifts off it into a card, and the caption moves
   above the card. */
@media (max-aspect-ratio: 1/1) {
  .hero__scrim--head {
    background: linear-gradient(180deg, rgba(var(--scrim), 0.8) 0%, rgba(var(--scrim), 0.62) 38%, rgba(var(--scrim), 0) 62%);
  }
  .hero__caption { top: calc(var(--nav-h) + 40px); transform: none; width: auto; right: var(--edge); max-width: 34rem; }
  .hero__caption-text { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
  .hero__scrim--caption {
    background: linear-gradient(180deg, rgba(var(--scrim), 0.84) 0%, rgba(var(--scrim), 0.6) 30%, rgba(var(--scrim), 0) 50%);
  }
  .lift {
    display: block; position: absolute; z-index: 21;
    left: max(var(--sc-gutter), calc(50% - 230px)); right: max(var(--sc-gutter), calc(50% - 230px));
    top: clamp(200px, 25svh, 300px); pointer-events: none; opacity: 0; transform-origin: 0 0;
  }
  .lift__card {
    position: relative; height: 304px; overflow: hidden; border-radius: 16px;
    background: var(--mist-50); color: var(--ink-900);
    box-shadow: 0 2px 6px rgba(3, 16, 20, 0.3), 0 36px 70px -24px rgba(3, 16, 20, 0.75);
  }
  .lift__notice { display: grid; place-items: center; background: #e9eff1; }
  .lift__report { display: flex; flex-direction: column; clip-path: inset(0 0 100% 0); }
  .lift .ntc { width: 84%; }
  .lift .mini__bar { height: 44px; padding: 0 14px; }
  .lift .mini__tag { font-size: 11px; }
  .lift .mini__gate { height: 26px; font-size: 11.5px; padding: 0 10px; }
  .lift .mini__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 12px; gap: 10px; }
  .lift .mini__score { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 6px 12px; }
  .lift .gauge--mini { width: 66px; }
  .lift .gauge--mini .gauge__num { font-size: 22px; }
  .lift .gauge--mini .gauge__cap { font-size: 6.5px; }
  .lift .mini__count { text-align: left; font-size: 13px; }
  .lift .mini__eyebrow { font-size: 10.5px; }
  .lift .mini__row { grid-template-columns: auto minmax(0, 1fr) auto; padding: 6px 8px; }
  .lift .mini__row:nth-of-type(n+4) { display: none; }
  .lift .mini__t { font-size: 13px; }
  .lift .mini__row .sev { height: 17px; font-size: 9.5px; }
  .lift .mini__row code { grid-column: 1 / -1; font-size: 11px; padding: 4px 6px; }

}

/* Narrow and portrait screens: the report sits under its step copy. */
@media (max-width: 1024px), (max-aspect-ratio: 1/1) {
  .peak__field { inset: calc(var(--nav-h) + 22px) 10px 10px; border-radius: 22px; }
  .peak__copy {
    left: max(28px, calc(50% - 320px)); right: max(28px, calc(50% - 320px)); width: auto;
    top: calc(var(--nav-h) + 44px); transform: none;
  }
  .step__n { display: none; }
  .step__t { margin-top: 0; }
  .step__d { margin-top: 8px; max-width: none; }
  .step__fine { display: none; }
  .report-wrap {
    left: max(20px, calc(50% - 320px)); right: max(20px, calc(50% - 320px)); width: auto;
    top: auto; bottom: 20px; transform: translate3d(0, var(--ry, 0px), 0) scale(var(--rs, 1)); transform-origin: 50% 100%;
  }
  .issue { grid-template-columns: auto minmax(0, 1fr) 20px; gap: 6px 8px; padding: 9px 10px; }
  .issue__n { display: none; }
  .issue__t { grid-column: 2 / 3; }
  .issue .sev { grid-column: 1 / 2; grid-row: 1; }
  .issue__res { grid-column: 3 / 4; grid-row: 1; }
  .issue__path { grid-column: 1 / -1; grid-row: 2; justify-items: start; }
}

/* Short landscape screens (phones on their side): fewer things in the hero. */
@media (max-height: 520px) and (orientation: landscape) {
  .hero__copy { top: 74px; }
  .hero__title { font-size: clamp(1.7rem, 1rem + 2.6vw, 2.4rem); }
  .hero__sub { display: none; }
  .hero__bar { bottom: 12px; width: min(34rem, calc(100% - 2 * var(--sc-gutter))); }
  .hero__bar .scan__label { display: none; }
  .scan__micro { margin-top: 6px; font-size: 13.5px; }
  .close__copy { top: 44%; }
  .close__title { font-size: 1.9rem; max-width: 20ch; }
  .scan--close { margin-top: 14px; }
  .scan--close .scan__label { display: none; }
  .foot { bottom: 8px; font-size: 11.5px; gap: 2px 16px; }
  .foot img { display: none; }
  .foot__links a { min-height: 32px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 52px; }
  .nav { top: 12px; }
  .nav__pill { gap: 12px; padding: 4px 4px 4px 16px; }
  .nav__logo img { width: 104px; }
  .nav__cta { height: 44px; padding: 0 16px; font-size: 14.5px; }

  .hero__copy { top: 88px; }
  .hero__title { font-size: clamp(2.05rem, 1.2rem + 3.6vw, 2.6rem); line-height: 1.02; letter-spacing: -0.038em; }
  .hero__line { display: inline; }
  .hero__sub { margin-top: 14px; font-size: 1.02rem; max-width: 30rem; }
  .hero__bar { bottom: 18px; }
  .scan__label { margin-bottom: 8px; }
  .scan__row { padding: 5px; }
  .scan__field { padding-left: 12px; gap: 8px; }
  .scan__icon { width: 18px; height: 18px; }
  .scan__field input { height: 46px; font-size: 16px; }
  .btn--lg { height: 48px; padding: 0 16px; font-size: 15px; }
  .scan__micro { font-size: 14.5px; margin-top: 10px; }
  .hero__scrim--foot { height: 42%; }
  .atmo { opacity: 0.5; }

  .ledger__line { font-size: 1.3rem; }
  .tension__land { font-size: 1.875rem; line-height: 1.04; }
  .tension__inner { padding-top: 40px; }

  .sheet { border-radius: 22px; }
  .turn { padding-top: 84px; }
  .turn__title { font-size: 3rem; }
  .turn__statement { font-size: 1.55rem; }

  .names__grid { grid-template-columns: 1fr; gap: 28px; }
  .names__aside { position: static; }
  .names__title { font-size: 2.15rem; }
  .stack { gap: 80px; }
  .stack__card { top: calc(80px + var(--k) * 9px); min-height: 0; padding: 22px 20px 22px; }
  .stack__card h3 { font-size: 1.32rem; }
  .stack__card p { font-size: 16px; }
  .stack__where code { font-size: 12.5px; white-space: normal; }
  .stack__metric span { font-size: 52px; }

  .peak__eyebrow { margin-bottom: 8px; }
  .step__n { display: none; }
  .step__t { margin-top: 0; font-size: 1.75rem; }
  .step__d { margin-top: 6px; font-size: 0.98rem; max-width: none; }
  .step__fine { display: none; }
  .report__bar { height: 50px; padding: 0 14px; gap: 10px; }
  /* the example label must stay on screen: the mark stands in for the wordmark */
  .report__logo { display: none; }
  .report__mark { display: block; width: 22px; height: 22px; flex-shrink: 0; }
  .report__tag { font-size: 10.5px; padding: 5px 7px; letter-spacing: 0.1em; white-space: nowrap; }
  .report__gates .gate { height: 26px; font-size: 12px; padding: 0 10px; }
  .report__score { gap: 16px; padding: 14px 16px 10px; }
  .gauge--lg { width: 104px; }
  .gauge--lg .gauge__num { font-size: 32px; }
  .gauge--lg .gauge__cap { font-size: 8.5px; }
  .report__h { font-size: 16px; }
  .report__counts { font-size: 14px; }
  .ba { gap: 6px; margin-top: 10px; }
  .ba__cell { padding: 6px 8px; gap: 6px; }
  .ba__g { display: none; }
  .ba__v { font-size: 15px; }
  .report__list { padding: 0 12px 14px; }
  .report__eyebrow { margin-bottom: 8px; }
  .issues { gap: 6px; }
  .issue__path code, .issue__lock { font-size: 11.5px; padding: 5px 7px; }
  .appeal { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .appeal__title { font-size: 20px; }
  .appeal__items { gap: 8px; }
  .appeal__items li { font-size: 13.5px; padding: 9px 10px; gap: 8px; }

  .proof__photo { inset: calc(var(--nav-h) + 22px) 10px 10px; border-radius: 22px; }
  .proof__rail { gap: 14px; padding: 0 26px; top: calc(50% + 30px); }
  .proof__intro { width: 300px; padding: 24px 22px; }
  .proof__title { font-size: 1.7rem; }
  .proof__sub { font-size: 15.5px; }
  .tcard { width: 296px; padding: 22px 20px 20px; }
  .tcard blockquote { font-size: 15px; }

  .offer { padding-top: 72px; }
  .pricing { border-radius: 22px; padding: 28px 18px 22px; gap: 26px; }
  .pricing__plans { grid-template-columns: 1fr; gap: 22px; }
  .pricing__free { padding: 16px; }
  .pricing__free .btn { width: 100%; }
  .faq { margin-top: 84px; }
  .qa p { font-size: 16px; }

  .close__plate img { object-position: 74% 50%; }
  .close__scrim--col {
    background: linear-gradient(180deg, rgba(var(--scrim), 0.86) 0%, rgba(var(--scrim), 0.62) 30%, rgba(var(--scrim), 0) 48%);
  }
  .close__scrim--foot { height: 60%; background: linear-gradient(to top, rgba(var(--scrim), 0.95) 0%, rgba(var(--scrim), 0.9) 56%, rgba(var(--scrim), 0) 100%); }
  .close__copy {
    top: 88px; bottom: 182px; transform: none; width: auto; right: var(--sc-gutter);
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .close__title { font-size: 2.35rem; }
  .foot { bottom: 14px; gap: 6px 16px; font-size: 12.5px; }
  .foot img { width: 84px; }
  .foot__legal { flex-basis: 100%; }
  .foot__links a { min-height: 44px; }
}

/* "Scan my store free" and the full placeholder need about 415px side by side.
   Any scan form narrower than that (phones, the close column on a portrait
   tablet) drops the button under the field inside the same white bar. The
   media query is the fallback for browsers without container queries. */
.scan { container: scan / inline-size; }
@container scan (max-width: 420px) {
  .scan__row { flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 26px; }
  .scan__field { flex: 1 1 100%; padding-left: 14px; }
  .scan__row .btn { flex: 1 1 100%; }
  .scan__field input { height: 44px; }
}
@media (max-width: 440px) {
  .scan__row { flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 26px; }
  .scan__field { flex: 1 1 100%; padding-left: 14px; }
  .scan__row .btn { flex: 1 1 100%; }
  .scan__field input { height: 44px; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 1.95rem; }
  .btn--lg { padding: 0 13px; font-size: 14.5px; }
  .scan__icon { display: none; }
  .scan__field { padding-left: 14px; }
}

/* ============================================================== MOTION == */
@media (prefers-reduced-motion: reduce) {
  .nav__pill { transition: none; }
  .hero__recede, .atmo, .plate { will-change: auto; }
  .screen__sweep, .report__sweep { display: none; }
  .ba { transform: none; }
  .appeal { transform: none; opacity: 0; }
  .issue__path code { transform: none; }
  .photo-card__frame img { transform: none; height: 100%; }
  .proof__photo img { transform: none; left: 0; width: 100%; }
  .hl { opacity: 1; }
  .atmo--tension { transform: scale(1.06); }
}
/* reduced motion: the testimonial rail reads as a grid, not a sideways scroller
   (the script turns the act into an ordinary flow section before mount) */
.proof.is-static .proof__stage { position: relative; height: auto; padding: calc(var(--nav-h) + 58px) 20px 44px; }
.proof.is-static .proof__rail {
  position: relative; top: auto; left: auto; translate: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px;
  padding: 0 clamp(10px, 3vw, 40px);
}
.proof.is-static .proof__intro { grid-column: 1 / -1; width: auto; }
.proof.is-static .tcard { width: auto; }

/* ===================================================== BEFORE THE SCRIPTS ==
   The first paint already has the engine's geometry. scrollcraft.js gives each
   pinned act its height (data-sc-span x 100vh) and makes its stage sticky only
   when it runs, and .js .sheet / .js .close above already assume both, so on a
   slow connection the sheet covered the hero until the scripts arrived and the
   page jumped. These rules hold that geometry from the first paint, under
   exactly the engine's conditions: script on, at every width; under reduced
   motion night-shift.js shortens the hero and the peak and makes the proof a
   flow section before mount. The engine adds sc-ready in the same task as it
   writes its own heights, so from then on none of this applies. */
.js:not(.sc-ready) :is(.hero, .tension, .peak, .close) { position: relative; }
.js:not(.sc-ready) :is(.hero, .tension, .peak, .close) > [data-sc-stage] {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: clip;
  z-index: var(--sc-z-stage);
}
.js:not(.sc-ready) .hero { height: 250vh; }
.js:not(.sc-ready) .tension { height: 300vh; }
.js:not(.sc-ready) .peak { height: 440vh; }
.js:not(.sc-ready) .close { height: 240vh; }
@media (prefers-reduced-motion: no-preference) {
  .js:not(.sc-ready) .proof { position: relative; height: 300vh; }
  .js:not(.sc-ready) .proof > [data-sc-stage] {
    position: sticky; top: 0;
    height: 100vh; height: 100svh;
    overflow: clip;
    z-index: var(--sc-z-stage);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js:not(.sc-ready) .hero { height: 180vh; }
  .js:not(.sc-ready) .peak { height: 360vh; }
}
