/* ==========================================================================
   ValuedInput — site styles
   One stylesheet for every page. Sections:
     1. Design tokens        5. Header & footer      9. Pricing
     2. Base                 6. Hero & sections     10. Onboarding
     3. Layout helpers       7. Product mockups     11. Utilities & motion
     4. Buttons & forms      8. Content blocks      12. Responsive
   Change colors/fonts in section 1 only.
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Brand palette — forest green, warm ivory, soft sage */
  --forest-950: #0f2419;
  --forest-900: #143425;
  --forest-800: #1b4430;
  --forest-700: #22563d;       /* primary action */
  --forest-600: #2d6a4b;
  --sage-600: #5f7f66;
  --sage-400: #9db59f;
  --sage-200: #dbe5d5;
  --sage-100: #ebf0e5;
  --sage-50:  #f3f6ef;
  --ivory:    #f8f5ee;         /* page background */
  --ivory-2:  #f1ece1;
  --paper:    #ffffff;
  --ink:      #17241c;         /* headings / body */
  --ink-2:    #45554b;         /* secondary text */
  --ink-3:    #6b786f;         /* tertiary text (≥14px only) */
  --line:     rgba(23, 36, 28, 0.11);
  --line-strong: rgba(23, 36, 28, 0.2);
  --gold:     #c4892a;         /* review stars */
  --danger:   #a63d2f;
  --danger-bg:#fbefec;
  --google:   #4a6fb5;
  --facebook: #3b5c9e;

  /* Type */
  --font-display: "Zodiak", "Iowan Old Style", Georgia, serif;
  --font-body: "General Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-xs: 0.8125rem;   /* 13px */
  --text-sm: 0.9375rem;   /* 15px */
  --text-base: 1.0625rem; /* 17px */
  --text-lg: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --text-xl: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem);
  --text-2xl: clamp(2.125rem, 1.6rem + 2.4vw, 3.5rem);
  --text-hero: clamp(2.625rem, 1.7rem + 4.2vw, 5.25rem);

  /* Space & shape */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --section-tight: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 18px; --radius-xl: 28px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 52, 37, 0.06), 0 1px 1px rgba(20, 52, 37, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(20, 52, 37, 0.18), 0 2px 6px rgba(20, 52, 37, 0.05);
  --shadow-lg: 0 40px 80px -30px rgba(15, 36, 25, 0.35), 0 12px 30px -12px rgba(15, 36, 25, 0.15);
  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Base ---------------------------------------------------------------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; }
h3 { font-size: var(--text-lg); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--forest-700); text-underline-offset: 3px; }
a:hover { color: var(--forest-900); }
:focus-visible { outline: 3px solid var(--forest-600); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sage-200); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 12px; }

/* 3. Layout helpers ------------------------------------------------------ */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: var(--section-tight); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-600);
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.section-head { max-width: 720px; display: grid; gap: var(--space-4); margin-bottom: var(--space-12); }
.section-head h2 { font-size: var(--text-2xl); }
.section-head p { color: var(--ink-2); font-size: var(--text-lg); line-height: 1.5; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.lede { font-size: var(--text-lg); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: var(--text-sm); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.split--wide-right { grid-template-columns: 0.9fr 1.1fr; }
.split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
.stack-sm > * + * { margin-top: var(--space-3); }
.stack > * + * { margin-top: var(--space-5); }

/* Dark (forest) sections */
.on-forest { background: var(--forest-900); color: #e9efe6; }
.on-forest h2, .on-forest h3 { color: #fbfaf5; }
.on-forest .eyebrow { color: var(--sage-400); }
.on-forest .muted, .on-forest .section-head p, .on-forest .lede { color: #bfcdbf; }
.on-forest a:not(.btn) { color: #dfe9d9; }
.on-sage { background: var(--sage-100); }
.on-paper { background: var(--paper); }

/* 4. Buttons & forms ----------------------------------------------------- */
.btn {
  --btn-bg: var(--forest-700); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0 1.4rem; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font: 600 var(--text-sm)/1 var(--font-body); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { --btn-bg: var(--forest-900); color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #f6f3ea; --btn-fg: var(--forest-900); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--forest-900); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #f3f1ea; --btn-bd: rgba(255,255,255,.3); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; box-shadow: none; }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 0 1.75rem; font-size: var(--text-base); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.text-link:hover { text-decoration: underline; }

.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.field .hint { font-size: var(--text-xs); color: var(--ink-3); }
.optional { font-weight: 500; color: var(--ink-3); }
.input, .select, textarea.input {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink);
  font: 500 var(--text-base) var(--font-body); transition: border-color .2s, box-shadow .2s;
}
textarea.input { padding: 12px 14px; min-height: 110px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover { border-color: rgba(23,36,28,.35); }
.input:focus, .select:focus { outline: none; border-color: var(--forest-600); box-shadow: 0 0 0 4px rgba(45,106,75,.15); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(166,61,47,.1); }
.select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2317241c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field-error { color: var(--danger); font-size: var(--text-xs); font-weight: 600; display: flex; gap: 6px; align-items: flex-start; }
.field-error:empty { display: none; }
.check {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 14px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper);
  transition: border-color .2s, background-color .2s;
}
.check:hover { border-color: var(--sage-600); }
.check:has(input:checked) { border-color: var(--forest-600); background: var(--sage-50); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest-700); flex: none; }
.check strong { display: block; font-size: var(--text-sm); }
.check span { font-size: var(--text-xs); color: var(--ink-2); }

/* Quantity stepper */
.stepper { display: inline-grid; grid-template-columns: 44px minmax(70px, 1fr) 44px; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--paper); overflow: hidden; }
.stepper:focus-within { border-color: var(--forest-600); box-shadow: 0 0 0 4px rgba(45,106,75,.15); }
.stepper:has([aria-invalid="true"]) { border-color: var(--danger); }
.stepper button { border: 0; background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; min-height: 44px; }
.stepper button:hover { background: var(--sage-100); }
.stepper button:disabled { color: var(--ink-3); opacity: .5; cursor: not-allowed; background: transparent; }
.stepper input { border: 0; text-align: center; font: 600 var(--text-base) var(--font-body); color: var(--ink); width: 100%; min-width: 0; background: transparent; font-variant-numeric: tabular-nums; }
.stepper input:focus { outline: none; }

input[type="range"].range { width: 100%; accent-color: var(--forest-700); height: 28px; cursor: pointer; }

/* 5. Header & footer ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 238, 0.86); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; gap: var(--space-8); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest-900); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-word { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.brand-word b { font-weight: 600; color: var(--forest-700); }
.nav-links { display: flex; gap: var(--space-2); list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: var(--radius-pill); color: var(--ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(23,36,28,.05); }
.nav-links a[aria-current="page"] { color: var(--forest-800); background: var(--sage-100); }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-actions .login { font-size: var(--text-sm); font-weight: 600; color: var(--ink); text-decoration: none; padding: 10px 6px; }
.nav-actions .btn { min-height: 44px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

.site-footer { background: var(--forest-950); color: #b8c6b9; padding-block: var(--space-20) var(--space-10); font-size: var(--text-sm); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--space-10); }
.site-footer .brand-word { color: #fbfaf5; }
.site-footer .brand-word b { color: var(--sage-400); }
.site-footer .brand svg { color: var(--sage-400); }
.site-footer .footer-heading { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: #fbfaf5; font-weight: 600; margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b8c6b9; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-blurb { max-width: 34ch; margin-top: var(--space-4); }
.footer-base { margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; font-size: var(--text-xs); color: #8fa292; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-6); }

/* 6. Hero & sections ----------------------------------------------------- */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--section-tight); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--text-hero); line-height: 0.98; letter-spacing: -0.035em; }
.hero h1 em { font-style: italic; color: var(--forest-700); }
.hero .lede { max-width: 34rem; margin-top: var(--space-6); }
.hero .btn-row { margin-top: var(--space-8); }
.hero-note { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: var(--text-sm); color: var(--ink-2); }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--forest-600); }

.page-hero { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero h1 { font-size: var(--text-2xl); max-width: 16ch; }
.page-hero .lede { max-width: 40rem; margin-top: var(--space-5); }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lede { margin-inline: auto; }

/* Platform strip */
.platforms { display: grid; grid-template-columns: auto 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow: hidden; }
.platforms > * { padding: var(--space-8); }
.platforms > * + * { border-left: 1px solid var(--line); }
.platforms .label { display: grid; align-content: center; gap: 6px; max-width: 18rem; background: var(--sage-50); }
.platforms .label h2 { font-size: var(--text-xl); }
.platform { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start; }
.platform-mark { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--line); }
.platform-mark svg { width: 24px; height: 24px; }
.platform h3 { margin-bottom: 4px; }
.platform p { color: var(--ink-2); font-size: var(--text-sm); }

/* Photo treatments */
.photo { border-radius: var(--radius-xl); overflow: hidden; position: relative; background: var(--ivory-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; }
.photo-chip { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: var(--radius-pill); padding: 8px 14px; font-size: var(--text-xs); font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }

/* Problem statement — editorial */
.statement { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.25; letter-spacing: -0.015em; font-weight: 400; max-width: 26ch; }
.statement em { color: var(--forest-700); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); counter-reset: step; }
.step { position: relative; padding: var(--space-8); border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 2.75rem; line-height: 1; color: var(--sage-400); margin-bottom: var(--space-8); font-style: italic; }
.step h3 { margin-bottom: var(--space-2); }
.step p { color: #bfcdbf; font-size: var(--text-sm); }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-5); }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); transition: transform .35s var(--ease), box-shadow .35s var(--ease); min-height: 220px; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile h3 { font-size: var(--text-lg); }
.tile p { color: var(--ink-2); font-size: var(--text-sm); }
.tile .ico { width: 26px; height: 26px; color: var(--forest-600); margin-bottom: var(--space-2); }
.tile--span-2 { grid-column: span 2; }
.tile--span-3 { grid-column: span 3; }
.tile--span-4 { grid-column: span 4; }
.tile--feature { background: var(--forest-800); color: #dbe5d5; border-color: transparent; }
.tile--feature h3 { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); letter-spacing: -0.015em; }
.tile--feature p { color: #c7d4c6; font-size: var(--text-base); }
.tile--feature .ico { color: var(--sage-400); }
.tile--sage { background: var(--sage-100); border-color: transparent; }
.tile-visual { margin-top: auto; padding-top: var(--space-5); }

/* Audience photo row */
.audience { display: grid; grid-template-columns: 1.25fr 0.75fr 1fr; gap: var(--space-5); align-items: stretch; }
.audience .photo { aspect-ratio: auto; min-height: 340px; }
.audience figure { margin: 0; display: grid; gap: var(--space-3); }
.audience figcaption { font-size: var(--text-sm); color: var(--ink-2); }
.audience figcaption strong { color: var(--ink); display: block; font-size: var(--text-base); }

/* Closing CTA */
.cta-band { position: relative; border-radius: var(--radius-xl); background: var(--forest-900); color: #e9efe6; padding: clamp(2.5rem, 2rem + 4vw, 5.5rem); overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: var(--space-10); align-items: end; }
.cta-band h2 { color: #fbfaf5; font-size: var(--text-2xl); max-width: 16ch; }
.cta-band p { color: #bfcdbf; margin-top: var(--space-4); max-width: 34rem; }

/* 7. Product mockups (illustrative, built in HTML) ----------------------- */
.mock-stage { position: relative; padding: var(--space-6) 0 var(--space-10) var(--space-10); }
.mock-window { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; font-size: 13px; color: var(--ink); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfaf6; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2ddd1; }
.mock-bar .url { margin-left: 12px; flex: 1; max-width: 260px; height: 22px; border-radius: 6px; background: var(--ivory-2); font-size: 11px; color: var(--ink-3); display: flex; align-items: center; padding-left: 10px; font-style: normal; }
.mock-body { display: grid; grid-template-columns: 148px 1fr; min-height: 380px; }
.mock-side { background: var(--forest-900); color: #cfdccc; padding: 18px 12px; display: grid; align-content: start; gap: 4px; }
.mock-side .mlogo { display: flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; font-size: 13px; margin: 0 6px 16px; }
.mock-side .mlogo svg { width: 20px; height: 20px; color: var(--sage-400); }
.mock-side span { padding: 7px 10px; border-radius: 7px; font-size: 12px; }
.mock-side span.on { background: var(--forest-700); color: #fff; }
.mock-main { padding: 20px 22px; background: #f6f4ee; display: grid; gap: 14px; align-content: start; }
.mock-h { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.mock-sub { font-size: 11px; color: var(--ink-3); margin-top: -10px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock-kpi small { display: block; font-size: 10.5px; color: var(--ink-3); }
.mock-kpi b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-top: 2px; }
.mock-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.mock-card .card-title { font-size: 12px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.mock-bars { display: flex; align-items: flex-end; gap: 9px; height: 96px; padding-top: 6px; }
.mock-bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; }
.mock-bars i { display: block; border-radius: 3px 3px 0 0; background: var(--sage-600); }
.mock-bars i + i { border-radius: 0; }
.mock-bars i.fb { background: var(--sage-200); border-radius: 3px 3px 0 0; }
.mock-legend { display: flex; gap: 12px; font-size: 10px; color: var(--ink-3); margin-top: 8px; }
.mock-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--sage-600); margin-right: 5px; }
.mock-legend span + span::before { background: var(--sage-200); }
.mock-review { display: grid; gap: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 11px; }
.mock-review:last-child { border: 0; padding-bottom: 0; }
.mock-review + .mock-review { padding-top: 8px; }
.mock-review b { font-size: 11.5px; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 11px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--sage-100); color: var(--forest-800); width: fit-content; }

.phone {
  position: absolute; left: 0; bottom: 0; width: 214px; border-radius: 34px; padding: 9px; background: #10201a;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.phone-screen { border-radius: 26px; background: #fbfaf6; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; }
.phone-top { padding: 14px 16px 10px; text-align: center; border-bottom: 1px solid var(--line); font-size: 11px; }
.phone-top .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--forest-700); color: #fff; display: grid; place-items: center; margin: 0 auto 6px; font-weight: 700; font-size: 12px; }
.phone-top b { display: block; font-size: 12px; }
.phone-top span { color: var(--ink-3); font-size: 10px; }
.thread { padding: 14px 12px; display: grid; gap: 8px; align-content: start; flex: 1; }
.bubble { background: #e9ece4; border-radius: 16px 16px 16px 5px; padding: 9px 12px; font-size: 11.5px; line-height: 1.4; max-width: 92%; }
.bubble a { color: var(--forest-700); font-weight: 600; word-break: break-all; }
.bubble.me { background: var(--forest-700); color: #fff; justify-self: end; border-radius: 16px 16px 5px 16px; }
.thread time { font-size: 9.5px; color: var(--ink-3); text-align: center; }
.float-chip {
  position: absolute; right: -6px; top: 0; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line); display: flex; gap: 10px; align-items: center; font-size: 12px; max-width: 230px;
}
.float-chip .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-100); color: var(--forest-700); flex: none; }
.float-chip .dot svg { width: 18px; height: 18px; }
.float-chip b { display: block; font-size: 12.5px; }
.float-chip span { color: var(--ink-3); font-size: 11px; }
.mock-label { position: absolute; right: 0; bottom: 6px; font-size: var(--text-xs); color: var(--ink-3); }

/* Review landing preview (features page) */
.landing-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 28px; max-width: 380px; margin-inline: auto; text-align: center; }
.landing-card .avatar { width: 52px; height: 52px; border-radius: 14px; background: var(--forest-800); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; font-family: var(--font-display); font-size: 22px; }
.landing-card .card-title { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--ink); margin: 0; text-wrap: balance; }
.landing-card p { font-size: 14px; color: var(--ink-2); margin: 6px 0 18px; }
.landing-choice { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; font-weight: 600; font-size: 14px; margin-top: 10px; }
.landing-choice svg { width: 18px; height: 18px; }
.landing-feedback { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.landing-feedback u { color: var(--forest-700); text-underline-offset: 3px; }

/* Sequence timeline (features) */
.sequence { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; }
.sequence li { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; font-size: var(--text-sm); }
.sequence li + li { border-top: 1px solid var(--line); }
.sequence .when { font-size: var(--text-xs); color: var(--ink-3); font-weight: 600; }
.sequence b { display: block; }
.sequence .ch { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--sage-100); color: var(--forest-800); }
.sequence .stop { background: var(--sage-50); }
.sequence .stop .ch { background: var(--forest-700); color: #fff; }

/* Screenshot frames */
.shot { position: relative; margin: 0; }
.shot-frame { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.shot-frame img { width: 100%; }
.shot-crop { overflow: hidden; }
.shot-crop img { width: 100%; object-fit: cover; object-position: top left; }
.shot figcaption { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.shot figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage-400); flex: none; }
.on-forest .shot figcaption { color: #9fb2a2; }

.brand-compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
.brand-swatch { border-radius: var(--radius-lg); padding: var(--space-8); min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-8); }
.brand-swatch .who { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; opacity: .8; }
.brand-swatch .name { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; }
.brand-swatch .chips { display: flex; gap: 8px; }
.brand-swatch .chips i { width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); }

/* 8. Content blocks ------------------------------------------------------ */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 20px; height: 20px; color: var(--forest-600); margin-top: 3px; }
.on-forest .checklist svg { color: var(--sage-400); }
.checklist b { display: block; }
.checklist span { color: var(--ink-2); font-size: var(--text-sm); }
.on-forest .checklist span { color: #bfcdbf; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.feature-row + .feature-row { margin-top: var(--section-tight); }
.feature-row.flip > :first-child { order: 2; }
.feature-copy h2 { font-size: var(--text-xl); margin: var(--space-4) 0; }
.feature-copy > p { color: var(--ink-2); margin-bottom: var(--space-6); }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-md); background: var(--sage-100); color: var(--ink-2); font-size: var(--text-sm); }
.note svg { width: 18px; height: 18px; color: var(--forest-600); flex: none; margin-top: 2px; }
.note b { color: var(--ink); }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: var(--text-base); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--forest-700); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* Legal pages (privacy.html, terms.html): long-form reading text. */
.legal { max-width: 46rem; }
.legal h2 { font-size: var(--text-lg); line-height: 1.25; letter-spacing: -0.01em; margin: var(--space-12) 0 var(--space-4); }
.legal p { color: var(--ink-2); }
.legal p + p { margin-top: var(--space-4); }
.legal b { color: var(--ink); font-weight: 600; }
.legal a { overflow-wrap: anywhere; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.metric { background: var(--paper); padding: var(--space-6); }
.metric b { display: block; font-size: var(--text-base); margin-bottom: 4px; }
.metric span { font-size: var(--text-sm); color: var(--ink-2); }

/* 9. Pricing ------------------------------------------------------------- */
.pricing-toolbar { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: end; justify-content: space-between; margin-bottom: var(--space-8); }
.tabs { display: inline-flex; padding: 5px; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); gap: 4px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 12px 22px; border-radius: var(--radius-pill); font: 600 var(--text-sm) var(--font-body); color: var(--ink-2); cursor: pointer; min-height: 46px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.tab:hover { color: var(--ink); background: var(--sage-50); }
.tab[aria-selected="true"] { background: var(--forest-800); color: #fff; }
.term-picker { display: grid; gap: 6px; min-width: 220px; }
.term-picker label { font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tab-intro { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); justify-content: space-between; align-items: baseline; margin-bottom: var(--space-8); padding-bottom: var(--space-6); border-bottom: 1px solid var(--line); }
.tab-intro h2 { font-size: var(--text-xl); }
.tab-intro p { color: var(--ink-2); max-width: 46ch; margin-top: 6px; }
.from-rate { text-align: right; }
.from-rate b { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; color: var(--forest-700); }
.from-rate small { display: block; font-size: var(--text-xs); color: var(--ink-3); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-5); transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.plan:hover { box-shadow: var(--shadow-md); }
.plan--featured { border-color: var(--forest-700); box-shadow: 0 0 0 1px var(--forest-700), var(--shadow-md); }
.plan-flag { position: absolute; top: -12px; left: var(--space-8); background: var(--forest-700); color: #fff; font-size: var(--text-xs); font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); }
.plan-name { font-size: var(--text-lg); font-weight: 600; }
.plan-desc { color: var(--ink-2); font-size: var(--text-sm); margin-top: 4px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amount { font-family: var(--font-display); font-size: clamp(3rem, 2.4rem + 2.2vw, 4.25rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-unit { font-size: var(--text-sm); color: var(--ink-2); font-weight: 500; }
.price-term { font-size: var(--text-sm); color: var(--ink); font-weight: 600; margin-top: 8px; }
.price-total { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.5; }
.price-total .eq { display: block; color: var(--ink-3); font-size: var(--text-xs); margin-top: 2px; }
.plan-qty { display: grid; gap: 8px; padding-top: var(--space-5); border-top: 1px solid var(--line); }
.plan-qty label { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.plan-qty-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.plan-qty .stepper { width: 168px; }
.plan .btn { margin-top: auto; }
.wl-line { font-size: var(--text-sm); display: flex; gap: 8px; align-items: center; color: var(--forest-800); font-weight: 600; }
.wl-line svg { width: 16px; height: 16px; }

.config-card { display: grid; grid-template-columns: 1.15fr 0.85fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.config-left { padding: clamp(1.75rem, 1rem + 3vw, 3.25rem); display: grid; gap: var(--space-6); align-content: start; }
.config-right { padding: clamp(1.75rem, 1rem + 3vw, 3.25rem); background: var(--forest-900); color: #e3ebdf; display: flex; flex-direction: column; gap: var(--space-5); }
.config-right .price-amount { color: #fbfaf5; font-size: clamp(3.25rem, 2.4rem + 3vw, 5rem); }
.config-right .price-unit, .config-right .price-total { color: #bfcdbf; }
.config-right .price-term { color: #fbfaf5; }
.config-right .price-total .eq { color: #9fb2a2; }
.config-right .wl-line { color: var(--sage-200); }
.config-right .btn { margin-top: auto; }
.qty-big { display: flex; gap: var(--space-5); align-items: center; flex-wrap: wrap; }
.qty-big .stepper { width: 200px; grid-template-columns: 50px 1fr 50px; }
.qty-big .stepper input { font-size: 1.25rem; }
.qty-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { border: 1.5px solid var(--line-strong); background: var(--paper); border-radius: var(--radius-pill); padding: 8px 14px; min-height: 40px; font: 600 var(--text-xs) var(--font-body); cursor: pointer; color: var(--ink-2); }
.chip-btn:hover { border-color: var(--sage-600); color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--sage-100); border-color: var(--forest-600); color: var(--forest-800); }
.range-scale { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--ink-3); margin-top: -4px; }
.tier-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.tier-table th, .tier-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.tier-table th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; }
.tier-table td:last-child, .tier-table th:last-child { text-align: right; }
.tier-table tr.is-current td { background: var(--sage-50); font-weight: 700; color: var(--forest-800); }
.tier-table tr.is-current td:first-child { border-radius: 8px 0 0 8px; }
.tier-table tr.is-current td:last-child { border-radius: 0 8px 8px 0; }
.recommend { font-size: var(--text-sm); color: var(--ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.recommend button { border: 0; background: none; padding: 0; color: var(--forest-700); font: 600 var(--text-sm) var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.recommend:empty { display: none; }
.custom-route { font-size: var(--text-sm); color: var(--ink-2); }
.config-right .custom-route { color: #bfcdbf; }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.matrix { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 620px; }
.matrix caption { text-align: left; padding: 20px 24px 0; font-size: var(--text-sm); color: var(--ink-2); }
.matrix th, .matrix td { padding: 16px 24px; text-align: right; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix thead th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix td.col-active, .matrix th.col-active { background: var(--sage-50); color: var(--forest-800); font-weight: 700; }
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3) var(--space-8); list-style: none; margin: 0; padding: 0; }
.included li { display: flex; gap: 10px; font-size: var(--text-sm); align-items: flex-start; }
.included svg { width: 18px; height: 18px; color: var(--forest-600); flex: none; margin-top: 3px; }

/* 10. Onboarding --------------------------------------------------------- */
.ob-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ob-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.ob-panel + .ob-panel { margin-top: var(--space-6); }
.ob-panel h2 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; display: flex; gap: 12px; align-items: center; }
.ob-panel h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--forest-800); color: #fff; font-size: var(--text-xs); display: grid; place-items: center; flex: none; }
.ob-panel > p { color: var(--ink-2); font-size: var(--text-sm); margin: 6px 0 var(--space-6); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form-grid .full { grid-column: 1 / -1; }
.summary { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.summary-head { padding: var(--space-6) var(--space-8); border-bottom: 1px solid var(--line); background: var(--sage-50); }
.summary-head h2 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600; }
.summary-head p { font-size: var(--text-xs); color: var(--ink-2); margin-top: 2px; }
.summary dl { margin: 0; padding: var(--space-4) var(--space-8); display: grid; }
.summary dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: var(--text-sm); }
.summary dl > div:last-child { border-bottom: 0; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.summary dd.free { color: var(--forest-700); }
.summary-total { padding: var(--space-6) var(--space-8); background: var(--forest-900); color: #e3ebdf; }
.summary-total .lbl { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--sage-400); }
.summary-total .amt { font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 500; color: #fbfaf5; line-height: 1.05; margin-top: 6px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.summary-total .sub { font-size: var(--text-xs); color: #bfcdbf; margin-top: 6px; }
.summary-foot { padding: var(--space-5) var(--space-8) var(--space-6); font-size: var(--text-xs); color: var(--ink-2); display: grid; gap: 10px; }
.summary-foot .note { font-size: var(--text-xs); }
.summary.is-invalid .summary-total .amt { opacity: .35; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-md); padding: 18px 20px; font-size: var(--text-sm); display: none; gap: 12px; align-items: flex-start; margin-top: var(--space-5); }
.form-status.is-visible { display: flex; }
.form-status svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-status.is-error { background: var(--danger-bg); color: #6d2318; }
.form-status.is-info { background: var(--ivory-2); color: var(--ink); }
.form-status.is-success { background: var(--sage-100); color: var(--forest-900); }
.form-status b { display: block; margin-bottom: 2px; }
.success-panel { text-align: center; padding: var(--space-16) var(--space-8); }
.success-panel .seal { width: 64px; height: 64px; border-radius: 50%; background: var(--sage-100); color: var(--forest-700); display: grid; place-items: center; margin: 0 auto var(--space-6); }
.success-panel h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; justify-content: center; }
.success-panel p { color: var(--ink-2); max-width: 44ch; margin: var(--space-4) auto 0; }

/* 11. Utilities & motion ------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.price-amount, .summary-total .amt { transition: opacity .2s; }
.is-updating { opacity: .55; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 12. Responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 10px 10px; }
  .nav { gap: var(--space-4); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--span-2, .tile--span-3, .tile--span-4 { grid-column: span 1; }
  .tile--wide-md { grid-column: span 2; }
  .included { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.is-open .nav { flex-wrap: wrap; padding-bottom: var(--space-5); }
  .site-header.is-open .nav-links { display: grid; order: 3; width: 100%; margin: 0; gap: 2px; }
  .site-header.is-open .nav-links a { padding: 14px 12px; font-size: var(--text-base); }
  .site-header.is-open .nav-actions { display: flex; order: 4; width: 100%; justify-content: space-between; padding-top: var(--space-4); border-top: 1px solid var(--line); }
  .hero-grid, .split, .split--wide-right, .split--wide-left, .feature-row, .brand-compare, .config-card, .ob-grid, .cta-band { grid-template-columns: 1fr; }
  .feature-row.flip > :first-child { order: 0; }
  .platforms { grid-template-columns: 1fr; }
  .platforms > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .platforms .label { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr 1fr; }
  .audience figure:first-child { grid-column: 1 / -1; }
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .summary { position: static; }
  .from-rate { text-align: left; }
  .mock-stage { max-width: 640px; }
}
@media (max-width: 640px) {
  .container, .container-narrow { width: min(100% - 2rem, var(--container)); }
  .nav { min-height: 66px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .mock-stage { padding: 0 0 var(--space-12) 0; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-row { grid-template-columns: 1fr; }
  .mock-row .mock-card:last-child { display: none; }
  .phone { width: 168px; left: auto; right: 8px; bottom: -8px; border-radius: 28px; padding: 7px; }
  .phone-screen { min-height: 270px; border-radius: 22px; }
  .phone .bubble { font-size: 10.5px; }
  .float-chip { display: none; }
  .mock-label { right: auto; left: 0; bottom: 0; }
  .bento, .audience { grid-template-columns: 1fr; }
  .tile--wide-md { grid-column: span 1; }
  .audience .photo { min-height: 260px; }
  .tabs { display: grid; grid-template-columns: 1fr; width: 100%; border-radius: var(--radius-lg); }
  .tab { border-radius: var(--radius-md); }
  .term-picker { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sequence li { grid-template-columns: 1fr auto; }
  .sequence .when { grid-column: 1 / -1; }
  .summary dl, .summary-head, .summary-total, .summary-foot { padding-inline: var(--space-5); }
  .cta-band .btn { width: 100%; }
}

/* Small icon helpers */
.tag svg { width: 13px; height: 13px; }
.ico { width: 26px; height: 26px; }
.note span { min-width: 0; }
.text-link svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.platforms { grid-template-columns: minmax(280px, 0.95fr) 1fr 1fr; }
.platforms .label h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
@media (max-width: 960px) { .platforms { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: var(--space-6); }
.stack > .checklist, .stack > .note, .stack > .btn-row { margin-top: var(--space-8); }
.config-right a:not(.btn) { color: #e3ebdf; font-weight: 600; }
@media (max-width: 960px) {
  /* Onboarding on small screens: configuration → summary → contact details */
  .ob-grid { display: flex; flex-direction: column; gap: var(--space-6); }
  .ob-grid [data-form-body] { display: contents; }
  .ob-grid [data-form-body] > .ob-panel:first-child { order: 1; }
  .ob-grid .summary { order: 2; }
  .ob-grid [data-form-body] > .ob-panel:last-child { order: 3; }
  .ob-grid .success-panel { order: 1; }
  .ob-panel + .ob-panel { margin-top: 0; }
}

/* Logo (raster wordmark: assets/img/logo.webp, logo-light.webp for dark backgrounds) */
.brand img { height: 50px; width: auto; display: block; }
.site-footer .brand img { height: 52px; }
.mock-side .mlogo img { height: 20px; width: auto; }
@media (max-width: 640px) { .brand img { height: 42px; } }

/* Star trail — brand accent taken from the logo's five stars.
   Usage: add .has-trail to a dark container, then put
   <span class="star-trail star-trail--tr" style="--trail-w:300px; --trail-opacity:.15" aria-hidden="true"></span>
   as its first child. Positions: --tr (top right), --br (bottom right), --bl (bottom left).
   Keep opacity low (.06–.2): it should hint at the brand, never compete with content. */
.has-trail { position: relative; overflow: hidden; isolation: isolate; }
.has-trail > :not(.star-trail) { position: relative; z-index: 1; }
.star-trail {
  position: absolute; z-index: 0; pointer-events: none;
  width: var(--trail-w, 320px); aspect-ratio: 717 / 136;
  background: var(--trail-color, var(--sage-400)); opacity: var(--trail-opacity, .14);
  -webkit-mask: url("../img/star-trail.svg") no-repeat center / contain;
          mask: url("../img/star-trail.svg") no-repeat center / contain;
}
.star-trail--tr { top: var(--trail-y, clamp(20px, 4vw, 56px)); right: var(--trail-x, clamp(16px, 4vw, 56px)); }
.star-trail--br { bottom: var(--trail-y, clamp(20px, 4vw, 48px)); right: var(--trail-x, clamp(16px, 4vw, 56px)); }
.star-trail--bl { bottom: var(--trail-y, clamp(20px, 4vw, 56px)); left: var(--trail-x, clamp(16px, 4vw, 56px)); }
.cta-band { position: relative; isolation: isolate; }
.cta-band > :not(.star-trail) { position: relative; z-index: 1; }
.summary-total .star-trail--tr, .config-right .star-trail--tr, .tile .star-trail--tr { --trail-y: 22px; --trail-x: 22px; }
