/* ==========================================================================
   MaxGrow AI - marketing site
   Colours come from tokens.css, the site's only colour source. The palette
   mirrors the app: obsidian ground, chlorophyll emerald, sun gold.
   Type: Outfit (display) + Atkinson Hyperlegible Next (body), both bundled.
   ========================================================================== */

@import url("tokens.css");

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --surface: rgba(var(--white-rgb), 0.045);
  --surface-strong: rgba(var(--white-rgb), 0.075);
  --line: rgba(var(--white-rgb), 0.09);
  --line-soft: rgba(var(--white-rgb), 0.055);
  --display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 24px;
  --radius-sm: 14px;
  --nav-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 78% 8%, rgba(var(--emerald-rgb), 0.10), transparent 68%),
    radial-gradient(45% 35% at 8% 32%, rgba(var(--emerald-rgb), 0.05), transparent 70%),
    radial-gradient(50% 45% at 90% 82%, rgba(var(--gold-rgb), 0.035), transparent 70%);
}

img { max-width: 100%; display: block; }
svg { display: block; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--emerald); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--emerald);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Atmosphere: fixed WebGL stage, fallback, grain
   -------------------------------------------------------------------------- */

.stage,
.stage-fallback {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage {
  z-index: 0;
  display: block;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
.stage.is-ready { opacity: 1; }
.stage.is-ready.is-dim { opacity: 0.05; }
.stage.is-ready.is-soft { opacity: 0.25; }
.stage.is-ready + .stage-fallback { opacity: 0; }

.stage-fallback {
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.8s var(--ease);
  background:
    radial-gradient(38% 34% at 72% 26%, rgba(var(--emerald-rgb), 0.12), transparent 70%),
    radial-gradient(24% 22% at 82% 60%, rgba(var(--emerald-deep-rgb), 0.10), transparent 72%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .footer, .nav { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   Typography primitives
   -------------------------------------------------------------------------- */

.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.9rem, 6.15vw, 5.4rem);
  line-height: 0.97;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1.1rem;
}
.eyebrow--center { justify-content: center; }

.dot {
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(var(--emerald-rgb), 0.12), 0 0 14px rgba(var(--emerald-rgb), 0.6);
}

.tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.32);
  background: rgba(var(--gold-rgb), 0.07);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  margin-left: 0.15rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.7;
  max-width: 58ch;
}
.lede--lg { font-size: clamp(1.08rem, 1.5vw, 1.26rem); max-width: 54ch; }
.lede--center { margin-inline: auto; text-align: center; }

.micro {
  color: var(--dim);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}
.micro--center { text-align: center; }

.note {
  color: var(--dim);
  font-size: 0.88rem;
  line-height: 1.6;
  border-left: 1px solid rgba(var(--emerald-rgb), 0.35);
  padding-left: 0.9rem;
  max-width: 50ch;
}

.ico { width: 18px; height: 18px; flex: none; }
.ico--lg { width: 26px; height: 26px; color: var(--emerald); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s, border-color 0.35s, box-shadow 0.35s, color 0.35s;
  will-change: transform;
}

.btn--primary {
  background: var(--emerald);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(var(--emerald-rgb), 0.35), 0 10px 40px -12px rgba(var(--emerald-rgb), 0.55);
}
/* Hover lift is a pointer affordance: on a touch screen the tap leaves the button raised
   until the next tap, so every transform-based hover is gated on a real hover-capable
   device. Colour-only hovers are harmless and stay unconditional. */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--emerald-bright);
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(var(--emerald-rgb), 0.5), 0 18px 50px -14px rgba(var(--emerald-rgb), 0.7);
  }
  .btn--ghost:hover {
    border-color: rgba(var(--emerald-rgb), 0.45);
    background: rgba(var(--emerald-rgb), 0.06);
    transform: translateY(-2px);
  }
  .device-wrap:hover .device {
    transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg) rotateZ(-0.4deg);
  }
  .trust-card:hover { border-color: rgba(var(--emerald-rgb), 0.3); transform: translateY(-4px); }
  .price-card:hover { transform: translateY(-5px); border-color: var(--line); }
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(var(--white-rgb), 0.04);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  border-color: rgba(var(--emerald-rgb), 0.45);
  background: rgba(var(--emerald-rgb), 0.06);
}

.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--lg { min-height: 56px; padding: 0.9rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(var(--bg-rgb), 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.brand__spark { fill: var(--gold); }
.brand__mark {
  width: 30px;
  height: 30px;
  color: var(--emerald);
  filter: drop-shadow(0 0 10px rgba(var(--emerald-rgb), 0.35));
}
.brand__name {
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand__ai { color: var(--muted); font-weight: 400; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav__links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.25s;
  position: relative;
  padding: 0.35rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="location"] { color: var(--text); }
.nav__links a:hover::after,
.nav__links a[aria-current="location"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.8rem; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-family: var(--display);
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  transition: color 0.25s, border-color 0.25s;
}
.lang:hover { color: var(--text); border-color: var(--line); }
.lang__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.nav__toggle .ico { width: 20px; height: 20px; }
.nav__toggle .ico--close { display: none; }
.nav__toggle[aria-expanded="true"] .ico--menu { display: none; }
.nav__toggle[aria-expanded="true"] .ico--close { display: block; }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  /* A fixed panel with an auto height cannot be scrolled with the page, so on a short
     landscape phone its last items (including the only in-menu language switch) were
     unreachable. Cap it to the viewport below the header and let the panel itself scroll. */
  max-height: calc(100svh - var(--nav-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.5rem var(--pad) 2rem;
  background: rgba(var(--bg-rgb), 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 39;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 0.2rem; }
.mobile-menu a {
  padding: 0.85rem 0.25rem;
  font-family: var(--display);
  font-size: 1.15rem;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 1rem; border-bottom: 0; }
.mobile-menu__lang { color: var(--emerald); font-size: 0.95rem !important; }

/* With scripting off the hamburger cannot open the menu; hide the dead control and leave the
   <noscript> link list as the navigation. */
.no-js .nav__toggle { display: none !important; }

/* No-JS fallback navigation (see <noscript> in the template). It is only rendered when scripting
   is off; the desktop header links are hidden below 1080px and the hamburger cannot open. */
.no-js-nav {
  position: relative;
  /* Below the fixed header (z-index 40): the bar is offset by the header's height, but it must not
     paint over the brand/CTA when the page is at scroll 0. */
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: calc(var(--nav-h) + 0.6rem) var(--pad) 0.9rem;
  background: rgba(var(--bg-rgb), 0.97);
  border-bottom: 1px solid var(--line-soft);
}
.no-js-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Standalone legal pages (privacy) reuse the site chrome and tokens. */
.legal-page main.legal { padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: 4rem; }
/* The legal pages have no hamburger menu, so the language switch must survive the responsive
   rules that hide it on the marketing pages. */
.legal-page .nav { background: rgba(var(--bg-rgb), 0.82); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line-soft); }
.legal-page .nav__actions .lang { display: inline-flex; }
.legal h1 { margin: 0.4rem 0 1rem; }
.legal .lede { max-width: 65ch; }
.legal section { margin-top: 2.2rem; }
.legal h2 { margin-bottom: 0.6rem; }
.legal p { color: var(--muted); max-width: 72ch; line-height: 1.65; }
.legal a { color: var(--emerald); text-decoration: underline; text-underline-offset: 0.18em; }
.legal__notice { padding: 1rem 1.2rem; margin: 1.6rem 0 0.5rem; }
.legal__notice p { margin: 0; color: var(--gold); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 5.5vh) 0 5rem;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.2) 0%, transparent 30%, rgba(var(--bg-rgb), 0.55) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__copy { max-width: 40rem; }

.hero .display { margin-bottom: 1.6rem; }

.hero .actions { margin-top: 2.2rem; }
.hero .micro { margin-top: 1rem; }

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(72vh, 660px);
}

.device-wrap {
  position: relative;
  width: clamp(258px, 25vw, 322px);
  transform-style: preserve-3d;
  animation: float 9s ease-in-out infinite;
}

.device {
  position: relative;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(155deg, var(--screen-frame-1) 0%, var(--screen-frame-2) 42%, var(--screen-frame-3) 100%);
  border: 1px solid rgba(var(--white-rgb), 0.13);
  box-shadow:
    0 0 0 1px rgba(var(--emerald-rgb), 0.10),
    0 40px 90px -30px rgba(var(--black-rgb), 0.9),
    0 0 90px -18px rgba(var(--emerald-rgb), 0.32);
  transform: perspective(1400px) rotateY(-9deg) rotateX(3.5deg) rotateZ(-1.2deg);
  transition: transform 0.8s var(--ease);
}
.device__screen {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: var(--screen-bg);
  aspect-ratio: 780 / 1768;
}
.device__screen img { width: 100%; height: 100%; object-fit: cover; }

.device__screen::before {
  content: none;
}

.device__glint {
  position: absolute;
  inset: 0;
  border-radius: 46px;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(var(--white-rgb), 0.14) 0%, rgba(var(--white-rgb), 0) 26%, rgba(var(--white-rgb), 0) 70%, rgba(var(--emerald-rgb), 0.08) 100%);
  mix-blend-mode: screen;
}

@keyframes float {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-14px) }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  z-index: 3;
}
.scroll-cue__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--emerald));
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: -40%; left: 0;
  width: 100%; height: 40%;
  background: var(--emerald);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0% { top: -40%; }
  70%, 100% { top: 110%; }
}

/* --------------------------------------------------------------------------
   Generic sections
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.section__head { max-width: 54rem; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.section__head h2 { margin-bottom: 1.4rem; }
.section__head--center {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.section__head--center .eyebrow { justify-content: center; }

/* broken hairline between sections */
.section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2 * var(--pad), calc(var(--wrap) - 2 * var(--pad)));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-soft) 12%, var(--line-soft) 88%, transparent);
}

/* Problem ----------------------------------------------------------------- */

.problem { padding-top: clamp(4rem, 8vw, 7rem); }
.problem .section__head { display: grid; grid-template-columns: 1fr 0.9fr; gap: 3rem; align-items: end; max-width: none; }
.problem .section__head h2 { grid-column: 1; margin-bottom: 0; }
.problem .section__head .eyebrow { grid-column: 1; }
.problem .section__head .lede { grid-column: 2; grid-row: 1 / span 2; align-self: end; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 2.2rem);
  border-top: 1px solid var(--line-soft);
  padding-top: 2.2rem;
}
.pain { position: relative; padding-right: 1rem; }
.pain__label {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.pain p {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted-strong);
}

/* How --------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  position: relative;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 60px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--emerald-rgb), 0.0), rgba(var(--emerald-rgb), 0.35), rgba(var(--emerald-rgb), 0.0));
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step__num {
  display: block;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--dim);
  margin-bottom: 1.1rem;
}
.step__icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(var(--emerald-rgb), 0.28);
  background: radial-gradient(circle at 50% 40%, rgba(var(--emerald-rgb), 0.14), rgba(var(--bg-rgb), 0.9) 70%);
  box-shadow: 0 0 30px -6px rgba(var(--emerald-rgb), 0.28);
  color: var(--emerald);
  margin-bottom: 1.4rem;
}
.step__icon .ico { width: 23px; height: 23px; }
.step h3 { margin-bottom: 0.7rem; }
.step p { color: var(--muted); font-size: 0.97rem; line-height: 1.65; max-width: 34ch; }
.how__note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--dim);
  font-size: 0.9rem;
}

/* Feature splits ---------------------------------------------------------- */

.feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.feature__copy h2 { margin-bottom: 1.4rem; }
.feature__copy .note { margin-top: 1.8rem; }

.ticks {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.9rem;
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted-2);
  font-size: 0.98rem;
  line-height: 1.5;
}
.ticks .ico {
  width: 15px; height: 15px;
  margin-top: 0.32rem;
  color: var(--emerald);
}
.ticks--sm li { font-size: 0.92rem; color: var(--muted); }

.feature__media {
  position: relative;
  min-height: 560px;
}
.feature__media--stack { min-height: 620px; }

.shot {
  position: relative;
  border-radius: 38px;
  padding: 7px;
  background: linear-gradient(160deg, rgba(var(--white-rgb), 0.14), rgba(var(--white-rgb), 0.02) 55%);
  border: 1px solid rgba(var(--white-rgb), 0.09);
  box-shadow: 0 30px 80px -30px rgba(var(--black-rgb), 0.95), 0 0 70px -30px rgba(var(--emerald-rgb), 0.4);
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: auto;
  border-radius: 31px;
  object-fit: cover;
}

.shot--a,
.shot--b {
  position: absolute;
  width: 47%;
  max-width: 300px;
}
.shot--a {
  top: 2%;
  left: 4%;
  transform: rotate(-4.5deg);
  z-index: 2;
}
.shot--b {
  top: 20%;
  right: 1%;
  transform: rotate(4deg);
  z-index: 1;
  opacity: 0.92;
}

.glass {
  background: rgba(var(--panel-4-rgb), 0.62);
  backdrop-filter: blur(20px) saturate(130%);
  border: 1px solid rgba(var(--white-rgb), 0.1);
  border-radius: 18px;
  box-shadow: 0 30px 70px -34px rgba(var(--black-rgb), 0.95);
}

.task-card {
  position: absolute;
  left: -5%;
  bottom: 0;
  width: min(76%, 310px);
  padding: 1.1rem 1.15rem;
  z-index: 3;
}
.task-card__title {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.85rem;
}
.task-card ul { display: grid; gap: 0.55rem; }
.task-card li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.task-card li.is-done { color: var(--text); }
.task-card__box {
  display: grid;
  place-items: center;
  width: 17px; height: 17px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: rgba(var(--white-rgb), 0.03);
  flex: none;
}
.is-done .task-card__box {
  border-color: rgba(var(--emerald-rgb), 0.5);
  background: rgba(var(--emerald-rgb), 0.14);
  color: var(--emerald);
}
.task-card__box .ico { width: 11px; height: 11px; }
.task-card__meta {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* Doctor ------------------------------------------------------------------ */

.feature--reverse .feature__copy { order: 2; }
.feature--reverse .feature__media { order: 1; }

.feature__media--doctor {
  min-height: 600px;
  display: flex;
  justify-content: center;
}
.shot--single {
  width: min(64%, 320px);
  transform: rotate(2.2deg);
}
.ladder {
  position: absolute;
  left: -5%;
  bottom: 2%;
  width: min(74%, 310px);
  padding: 1.1rem 1.15rem;
  z-index: 3;
}
.ladder__title {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.75rem;
}
.ladder__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.84rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
}
.ladder__row:first-of-type { border-top: 0; }
.ladder__n {
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 0.62rem;
  color: var(--dim);
  flex: none;
}
.ladder__row--ad { color: var(--text); }
.ladder__row--ad .ladder__n { border-color: rgba(var(--emerald-rgb), 0.4); color: var(--emerald); }
.ad {
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
}

/* Planner ----------------------------------------------------------------- */

.planner__head {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.planner__head h2 { margin-top: 0.2rem; }

.planner__media {
  display: grid;
  grid-template-columns: 1.55fr 0.55fr;
  gap: clamp(1rem, 2.4vw, 1.8rem);
  align-items: end;
}
.panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 80px -40px rgba(var(--black-rgb), 0.9);
  position: relative;
}
.panel img { width: 100%; height: 100%; object-fit: cover; }
.panel--landscape { aspect-ratio: 5 / 4; }
.panel--landscape img { object-fit: contain; }
.panel--phone {
  width: min(100%, 250px);
  justify-self: end;
  aspect-ratio: 780 / 1768;
  border-radius: 32px;
  padding: 6px;
  background: linear-gradient(160deg, rgba(var(--white-rgb), 0.14), rgba(var(--white-rgb), 0.02) 55%);
}
.panel--phone img { border-radius: 27px; }

.planner__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-soft);
  padding-top: 1.6rem;
}
.planner__points li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  font-family: var(--display);
  font-size: 0.98rem;
  color: var(--muted-3);
  line-height: 1.45;
}
.planner__points .num {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

/* Care -------------------------------------------------------------------- */

.care__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.care__copy h2 { margin-bottom: 1.4rem; }
.care__copy .note { margin-top: 1.8rem; }
.shot--care {
  width: min(100%, 340px);
  justify-self: center;
  transform: rotate(-2deg);
}

/* Trust ------------------------------------------------------------------- */

.trust__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.trust__stat {
  background: var(--bg);
  padding: clamp(1.6rem, 3vw, 2.4rem) 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.trust__value {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--emerald);
}
.trust__label { color: var(--muted); font-size: 0.86rem; line-height: 1.45; max-width: 24ch; }

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.8rem);
}
.trust-card {
  padding: 1.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(var(--panel-1-rgb), 0.72), rgba(var(--panel-2-rgb), 0.82));
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.trust-card h3 { font-size: 1.05rem; margin: 1.1rem 0 0.6rem; }
.trust-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* Proof ------------------------------------------------------------------- */

.proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.proof__grid h2 { margin-bottom: 1.4rem; }
.proof__grid .actions { margin-top: 2rem; }
.proof__grid .micro { margin-left: 0.3rem; }

.method { padding: 1.7rem; }
.method__title {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.1rem;
}
.method dl { display: grid; gap: 0; }
.method dl > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-soft);
}
.method dl > div:first-child { border-top: 0; }
.method dt {
  font-family: var(--display);
  font-size: 0.82rem;
  color: var(--emerald);
}
.method dd { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

/* Pricing ----------------------------------------------------------------- */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(var(--panel-1-rgb), 0.72), rgba(var(--panel-2-rgb), 0.84));
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.price-card--pro {
  border-color: rgba(var(--emerald-rgb), 0.35);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(var(--emerald-rgb), 0.10), transparent 70%),
    linear-gradient(180deg, rgba(var(--panel-5-rgb), 0.78), rgba(var(--panel-6-rgb), 0.88));
  box-shadow: 0 0 0 1px rgba(var(--emerald-rgb), 0.12), 0 30px 80px -40px rgba(var(--emerald-rgb), 0.35);
}
.price-card__badge {
  position: absolute;
  top: -0.7rem;
  right: 1.4rem;
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-gold);
  background: var(--gold);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}
.price-card__label {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0.9rem 0 0.7rem;
}
.price-card__price span {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.price-card__desc { color: var(--muted); font-size: 0.9rem; line-height: 1.55; min-height: 2.8em; }
.price-card__hint {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 0.9rem;
}
.price-card .ticks { flex: 1; margin: 1.4rem 0 1.8rem; }

.pricing__note {
  margin-top: 2rem;
  color: var(--dim);
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 62rem;
}

/* FAQ --------------------------------------------------------------------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq__head h2 { margin-top: 0.2rem; }

.faq__list { border-top: 1px solid var(--line-soft); }
.faq__list details { border-bottom: 1px solid var(--line-soft); }
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 500;
  color: var(--muted-4);
  transition: color 0.25s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--emerald); }
.faq__icon {
  position: relative;
  width: 18px; height: 18px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background-color 0.25s;
}
.faq__icon::before { width: 8px; height: 1px; }
.faq__icon::after { width: 1px; height: 8px; }
details[open] .faq__icon { border-color: rgba(var(--emerald-rgb), 0.45); }
details[open] .faq__icon::before,
details[open] .faq__icon::after { background: var(--emerald); }
details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__list details p {
  padding: 0 2.5rem 1.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  animation: faq-in 0.4s var(--ease);
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Final ------------------------------------------------------------------- */

.final {
  position: relative;
  padding: clamp(6rem, 13vw, 11rem) 0 clamp(5rem, 10vw, 8rem);
  text-align: center;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  width: min(1100px, 130vw);
  height: min(640px, 80vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(var(--emerald-rgb), 0.16), rgba(var(--emerald-rgb), 0.04) 55%, transparent 75%);
  pointer-events: none;
}
.final__inner { position: relative; }
.final__headline {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.final .lede { margin-bottom: 2.2rem; }
.final .micro { margin-top: 1.1rem; }

/* Footer ------------------------------------------------------------------ */

.footer {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.2rem;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(var(--panel-7-rgb), 0.75));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand .brand { margin-bottom: 1.1rem; }
.footer__tagline { color: var(--muted); font-size: 0.9rem; max-width: 24ch; line-height: 1.55; margin-bottom: 1.4rem; }
.footer__col h3 {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}
.footer__col a {
  display: block;
  min-height: 44px;
  padding: 0.55rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.25s;
}
.footer__col a:hover { color: var(--emerald); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 0.76rem;
  line-height: 1.6;
}
.footer__disclaimer { max-width: 68ch; }
.footer__licences {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
.footer__licences a {
  color: var(--dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(var(--white-rgb), 0.2);
}
.footer__licences a:hover { color: var(--emerald); }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(92vw, 520px);
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(var(--panel-8-rgb), 0.96);
  border: 1px solid rgba(var(--emerald-rgb), 0.35);
  box-shadow: 0 24px 60px -20px rgba(var(--black-rgb), 0.9), 0 0 40px -20px rgba(var(--emerald-rgb), 0.6);
  transform: translate(-50%, 16px);
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast[hidden] { display: none; }
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.toast .ico { color: var(--emerald); }
.toast p { font-size: 0.86rem; line-height: 1.45; color: var(--text); }
.toast__close {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.toast__close:hover { color: var(--text); border-color: var(--line); }
.toast__close .ico { width: 13px; height: 13px; color: currentColor; }

/* --------------------------------------------------------------------------
   Reveal animations (JS adds .reveal; no-JS keeps everything visible)
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions .lang { display: none; }
  .hero__grid { grid-template-columns: 1fr 0.85fr; }
  .problem .section__head { grid-template-columns: 1fr; gap: 1.4rem; }
  .problem .section__head .lede { grid-column: 1; grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }

  .hero { padding-top: calc(var(--nav-h) + 3rem); min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero__copy { max-width: 34rem; }
  .hero__visual { min-height: 520px; }
  .scroll-cue { display: none; }

  .pain-grid,
  .steps,
  .trust__stats,
  .trust__grid,
  .pricing__grid,
  .planner__points { grid-template-columns: 1fr; }

  .steps::before { display: none; }
  .step {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 1.2rem;
    align-items: start;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .step__num { grid-column: 2; margin-bottom: 0.4rem; }
  .step__icon { grid-column: 1; grid-row: 2 / span 3; margin-bottom: 0; }
  .step h3, .step p { grid-column: 2; }
  .step h3 { margin-bottom: 0.45rem; }
  .step p { max-width: none; }

  .feature__grid,
  .feature--reverse .feature__grid,
  .care__grid,
  .proof__grid,
  .faq__grid,
  .planner__head { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature--reverse .feature__copy,
  .feature--reverse .feature__media { order: 0; }
  .feature__media { min-height: 0; }
  .feature__media--stack {
    /* One phone + the checklist card, in flow. The old 540px box held two absolutely positioned
       300px-wide 2.27:1 screenshots that are ~660px tall each: at every width from ~420px to
       900px the second shot overhung the box by 100-230px and landed under the next section's
       heading. Flow layout cannot overflow, and the second screenshot is desktop-only. */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    height: auto;
    min-height: 0;
  }
  .feature__media--stack .shot--a {
    position: relative;
    top: auto;
    left: auto;
    width: min(70%, 300px);
    max-width: 300px;
    transform: none;
  }
  .feature__media--stack .shot--b { display: none; }
  .feature__media--stack .task-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(100%, 360px);
  }
  .feature__media--doctor { min-height: 0; padding-bottom: 7rem; }
  .shot--single { width: min(70%, 300px); margin-inline: auto; }
  .ladder { left: 50%; transform: translateX(-50%); bottom: 0; }

  .planner__media { grid-template-columns: 1fr; }
  .panel--phone { width: min(64%, 300px); justify-self: center; }
  .panel--landscape { aspect-ratio: 5 / 4; }

  .faq__head { position: static; }
  .trust__stats { border-inline: 0; }
  .trust__stat { border-bottom: 1px solid var(--line-soft); }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.8rem; }

  .stage.is-ready { opacity: 0.8; }
}

/* AFTER the 900px block on purpose: these narrow-screen rules must win at ≤760px. The block used
   to sit above the 900px one with equal specificity, so every property they share was overridden
   (the planner phone mock rendered at 64% instead of the intended 72%). */
@media (max-width: 760px) {
  .nav__actions .btn { display: none; }
  .panel--landscape { display: none; }
  .panel--phone { width: min(72%, 290px); justify-self: center; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hero { padding-top: calc(var(--nav-h) + 1.6rem); }
  .hero .display { font-size: clamp(2.45rem, 11.4vw, 3.3rem); margin-bottom: 1.2rem; }
  .hero .lede { font-size: 0.98rem; line-height: 1.58; }
  .hero .actions { margin-top: 1.6rem; }
  .hero__grid { gap: 2.4rem; }
  .hero__visual { min-height: 400px; }
  .device-wrap { width: min(72vw, 280px); }

  .pain-grid { padding-top: 1.6rem; }
  .section { padding: 4.5rem 0; }
  .section::before { width: calc(100% - 2 * var(--pad)); }

  .actions { align-items: stretch; }
  .actions .btn { width: 100%; }
  .actions .micro { text-align: center; }

  .method dl > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .price-card__desc { min-height: 0; }
  .footer__grid { padding-bottom: 2rem; }
}

/* --------------------------------------------------------------------------
   Motion & contrast preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .device-wrap { animation: none; }
  .stage { transition: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: var(--light-muted); --dim: var(--muted); --line: rgba(var(--white-rgb), 0.25); }
  .btn--ghost { border-color: rgba(var(--white-rgb), 0.4); }
}

@media print {
  .nav, .stage, .stage-fallback, .grain, .scroll-cue, .final::before, .toast { display: none !important; }
  body { background: var(--print-paper); color: var(--print-text); }
  .section { padding: 2rem 0; page-break-inside: avoid; }
  /* Full-strength text on a white page: the screen palette's pale secondary inks are
     near-invisible on paper. This also resets the scroll-reveal state, which otherwise prints
     whole sections blank. */
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .lede, .step p, .pain p, .trust-card p, .faq__list details p, .faq__list summary,
  .ticks li, .note, .micro, .price-card__desc, .price-card__label,
  .price-card__hint, .price-card__price span, .pricing__note, .task-card li,
  .task-card li.is-done, .task-card__title, .task-card__meta, .ladder__row, .ladder__n, .ad,
  .ladder__title, .pain__label, .tag, .planner__points li, .planner__points .num,
  .footer__tagline, .footer__col h3, .footer__col a, .footer__bottom,
  .method dd, .trust__label, .step__num, .how__note, .method__title,
  .footer__licences a { color: var(--print-muted); }
  /* The legal pages are the one document people actually print. */
  .legal p, .legal .lede, .legal__notice p, .legal .micro { color: var(--print-muted); }
  .legal h1, .legal h2 { color: var(--print-text); }
  .legal__notice { background: none; border-color: var(--print-line); }
  .eyebrow, .trust__value, .method dt { color: var(--light-eyebrow); }
  .footer { background: none; }
  .price-card, .trust-card, .method, .task-card, .ladder { border-color: var(--print-line); background: var(--print-paper); }
}



