/* SpannerUp sales site. One stylesheet, no framework.
   Spacing runs on an 8px rhythm. Colour tokens switch for dark mode and for
   the always-dark sections (.dark). */

:root {
  --plate: #F7CF1D;
  --plate-hi: #FFE04D;
  --plate-ink: #111214;
  --plate-blue: #1B3F94;
  --go: #1FA463;
  --warn: #E5484D;

  --ink: #0E1013;
  --ink-2: #16191E;

  --bg: #FAF8F3;
  --bg-alt: #F2EFE7;
  --surface: #FFFFFF;
  --surface-2: #F6F4EE;
  --text: #0E1013;
  --muted: #5A5F69;
  --faint: #8A8F98;
  --line: rgba(14, 16, 19, .10);
  --line-2: rgba(14, 16, 19, .16);
  --shadow: 0 1px 2px rgba(14,16,19,.05), 0 8px 24px -8px rgba(14,16,19,.12);
  --shadow-lg: 0 2px 4px rgba(14,16,19,.06), 0 30px 60px -20px rgba(14,16,19,.30);
  --accent-text: #8A6A00;
  --focus: #1B66FF;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --wrap: 1200px;
  --gutter: 20px;
  --section: 88px;
  --header-h: 68px;

  --f-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-plate: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --hd-bg: rgba(250,248,243,.9); --hd-ink: #0E1013; --hd-ink-2: rgba(14,16,19,.7); --hd-line: rgba(14,16,19,.09); --hd-hover: rgba(14,16,19,.06); --hd-btn-line: rgba(14,16,19,.18); --hd-menu: #FAF8F3; --logo-glow: none;
  color-scheme: light;
}

/* Dark: follows the device until the visitor picks a theme with the header toggle (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1114;
    --bg-alt: #14171B;
    --surface: #181B20;
    --surface-2: #1E2228;
    --text: #F3F1EC;
    --muted: #A4A8B0;
    --faint: #7C818A;
    --line: rgba(255,255,255,.09);
    --line-2: rgba(255,255,255,.15);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -10px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 30px 60px -20px rgba(0,0,0,.8);
    --accent-text: var(--plate);
    --focus: #7FA8FF;
    --hd-bg: rgba(11,12,15,.94); --hd-ink: #F5F3EE; --hd-ink-2: rgba(245,243,238,.78); --hd-line: rgba(255,255,255,.08); --hd-hover: rgba(255,255,255,.07); --hd-btn-line: rgba(255,255,255,.22); --hd-menu: #0B0C0F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #0F1114;
    --bg-alt: #14171B;
    --surface: #181B20;
    --surface-2: #1E2228;
    --text: #F3F1EC;
    --muted: #A4A8B0;
    --faint: #7C818A;
    --line: rgba(255,255,255,.09);
    --line-2: rgba(255,255,255,.15);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -10px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 30px 60px -20px rgba(0,0,0,.8);
    --accent-text: var(--plate);
    --focus: #7FA8FF;
    --hd-bg: rgba(11,12,15,.94); --hd-ink: #F5F3EE; --hd-ink-2: rgba(245,243,238,.78); --hd-line: rgba(255,255,255,.08); --hd-hover: rgba(255,255,255,.07); --hd-btn-line: rgba(255,255,255,.22); --hd-menu: #0B0C0F;
  color-scheme: dark;
}

/* Always-dark sections keep their look in both schemes */
.dark {
  --bg: #0B0C0F;
  --bg-alt: #0B0C0F;
  --surface: #15181D;
  --surface-2: #1C2026;
  --text: #F5F3EE;
  --muted: #A7ABB3;
  --faint: #7D828B;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -10px rgba(0,0,0,.7);
  --accent-text: var(--plate);
  --focus: #7FA8FF;
  background: var(--bg);
  color: var(--text);
}

@media (min-width: 640px) { :root { --gutter: 32px; --section: 112px; } }
@media (min-width: 1024px) { :root { --section: 128px; --header-h: 80px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--plate); color: var(--plate-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plate); color: var(--plate-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section + .section:not(.dark):not(.section--alt) { border-top: 1px solid var(--line); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .8125rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.h1 { font-size: clamp(2.5rem, 7.2vw, 4.75rem); letter-spacing: -0.035em; line-height: 1.02; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -0.03em; }
.h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
.h4 { font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.3; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.tiny { font-size: .8125rem; color: var(--faint); }
.mark { color: var(--plate); }
.dark .mark, .mark-on-dark { color: var(--plate); }
.hl { background: linear-gradient(transparent 62%, rgba(247,207,29,.55) 62%); padding-inline: 2px; }
.mono { font-family: var(--f-mono); }

.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 56px; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head .lead { max-width: 640px; }
@media (min-width: 1024px) { .head { margin-bottom: 72px; } }

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 48px 0 16px; }
.prose h3 { font-size: 1.1875rem; margin: 32px 0 12px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a { color: var(--text); text-decoration-color: var(--plate); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ph { background: rgba(247,207,29,.28); color: var(--text); padding: 0 4px; border-radius: 4px; font-weight: 600; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 12px;
  font: 700 1rem/1 var(--f-head); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer; user-select: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .9375rem; border-radius: 10px; }
.btn--primary { background: var(--plate); color: var(--plate-ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.btn--primary:hover { background: var(--plate-hi); }
.btn--dark { background: var(--text); color: var(--bg); }
.btn--dark:hover { opacity: .9; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--text); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* Groups: equal widths side by side, full-width stack on phones */
.btns { display: grid; gap: 12px; width: 100%; }
@media (min-width: 560px) {
  .btns { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: auto; }
  .btns .btn { min-width: 200px; }
}
.btns--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 1rem/1.2 var(--f-head); text-decoration: none; color: var(--text); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--hd-bg); color: var(--hd-ink);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hd-line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
@media (max-width: 479px) { .site-header .wrap { gap: 12px; } .header-cta { gap: 6px; } .theme-btn { width: 40px; } }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.logo svg { width: 34px; height: 34px; }
.logo picture { display: block; }
.logo__img { display: block; height: 40px; width: auto; aspect-ratio: 324 / 120; object-fit: contain; }
@media (min-width: 1024px) { .site-header .logo__img { height: 54px; } }
.site-footer .logo__img { height: 56px; }
.logo__word { font: 800 1.3125rem/1 var(--f-head); letter-spacing: -0.03em; }
.logo__word b { font-weight: 800; color: var(--plate); }
.nav { display: none; gap: 4px; margin-left: 16px; }
.nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px; text-decoration: none; font: 600 .9375rem/1 var(--f-head); color: var(--hd-ink-2); transition: color .15s, background-color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--hd-ink); background: var(--hd-hover); }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-cta .btn { min-width: 132px; }
.header-cta .btn--ghost { color: var(--hd-ink); border-color: var(--hd-btn-line); }
.header-cta .btn--ghost:hover { border-color: var(--hd-ink); }
.theme-btn { flex: none; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 10px; border: 1.5px solid transparent; background: transparent; color: var(--hd-ink); cursor: pointer; transition: background-color .15s, border-color .15s; }
.theme-btn:hover { background: var(--hd-hover); border-color: var(--hd-btn-line); }
.theme-btn svg { width: 20px; height: 20px; grid-area: 1 / 1; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s; }
.theme-btn .i-sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="dark"] .theme-btn .i-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-btn .i-moon { opacity: 0; transform: rotate(60deg) scale(.6); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { opacity: 1; transform: none; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { opacity: 0; transform: rotate(60deg) scale(.6); }
}
/* switching theme: a short cross-fade, or a colour transition where view transitions are not supported */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .32s ease, color .32s ease, border-color .32s ease, box-shadow .32s ease !important; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
.header-cta .hide-sm { display: none; }
.menu-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--hd-btn-line); background: transparent; color: var(--hd-ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-x { display: none; }
.menu-open .menu-btn .i-x { display: block; }
.menu-open .menu-btn .i-menu { display: none; }
.header-cta .btn--sm.mob-start { min-width: 0; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--hd-menu); color: var(--hd-ink); padding: 24px var(--gutter) 40px;
  display: none; flex-direction: column; gap: 8px; overflow-y: auto;
}
.menu-open .mobile-menu { display: flex; }
.mobile-menu a.m-link { display: flex; align-items: center; justify-content: space-between; height: 60px; border-bottom: 1px solid var(--hd-line); text-decoration: none; font: 700 1.375rem/1 var(--f-head); letter-spacing: -0.02em; }
.mobile-menu a.m-link svg { width: 20px; height: 20px; opacity: .5; }
.mobile-menu .btns { margin-top: 24px; }
.mobile-menu .btn--ghost { color: var(--hd-ink); border-color: var(--hd-btn-line); }
.menu-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav { display: flex; }
  .menu-btn, .mobile-menu, .mob-start { display: none !important; }
  .header-cta .hide-sm { display: inline-flex; }
}

/* ---------- number plate ---------- */
.plate {
  --ph: 64px;
  display: inline-flex; align-items: stretch; height: var(--ph);
  background: linear-gradient(180deg, #FFDA2E 0%, var(--plate) 55%, #EFC313 100%);
  border-radius: calc(var(--ph) * .12);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.85), inset 0 0 0 4px var(--plate), 0 1px 0 rgba(255,255,255,.4), 0 10px 24px -10px rgba(0,0,0,.45);
  color: var(--plate-ink); overflow: hidden; position: relative;
}
.plate__band {
  flex: none; width: calc(var(--ph) * .5); margin: 2px 0 2px 2px;
  background: var(--plate-blue); color: #fff; border-radius: calc(var(--ph) * .1) 0 0 calc(var(--ph) * .1);
  display: grid; place-items: end center; padding-bottom: calc(var(--ph) * .1);
  font: 700 calc(var(--ph) * .26)/1 var(--f-head); letter-spacing: .02em;
}
.plate__chars {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 calc(var(--ph) * .22);
  font: 700 calc(var(--ph) * .8)/1 var(--f-plate); letter-spacing: .04em; white-space: nowrap; text-transform: uppercase;
}
.plate--sm { --ph: 34px; }
.plate--md { --ph: 46px; }

/* Plate as an input (hero) */
.plate-form { display: grid; gap: 12px; max-width: 560px; }
@media (min-width: 560px) { .plate-form { grid-template-columns: 1fr auto; align-items: stretch; } }
.plate--input { --ph: 76px; width: 100%; cursor: text; }
.plate--input input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font: 700 calc(var(--ph) * .74)/1 var(--f-plate); letter-spacing: .05em; text-transform: uppercase; text-align: center;
  color: var(--plate-ink); padding: 0 12px; caret-color: var(--plate-ink);
}
.plate--input input::placeholder { color: rgba(17,18,20,.28); }
.plate--input:focus-within { box-shadow: inset 0 0 0 2px rgba(0,0,0,.85), inset 0 0 0 4px var(--plate), 0 0 0 4px rgba(127,168,255,.65), 0 10px 24px -10px rgba(0,0,0,.45); }
.plate__ghost {
  position: absolute; inset: 0 0 0 calc(var(--ph) * .5); display: flex; align-items: center; justify-content: center;
  font: 700 calc(var(--ph) * .74)/1 var(--f-plate); letter-spacing: .05em; color: rgba(17,18,20,.9); pointer-events: none;
}
.plate__ghost .caret { display: inline-block; width: 3px; height: .78em; margin-left: 4px; background: var(--plate-ink); animation: blink 1s steps(2) infinite; }
.plate--typing input::placeholder { color: transparent; }
@keyframes blink { 50% { opacity: 0; } }
.plate-form .btn { --h: 76px; padding: 0 30px; font-size: 1.0625rem; border-radius: 14px; }
@media (max-width: 559px) { .plate--input { --ph: 68px; } .plate-form .btn { --h: 56px; } }
.plate-hint { margin-top: 14px; font-size: .9375rem; color: var(--muted); min-height: 1.6em; }
.plate-hint.is-error { color: var(--err-text, #FF8A8A); }
.try-regs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.try-regs button { height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 600 .875rem/1 var(--f-mono); cursor: pointer; }
.try-regs button:hover { border-color: var(--plate); color: var(--accent-text); }

/* ---------- hero ---------- */
.hero { padding-block: 48px 88px; overflow: hidden; position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; z-index: -1;
  background: radial-gradient(closest-side, rgba(247,207,29,.16), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--grid-line, rgba(255,255,255,.035)) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line, rgba(255,255,255,.035)) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero__grid { display: grid; gap: 56px; align-items: center; }
.hero__copy { display: grid; gap: 24px; }
.hero__copy .lead { max-width: 560px; color: var(--muted); }
.hero .h1 { font-size: clamp(2.625rem, 6.2vw, 4rem); text-wrap: wrap; }
.br-lg { display: none; }
@media (min-width: 1024px) { .br-lg { display: inline; } }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .9375rem; }
.hero__facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--accent-text); }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 .875rem/1 var(--f-head); width: max-content; max-width: 100%; }
.pill b { background: var(--plate); color: var(--plate-ink); border-radius: 999px; height: 24px; display: inline-flex; align-items: center; padding: 0 10px; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 1280px) {
  .hero { padding-block: 72px 112px; }
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; }
}
.page-hero { padding-block: 64px 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -200px; top: -300px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(247,207,29,.13), transparent 70%); pointer-events: none; }
.page-hero .head { margin-bottom: 0; }
.page-hero .btns { margin-top: 8px; }
@media (min-width: 1024px) { .page-hero { padding-block: 96px 104px; } }
.crumbs { display: flex; gap: 8px; font-size: .875rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* Hero stage: phone + floating cards, swaps to vehicle result */
.stage { position: relative; display: grid; place-items: center; }
.stage > * { grid-area: 1 / 1; }
.stage__demo { position: relative; width: 100%; max-width: 520px; height: 600px; transition: opacity .4s ease, transform .4s ease; }
.stage__demo .phone { position: absolute; left: 50%; top: 0; transform: translateX(-38%); width: 270px; }
.stage.has-result .stage__demo { opacity: 0; transform: scale(.97); pointer-events: none; visibility: hidden; }
.stage__result { position: relative; width: 100%; display: grid; align-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity .4s ease, transform .4s ease; }
.stage.has-result .stage__result { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.float { position: absolute; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.float--tracker { left: 0; top: 150px; width: 250px; padding: 16px; }
.float--sms { right: 0; top: 40px; width: 230px; padding: 12px 14px; display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; font-size: .8125rem; line-height: 1.4; }
.float--sms .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--go); color: #fff; display: grid; place-items: center; }
.float--sms .ic svg { width: 18px; height: 18px; }
.float--sms b { display: block; font: 700 .8125rem/1.3 var(--f-head); }
.float--price { right: 0; bottom: 56px; width: 236px; padding: 14px 16px; }
.float--price .tag-demo { white-space: nowrap; }
.float--price .k { font-size: .75rem; color: var(--muted); }
.float--price .v { font: 800 1.75rem/1.1 var(--f-head); letter-spacing: -0.03em; }
.float--price .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.tag-go { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(31,164,99,.14); color: var(--go); font: 700 .75rem/1 var(--f-head); }
.tag-go::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-demo { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(247,207,29,.18); color: var(--accent-text); font: 700 .75rem/1 var(--f-head); }
@media (max-width: 1279px) { .stage__demo { height: 560px; } .hero__copy { max-width: 720px; } }
.stage.has-result .stage__demo { height: 0; }
@media (max-width: 520px) {
  .stage__demo { height: 520px; }
  .stage__demo .phone { width: 236px; transform: translateX(-50%); }
  .float--tracker { top: auto; bottom: 0; left: 0; width: 244px; padding: 14px; }
  .float--sms { top: 24px; right: 0; width: 200px; }
  .float--price { display: none; }
}

/* Mini tracker (used in hero and the tracker section) */
.mini-tr__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.mini-tr__top .plate { flex: none; }
.float--tracker .mini-tr__top { margin-bottom: 10px; }
.mini-tr__car { font: 700 .9375rem/1.3 var(--f-head); margin: 10px 0 12px; }
.mini-tr__car span { display: block; font: 500 .75rem/1.4 var(--f-body); color: var(--muted); }
.mini-tr ol { list-style: none; display: grid; gap: 0; }
.mini-tr li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; height: 34px; position: relative; font-size: .875rem; color: var(--faint); }
.mini-tr li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); justify-self: center; background: var(--surface); position: relative; z-index: 1; transition: all .3s ease; }
.mini-tr li::after { content: ""; position: absolute; left: 10px; top: 24px; width: 2px; height: 20px; background: var(--line-2); }
.mini-tr li:last-child::after { display: none; }
.mini-tr li.done { color: var(--text); }
.mini-tr li.done::before { background: var(--plate); border-color: var(--plate); }
.mini-tr li.done::after { background: var(--plate); }
.mini-tr li.now { color: var(--text); font-weight: 600; }
.mini-tr li.now::before { background: var(--go); border-color: var(--go); box-shadow: 0 0 0 5px rgba(31,164,99,.18); }
.mini-tr li em { font-style: normal; font-size: .6875rem; font-weight: 700; color: var(--go); opacity: 0; transition: opacity .3s; }
.mini-tr li.now em { opacity: 1; }
.mini-tr--lg li { height: 48px; font-size: 1rem; }
.mini-tr--lg li::after { top: 32px; height: 32px; }
.mini-tr--lg li::before { width: 18px; height: 18px; }
.mini-tr--lg li { grid-template-columns: 26px 1fr auto; }
.mini-tr--lg li::after { left: 12px; }
.mini-tr--lg li em { font-size: .8125rem; }

/* ---------- device frames ---------- */
.phone { position: relative; aspect-ratio: 390 / 844; width: 300px; max-width: 100%; border-radius: 46px; padding: 10px; background: #0A0B0D; box-shadow: 0 0 0 1.5px #2A2E35, var(--shadow-lg); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; background: #fff; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 24%; height: 16px; border-radius: 999px; background: #0A0B0D; z-index: 2; }
.browser { border-radius: 14px; overflow: hidden; background: #0A0B0D; box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg); }
.browser__bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #1A1D22; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A3F47; }
.browser__bar span { margin-left: 12px; flex: 1; max-width: 320px; height: 22px; border-radius: 6px; background: #262A30; color: #9CA1A9; font: 500 .75rem/22px var(--f-body); padding: 0 10px; overflow: hidden; white-space: nowrap; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* ---------- generic grids and cards ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .grid { gap: 24px; } .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); height: 100%; }
.card p { color: var(--muted); }
.card__ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); margin-bottom: 8px; flex: none; }
.card__ic svg { width: 22px; height: 22px; }
.card__ic--plate { background: var(--plate); color: var(--plate-ink); border-color: transparent; }
.card__foot { margin-top: auto; padding-top: 12px; }
.card--flat { box-shadow: none; }
.card .num { font: 800 .8125rem/1 var(--f-mono); color: var(--faint); letter-spacing: .02em; }

/* key facts strip */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.facts > div { padding: 24px; display: grid; gap: 6px; align-content: start; border-color: var(--line); border-style: solid; border-width: 0; }
.facts > div:nth-child(odd) { border-right-width: 1px; }
.facts > div:nth-child(-n+2) { border-bottom-width: 1px; }
.facts b { font: 800 1.5rem/1.1 var(--f-head); letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: .9375rem; line-height: 1.4; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .facts > div { border-width: 0 1px 0 0 !important; padding: 28px 32px; }
  .facts > div:last-child { border-right-width: 0 !important; }
}

/* split: copy + visual */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 80px; } .split--flip > :first-child { order: 2; } .split--top { align-items: start; } }
.split__copy { display: grid; gap: 20px; align-content: start; }
.visual { position: relative; display: grid; place-items: center; padding: 40px 0; }
.visual__bg { position: absolute; inset: 0; border-radius: var(--r-xl); background: radial-gradient(120% 90% at 50% 0%, rgba(247,207,29,.22), transparent 60%), var(--surface-2); border: 1px solid var(--line); }
.dark .visual__bg { background: radial-gradient(120% 90% at 50% 0%, rgba(247,207,29,.14), transparent 60%), #121419; }
.visual .phone { position: relative; }
.visual--pair { grid-template-columns: 1fr 1fr; gap: 16px; padding: 40px 24px 72px; }
.visual--pair .phone { width: 100%; max-width: 250px; justify-self: center; }
.visual--pair .phone:nth-child(3) { transform: translateY(32px); }

/* numbered steps */
.steps { list-style: none; display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s); width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--plate); color: var(--plate-ink); font: 800 1.125rem/1 var(--f-head); }
.steps h3 { font-size: 1.1875rem; margin-bottom: 6px; line-height: 1.3; }
.steps p { color: var(--muted); }

/* check list */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.ticks li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(247,207,29,.22); color: var(--accent-text); margin-top: 1px; stroke-width: 3; }
.dark .ticks li svg { background: rgba(247,207,29,.16); }

/* privacy callout */
.callout { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.callout__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--plate); display: grid; place-items: center; }
.callout__ic svg { width: 22px; height: 22px; }
.callout h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.callout p { color: var(--muted); font-size: .9375rem; }

/* ---------- vehicle result card ---------- */
.vcard { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; max-width: 540px; margin-inline: auto; }
.vcard__head { padding: 22px 24px 18px; display: grid; gap: 12px; border-bottom: 1px solid var(--line); }
.vcard__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vcard__name { font: 800 1.5rem/1.15 var(--f-head); letter-spacing: -0.02em; }
.vcard__name span { display: block; font: 500 .9375rem/1.4 var(--f-body); color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.vcard__facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.vcard__facts div { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.vcard__facts div:last-child { border-right: 0; }
.vcard__facts dt { font-size: .75rem; color: var(--muted); }
.vcard__facts dd { margin: 2px 0 0; font: 700 .9375rem/1.3 var(--f-head); overflow-wrap: anywhere; }
@media (max-width: 480px) { .vcard__facts { grid-template-columns: repeat(2, minmax(0,1fr)); } .vcard__facts div:nth-child(2) { border-right: 0; } .vcard__facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.vcard__mot { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.ring { --p: 50; --c: var(--go); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line-2) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface); }
.ring b { position: relative; font: 800 1.0625rem/1 var(--f-head); }
.ring small { position: relative; display: block; font-size: .5625rem; color: var(--muted); text-align: center; margin-top: 2px; }
.ring > span { position: relative; text-align: center; }
.vcard__mot h4 { font: 700 1.0625rem/1.3 var(--f-head); }
.vcard__mot p { font-size: .875rem; color: var(--muted); }
.vcard__hist { padding: 16px 24px 8px; }
.vcard__hist h4 { font: 700 .8125rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.vcard__hist ol { list-style: none; }
.vcard__hist li { display: grid; grid-template-columns: 92px 64px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: .875rem; }
.vcard__hist li:first-child { border-top: 0; }
.vcard__hist .res { display: inline-flex; justify-content: center; height: 22px; align-items: center; border-radius: 6px; font: 700 .6875rem/1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; }
.res--pass { background: rgba(31,164,99,.14); color: var(--go); }
.res--fail { background: rgba(229,72,77,.14); color: var(--warn); }
.vcard__hist .meta { color: var(--muted); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcard__foot { padding: 16px 24px 22px; display: grid; gap: 14px; background: var(--surface-2); border-top: 1px solid var(--line); }
.vcard__foot p { font-size: .875rem; color: var(--muted); }
.vcard__foot .btns { width: 100%; display: grid; grid-auto-flow: row; }
@media (min-width: 480px) { .vcard__foot .btns { grid-auto-flow: column; grid-auto-columns: 1fr; } .vcard__foot .btns .btn { min-width: 0; } }
.vcard__note { font-size: .8125rem; color: var(--muted); }

/* ---------- comparison ---------- */
.compare { display: grid; gap: 20px; }
@media (min-width: 900px) { .compare { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; } }
.stack { display: grid; gap: 0; }
.stack__row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.stack__row:first-child { border-top: 0; }
.stack__row b { font: 700 1rem/1.35 var(--f-head); display: block; }
.stack__row small { color: var(--muted); font-size: .875rem; }
.stack__row .p { font: 700 1rem/1.3 var(--f-head); white-space: nowrap; text-align: right; }
.stack__total { margin-top: auto; padding-top: 20px; border-top: 2px solid var(--text); display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; }
.stack__total b { font: 800 1.125rem/1.3 var(--f-head); }
.stack__total .p { font: 800 1.75rem/1.1 var(--f-head); letter-spacing: -0.02em; white-space: nowrap; }
.card--su { background: var(--ink); color: #F5F3EE; border-color: transparent; --muted: #A7ABB3; --line: rgba(255,255,255,.1); --text: #F5F3EE; }
.card--su .stack__total { border-top-color: var(--plate); }
.card--su .stack__total .p { color: var(--plate); }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 24px; max-width: 980px; margin-inline: auto; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: stretch; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow); height: 100%; }
.plan--featured { border: 2px solid var(--plate); box-shadow: 0 0 0 6px rgba(247,207,29,.12), var(--shadow-lg); }
.plan__badge { position: absolute; top: -14px; left: 32px; height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--plate); color: var(--plate-ink); font: 800 .75rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; }
.plan__name { font: 800 1.5rem/1 var(--f-head); letter-spacing: -0.02em; }
.plan__tag { color: var(--muted); min-height: 3.2em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan__price b { font: 800 3.5rem/1 var(--f-head); letter-spacing: -0.045em; }
.plan__price span { color: var(--muted); font-size: .9375rem; line-height: 1.3; }
.plan .ticks { flex: 1; align-content: start; }
.plan .btns { width: 100%; display: grid; grid-auto-flow: row; gap: 10px; }
.plan .btns .btn { min-width: 0; width: 100%; }
.plan__founding { font-size: .875rem; color: var(--muted); text-align: center; min-height: 1.4em; }

.founding { display: grid; gap: 16px; align-items: center; padding: 24px 28px; border-radius: var(--r-lg); background: var(--ink); color: #F5F3EE; max-width: 980px; margin: 32px auto 0; }
.founding__badge { width: 56px; height: 56px; border-radius: 14px; background: var(--plate); color: var(--plate-ink); display: grid; place-items: center; }
.founding__badge svg { width: 26px; height: 26px; }
.founding h3 { font-size: 1.25rem; margin-bottom: 4px; }
.founding p { color: #B9BDC4; }
@media (min-width: 760px) { .founding { grid-template-columns: 56px 1fr auto; gap: 24px; } }

.terms-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 28px; color: var(--muted); font-size: .9375rem; }
.terms-row span { display: inline-flex; align-items: center; gap: 8px; }
.terms-row svg { width: 18px; height: 18px; color: var(--go); stroke-width: 2.6; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .9375rem; }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font: 700 .8125rem/1.2 var(--f-head); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table td.c, .table th.c { text-align: center; width: 120px; }
.table tbody th { font-weight: 600; }
.table .yes { color: var(--go); }
.table .yes svg, .table .no svg { width: 20px; height: 20px; margin-inline: auto; stroke-width: 2.6; }
.table .no { color: var(--faint); }

/* ---------- demos ---------- */
.demo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; height: 100%; box-shadow: var(--shadow); }
.demo-card__media { position: relative; padding: 28px 28px 0; background: radial-gradient(120% 100% at 50% 0%, rgba(247,207,29,.16), transparent 60%), var(--surface-2); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10.6; overflow: hidden; }
.demo-card__media .browser { box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -20px rgba(0,0,0,.5); }
.demo-card__media .phone { position: absolute; right: 20px; bottom: -150px; width: 150px; padding: 6px; border-radius: 28px; }
.demo-card__media .phone img { border-radius: 22px; }
.demo-card__media .phone::before { top: 12px; height: 14px; }
.demo-card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.demo-card__body p { color: var(--muted); }
.demo-card__body .btns { margin-top: auto; padding-top: 12px; width: 100%; display: grid; grid-auto-flow: row; }
.demo-card__body .btns .btn { min-width: 0; width: 100%; }
@media (min-width: 1280px) { .demo-card__body .btns { grid-auto-flow: column; grid-auto-columns: 1fr; } }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 700 .75rem/1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); width: max-content; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 20px 24px; font: 700 1.0625rem/1.4 var(--f-head); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); max-width: 720px; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 100%; transform: translate(-50%, -50%); width: 1100px; height: 700px; background: radial-gradient(closest-side, rgba(247,207,29,.22), transparent 70%); pointer-events: none; }
.cta .head { margin-bottom: 36px; }
.cta .plate { margin: 0 auto 32px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 40px; } }
.row2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .row2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 700 .9375rem/1.3 var(--f-head); }
.field .opt { font-weight: 500; color: var(--faint); }
.input, .select, .textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2);
  background: var(--bg); color: var(--text); font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 128px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px rgba(27,102,255,.18); }
.input[aria-invalid="true"] { border-color: var(--warn); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .9375rem; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: #111; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .check input { accent-color: var(--plate); } }
:root[data-theme="dark"] .check input { accent-color: var(--plate); }
.check b { color: var(--text); }
.form-msg { padding: 14px 16px; border-radius: 12px; font-size: .9375rem; display: none; }
.form-msg.is-error { display: block; background: rgba(229,72,77,.1); color: var(--warn); border: 1px solid rgba(229,72,77,.3); }
.form-done { display: none; text-align: center; padding: 24px 8px; }
.form-done .done-ic { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: rgba(31,164,99,.14); color: var(--go); display: grid; place-items: center; }
.form-done .done-ic svg { width: 30px; height: 30px; stroke-width: 2.6; }
.form-done h2 { font-size: 1.75rem; margin-bottom: 10px; }
.form-done p { color: var(--muted); max-width: 440px; margin-inline: auto; }
.is-done .form { display: none; }
.is-done .form-done { display: block; }

/* plan picker */
.picker { display: grid; gap: 12px; }
@media (min-width: 640px) { .picker { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.pick { position: relative; display: grid; gap: 4px; padding: 18px 20px 18px 56px; border-radius: 14px; border: 1.5px solid var(--line-2); cursor: pointer; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.pick input { position: absolute; left: 20px; top: 21px; width: 20px; height: 20px; margin: 0; accent-color: #111; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pick input { accent-color: var(--plate); } }
:root[data-theme="dark"] .pick input { accent-color: var(--plate); }
.pick b { font: 800 1.125rem/1.2 var(--f-head); }
.pick span { color: var(--muted); font-size: .875rem; }
.pick:has(input:checked) { border-color: var(--plate); box-shadow: 0 0 0 4px rgba(247,207,29,.2); }
.summary { display: grid; gap: 10px; padding: 20px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: .9375rem; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary .t { border-top: 1px solid var(--line-2); padding-top: 10px; font: 800 1.0625rem/1.3 var(--f-head); }

.aside-list { display: grid; gap: 24px; align-content: start; }
.aside-list .item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.aside-list .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); }
.aside-list .ic svg { width: 20px; height: 20px; }
.aside-list h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.aside-list p { color: var(--muted); font-size: .9375rem; }
.form-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 80px; align-items: start; } }

/* feature groups page */
.fgroup { display: grid; gap: 40px; padding-block: 64px; border-top: 1px solid var(--line); }
.fgroup:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) { .fgroup { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } .fgroup__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.fgroup__head { display: grid; gap: 12px; align-content: start; }
.fgroup__head .h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.fgroup .grid { gap: 16px; }
.fgroup .card { padding: 24px; }

/* how it works timeline */
.timeline { list-style: none; display: grid; gap: 0; max-width: 900px; margin-inline: auto; }
.timeline > li { display: grid; grid-template-columns: 56px 1fr; gap: 24px; position: relative; padding-bottom: 48px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; width: 2px; background: var(--line-2); }
.timeline > li:last-child::after { display: none; }
.timeline .n { width: 56px; height: 56px; border-radius: 16px; background: var(--plate); color: var(--plate-ink); display: grid; place-items: center; font: 800 1.25rem/1 var(--f-head); }
.timeline h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin: 12px 0 10px; }
.timeline p { color: var(--muted); }
.timeline .when { display: inline-flex; height: 26px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font: 700 .75rem/1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 15px; }
.timeline .ticks { margin-top: 16px; }

/* ---------- footer ---------- */
.site-footer { padding-block: 72px 40px; border-top: 1px solid rgba(255,255,255,.08); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 16px; align-content: start; max-width: 360px; }
.foot-brand p { color: var(--muted); font-size: .9375rem; }
.foot-col h2 { font: 700 .8125rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; color: var(--muted); font-size: .9375rem; }
.foot-col a:hover { color: var(--text); }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .8125rem; color: var(--faint); }
.built { display: inline-flex; align-items: center; gap: 8px; font: 600 .875rem/1 var(--f-head); color: var(--text); }
.built svg { width: 16px; height: 16px; color: var(--plate); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float--sms { animation: floaty 6s ease-in-out infinite; }
.float--price { animation: floaty 7s ease-in-out 1s infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 404 */
.nf { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf .plate { margin: 0 auto 32px; }

/* ---------- problem cards ---------- */
.prob__q { font: 800 1.5rem/1.2 var(--f-head); letter-spacing: -0.02em; color: var(--text) !important; }
.prob__fix { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .9375rem; color: var(--muted); }
.prob__fix svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--go); color: #fff; stroke-width: 3; margin-top: 1px; }
.prob__fix b { color: var(--text); }
.prob > p:nth-child(2) { min-height: 3.2em; }

/* ---------- calculator ---------- */
.calc { display: grid; gap: 20px; }
@media (min-width: 1024px) { .calc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; } }
.calc__in { gap: 22px; }
.calc__sub { padding-top: 8px; border-top: 1px solid var(--line); margin-top: 2px; padding-top: 22px; }
.range { display: grid; gap: 10px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.range label { font-size: .9375rem; color: var(--muted); }
.range output { font: 800 1.125rem/1 var(--f-head); min-width: 56px; text-align: right; font-variant-numeric: tabular-nums; }
.range input[type="range"] { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
.range input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--plate) var(--fill), var(--line-2) var(--fill)); }
.range input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line-2); }
.range input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--plate); }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); margin-top: -9px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.range input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.range input[type="range"]:focus-visible { outline: none; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(127,168,255,.6); }
.calc__out { gap: 20px; justify-content: flex-start; }
.calc__rows { display: grid; }
.calc__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.calc__rows div:first-child { border-top: 0; }
.calc__rows span { color: var(--muted); }
.calc__rows b { font: 800 1.375rem/1 var(--f-head); font-variant-numeric: tabular-nums; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; border-top: 2px solid var(--plate); }
.calc__total span { font: 700 1.0625rem/1.2 var(--f-head); }
.calc__total b { font: 800 clamp(2.25rem, 4vw, 3rem)/1 var(--f-head); letter-spacing: -0.03em; color: var(--plate); font-variant-numeric: tabular-nums; }
.calc__x { display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: rgba(247,207,29,.08); border: 1px solid rgba(247,207,29,.25); }
.calc__x div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: #D9DBDF; }
.calc__x div + div { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.calc__out .tiny { margin-top: auto; }
.calc__x b { font: 800 1.5rem/1 var(--f-head); color: var(--plate); font-variant-numeric: tabular-nums; }

/* ---------- phone simulator ---------- */
.sim { display: grid; gap: 20px; }
@media (min-width: 900px) { .sim { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; } }
.sim .card { gap: 16px; }
.sim__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sim__bar { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.sim__bar .plate { width: 100%; }
@media (max-width: 480px) { .sim__bar .plate { --ph: 40px; } .sim__grid button { padding: 0 12px; gap: 10px; font-size: .875rem; } .sim .card { padding: 20px; } }
.sim__bar .btn { --h: 46px; pointer-events: none; }
.sim__car { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.sim__car b { font: 700 1rem/1.3 var(--f-head); }
.sim__car span { font-size: .875rem; color: var(--muted); }
.sim__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.sim__grid button { height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--text); font: 700 .9375rem/1.2 var(--f-head); text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.sim__grid button svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.sim__grid button:hover { border-color: var(--text); }
.sim__grid button[aria-pressed="true"] { border-color: var(--go); background: rgba(31,164,99,.1); }
.sim__grid button[aria-pressed="true"] svg { color: var(--go); }
.sim__release { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; font: 700 1rem/1 var(--f-head); cursor: pointer; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sim__release { background: #F5F3EE; color: var(--ink); } }
:root[data-theme="dark"] .sim__release { background: #F5F3EE; color: var(--ink); }
.sim__release b { font-family: var(--f-mono); }
.sim__cust { position: relative; }
.sim__cust .mini-tr__car { font-size: 1.125rem; }
.sim__empty { display: grid; gap: 14px; justify-items: start; padding: 20px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.sim__empty p { color: var(--muted); font-size: .9375rem; }
.sim__empty b { color: var(--text); }
.sim__sms { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.sim__sms svg { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--go); color: #fff; }
.sim__sms b { display: block; color: var(--text); font-family: var(--f-head); }
.sim [hidden] { display: none !important; }

/* misc */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jump a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font: 600 .875rem/1 var(--f-head); color: var(--text); }
.jump a:hover { border-color: var(--plate); color: var(--plate); }
.addon-p { display: inline-block; margin-left: 8px; font: 700 .875rem/1 var(--f-head); color: var(--accent-text); white-space: nowrap; }
.page-hero .lead a { color: inherit; }
[hidden] { display: none !important; }

/* phones: icon cards go compact, icon beside the title */
@media (max-width: 719px) {
  .grid .card:has(> .card__ic) { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 6px; padding: 22px 20px; align-content: start; }
  .grid .card > .card__ic { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .grid .card > .card__ic + .h3 { align-self: center; }
  .grid .card > .card__ic ~ p { grid-column: 2; }
  .grid .card:has(> .card__ic) > :not(.card__ic):not(p):not(.h3) { grid-column: 1 / -1; }
  .stack__total { grid-template-columns: 1fr; gap: 6px; }
  .split--top { gap: 24px; }
  .calc__x div { font-size: .9375rem; }
}
.demo-more { margin-top: 24px; display: grid; gap: 16px; align-items: center; padding: 24px 28px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); }
.demo-more p { color: var(--muted); }
@media (min-width: 760px) { .demo-more { grid-template-columns: 1fr auto; gap: 24px; } .demo-more .btn { min-width: 220px; } }
.page-hero .head { max-width: 820px; }
.page-hero .head--center .lead { margin-inline: auto; }
.page-hero::before { left: 50%; right: auto; transform: translateX(-50%); top: -420px; width: 1000px; }
.head--center .crumbs { justify-content: center; }
.head--center .jump { justify-content: center; }
.table td.c, .table th.c { width: 150px; white-space: nowrap; }
/* three-item rows: one column until there is room for three */
@media (min-width: 720px) and (max-width: 1023px) {
  .grid--3:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
}
.demo-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .demo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 640px) and (max-width: 1023px) { .demo-card { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); } .demo-card__media { border-bottom: 0; border-right: 1px solid var(--line); aspect-ratio: auto; min-height: 100%; } }
@media (max-width: 1023px) { .form-layout--formfirst > .form-card { order: -1; } }
@media (max-width: 600px) {
  .table--plans { min-width: 0; font-size: .875rem; }
  .table--plans th, .table--plans td { padding: 12px 10px; }
  .table--plans td.c, .table--plans th.c { width: 64px; white-space: normal; }
  .table--plans th:first-child, .table--plans td:first-child { padding-left: 16px; }
}

/* ---------- hero composition v2: card column beside the phone, overlapping only its bezel ---------- */
.stage__demo { --ph-w: 256px; --card-w: 214px; width: 100%; max-width: 520px; height: calc(var(--ph-w) * 844 / 390); margin-inline: auto; }
.stage__demo .phone { position: absolute; left: auto; right: 0; top: 0; transform: none; width: var(--ph-w); }
.float-stack { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: var(--card-w); display: flex; flex-direction: column; gap: 16px; z-index: 3; }
.float-stack .float { position: static; width: 100%; animation: none; inset: auto; }
.float-stack .float--sms { padding: 14px; }
.float-stack .float--tracker { padding: 16px; }
.float-stack .float--price { padding: 14px 16px; }
.float-stack .float--price .row { flex-wrap: wrap; row-gap: 6px; }
@media (min-width: 1280px) {
  /* card column ends 12px inside the phone: over the bezel only */
  .stage__demo { max-width: none; width: calc(var(--ph-w) + var(--card-w) - 12px); margin-left: auto; margin-right: 0; }
}
@media (max-width: 1279px) {
  .stage__demo { width: calc(var(--ph-w) + var(--card-w) + 40px); max-width: 100%; }
}
@media (max-width: 560px) {
  .stage__demo { --ph-w: 236px; width: 100%; height: auto; display: grid; gap: 16px; justify-items: center; }
  .stage__demo .phone { position: relative; right: auto; }
  .float-stack { position: static; transform: none; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .float-stack .float--tracker { display: none; }
  .float-stack .float--price { display: block; }
  .float-stack .float { box-shadow: var(--shadow); }
  .float-stack .float--sms { grid-template-columns: 1fr; gap: 8px; }
}
.stage.has-result .stage__demo { height: 0; overflow: hidden; }
.stage__demo { --ph-w: 244px; --card-w: 226px; }
.float-stack .plate--sm { --ph: 30px; }
.float-stack .mini-tr li { height: 32px; }
.float-stack .mini-tr li::after { top: 22px; height: 20px; }
@media (max-width: 560px) { .stage__demo { --ph-w: 236px; } }
.board { margin-top: 72px; display: grid; gap: 28px; }
.board__head { display: grid; gap: 8px; max-width: 640px; }
.board .browser img { aspect-ratio: 16 / 10; }
@media (min-width: 1024px) { .board { margin-top: 96px; } }

/* ---------- light theme: the page heroes go light too ----------
   The header, the home hero, the page heroes and the 404 and sign-up result pages follow the theme. The mid-page
   showcase bands, the closing call to action and the footer stay dark in both themes on purpose. */
.hero.dark, .page-hero.dark, .nf.dark {
  --bg: #F2EFE7; --bg-alt: #F2EFE7; --surface: #FFFFFF; --surface-2: #F6F4EE; --text: #0E1013; --muted: #5A5F69; --faint: #7A7F88;
  --line: rgba(14,16,19,.10); --line-2: rgba(14,16,19,.16); --shadow: 0 1px 2px rgba(14,16,19,.05), 0 8px 24px -8px rgba(14,16,19,.12);
  --accent-text: #7A5E00; --focus: #1B66FF; --grid-line: rgba(14,16,19,.05); --err-text: #C9353A;
}
.hero.dark .mark, .page-hero.dark .mark, .nf.dark .mark { color: inherit; background: linear-gradient(transparent 58%, rgba(247,207,29,.9) 58%, rgba(247,207,29,.9) 92%, transparent 92%); padding-inline: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:root[data-theme="dark"] :is(.hero, .page-hero, .nf).dark {
  --bg: #0B0C0F; --bg-alt: #0B0C0F; --surface: #15181D; --surface-2: #1C2026; --text: #F5F3EE; --muted: #A7ABB3; --faint: #7D828B;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16); --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -10px rgba(0,0,0,.7);
  --accent-text: var(--plate); --focus: #7FA8FF; --grid-line: rgba(255,255,255,.035); --err-text: #FF8A8A;
}
:root[data-theme="dark"] :is(.hero, .page-hero, .nf).dark .mark { color: var(--plate); background: none; padding-inline: 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) :is(.hero, .page-hero, .nf).dark {
  --bg: #0B0C0F; --bg-alt: #0B0C0F; --surface: #15181D; --surface-2: #1C2026; --text: #F5F3EE; --muted: #A7ABB3; --faint: #7D828B;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16); --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -10px rgba(0,0,0,.7);
  --accent-text: var(--plate); --focus: #7FA8FF; --grid-line: rgba(255,255,255,.035); --err-text: #FF8A8A;
  }
  :root:not([data-theme="light"]) :is(.hero, .page-hero, .nf).dark .mark { color: var(--plate); background: none; padding-inline: 0; }
}
