/* Decodery marketing site (S-043): the "Clean Modern in Decodery green" concept (docs/design/marketing-concept),
   changed only by docs/design/marketing-site.md section 3's departures. Every colour is a :root token (section 1).
   Fonts: Inter Variable and JetBrains Mono Variable (SIL OFL), vendored from @fontsource-variable 5.3.0. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Neutrals */
  --bg: #ffffff;              /* page, cards, form card, top bar base, ghost button */
  --surface: #f7f7fb;         /* tint sections' top edge, input fill, insets */
  --ink: #0b0c14;             /* headings, strong text, skip link fill */
  --ink-2: #2e3140;           /* body text */
  --muted: #5a5f70;           /* ledes, card text, nav links, hints, footer */
  --muted-2: #6a6f80;         /* the struck "Instead of" lines, placeholders, input hover border */
  --line: #e6e7ef;            /* hairlines: card borders, rules, FAQ dividers */
  --line-2: #d9dbe7;          /* ghost button, pill, step badge and FAQ toggle borders */
  --line-3: #c4c6d6;          /* ghost button border on hover */
  --line-control: #858a9b;    /* input and textarea border (derived, section 6) */

  /* Browser frame of the product preview (decorative, aria-hidden) */
  --chrome-top: #fbfbfe;
  --chrome-bottom: #f4f4f9;
  --chrome-dot: #dcdde6;
  --chrome-icon: #9a9db0;

  /* Decodery green, lightest to darkest */
  --brand-soft: #e8f1ec;      /* icon tiles, tick circles, FAQ toggle when open */
  --green-mid: #38785c;       /* source of the hero and call-to-action glows */
  --brand-hi: #2f7358;        /* top of the primary button's gradient */
  --brand: #1f5c45;           /* the brand: eyebrows, icons, focus ring, mark */
  --brand-deep: #174a37;      /* links, bottom of the primary button's gradient */
  --green-700: #1f4636;       /* operations tile, top */
  --green-800: #18372b;       /* call-to-action panel, top */
  --green-900: #0f241c;       /* operations tile, bottom */
  --green-950: #0b1c15;       /* call-to-action panel, bottom */
  --ok: #117a4a;              /* the "review passed" tick in the preview */
  --ok-soft: #e7f6ee;

  /* Bronze-gold, lightest to darkest */
  --gold-soft: #f8eed8;       /* pill dot halo, hero tick circles, warning banner fill */
  --gold: #e2ba6b;            /* accent on dark green: eyebrow, ticks; the mark's dot; warning banner border */
  --gold-mid: #c99a3f;        /* the pill's dot */
  --gold-grad-end: #a87a22;   /* last stop of the headline gradient */
  --gold-text: #9a6c1c;       /* middle stop of the headline gradient */
  --gold-deep: #7a5417;       /* first stop of the headline gradient; hero ticks; the banner's "!" */

  /* Text on dark green */
  --on-dark: #ffffff;         /* headings, chips, ticks on dark green; text on the primary button */
  --on-dark-2: #e6eee9;       /* paragraphs on dark green */
  --on-dark-3: #dce6e0;       /* the dark panels' base text colour */

  /* Status */
  --danger: #9d2a2c;          /* a control the browser marks invalid (derived) */

  /* Focus */
  --focus: var(--brand);
  --focus-on-dark: #ffffff;   /* for anything focusable placed directly on dark green (none today) */
}

:root {
  --glass-nav: rgba(255, 255, 255, .9);       /* top bar fill (.82 in the concept; section 3) */
  --glass-nav-line: rgba(230, 231, 239, .8);  /* top bar bottom rule */
  --glass-pill: rgba(255, 255, 255, .8);
  --glass-float: rgba(255, 255, 255, .92);    /* floating cards */
  --frame-ring: rgba(255, 255, 255, .6);      /* 6px outline around the browser frame (4px at 640 and below) */
  --frame-edge: rgba(20, 20, 60, .10);
  --float-edge: rgba(20, 20, 60, .08);
  --strike: rgba(106, 111, 128, .5);          /* line-through colour of the "Instead of" lines */
  --brand-glow: rgba(31, 92, 69, .18);        /* 4px ring around a focused input */
  --grid-line: rgba(31, 92, 69, .07);         /* hero grid */
  --grid-line-dark: rgba(255, 255, 255, .06); /* call-to-action grid */
  --on-dark-fill: rgba(255, 255, 255, .12);   /* chips */
  --on-dark-fill-2: rgba(255, 255, 255, .14); /* icon tile on dark */
  --on-dark-line: rgba(255, 255, 255, .2);    /* chip border */
  --on-dark-rule: rgba(255, 255, 255, .16);   /* rule above the light ticks */
  --gold-on-dark-fill: rgba(226, 186, 107, .18);

  --hero-glow:
    radial-gradient(60% 50% at 50% 0%, rgba(56, 120, 92, .20), transparent 70%),
    radial-gradient(35% 35% at 85% 20%, rgba(226, 186, 107, .20), transparent 70%),
    radial-gradient(35% 35% at 12% 30%, rgba(31, 92, 69, .10), transparent 70%);
  --preview-glow: radial-gradient(closest-side, rgba(31, 92, 69, .32), transparent);
  --tint-bg: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  --ops-bg:
    radial-gradient(120% 90% at 100% 0%, rgba(226, 186, 107, .22), transparent 60%),
    linear-gradient(160deg, var(--green-700) 0%, var(--green-900) 100%);
  --cta-bg:
    radial-gradient(70% 90% at 0% 0%, rgba(226, 186, 107, .16), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(56, 120, 92, .40), transparent 60%),
    linear-gradient(150deg, var(--green-800) 0%, var(--green-950) 100%);
  --primary-bg: linear-gradient(180deg, var(--brand-hi) 0%, var(--brand) 55%, var(--brand-deep) 100%);
  --headline-gradient: linear-gradient(100deg, var(--gold-deep) 10%, var(--gold-text) 45%, var(--gold-grad-end) 90%);
  --swap-rule: linear-gradient(90deg, var(--brand), var(--gold) 55%, rgba(226, 186, 107, 0));
  --feature-border: linear-gradient(160deg, var(--brand), var(--gold) 60%, var(--line));
  --mask-hero-grid: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
  --mask-cta-grid: radial-gradient(80% 80% at 20% 20%, #000, transparent 70%);
  --mask-fade: linear-gradient(180deg, #000 70%, transparent 100%);
}

:root {
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

:root {
  --gutter: clamp(16px, 4vw, 40px);   /* side padding of .wrap: 16px at 360, 40px at 1440 */
  --section: clamp(72px, 10vw, 136px);/* vertical padding of each .section */

  --radius-xs: 6px;      /* focus ring corners on links */
  --radius-sm: 8px;      /* the preview's address field */
  --radius-md: 10px;     /* skip link, floating card icons */
  --radius-control: 12px;/* inputs, textarea, icon tiles, media images, the browser frame at 640 and below */
  --radius-frame: 14px;  /* browser frame, floating cards, step badges */
  --radius: 16px;        /* the "Why" cards */
  --radius-form: 20px;   /* the form card */
  --radius-lg: 24px;     /* bento tiles, plan cards, the call-to-action panel at 640 and below */
  --radius-xl: 32px;     /* the call-to-action panel */
  --radius-pill: 999px;  /* buttons, pill, chips */

  --shadow-sm: 0 1px 2px rgba(16, 18, 40, .06), 0 1px 1px rgba(16, 18, 40, .04);
  --shadow: 0 1px 2px rgba(16, 18, 40, .05), 0 8px 24px -6px rgba(16, 18, 40, .10);
  --shadow-lg: 0 2px 4px rgba(16, 18, 40, .04), 0 24px 64px -16px rgba(15, 45, 33, .22), 0 48px 120px -40px rgba(15, 45, 33, .25);
  --shadow-float: 0 1px 2px rgba(16, 18, 40, .06), 0 18px 40px -12px rgba(15, 45, 33, .28);
  --shadow-media: 0 12px 32px -12px rgba(15, 45, 33, .22);
  --shadow-stack: 0 2px 4px rgba(16, 18, 40, .06), 0 28px 56px -18px rgba(15, 45, 33, .35);
  --shadow-feature: 0 2px 4px rgba(16, 18, 40, .04), 0 24px 56px -20px rgba(31, 92, 69, .35);
  --shadow-step-last: 0 10px 24px -8px rgba(31, 92, 69, .55);
  --shadow-primary: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(10, 35, 25, .3), 0 8px 20px -6px rgba(31, 92, 69, .5);
  --shadow-primary-hover: inset 0 1px 0 rgba(255, 255, 255, .22), 0 2px 4px rgba(10, 35, 25, .3), 0 14px 28px -8px rgba(31, 92, 69, .55);
  --shadow-cta: 0 40px 100px -40px rgba(11, 28, 21, .6);
  --shadow-form: 0 2px 4px rgba(5, 20, 14, .1), 0 30px 60px -20px rgba(5, 20, 14, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 650; }
p { margin: 0; }
a { color: var(--brand-deep); text-underline-offset: 3px; }
ul[role="list"], ol { list-style: none; padding: 0; margin: 0; }

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

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.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: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: var(--radius-md);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  font: inherit; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.btn--sm { padding: 8px 16px; font-size: 15px; }
.btn--lg { padding: 14px 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  color: var(--on-dark);
  background: var(--primary-bg);
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-primary-hover); }
.btn--ghost { color: var(--ink); background: var(--bg); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--line-3); }
.btn__arrow { transition: transform .15s ease; }
.btn:hover .btn__arrow { transform: translateX(2px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass-nav);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--glass-nav-line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word { font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.nav__links { display: flex; gap: 28px; margin-right: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; padding-top: clamp(48px, 6vw, 80px); isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0 0 auto 0; height: 980px; z-index: -1; pointer-events: none;
  background: var(--hero-glow);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: var(--mask-hero-grid);
  mask-image: var(--mask-hero-grid);
}
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: var(--radius-pill);
  background: var(--glass-pill); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 550; color: var(--ink-2);
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold-mid);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.hero__title {
  margin-top: 24px;
  max-width: 21ch;
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 680;
  text-wrap: balance;
}
.grad {
  background: var(--headline-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin-top: 22px; max-width: 680px;
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted);
  text-wrap: pretty;
}
.hero__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.assure {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px;
  list-style: none; padding: 0; margin: 24px 0 0;
  font-size: 14.5px; color: var(--muted); font-weight: 500;
}
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--gold-soft) url("img/tick-gold.svg") center / 100% no-repeat;
}

/* Product preview */
.preview-wrap { margin-top: clamp(40px, 5vw, 64px); }
.preview { position: relative; margin: 0 auto; max-width: 1120px; }
.preview::before {
  content: ""; position: absolute; inset: 8% 6% -4% 6%; z-index: -1;
  background: var(--preview-glow);
  filter: blur(40px);
}
.browser {
  border-radius: var(--radius-frame); overflow: hidden; background: var(--bg);
  border: 1px solid var(--frame-edge);
  box-shadow: var(--shadow-lg);
  outline: 6px solid var(--frame-ring);
}
.browser__bar {
  display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 16px;
  background: linear-gradient(var(--chrome-top), var(--chrome-bottom));
  border-bottom: 1px solid var(--line);
}
.browser__dots { display: inline-flex; gap: 7px; flex: 1 1 0; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--chrome-dot); }
.browser__url {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  min-width: min(360px, 50%); justify-content: center;
}
.browser__url svg { width: 12px; height: 12px; color: var(--chrome-icon); }
.browser__spacer { flex: 1 1 0; }
.browser__shot { width: 100%; }
.preview__caption { margin-top: 20px; font-size: 13.5px; color: var(--muted); text-align: center; }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: var(--radius-frame);
  background: var(--glass-float);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--float-edge);
  box-shadow: var(--shadow-float);
  font-size: 14px; line-height: 1.35; text-align: left;
}
.float strong { display: block; color: var(--ink); font-weight: 600; }
.float small { display: block; color: var(--muted); font-size: 13px; }
.float__icon { width: 34px; height: 34px; border-radius: var(--radius-md); display: grid; place-items: center; flex: none; }
.float__icon svg { width: 18px; height: 18px; }
.float__icon--ok { background: var(--ok-soft); color: var(--ok); }
.float__icon--calm { background: var(--brand-soft); color: var(--brand); }
.float--a { left: -40px; bottom: 18%; }
.float--b { right: -36px; top: 22%; }

/* Sections */
.section { padding: var(--section) 0; }
.section--tint {
  background: var(--tint-bg);
  border-top: 1px solid var(--line);
}
.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 16px;
}
.h2 {
  font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.035em;
  font-weight: 660; text-wrap: balance;
}
.lede { margin-top: 20px; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); text-wrap: pretty; }

/* Swap cards (problem, framed positively) */
.swap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.swap__item {
  position: relative; padding: 28px 24px 28px;
  border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 15.5px; color: var(--muted);
}
.swap__item::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px;
  background: var(--swap-rule);
  border-radius: 2px;
}
.swap__was {
  font-size: 13.5px; font-weight: 500; color: var(--muted-2);
  text-decoration: line-through; text-decoration-color: var(--strike);
}
.swap__is { margin: 12px 0 10px; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; font-weight: 640; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent);
}
.step { counter-increment: step; position: relative; text-align: center; padding: 0 8px; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: grid; place-items: center; margin: 0 auto 24px;
  width: 46px; height: 46px; border-radius: var(--radius-frame); position: relative;
  background: var(--bg); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--brand);
}
.step:last-child::before {
  background: linear-gradient(180deg, var(--brand-hi), var(--brand-deep)); color: var(--on-dark); border-color: transparent;
  box-shadow: var(--shadow-step-last);
}
.step h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* Bento */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    "rev rev rev rev acc acc"
    "rev rev rev rev acc acc"
    "cld cld cod cod tdy tdy"
    "hum hum ops ops tdy tdy";
}
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--bg);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 28px;
  color: var(--muted); font-size: 15.5px;
}
.tile h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 8px; }
.tile--review { grid-area: rev; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); }
.tile--accept { grid-area: acc; display: flex; flex-direction: column; }
.tile--today  { grid-area: tdy; display: flex; flex-direction: column; }
.tile--icon:nth-of-type(4) { grid-area: cld; }
.tile--icon:nth-of-type(5) { grid-area: cod; }
.tile--icon:nth-of-type(6) { grid-area: hum; }
.tile--ops { grid-area: ops; }
.tile__text { max-width: 520px; }
.tile__media {
  margin: 24px -28px -28px; padding: 0 28px; flex: 1 1 auto; min-height: 200px;
  position: relative; overflow: hidden;
  -webkit-mask-image: var(--mask-fade);
  mask-image: var(--mask-fade);
}
.tile__media img {
  width: 100%; border-radius: var(--radius-control) var(--radius-control) 0 0;
  border: 1px solid var(--line); border-bottom: 0;
  box-shadow: var(--shadow-media);
  background: var(--bg);
}
.tile--accept .tile__media, .tile--today .tile__media { flex: 1 1 0; min-height: 300px; }
.tile--accept .tile__media img, .tile--today .tile__media img {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: calc(100% - 56px);
}
.tile--accept .tile__media img { max-width: 380px; }
.tile--today .tile__media img { max-width: 250px; }
.tile__media--stack { flex: 1 1 0; min-height: 440px; }
.tile__media--stack img { position: absolute; width: min(78%, 520px); border-radius: var(--radius-control); border: 1px solid var(--line); }
.stack__back { top: 0; left: 28px; opacity: .9; }
.tile__media--stack .stack__front { top: 150px; right: 28px; box-shadow: var(--shadow-stack); }
.tile__icon {
  width: 44px; height: 44px; border-radius: var(--radius-control); display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 20px;
}
.tile__icon svg { width: 22px; height: 22px; }
.tile--ops {
  color: var(--on-dark-3);
  background: var(--ops-bg);
  border-color: transparent;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.tile--ops h3 { color: var(--on-dark); }
.tile--ops p { color: var(--on-dark-2); }
.tile__icon--light { background: var(--on-dark-fill-2); color: var(--on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li {
  padding: 4px 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 550;
  background: var(--on-dark-fill); color: var(--on-dark); border: 1px solid var(--on-dark-line);
}
.bento__note { margin-top: 20px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 15.5px; color: var(--muted);
  display: flex; flex-direction: column; gap: 14px;
}
.plan__stage { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan__name { font-size: 18px; letter-spacing: -.01em; font-weight: 600; color: var(--ink-2); }
.plan__price { font-size: clamp(30px, 3vw, 38px); line-height: 1.1; letter-spacing: -.035em; font-weight: 680; color: var(--ink); margin-bottom: 4px; }
.plan--feature {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--feature-border) border-box;
  box-shadow: var(--shadow-feature);
}
.plan--feature .plan__stage { color: var(--brand); }
.ticks { list-style: none; padding: 16px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.ticks li::before {
  content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; flex: none;
  background: var(--brand-soft) url("img/tick.svg") center / 100% no-repeat;
}

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { margin-bottom: 0; position: sticky; top: 108px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 4px; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg) url("img/plus.svg") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-soft); border-color: transparent; }
.faq details p { padding: 0 48px 24px 4px; color: var(--muted); font-size: 16px; }
.faq summary:hover { color: var(--brand-deep); }

/* Final CTA */
.section--cta { padding-top: 0; }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 6vw, 72px);
  border-radius: var(--radius-xl);
  color: var(--on-dark-3);
  background: var(--cta-bg);
  box-shadow: var(--shadow-cta);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: var(--mask-cta-grid);
  mask-image: var(--mask-cta-grid);
}
.eyebrow--light { color: var(--gold); }
.h2--light { color: var(--on-dark); }
.cta__lede { margin-top: 20px; font-size: 18px; color: var(--on-dark-2); max-width: 460px; }
.ticks--light { border-top-color: var(--on-dark-rule); margin-top: 32px; padding-top: 24px; max-width: 420px; }
.ticks--light li { color: var(--on-dark); }
.ticks--light li::before {
  background: var(--gold-on-dark-fill) url("img/tick-light.svg") center / 100% no-repeat;
}

.form {
  background: var(--bg); border-radius: var(--radius-form); padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-form);
  display: grid; gap: 18px; color: var(--ink-2);
}
.form__note { font-size: 13.5px; color: var(--muted); }
.field { display: grid; gap: 7px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border-radius: var(--radius-control);
  background: var(--surface); border: 1px solid var(--line-control);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:hover, .field textarea:hover { border-color: var(--muted-2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field input:focus, .field textarea:focus {
  outline: none; background: var(--bg); border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
}
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.hint { font-size: 13.5px; color: var(--muted); }
.consent { font-size: 13.5px; color: var(--muted); text-align: center; }
.form-trap { display: none; }
.form .btn { margin-top: 4px; }

/* The other pages: header band, cards, prose, inset, warning banner (derived) */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
}
.page-head .hero__bg { height: auto; inset: 0; }
.page-head .eyebrow, .page-head__title, .page-head .lede { max-width: 720px; }
.page-head__title {
  font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.035em;
  font-weight: 660; text-wrap: balance;
}
.section--page { padding-top: 0; }
.section--page .wrap { max-width: 800px; margin-left: max(0px, calc((100% - 1200px) / 2)); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: clamp(22px, 3vw, 32px);
}
.card > * + * { margin-top: 12px; }
.prose { font-size: 16px; line-height: 1.6; color: var(--ink-2); overflow-wrap: anywhere; }
.prose h2 { font-size: 20px; font-weight: 650; color: var(--ink); margin: 32px 0 8px; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 12px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose a { color: var(--brand-deep); text-decoration: underline; }
.inset {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-control);
  padding: 16px; font-size: 14.5px; color: var(--ink-2); overflow-wrap: anywhere;
}
.prose .inset { margin-top: 24px; }
.inset p + p { margin-top: 4px; }
.banner--warning {
  background: var(--gold-soft); border: 1px solid var(--gold); border-radius: var(--radius-control);
  padding: 16px 20px; color: var(--ink);
}
.banner--warning > p:first-child {
  display: flex; align-items: center; gap: 10px; font-weight: 650;
}
.banner--warning > p:first-child::before {
  content: "!"; flex: none; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--gold-deep);
  color: var(--gold-deep); font-size: 12px; font-weight: 800; line-height: 1;
}
.banner--warning ul { margin: 12px 0; padding-left: 22px; }
.banner--warning li + li { margin-top: 4px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__brand p { color: var(--muted); font-size: 14.5px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.footer__links a:hover { color: var(--brand-deep); text-decoration: underline; }

/* Responsive */
@media (max-width: 1180px) {
  .float--a { left: 12px; bottom: -28px; }
  .float--b { right: 12px; top: auto; bottom: -28px; }
  .preview__caption { margin-top: 48px; }
}
@media (max-width: 1024px) {
  .swap { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "rev rev"
      "acc tdy"
      "cld cod"
      "hum ops";
  }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__inner { height: 60px; }
  .brand__word { font-size: 18px; }
  .brand__mark { width: 28px; height: 28px; }
  .hero__title { letter-spacing: -.04em; }
  .hero__cta { flex-direction: column; align-self: stretch; }
  .hero__cta .btn { width: 100%; }
  .assure { flex-direction: column; align-items: center; gap: 8px; }
  .browser { border-radius: var(--radius-control); outline-width: 4px; }
  .browser__bar { height: 36px; padding: 0 12px; }
  .browser__dots i { width: 9px; height: 9px; }
  .browser__url { font-size: 11.5px; padding: 4px 10px; min-width: 0; }
  .float { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 12px 0 0; }
  .float--b { display: none; }
  .preview__caption { margin-top: 16px; }
  .swap, .steps { grid-template-columns: 1fr; }
  .step { text-align: left; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 0; }
  .step::before { margin: 0; grid-row: span 2; }
  .step h3 { margin: 10px 0 6px; font-size: 19px; }
  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: "rev" "acc" "tdy" "cld" "cod" "hum" "ops";
  }
  .tile { padding: 24px; }
  .tile__media { margin: 20px -24px -24px; padding: 0 24px; }
  .tile__media--stack { min-height: 330px; }
  .tile__media--stack img { width: 86%; }
  .stack__back { left: 24px; }
  .tile__media--stack .stack__front { top: 120px; right: 24px; }
  .tile--accept .tile__media { min-height: 330px; }
  .tile--today .tile__media { min-height: 300px; }
  .tile--accept .tile__media img, .tile--today .tile__media img { width: calc(100% - 48px); }
  .faq summary { font-size: 17px; padding: 20px 0; }
  .faq details p { padding: 0 0 20px; }
  .cta { border-radius: var(--radius-lg); padding: 28px 20px 20px; }
  .form { padding: 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Motion and forced colours (section 3, departure 11) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn__arrow, .faq summary::after, .field input, .field textarea { transition: none; }
  .btn--primary:hover, .btn:hover .btn__arrow { transform: none; }
}
@media (forced-colors: active) {
  .grad { background: none; color: CanvasText; }
}
