/* GateChecker — marketing site
   One stylesheet, no framework, no build step.
   Design: calm, light and spacious; GateChecker teal on slate neutrals, one
   warm amber accent used sparingly; light first, with a dark theme.

   Contents
     1. Fonts            6. Header + Features dropdown   11. Steps, lists, pricing teaser
     2. Tokens (+ dark)  7. Section head, pills          12. FAQ, CTA band
     3. Base             8. Cards + grids                13. Inner pages: hero, breadcrumbs, toc, feature sections
     4. Layout           9. Home hero + preview          14. Forms, tables
     5. Buttons         10. Screenshot (phone frame)     15. Footer, WhatsApp, 404, reveal
     LEGACY — old components still used by /sw, the Kenya site, legal and
     not-yet-rebuilt pages. Keep until Phase 2 moves those pages over.
     Motion: keyframes + prefers-reduced-motion at the very end. */

/* ============================================================ 1. fonts */
@font-face {
  font-family: 'Inter var';
  src: url('../fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jakarta var';
  src: url('../fonts/jakarta-var.woff2') format('woff2-variations');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* =========================================================== 2. tokens */
:root {
  /* Brand teal scale, built around the app's seed colour #1a8082 (600). */
  --teal-50: #f0f9f9;
  --teal-100: #daf1f0;
  --teal-200: #b5e3e2;
  --teal-300: #84cdcc;
  --teal-400: #4fb2b2;
  --teal-500: #279698;
  --teal-600: #1a8082;
  --teal-700: #13696b;
  --teal-800: #0e5456;
  --teal-900: #0d3b3d;
  --teal-950: #062426;
  /* Slate neutrals. */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  /* The one warm accent. */
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-700: #b45309;
  --amber-800: #92400e;

  /* Semantic colours — components use these, never the scales above. */
  --brand: var(--teal-600);          /* links, highlighted heading words: 4.7:1 on white */
  --brand-strong: var(--teal-700);   /* legacy name */
  --brand-ink: var(--teal-800);      /* text on tinted brand backgrounds */
  --brand-soft: var(--teal-50);      /* tinted backgrounds */
  --brand-tint: var(--teal-100);     /* borders on tinted backgrounds */
  --brand-glow: rgba(26, 128, 130, .18);
  --btn-bg: var(--teal-700);         /* primary button: white text 6.4:1 */
  --btn-bg-hover: var(--teal-800);
  --accent: var(--amber-500);
  --accent-soft: var(--amber-100);
  --accent-ink: var(--amber-800);    /* 6.4:1 on accent-soft */
  --amber: var(--amber-700);         /* legacy name */
  --amber-soft: var(--amber-100);
  --green: #047857;
  --green-soft: #d1fae5;
  --red: #be123c;
  --red-soft: #ffe4e6;

  --bg: #ffffff;
  --bg-soft: #f5f8fa;                /* alternate sections */
  --surface: #ffffff;                /* cards */
  --surface-2: var(--slate-100);     /* chips, table heads, tab tracks */
  --text: var(--slate-900);
  --text-2: var(--slate-700);        /* body copy in cards and sections: 10:1 */
  --muted: var(--slate-600);         /* secondary text: 7.6:1 on white */
  --line: var(--slate-200);
  --line-strong: var(--slate-300);
  --input-line: #8391a7;             /* form borders: 3.2:1 non-text contrast */
  --cta-bg: var(--teal-900);
  --shot-bezel: #0f172a;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 12px 28px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 4px 8px rgba(15, 23, 42, .04), 0 28px 60px -24px rgba(15, 23, 42, .3);

  /* Type scale (16px base). */
  --fs-xs: .8125rem;   /* 13 — pills, labels */
  --fs-sm: .9375rem;   /* 15 — meta, breadcrumbs */
  --fs-base: 1rem;     /* 16 — body */
  --fs-md: 1.0625rem;  /* 17 — section copy */
  --fs-lg: 1.125rem;   /* 18 — card titles */
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-display: clamp(2.25rem, 1.45rem + 3.2vw, 3.75rem);

  /* Spacing scale (4px steps). */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px;
  --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --section-y: clamp(48px, 5vw, 72px);

  --r-xs: 6px;
  --r-sm: 10px;
  --r: 16px;
  --r-md: 20px;
  --r-lg: 24px;
  --r-pill: 999px;
  --maxw: 1480px;
  --gutter: clamp(16px, 4.5vw, 56px);

  --z-header: 50;
  --z-dropdown: 55;
  --z-float: 60;
  --z-skip: 100;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);

  --font-body: 'Inter var', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Jakarta var', 'Inter var', system-ui, sans-serif;
}

/* Dark tokens: follow the system unless the visitor picked a theme with the
   header toggle (theme.js sets data-theme on <html> before first paint).
   The two blocks below must stay identical — change both. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #3fbfbc;
    --brand-strong: #1a8082;
    --brand-ink: #8ddbd8;
    --brand-soft: #0e2a2c;
    --brand-tint: #17403f;
    --brand-glow: rgba(63, 191, 188, .2);
    --btn-bg: #1a8082;
    --btn-bg-hover: #13696b;
    --accent: #fbbf24;
    --accent-soft: #3a2a07;
    --accent-ink: #fcd34d;
    --amber: #fbbf24;
    --amber-soft: #3a2a07;
    --green: #34d399;
    --green-soft: #0b2e24;
    --red: #fb7185;
    --red-soft: #3b1019;

    --bg: #0b1417;
    --bg-soft: #0f1b1f;
    --surface: #111e22;
    --surface-2: #17272c;
    --text: #e8eef0;
    --text-2: #c5d1d5;
    --muted: #9fb1b7;
    --line: #22343a;
    --line-strong: #2f454c;
    --input-line: #5b7178;
    --cta-bg: #0f3234;
    --shot-bezel: #020617;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -14px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  --brand: #3fbfbc;
  --brand-strong: #1a8082;
  --brand-ink: #8ddbd8;
  --brand-soft: #0e2a2c;
  --brand-tint: #17403f;
  --brand-glow: rgba(63, 191, 188, .2);
  --btn-bg: #1a8082;
  --btn-bg-hover: #13696b;
  --accent: #fbbf24;
  --accent-soft: #3a2a07;
  --accent-ink: #fcd34d;
  --amber: #fbbf24;
  --amber-soft: #3a2a07;
  --green: #34d399;
  --green-soft: #0b2e24;
  --red: #fb7185;
  --red-soft: #3b1019;

  --bg: #0b1417;
  --bg-soft: #0f1b1f;
  --surface: #111e22;
  --surface-2: #17272c;
  --text: #e8eef0;
  --text-2: #c5d1d5;
  --muted: #9fb1b7;
  --line: #22343a;
  --line-strong: #2f454c;
  --input-line: #5b7178;
  --cta-bg: #0f3234;
  --shot-bezel: #020617;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -14px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .8);
}
:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ============================================================= 3. base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; color: var(--text); }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-glow); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-skip);
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--btn-bg); color: #fff; font-weight: 600;
}
.skip:focus { top: 12px; color: #fff; }

/* Highlighted phrase in a two-tone heading (site_highlight() / highlight props). */
.hl { color: var(--brand); }

.icon { flex: none; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =========================================================== 4. layout */
/* .wrap: the one centred container (max 1280px with a fluid side gutter). */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
/* Sections: .section (standard), .section-tight (less space), .section-soft (tinted band). */
.section { padding: var(--section-y) 0; }
.section-tight { padding: clamp(32px, 4vw, 48px) 0; }
.section-soft { background: var(--bg-soft); }
/* Two tinted sections in a row read as one band: no double gap between them. */
.section-soft + .section-soft { padding-top: 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
/* Two plain sections in a row share one gap instead of doubling it. */
.section:not(.section-soft):not(.section-alt) + .section:not(.section-soft):not(.section-alt) { padding-top: 0; }
/* A tight band (e.g. the home price teaser) between two plain sections: one gap each side, not two. */
.section:not(.section-soft):not(.section-alt) + .section-tight { padding-top: 0; }
.section-tight + .section:not(.section-soft):not(.section-alt) { padding-top: 0; }
.section-tight + .fsec:not(.section-soft) { padding-top: 8px; }
/* Two columns from 1024px: a heading column and a content column. */
.split-2 { display: grid; gap: var(--sp-8); align-items: start; }
@media (min-width: 1024px) {
  .split-2 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
  .split-2 > .s-head { position: sticky; top: 104px; }
}

/* ========================================================== 5. buttons */
/* .btn + one of: .btn-primary (one per view), .btn-secondary (tinted),
   .btn-ghost (outlined), .btn-text (link-like); sizes .btn-sm / .btn-lg.
   On dark bands: .btn-light and .btn-outline-light. Group with .btn-row. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 12px;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.btn .icon { transition: transform .2s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: var(--fs-sm); }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: var(--fs-md); }
.btn-primary { background: var(--btn-bg); color: #fff; box-shadow: 0 8px 20px -10px var(--brand-glow), var(--shadow-xs); }
.btn-primary:hover { background: var(--btn-bg-hover); color: #fff; box-shadow: 0 14px 28px -12px var(--brand-glow), var(--shadow-sm); }
.btn-secondary { background: var(--brand-soft); color: var(--brand-ink); border-color: var(--brand-tint); }
.btn-secondary:hover { color: var(--brand-ink); border-color: var(--brand); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--text); border-color: var(--brand); box-shadow: var(--shadow-sm); }
.btn-text { background: transparent; color: var(--brand); padding-inline: 8px; }
.btn-text:hover { color: var(--brand-ink); transform: none; text-decoration: underline; }
.btn-wa { background: #0b7a43; color: #fff; }
.btn-wa:hover { background: #086536; color: #fff; }
.btn-light { background: #fff; color: var(--teal-800); }
.btn-light:hover { color: var(--slate-900); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================== 6. header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled, .site-header.is-open { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 12px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(140deg, var(--teal-500), var(--teal-800)); color: #fff;
  box-shadow: 0 6px 14px -6px var(--brand-glow);
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a:not(.btn), .nav-dd-btn {
  position: relative; display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 10px 12px; border-radius: 10px;
  color: var(--text-2); font-weight: 500; font-size: var(--fs-sm); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover, .nav-dd-btn:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"], .nav-dd-btn[data-current] { color: var(--brand); }
.nav > ul > li > a[aria-current="page"]::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand);
}
.nav-cta { margin-left: 8px; }
.header-cta, .menu-btn { display: none; }
.menu-btn {
  width: 44px; height: 44px; margin-left: 4px; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer;
}
.menu-btn .i-close { display: none; }
.lang-switch {
  display: flex; align-items: center; flex: none; gap: 2px; margin-left: 4px;
  padding: 3px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface);
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 6px; border-radius: 9px;
  color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; transition: color .2s, background-color .2s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active { color: #fff; background: var(--btn-bg); }
.theme-btn {
  display: grid; flex: none; width: 44px; height: 44px; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s var(--ease-out);
}
.theme-btn:hover { border-color: var(--brand); color: var(--brand); }
.theme-btn:active { transform: scale(.94); }
.theme-btn .icon { transition: transform .4s var(--ease-spring); }
.theme-btn:hover .icon { transform: rotate(-20deg); }
.theme-btn .i-sun, :root[data-theme="dark"] .theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root:not([data-theme]) .theme-btn { display: none; } /* no JS, no toggle */

/* Features dropdown: [data-dropdown] li > .nav-dd-btn + .nav-dd-menu; .is-open shows it (site.js). */
.nav-dd { position: relative; }
.nav-dd-btn { border: 0; background: transparent; cursor: pointer; font-family: var(--font-body); }
.nav-dd-chev { transition: transform .2s var(--ease-out); }
.nav-dd.is-open .nav-dd-btn { color: var(--text); background: var(--surface-2); }
.nav-dd.is-open .nav-dd-chev { transform: rotate(180deg); }
.nav-dd-menu {
  display: none; position: absolute; z-index: var(--z-dropdown); top: calc(100% + 8px); left: -8px;
  min-width: 272px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.nav-dd.is-open .nav-dd-menu { display: block; animation: fade-down .18s var(--ease-out); }
.nav .nav-dd-menu ul { display: grid; gap: 2px; }
.nav .nav-dd-menu a:not(.btn) { color: var(--text); font-size: var(--fs-sm); }
.nav .nav-dd-menu a:not(.btn):hover { background: var(--brand-soft); color: var(--brand-ink); }
.nav .nav-dd-menu a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.nav-dd-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.nav .nav-dd-all a:not(.btn) { justify-content: space-between; color: var(--brand); font-weight: 600; }

@media (max-width: 960px) {
  .header-cta { display: inline-flex; margin-left: auto; }
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; margin: 0;
    max-height: calc(100dvh - 72px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
  }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn), .nav-dd-btn { padding: 12px; font-size: 1.0625rem; color: var(--text); width: 100%; }
  .nav-dd-btn { justify-content: space-between; }
  .nav > ul > li > a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: var(--brand-soft); }
  /* In the mobile menu the dropdown opens inline, like an accordion. */
  .nav-dd-menu { position: static; min-width: 0; padding: 0 0 4px 12px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .nav-dd.is-open .nav-dd-menu { animation: none; }
  .nav-dd-all { border-top: 0; margin-top: 0; padding-top: 0; }
  .nav-cta { margin: 4px 0 0; }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-header.is-open .menu-btn .i-open { display: none; }
  .site-header.is-open .menu-btn .i-close { display: block; }
}
@media (max-width: 420px) { .header-cta { display: none; } .lang-switch, .header-cta + .theme-btn { margin-left: auto; } }
/* Small phones: brand, language, theme and menu must all fit in 343px. */
@media (max-width: 400px) {
  .header-row { gap: 6px; }
  .brand { gap: 8px; font-size: 1.05rem; }
  .lang-switch a { min-width: 32px; }
  .menu-btn { margin-left: 0; }
}

/* =============================================== 7. section head, pills */
/* <x-section-head>: .s-head > .pill + .s-title + .s-lead; .s-head-center centres it. */
.s-head { max-width: 46rem; margin-bottom: clamp(24px, 3vw, 36px); }
.s-head-center { margin-inline: auto; text-align: center; }
.s-head .pill { margin-bottom: 14px; }
.s-title { font-size: var(--fs-h2); margin: 0 0 12px; }
.s-lead { font-size: var(--fs-lead); color: var(--muted); margin: 0; }
.s-head > .btn, .s-head > .btn-row { margin-top: 24px; }

/* Pills: small rounded labels. .pill + .pill-brand | .pill-neutral | .pill-accent. */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600; line-height: 1.4; letter-spacing: .01em; white-space: nowrap;
  background: var(--surface-2); color: var(--text-2); border: 1px solid transparent;
}
.pill-brand { background: var(--brand-soft); color: var(--brand-ink); border-color: var(--brand-tint); }
.pill-neutral { background: var(--surface-2); color: var(--text-2); }
.pill-accent { background: var(--accent-soft); color: var(--accent-ink); }

/* ==================================================== 8. cards + grids */
/* Grids: .card-grid + .card-grid-3 (1/2/3 columns) or .card-grid-4 (1/2/4). */
.card-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Icon tile: .ico-tile + tone .ico-brand | .ico-accent | .ico-green | .ico-red | .ico-slate. */
.ico-tile { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.ico-accent { background: var(--accent-soft); color: var(--accent-ink); }
.ico-green { background: var(--green-soft); color: var(--green); }
.ico-red { background: var(--red-soft); color: var(--red); }
.ico-slate { background: var(--surface-2); color: var(--text-2); }

/* <x-feature-card>: .fcard; .fcard-link makes the whole card clickable via its title link. */
.fcard {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 24px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
}
.fcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.fcard-title { font-size: var(--fs-lg); margin: 0; }
.fcard-title a { color: var(--text); text-decoration: none; }
.fcard-title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.fcard p { color: var(--muted); margin: 0; }
.fcard-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; color: var(--brand); font-weight: 600; font-size: var(--fs-sm); }
.fcard-more .icon { transition: transform .2s var(--ease-out); }
.fcard-link { cursor: pointer; }
.fcard-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.fcard-link:hover .fcard-more .icon { transform: translateX(3px); }
@supports selector(:has(a)) {
  .fcard-title a:focus-visible { outline: none; }
  .fcard:has(.fcard-title a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
}
/* A quieter card for "see everything" links and audience cards. */
.fcard-plain { background: var(--bg-soft); box-shadow: none; }

/* ================================================ 9. home hero + preview */
.home-hero {
  padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(900px 520px at 88% 0%, var(--brand-soft), transparent 70%), var(--bg);
}
.home-hero-grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) { .home-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.home-hero h1 { font-size: var(--fs-display); margin: 18px 0 18px; max-width: 19ch; }
.home-hero .lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 36rem; margin-bottom: 28px; }
/* Short trust checks under the hero buttons. */
.trust-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; }
.trust-checks li { display: inline-flex; align-items: center; gap: 8px; }
.trust-checks .icon { color: var(--green); }

/* Product preview card with tabs (data-tabs in site.js). */
.preview { padding: 12px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.preview-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: var(--surface-2); }
.preview-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 10px; border: 0; border-radius: 12px; background: transparent;
  color: var(--muted); font-weight: 600; font-size: var(--fs-sm); cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.preview-tab:hover { color: var(--text); }
.preview-tab[aria-selected="true"] { background: var(--surface); color: var(--brand-ink); box-shadow: var(--shadow-sm); }
/* Auto-advance ([data-autoplay]): a line fills under the active tab and
   site.js moves on when it ends, so pausing the animation pauses the
   carousel. Paused while hovered/focused; stopped once someone picks a tab. */
.preview-tab { position: relative; overflow: hidden; }
.preview[data-autoplay]:not(.is-stopped) .preview-tab[aria-selected="true"]::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--brand); transform-origin: left; animation: tab-progress 5s linear forwards;
}
.preview[data-autoplay]:hover .preview-tab::after,
.preview[data-autoplay]:focus-within .preview-tab::after { animation-play-state: paused; }
.preview-panel { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); padding: 20px 12px 12px; touch-action: pan-y; }
.preview-panel[hidden] { display: none; }
.preview-panel .shot { flex: 0 0 auto; width: min(48%, 260px); }
.preview-panel:not([hidden]) { animation: panel-in .45s var(--ease-out); }
.preview-copy { flex: 1; min-width: 0; }
.preview-title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-lg); margin: 0 0 14px; color: var(--text); }
.preview-points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.preview-points li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; }
.preview-points .ico-tile { width: 36px; height: 36px; border-radius: 10px; }
@media (max-width: 479px) {
  .preview-panel { flex-direction: column; align-items: stretch; }
  .preview-panel .shot { width: 210px; align-self: center; }
}

/* ========================================== 10. screenshot (phone frame) */
/* <x-screenshot>: figure.shot > .shot-frame > img (+ figcaption). Width comes from the parent; cap with --shot-w. */
.shot { margin: 0; display: grid; justify-items: center; gap: 12px; }
.shot-frame {
  width: 100%; max-width: var(--shot-w, 300px); padding: 7px;
  border-radius: 34px; background: var(--shot-bezel);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, var(--shadow-lg);
}
.shot-frame img { width: 100%; height: auto; border-radius: 27px; background: var(--surface-2); }
/* Optional phone status bar (statusbar prop): the screen becomes bar + image,
   sized from the screen's own width (container units) so it scales with the frame. */
.shot-screen { container-type: inline-size; overflow: hidden; border-radius: 27px; background: var(--bar-bg); }
.shot-screen img { border-radius: 0; display: block; }
.shot-status {
  display: flex; align-items: center; justify-content: space-between;
  height: 7.5cqw; padding: 0 7cqw 0 8cqw; background: var(--bar-bg); color: var(--bar-fg);
  font-family: var(--font-body); font-weight: 600; font-size: 3.6cqw; line-height: 1; letter-spacing: .01em;
}
.shot-icons { display: inline-flex; align-items: center; gap: 1.6cqw; }
.shot-icons svg { height: 2.9cqw; width: auto; fill: currentColor; }
.shot figcaption { max-width: 34ch; color: var(--muted); font-size: var(--fs-sm); text-align: center; }

/* ============================== 11. steps, lists, info rows, pricing teaser */
/* <x-steps>: ol.how-steps > li.how-step (.how-num + h3 + p); 3 across from 768px. */
.how-steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.how-step { position: relative; padding: 28px 24px 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.how-num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%;
  background: var(--btn-bg); color: #fff; font-family: var(--font-head); font-weight: 800;
}
.how-step h3, .how-step h4 { font-size: var(--fs-lg); margin-bottom: 6px; }
.how-step p { color: var(--muted); margin: 0; }
@media (min-width: 768px) {
  .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how-step:not(:last-child)::after { content: ''; position: absolute; top: 47px; right: -21px; width: 22px; height: 2px; background: var(--line-strong); }
}

/* Check list: ul.ticks > li (icon + text). Flows into columns as space allows. */
.ticks { display: grid; gap: 12px 28px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); }
.ticks .icon { margin-top: 2px; color: var(--brand); }
.ticks-1 { grid-template-columns: minmax(0, 1fr); }

/* Info rows: .info-list > .info (icon tile + h3 + p), no card chrome. */
.info-list { display: grid; gap: 28px; }
@media (min-width: 768px) { .info-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.info { display: flex; gap: 16px; align-items: flex-start; }
.info h3 { font-size: var(--fs-lg); margin: 6px 0 6px; }
.info p { color: var(--muted); margin: 0; }

/* Pricing teaser: .price-teaser > .price-big + copy + .btn. */
.price-teaser {
  display: grid; gap: 20px 40px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg);
  background: var(--brand-soft); border: 1px solid var(--brand-tint);
}
@media (min-width: 860px) { .price-teaser { grid-template-columns: auto minmax(0, 1fr) auto; } }
.price-big { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.25rem, 6vw, 4.75rem); line-height: 1; letter-spacing: -.04em; color: var(--brand-ink); }
.price-big small { display: block; margin-top: 8px; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.price-teaser h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 8px; }
.price-teaser p { color: var(--text-2); margin: 0; }

/* Dark band with chip groups: <x-chip-band>. section.band-dark > .band-dark-grid (.band-dark-head + .chip-groups). */
.band-dark { padding: var(--section-y) 0; background: var(--cta-bg); color: rgba(255, 255, 255, .86); }
.band-dark-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 1024px) { .band-dark-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.band-eyebrow { display: block; margin-bottom: 14px; color: var(--teal-300); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.band-dark h2 { color: #fff; font-size: var(--fs-h2); margin: 0 0 14px; }
.band-dark h2 .hl { color: var(--teal-300); }
.band-dark-head p { font-size: var(--fs-lead); margin: 0; }
.band-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: #fff; font-weight: 600; text-decoration: none; }
.band-link:hover { color: var(--teal-300); }
.band-dark :focus-visible { outline-color: #fff; }
.chip-groups { display: grid; gap: 28px; }
.chip-group h3 { margin: 0 0 12px; color: rgba(255, 255, 255, .6); font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05); color: #fff; font-size: var(--fs-sm); font-weight: 500;
}

/* Audience card: <x-audience-card>. Icon tile, title, a line of text and a tick list. */
.aud-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 32px); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); }
.aud-accent { border-top-color: var(--accent); }
.aud-green { border-top-color: var(--green); }
.aud-card h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); margin: 6px 0 0; }
.aud-card > p { color: var(--muted); margin: 0; }
.aud-card .ticks { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); gap: 12px; }

/* "Also included" box under a card grid. */
.also-box { margin-top: 24px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-md); background: var(--surface); border: 1px dashed var(--line-strong); }
.also-box h3 { margin: 0 0 16px; font-size: var(--fs-lg); }
.also-box .ticks { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* A section head with a button beside the title on wide screens. */
@media (min-width: 1024px) {
  .wrap:not(.split-2) > .s-head:has(> .btn) { max-width: none; display: grid; grid-template-columns: minmax(0, 46rem) 1fr; column-gap: 32px; align-items: end; }
  .wrap:not(.split-2) > .s-head:has(> .btn) > * { grid-column: 1; }
  .wrap:not(.split-2) > .s-head:has(> .btn) > .pill { justify-self: start; }
  .wrap:not(.split-2) > .s-head:has(> .btn) > .btn { grid-column: 2; grid-row: 1 / span 3; align-self: end; justify-self: end; margin: 0; }
}

/* ================================================== 12. FAQ, CTA band */
/* <x-faq>: .faq-list > details.faq-item > summary + .faq-answer. */
.faq-list { display: grid; gap: 12px; max-width: 52rem; }
.faq-item { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 16px 20px; border-radius: var(--r); cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-md); line-height: 1.4; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-chev { color: var(--brand); }
.faq-chev { color: var(--muted); transition: transform .25s var(--ease-out); }
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--brand); }
.faq-answer { padding: 0 20px 20px; color: var(--text-2); }
.faq-item[open] .faq-answer { animation: fade-down .3s var(--ease-out); }
.faq-answer p { margin: 0; }

/* <x-cta-band>: section.section-cta > .wrap > .cta-dark (copy + actions). */
.section-cta { padding: var(--section-y) 0; }
main > .section-cta:last-child { padding-bottom: 0; }
.section:not(.section-soft):not(.section-alt) + .section-cta { padding-top: 0; }
.cta-dark {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 24px 48px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 28px;
  background: var(--cta-bg); color: #fff; border: 1px solid rgba(255, 255, 255, .06);
}
.cta-dark::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(520px 320px at 100% 0%, rgba(79, 178, 178, .32), transparent 70%),
              radial-gradient(420px 260px at 0% 100%, rgba(245, 158, 11, .12), transparent 70%);
}
@media (min-width: 900px) { .cta-dark { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-dark h2 { color: #fff; font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem); margin-bottom: 10px; }
.cta-dark p { color: rgba(255, 255, 255, .85); max-width: 38rem; margin: 0; font-size: var(--fs-md); }
.cta-dark-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-dark :focus-visible { outline-color: #fff; }

/* =============== 13. inner pages: hero, breadcrumbs, toc, feature sections */
/* <x-page-head :breadcrumbs>: section.page-hero (+ .page-hero-split when it has an aside screenshot). */
.page-hero {
  padding: 20px 0 clamp(40px, 5vw, 64px);
  background: radial-gradient(800px 420px at 90% 0%, var(--brand-soft), transparent 70%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .page-hero-split .page-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.page-hero h1 { font-size: var(--fs-h1); margin: 16px 0 16px; max-width: 20ch; }
.page-hero .lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 40rem; margin-bottom: 28px; }
.page-hero-copy > .pill:first-child { margin-top: 0; }
.page-hero-media { display: flex; justify-content: center; }
.page-hero-media .shot { width: min(100%, 260px); }
/* Three phones in a row (About): the middle one larger and in front, bottoms aligned. */
.shot-trio { display: flex; justify-content: center; align-items: flex-end; width: min(100%, 560px); }
.page-hero-media .shot-trio .shot { width: 36%; flex: none; }
.page-hero-media .shot-trio .shot:nth-child(2) { width: 42%; position: relative; z-index: 1; margin-inline: -7%; }

/* <x-breadcrumbs>: nav.breadcrumbs > ol > li (links; the last is the current page). */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0 0 clamp(20px, 3vw, 36px); padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: ''; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.breadcrumbs a { display: inline-block; padding: 10px 0; color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* <x-toc>: nav.toc-box > .toc-title + ol of anchor chips. */
.toc-box { padding: 20px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.toc-title { margin: 0 0 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc-box ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.toc-box a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--text); font-size: var(--fs-sm); font-weight: 500; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.toc-box a:hover { background: var(--brand-soft); color: var(--brand-ink); }

/* Feature-page sections: section.fsec > .wrap.fsec-grid > .fsec-copy (h2, p) + .fsec-aside
   (a .point-card bullet list, or an x-screenshot for .fsec-media). */
.fsec { padding: clamp(40px, 4.5vw, 64px) 0; }
.fsec + .fsec { border-top: 1px solid var(--line); }
.fsec-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .fsec-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.fsec h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); margin-bottom: 14px; }
.fsec-copy > p { color: var(--text-2); font-size: var(--fs-md); max-width: 38rem; }
.fsec-copy .ticks { margin-top: 20px; }
.fsec-aside { display: flex; justify-content: center; }
.fsec-aside .shot { width: min(100%, 270px); }
.point-card { width: 100%; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--line); }
.point-card .ticks { grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .fsec-flip .fsec-aside { order: -1; } }

/* Page-header side cards: <x-glance-card> (a page's key facts) and <x-talk-card> (FAQ: ask us). */
.glance-card, .talk-card {
  width: min(100%, 440px); display: grid; gap: 12px; padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); box-shadow: var(--shadow);
}
.glance-card > .pill { justify-self: start; }
.glance-big { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 2.4rem + 2.4vw, 4.25rem); line-height: 1; letter-spacing: -.04em; color: var(--brand-ink); }
.glance-big small { display: block; margin-top: 8px; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.glance-title, .talk-title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); color: var(--text); }
.glance-list { display: grid; gap: 10px; margin: 4px 0 8px; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); }
.glance-list li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-weight: 500; }
.glance-list .ico-tile { width: 32px; height: 32px; border-radius: 9px; }
.glance-card .btn { justify-self: start; }
.talk-card { border-top-color: #0b7a43; }
.talk-text { margin: 0; color: var(--muted); }
.talk-card .btn-wa { justify-self: stretch; justify-content: center; margin-top: 4px; }
.talk-lines { display: grid; gap: 2px; margin: 4px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--line); }
.talk-lines a, .talk-lines span { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--text); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.talk-lines span { color: var(--muted); font-weight: 400; }
.talk-lines a:hover { color: var(--brand); }
.talk-lines .icon { color: var(--brand); }
@media (min-width: 960px) { .page-hero-media:has(> .glance-card, > .talk-card) { justify-content: flex-end; } }

/* ==================================================== 14. forms, tables */
/* Forms: .form-card > .form-grid > .field (label + input/select/textarea + .hint + .err).
   .field.invalid (or aria-invalid) shows .err; .req marks a required label. */
.form-card { padding: clamp(24px, 4vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: var(--fs-sm); color: var(--text); }
.field .req { color: var(--red); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--input-line); background: var(--surface); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.field .hint { font-size: .875rem; color: var(--muted); }
.field .err { font-size: .875rem; font-weight: 500; color: var(--red); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field [aria-invalid="true"] { border-color: var(--red); }
.field.invalid .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--input-line); cursor: pointer; font-weight: 500; transition: border-color .2s, background-color .2s; }
.choice input { accent-color: var(--brand); width: 18px; height: 18px; }
.choice label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.form-status { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.error-summary { margin-bottom: 20px; padding: 16px 18px; border-radius: var(--r); background: var(--red-soft); border: 1px solid color-mix(in srgb, var(--red) 40%, transparent); color: var(--text); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Tables: .table-wrap > table (scrolls sideways on its own, never the page). */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }

/* ======================================== 15. footer, WhatsApp, 404, reveal */
.site-footer { margin-top: var(--section-y); padding: 56px 0 28px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-about p { color: var(--muted); max-width: 380px; margin: 16px 0; }
.footer-contact { display: grid; gap: 4px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--text); text-decoration: none; font-weight: 500; }
.footer-contact span { color: var(--muted); }
.footer-contact a:hover { color: var(--brand); }
.site-footer h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.site-footer nav a { display: inline-block; padding: 7px 0; color: var(--text-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--brand); }
.footer-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; font-size: var(--fs-sm); color: var(--muted); }
.footer-base::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.footer-base p { margin: 0; }
/* Room under the last line so the floating WhatsApp button (56px, 28px up)
   never sits on top of "Product managed by MVPChecker" at the page end. */
.footer-base { padding-bottom: 68px; }
/* WhatsApp's green on plain links; buttons keep their own text colour. */
.footer-contact .icon-wa, .info-list .icon-wa, .company-lines .icon-wa, li > .icon-wa { color: #0b7a43; }
[data-theme="dark"] .footer-contact .icon-wa, [data-theme="dark"] li > .icon-wa { color: #3ccf7a; }
@media (max-width: 1040px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.wa-float {
  position: fixed; z-index: var(--z-float);
  right: max(16px, env(safe-area-inset-right)); bottom: max(28px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #0b7a43; color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 12px 28px -10px rgba(4, 60, 32, .55);
  transition: transform .2s var(--ease-out), background-color .2s, box-shadow .2s;
}
.wa-float:hover { color: #fff; background: #086536; transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(4, 60, 32, .6); }
.wa-float:active { transform: scale(.97); }
@media (max-width: 640px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.not-found { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.not-found b { display: block; font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; font-weight: 800; letter-spacing: -.06em; }
.not-found .btn-row { justify-content: center; }

/* Scroll reveal: add data-reveal (and style="--i:n" to stagger). */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .btn-row .btn { flex: 1 1 auto; }
}

/* ======================================================================
   LEGACY (sw/ke pages until Phase 2)
   Old components still used by /sw/*, the Kenya site (pages/ke, pages/ke/en),
   the legal pages and the India pages not yet rebuilt (pricing, faq, about,
   contact, 404). New pages use the components above instead. Do not delete
   a rule here until no view uses its class (grep resources/views first).
   ====================================================================== */

.section-head { max-width: 680px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
/* A plain label with a short rule, like a magazine section — not a pill. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  color: var(--brand); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
/* One flat block of colour behind the phone instead of glows and grids. */
.hero-visual::before {
  content: ''; position: absolute; z-index: -1; inset: 8% 4% 6% 14%;
  border-radius: 32px; background: var(--brand-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 5.6rem); }
@media (min-width: 1500px) { .hero .lead { max-width: 680px; font-size: 1.35rem; } }
.hero-copy > * { animation: rise .8s var(--ease-out) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease-out) infinite; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--green); }

/* phone mockup */
.hero-visual { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 560px; animation: rise 1s .15s var(--ease-out) both; }
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 18.6; padding: 12px;
  border-radius: 44px; background: #0b1416;
  box-shadow: 0 0 0 2px #1e2d30, var(--shadow-lg), 0 50px 100px -40px var(--brand-glow);
  transform: rotate(-2deg);
}
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 20px; background: #0b1416; z-index: 3; }
.screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 34px;
  background: #f4f9f9; color: #0b1f22; padding: 52px 16px 16px; font-size: 13px;
}
.app-hello { font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: -.02em; margin: 0; }
.app-sub { color: #557074; font-size: 12px; margin: 0 0 14px; }
.gate-card {
  border: 1.5px solid rgba(26, 128, 130, .45); border-radius: 18px; background: #fff; padding: 14px;
  box-shadow: 0 10px 24px -14px rgba(11, 31, 34, .35);
  animation: gate-card 9s var(--ease-out) infinite;
}
.gate-top { display: flex; align-items: center; gap: 6px; color: #1a8082; font-weight: 700; font-size: 12px; margin-bottom: 10px; }
.gate-top time { margin-left: auto; color: #557074; font-weight: 500; }
.gate-who { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.avatar {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, #f59e0b, #ea580c); color: #fff; font-weight: 700; font-size: 15px;
}
.gate-who strong { display: block; font-size: 15px; }
.gate-who span { color: #557074; font-size: 12px; }
.gate-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
.gate-actions span { display: grid; place-items: center; height: 38px; border-radius: 11px; font-weight: 700; font-size: 13px; }
.gate-decline { border: 1px solid rgba(190, 18, 60, .4); color: #be123c; }
.gate-allow { background: #13696b; color: #fff; animation: gate-press 9s ease infinite; }
.toast {
  position: absolute; left: 16px; right: 16px; bottom: 18px;
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px;
  background: #0b1f22; color: #fff; font-weight: 600; font-size: 13px;
  opacity: 0; transform: translateY(16px);
  animation: toast 9s var(--ease-out) infinite;
}
.toast .icon { color: #34d399; }
.feed { margin-top: 14px; display: grid; gap: 8px; }
.feed-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: #fff; border: 1px solid #e3eded; }
.feed-row i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #0e5456; background: #e6f4f4; }
.feed-row b { font-weight: 600; font-size: 12.5px; }
.feed-row small { margin-left: auto; color: #557074; font-size: 11px; }
.feed-row em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: #d1fae5; color: #047857; }

.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 600; color: var(--text);
  animation: float 6s ease-in-out infinite;
}
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.float-chip .chip-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
/* Parked on the phone's edges, over the feed — never over the greeting,
   the gate card or the toast, which tell the story. */
.chip-1 { top: 50%; left: -6%; }
.chip-1 .chip-ico { background: var(--brand-soft); color: var(--brand); }
.chip-2 { top: 68%; right: -9%; animation-delay: -2s; }
.chip-2 .chip-ico { background: var(--red-soft); color: var(--red); }
.chip-3 { top: 2%; left: 0; animation-delay: -4s; }
.chip-3 .chip-ico { background: var(--green-soft); color: var(--green); }

/* --------------------------------------------------------------- ticker */
.ticker { position: relative; overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker-group { display: flex; gap: 14px; padding-right: 14px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 14px; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.ticker-item::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.ticker-item .icon { display: none; }

/* ---------------------------------------------------------------- stats */
/* A row of figures divided by rules, like a printed report. */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 28px 28px 28px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.6rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--text); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .95rem; display: block; max-width: 240px; }

/* ---------------------------------------------------------------- bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; overflow: hidden;
  padding: 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.tile p { color: var(--muted); margin: 0; }
.tile-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.tile-feature { background: linear-gradient(160deg, var(--surface) 40%, var(--brand-soft)); }
.viz { margin-top: auto; padding-top: 18px; }

.route { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.route li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: .92rem; }
.route li span { margin-left: auto; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }
.route li:last-child span { background: var(--amber-soft); color: var(--amber); }

.sticker { display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 2px dashed var(--line-strong); background: var(--bg); }
.sticker .icon { color: var(--text); }
.sticker b { font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .08em; }

.reg { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.reg li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--bg); }
.reg li b { font-weight: 600; }
.reg li time { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.dir { font-size: .72rem; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.dir-in { background: var(--green-soft); color: var(--green); }
.dir-out { background: var(--amber-soft); color: var(--amber); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 45%, transparent)); transform-origin: bottom; }
.is-in .bars span { animation: grow .9s var(--ease-out) both; animation-delay: calc(var(--b) * 45ms); }

/* ----------------------------------------------------------- principles */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.card p { color: var(--muted); margin: 0; }
.card .tile-ico { margin-bottom: 16px; }
.card-num { font-family: var(--font-head); font-weight: 800; color: var(--brand); font-size: .9rem; letter-spacing: .08em; margin-bottom: 10px; display: block; }

/* Heading in a left column that stays put, content flowing on the right. */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head { position: sticky; top: 104px; margin-bottom: 0; }
.split .faq { max-width: none; }
.numbered { margin: 0; padding: 0; list-style: none; }
.numbered li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.numbered li:last-child { border-bottom: 1px solid var(--line-strong); }
.numbered .card-num { font-size: 1rem; margin: 4px 0 0; }
.numbered h3 { font-size: 1.3rem; }
.numbered p { color: var(--muted); margin: 0; max-width: 620px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-head { position: static; }
  .numbered li { grid-template-columns: 44px 1fr; }
}

/* ---------------------------------------------------------------- steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 23px; left: 6%; right: 6%; height: 2px; background: var(--line); }
.steps::after {
  content: ''; position: absolute; top: 23px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--brand), #2bb5a0); transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease-out) .2s;
}
.steps.is-in::after { transform: scaleX(1); }
.step { position: relative; counter-increment: step; }
.step::before {
  content: counter(step); position: relative; z-index: 1; display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand); color: var(--brand);
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 0 0 6px var(--bg);
}
.section-alt .step::before { box-shadow: 0 0 0 6px var(--surface); }
.step p { color: var(--muted); margin: 0; }

/* -------------------------------------------------------------- pricing */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.price-card {
  position: relative; padding: 32px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.price-card::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: linear-gradient(140deg, var(--brand), transparent 40%, transparent 60%, var(--amber));
  opacity: .5;
}
.price-tag { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.price-tag b { font-family: var(--font-head); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.price-tag .price-zero { font-size: clamp(3.2rem, 6vw, 4.4rem); line-height: 1; color: var(--brand); letter-spacing: -.05em; }
.checks { display: grid; gap: 12px; margin: 22px 0 26px; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.price-note { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------------ faq */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq.center { margin-inline: auto; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { margin-left: auto; color: var(--muted); transition: transform .3s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--brand); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq details[open] .answer { animation: fade-down .35s var(--ease-out); }
.faq .answer p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 18px; }

/* ------------------------------------------------------------ cta band */
/* Solid ink block: words on the left, the two ways to reach us on the right. */
.cta-band {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end;
  padding: clamp(36px, 5vw, 56px); border-radius: 20px;
  background: #0d3b3d; color: #fff;
}
.cta-band h2 { color: #fff; max-width: 680px; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 620px; font-size: 1.08rem; margin: 0; }
.cta-band .btn-row { grid-column: 2; grid-row: 1 / span 2; align-self: center; flex-direction: column; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { grid-column: 1; grid-row: auto; flex-direction: row; }
}

/* ------------------------------------------------------------ page head */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 820px; animation: rise .7s var(--ease-out) both; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; animation: rise .7s .08s var(--ease-out) both; }
.crumb { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--brand); }

/* ------------------------------------------------------- feature groups */
.group + .group { margin-top: clamp(56px, 8vw, 96px); }
.group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.group-head .tile-ico { margin: 0; }
.group-head h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease-out); }
.mini:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); transform: translateY(-2px); }
.mini h3 { font-size: 1.05rem; }
.mini p { color: var(--muted); margin: 0; font-size: .97rem; }
.callout { padding: 28px; border-radius: var(--r-lg); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.callout p { color: var(--text); }
.bullets { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.bullets li { display: flex; gap: 10px; }
.bullets .icon { color: var(--brand); margin-top: 3px; }

/* ---------------------------------------------------------------- table */
.yes { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green); }
.planned { font-weight: 600; color: var(--amber); }

/* -------------------------------------------------------------- roadmap */
.timeline { position: relative; display: grid; gap: 18px; max-width: 860px; margin: 0; padding: 0 0 0 34px; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.timeline li::before { content: ''; position: absolute; left: -31px; top: 30px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-strong); }
.timeline li.live::before { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.timeline li.next::before { border-color: var(--amber); }
.timeline p { color: var(--muted); margin: 0; }
.timeline p + p { margin-top: .8em; }
.badge { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--surface-2); color: var(--muted); }
.badge-live { background: var(--green-soft); color: var(--green); }
.badge-next { background: var(--amber-soft); color: var(--amber); }

/* -------------------------------------------------------------- contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: clamp(40px, 6vw, 64px); }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.contact-card .tile-ico { margin-bottom: 8px; }
.contact-card b { font-size: 1.1rem; }
.contact-card p { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.contact-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: start; }
.aside-stack { display: grid; gap: 16px; }

/* ---------------------------------------------------------------- prose */
/* Reading width for the text, lined up with the page heading. On wide
   screens the contents box moves to a sticky right column, so the page
   uses its full width without stretching the lines. */
.prose > * { max-width: 820px; }
@media (min-width: 1200px) {
  .wrap.prose { display: grid; grid-template-columns: minmax(0, 820px) minmax(260px, 1fr); column-gap: clamp(40px, 6vw, 120px); }
  .prose > * { grid-column: 1; }
  .wrap.prose .toc { grid-column: 2; grid-row: 1 / span 300; align-self: start; position: sticky; top: 100px; margin: 0; max-width: 460px; }
  .wrap.prose .toc ol { columns: 1; }
}
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: .2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 85%, var(--muted)); }
.prose li { margin-bottom: .45em; }
.prose table { margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: block; overflow-x: auto; }
.prose .legal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.prose .toc { margin: 24px 0; padding: 22px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.prose .toc h2 { margin: 0 0 10px; font-size: 1.05rem; }
.prose .toc ol { margin: 0; columns: 2; column-gap: 32px; }
.prose .note { margin: 1.4em 0; padding: 18px 20px; border-radius: var(--r); background: var(--brand-soft); border-left: 4px solid var(--brand); }
.prose .note p:last-child { margin: 0; }


/* --------------------------------------------------- legacy responsive */
/* ----------------------------------------------------------- responsive */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .btn-row, .trust { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .tile-feature { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .cards-3, .grid-3, .contact-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps::before, .steps::after { display: none; }
  .price-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bento, .cards-3, .grid-3, .grid-2, .contact-cards, .steps, .form-grid { grid-template-columns: 1fr; }
  .stat { padding: 20px 16px 20px 0; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .phone { width: 264px; }
  .hero-visual { min-height: 500px; }
  .chip-1 { left: 0; top: 60%; }
  .chip-2 { display: none; }
  .chip-3 { display: none; }
  .prose .toc ol { columns: 1; }
  .cta-band { border-radius: 22px; }
}

/* ==================================================== keyframes + motion */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes grow { from { transform: scaleY(.08); } to { transform: scaleY(1); } }
/* the gate card arrives, the resident taps Allow in, the toast confirms */
@keyframes gate-card {
  0% { opacity: 0; transform: translateY(-14px) scale(.97); }
  8%, 74% { opacity: 1; transform: none; }
  82%, 100% { opacity: 0; transform: translateY(-8px) scale(.98); }
}
@keyframes gate-press {
  0%, 38% { transform: none; box-shadow: 0 0 0 0 rgba(19, 105, 107, .5); }
  42% { transform: scale(.94); box-shadow: 0 0 0 8px rgba(19, 105, 107, .18); }
  46%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(19, 105, 107, 0); }
}
@keyframes toast {
  0%, 45% { opacity: 0; transform: translateY(16px); }
  50%, 76% { opacity: 1; transform: none; }
  82%, 100% { opacity: 0; transform: translateY(10px); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes panel-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes tab-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Reduced motion: everything shows its final state at once. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .gate-card { opacity: 1; transform: none; }
  .toast { opacity: 1; transform: none; }
  .steps::after { transform: scaleX(1); }
  .ticker-track { width: auto; justify-content: center; }
  .ticker-group { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding: 0 var(--gutter); }
  .ticker-group[aria-hidden="true"] { display: none; }
}

/* ---- pricing/faq/about/contact (agent B) ---- */
/* Pricing: .price-grid > .plan-card (the ₹0 plan) + .price-side (when pricing starts). */
.price-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) { .price-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.plan-card {
  padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand);
  box-shadow: var(--shadow-lg);
}
.plan-top { display: grid; justify-items: start; gap: 12px; }
.plan-name { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); margin: 0; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 20px 0 10px; }
.plan-amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.5rem, 2.6rem + 3.6vw, 5rem); line-height: 1; letter-spacing: -.04em; color: var(--brand-ink); }
.plan-per { color: var(--text-2); font-weight: 600; }
.plan-sub { color: var(--text-2); max-width: 36rem; }
.plan-list { display: grid; gap: 14px; margin: 24px 0 30px; padding: 0; list-style: none; }
.plan-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); }
.plan-tick { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.price-side { display: grid; gap: 16px; }
.price-note-card { padding: clamp(24px, 3vw, 32px); border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--line); }
.price-note-card h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); margin: 16px 0 18px; }
.price-side-note { margin: 0; padding: 0 4px; color: var(--muted); font-size: var(--fs-sm); }

/* FAQ page: one section per group (.faq-sec), heading on top and the questions in two columns from 900px. */
.faq-toc { padding-bottom: 0; }
.faq-sec { padding: clamp(36px, 4vw, 56px) 0; }
.faq-sec .s-head { margin-bottom: 24px; }
.faq-sec .s-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); margin: 0; }
.faq-wrap .faq-list { max-width: none; align-items: start; }
@media (min-width: 900px) { .faq-wrap .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; } }

/* About: two copy columns, a promise list, the company block. */
.about-grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 960px) { .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-copy .s-head { margin-bottom: 20px; }
.about-copy > p { color: var(--text-2); font-size: var(--fs-md); max-width: 38rem; }
.about-copy > p:last-child { margin-bottom: 0; }
.promise-list { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.promise-list li { display: flex; align-items: flex-start; gap: 16px; }
.promise-list h3 { font-size: var(--fs-lg); margin: 8px 0 6px; }
.promise-list p { color: var(--muted); margin: 0; }
.company-block {
  display: grid; gap: 28px 48px; align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}
@media (min-width: 860px) { .company-block { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.company-block h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 14px 0 10px; }
.company-block p { color: var(--text-2); margin: 0; }
.company-block p + p { margin-top: 10px; }
.company-addr { display: flex; align-items: center; gap: 8px; }
.company-addr .icon, .company-lines .icon, .lead-lines .icon, .lead-addr .icon { color: var(--brand); }
.company-lines, .lead-lines { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.company-lines li, .lead-lines li { display: flex; align-items: center; gap: 10px; min-width: 0; overflow-wrap: anywhere; color: var(--text-2); }

/* Contact: cards (.ccard), the lead form layout, success panel and aside. */
.ccard { gap: 6px; }
.ccard .ico-tile { margin-bottom: 8px; }
.ccard .ccard-value { color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-lg); overflow-wrap: anywhere; }
.ccard .btn { margin-top: auto; align-self: flex-start; }
.ccard p + .btn { margin-top: 12px; }
.lead-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .lead-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); gap: 32px; } }
.lead-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 10px; }
.lead-card [hidden] { display: none !important; }
.req-mark { color: var(--red); font-weight: 700; }
.field .opt { font-weight: 400; color: var(--muted); }
.field legend { padding: 0; margin-bottom: 6px; }
.field.invalid .choice label { border-color: var(--red); }
.lead-note { padding: 14px 16px; border-radius: var(--r-sm); background: var(--brand-soft); border: 1px solid var(--brand-tint); color: var(--text); font-size: var(--fs-sm); }
.lead-form { margin-top: 20px; }
.lead-form .form-status { flex: 1 1 260px; }
.error-summary:focus, .lead-done:focus { outline: none; }
.lead-error-msg { margin: 0; font-weight: 600; }
.lead-error-list { margin: 8px 0 0; padding-left: 1.2em; }
.lead-error-list a { color: var(--text); }
.error-summary .btn-row { margin-top: 14px; }
.lead-done { display: grid; justify-items: start; gap: 4px; padding: 8px 0 4px; }
.lead-done-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 10px; }
.lead-done h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin: 0 0 4px; }
.lead-done-msg { font-size: var(--fs-md); color: var(--text); margin: 0 0 4px; }
.lead-done .btn { margin-top: 12px; }
.lead-aside { display: grid; gap: 16px; }
.lead-aside-card { padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.lead-aside-card h3 { font-size: var(--fs-lg); margin-bottom: 12px; }
.lead-aside-card p { color: var(--text-2); margin: 0 0 10px; font-size: var(--fs-sm); }
.lead-aside-card .lead-lines { margin-top: 16px; font-size: var(--fs-sm); }
.lead-addr { display: flex; align-items: center; gap: 8px; }
@media (min-width: 1024px) { .lead-aside { position: sticky; top: 96px; } }
.next-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: next; }
.next-steps li { position: relative; padding-left: 48px; counter-increment: next; font-size: var(--fs-sm); color: var(--text-2); }
.next-steps li::before {
  content: counter(next, decimal-leading-zero); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px;
}
.next-steps strong { display: block; margin-bottom: 2px; color: var(--text); font-size: var(--fs-base); }
/* Fields in a row share the row height; keep each control its own height. */
.lead-form .field { align-content: start; }
.lead-form .choice label { min-height: 48px; }

/* ---- hover motion (site-wide) ----
   One consistent lift for every card, a nudge for icons and links. Only for
   real pointers (a tap has no hover) and never under reduced motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fcard, .point-card, .how-step, .plan-card, .price-note-card, .lead-aside-card, .company-block, .faq-item, .preview {
    transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s var(--ease-out);
  }
  .fcard:hover, .point-card:hover, .how-step:hover, .plan-card:hover, .price-note-card:hover, .lead-aside-card:hover, .company-block:hover {
    transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  }
  .faq-item:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow-sm); }
  .aud-card { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
  .aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .aud-card .ico-tile { transition: transform .35s var(--ease-spring); }
  .aud-card:hover .ico-tile { transform: scale(1.12) rotate(-6deg); }
  .aud-card .ticks li { transition: transform .25s var(--ease-out); }
  .aud-card:hover .ticks li { transform: translateX(4px); }
  .aud-card:hover .ticks li:nth-child(2) { transition-delay: .04s; }
  .aud-card:hover .ticks li:nth-child(3) { transition-delay: .08s; }
  .aud-card:hover .ticks li:nth-child(4) { transition-delay: .12s; }
  .app-strip-icon { transition: transform .35s var(--ease-spring); }
  .app-strip:hover .app-strip-icon { transform: scale(1.08) rotate(-8deg); }
  .preview:hover { box-shadow: var(--shadow-lg), 0 0 0 4px var(--brand-soft); }

  .ico-tile, .how-num { transition: transform .35s var(--ease-spring); }
  .fcard:hover .ico-tile, .point-card:hover .ico-tile, .info:hover .ico-tile,
  .preview-points li:hover .ico-tile, .how-step:hover .how-num { transform: scale(1.1) rotate(-6deg); }

  .shot-frame { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
  .shot:hover .shot-frame { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }

  /* footer-contact links stay inline-flex (icon beside text); only add the motion. */
  .site-footer nav a { display: inline-block; }
  .site-footer nav a, .footer-contact a, .breadcrumbs a { transition: color .2s, transform .2s var(--ease-out); }
  .site-footer nav a:hover, .footer-contact a:hover { transform: translateX(3px); }
  .toc-box a { transition: background-color .2s, color .2s, transform .2s var(--ease-out); }
  .toc-box a:hover { transform: translateY(-2px); }
  .pill { transition: transform .2s var(--ease-out); }
  .fcard:hover .pill { transform: translateY(-1px); }
}

/* <x-store-buttons>: Google Play and App Store links, styled like the stores' own badges. */
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 196px; min-height: 56px; padding: 8px 20px 8px 14px;
  border-radius: 12px; background: #000; color: #fff; border: 1px solid #a6a6a6;
  text-decoration: none; cursor: pointer; box-shadow: 0 6px 16px rgba(2, 12, 20, .18);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s;
}
.store-btn:hover { background: #111; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(2, 12, 20, .26); }
.store-btn:active { transform: translateY(0); }
.store-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.store-logo { flex: none; }
.store-btn span { display: grid; line-height: 1.1; text-align: left; }
.store-btn small { font-size: 11.5px; letter-spacing: .01em; color: #e6e6e6; }
.store-btn strong { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.footer-stores { margin-top: 20px; }
.footer-stores .store-btn { min-height: 48px; padding: 6px 16px 6px 12px; }
.footer-stores .store-btn strong { font-size: 16px; }
/* Home, under "who it's for": the app is out — a large strip with both store badges. */
.app-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px); border-radius: var(--r-md);
  background: linear-gradient(120deg, var(--brand-soft), var(--surface) 70%); border: 1px solid var(--brand-tint);
}
.app-strip-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--brand); color: #fff; }
.app-strip-text { flex: 1 1 300px; min-width: 0; }
.app-strip-text p { margin: 0; color: var(--text-2); font-size: var(--fs-base); }
.app-strip-text .app-strip-title { margin: 0 0 6px; color: var(--text); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
