/*
 * Luca landing page. The tokens are the app's own (apps/web/app/globals.css) so the page and
 * the product read as one thing: zinc neutrals, one blue accent, and the amber evidence
 * highlight that marks "the rows Luca used" in the real app.
 */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-sunken: #f4f4f5;
  --fg: #18181b;
  --fg-muted: #52525b;
  --fg-subtle: #6b6b74;
  --border: #e7e7ea;
  --border-strong: #d4d4d8;
  --primary: #18181b;
  --primary-fg: #ffffff;
  --accent: #0f6b55;
  /* Brand: ledger green. Green for money that balances; amber stays reserved for evidence. */
  --brand: #0f6b55;          /* 6.3:1 on white */
  --brand-hover: #0b5945;
  --brand-fg: #ffffff;
  --brand-soft: #e8f3ef;
  --brand-line: rgb(15 107 85 / 0.26);
  --info: #2f5fb3;
  --ok: #217a4b;
  --ok-bg: #edf7f1;
  --warn: #9a5b0b;
  --warn-bg: #fdf6ea;
  --evidence: #955707;
  --evidence-fill: rgb(245 176 64 / 0.18);
  --evidence-ring: rgb(214 140 30 / 0.55);
  --ring: #0f6b55;
  --logo-tile: #0f6b55;
  --logo-ink: #ffffff;
  --logo-accent: #f5b453;

  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-prose: "Source Serif 4", Georgia, serif;
  --font-code: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Hairline figures: the plate must match whatever the figure sits on. */
  --hairline-plate: var(--bg);
  --hairline-hi: var(--brand);
  --hairline-stroke: 1.15;
}

/* Light is the default. Dark applies only when the visitor picks it (data-theme on <html>). */
:root[data-theme="dark"] {
    --bg: #0b0b0c;
    --surface: #111113;
    --surface-sunken: #1a1a1d;
    --fg: #f4f4f5;
    --fg-muted: #b4b4bb;
    --fg-subtle: #8e8e97;
    --border: #26262a;
    --border-strong: #3a3a40;
    --primary: #f4f4f5;
    --primary-fg: #111113;
    --accent: #3ccf9e;
    --brand: #3ccf9e;
    --brand-hover: #62dbb2;
    --brand-fg: #04130e;
    --brand-soft: #0d211b;
    --brand-line: rgb(60 207 158 / 0.28);
    --info: #93b4f5;
    --ok: #6fcf97;
    --ok-bg: #11241a;
    --warn: #e7b36a;
    --warn-bg: #2a2012;
    --evidence: #e7b36a;
    --evidence-fill: rgb(231 179 106 / 0.16);
    --evidence-ring: rgb(231 179 106 / 0.55);
    --ring: #3ccf9e;
    --logo-tile: #3ccf9e;
    --logo-ink: #04130e;
    --logo-accent: #7a4a06;
  --hairline-plate: var(--bg);
}


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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

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

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

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--primary); color: var(--primary-fg);
  padding: 10px 14px; border-radius: var(--radius-sm); text-decoration: none;
  transition: top 150ms var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---------------------------------------------------------------- type */

.eyebrow {
  font-family: var(--font-code);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 650; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 650; letter-spacing: -0.03em; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }

.muted-h { color: var(--brand); }

.lede, .section-lede {
  font-family: var(--font-prose);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 60ch;
}
.lede { margin-top: 24px; }
.section-lede { margin-top: 16px; }

.section-head { max-width: 760px; margin-bottom: 48px; }

code { font-family: var(--font-code); font-size: 0.9em; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1 var(--font-ui);
  text-decoration: none; cursor: pointer;
  touch-action: manipulation;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: var(--brand-fg); box-shadow: 0 1px 0 rgb(255 255 255 / 0.12) inset, 0 6px 16px -8px var(--brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { border-color: var(--border-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { background: var(--surface-sunken); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }

/* ---------------------------------------------------------------- nav */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-word { font-size: 19px; font-weight: 650; letter-spacing: -0.035em; line-height: 1; }
.nav nav { margin-left: auto; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--fg-muted);
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}
.nav-links a:hover { color: var(--fg); background: var(--surface-sunken); }
.theme-toggle {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; margin-left: auto;
  border: 1px solid var(--border); border-radius: 999px;
  background: transparent; color: var(--fg-muted); cursor: pointer;
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}
.theme-toggle:hover { color: var(--fg); background: var(--surface-sunken); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav .btn { margin-left: 0; }
.nav-inner { gap: 12px; }
@media (min-width: 820px) {
  .nav-inner { gap: 24px; }
  .nav-links { display: flex; }
  .theme-toggle { margin-left: 0; }
}

/* ---------------------------------------------------------------- figures */

.figure { width: 100%; aspect-ratio: 5 / 4; color: var(--fg); }
.figure-sm { max-width: 200px; }

/* ---------------------------------------------------------------- hero */

.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(48rem 30rem at 85% 20%, var(--brand-soft), transparent 70%),
    radial-gradient(30rem 20rem at 0% 0%, color-mix(in srgb, var(--brand-soft) 60%, transparent), transparent 70%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  list-style: none; padding: 0; margin: 32px 0 0;
  font-size: 14px; color: var(--fg-subtle);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero-figure { margin: 0; }
.hero-figure figcaption {
  margin-top: 8px; text-align: center;
  font-family: var(--font-code); font-size: 12px; color: var(--fg-subtle);
}
/* ---------------------------------------------------------------- hero reconciliation
 * Drawn in the same hairline language as the figures: thin strokes, no fills except the
 * amber evidence highlight. main.js steps the container through four states:
 *   (none)  payout lines sit in the order the file has them
 *   .align  each payout line slides beside its POS order
 *   .link   links draw across, matched rows take a hairline tick
 *   .flag   orders with no payout turn amber; the summary appears
 */
.recon {
  --rh: 34px;      /* row height */
  --pitch: 44px;   /* row height + gap */
  --head: 36px;
  --t: 700ms;
  padding: 24px 20px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.03), 0 20px 40px -28px rgb(0 0 0 / 0.18);
}
@media (max-width: 420px) { .recon { --rh: 30px; --pitch: 38px; padding: 16px 12px 14px; } }

.recon-cols { display: grid; grid-template-columns: 1fr 36px 1fr; }
@media (min-width: 480px) { .recon-cols { grid-template-columns: 1fr 56px 1fr; } }

.recon-head {
  display: flex; justify-content: space-between; gap: 8px; height: var(--head);
  font: 500 11px/1 var(--font-code); color: var(--fg-subtle);
  white-space: nowrap; overflow: hidden;
}
.recon-head span:first-child { color: var(--fg); overflow: hidden; text-overflow: ellipsis; }

.recon-rows { position: relative; height: calc(6 * var(--pitch)); }
.r {
  position: absolute; left: 0; right: 0;
  top: calc((var(--pitch) - var(--rh)) / 2);
  height: var(--rh);
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--border-strong); border-radius: 7px;
  background: var(--surface);
  font: 400 11.5px/1 var(--font-code); color: var(--fg-muted);
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden;
  transform: translateY(calc(var(--slot, 0) * var(--pitch)));
  transition: transform var(--t) var(--ease), border-color 300ms var(--ease),
              background-color 300ms var(--ease), color 300ms var(--ease), opacity 300ms var(--ease);
}
.r b { font-weight: 500; color: var(--fg); }
@media (max-width: 420px) { .r { font-size: 10px; padding: 0 7px; } }

/* Payout rows start in file order, then slide beside their match. */
.r-pay { transform: translateY(calc(var(--from) * var(--pitch))); transition-delay: calc(var(--i) * 90ms); }
.recon.align .r-pay { transform: translateY(calc(var(--to) * var(--pitch))); }

/* Matched: hairline tick on the payout row, stronger border on both. */
.recon.link .r:not(.r-miss):not(.r-gap) { border-color: var(--brand-line); }
.r-pay::after {
  content: ""; position: absolute; right: -1px; top: -1px; bottom: -1px; width: 3px;
  border-radius: 0 7px 7px 0; background: var(--brand); opacity: 0; transition: opacity 300ms var(--ease);
}
.recon.link .r-pay::after { opacity: 1; transition-delay: calc(var(--i) * 120ms + 200ms); }
.r-tol::after { background: var(--info) !important; }

/* Missing: the evidence amber the app uses for "rows Luca used". */
.r-gap {
  border-style: dashed; background: transparent; justify-content: center;
  color: var(--evidence); font-size: 10.5px; opacity: 0;
}
.recon.flag .r-gap { opacity: 1; border-color: var(--evidence-ring); }
.recon.flag .r-miss { background: var(--evidence-fill); border-color: var(--evidence-ring); color: var(--evidence); }
.recon.flag .r-miss b { color: var(--evidence); }

.recon-links { width: 100%; margin-top: var(--head); height: calc(6 * var(--pitch)); overflow: visible; }
.recon-links path {
  fill: none; stroke: var(--brand); stroke-width: 1.4; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 450ms var(--ease);
}
.recon.link .recon-links path { stroke-dashoffset: 0; transition-delay: calc(var(--i) * 120ms); }

.recon-sum { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; min-height: 26px; }
.chip {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--border);
  font: 500 11.5px/1 var(--font-code); color: var(--fg-muted);
  opacity: 0; transform: translateY(4px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.chip-ok { color: var(--brand); border-color: var(--brand-line); background: var(--brand-soft); }
.chip-tol { color: var(--info); }
.chip-miss { color: var(--evidence); border-color: var(--evidence-ring); background: var(--evidence-fill); }
.recon.flag .chip { opacity: 1; transform: none; }
.recon.flag .chip:nth-child(2) { transition-delay: 90ms; }
.recon.flag .chip:nth-child(3) { transition-delay: 180ms; }

/* Fade the moving parts out before a loop restarts, and snap back without animating. */
.recon.out .r-pay, .recon.out .r-gap, .recon.out .recon-links, .recon.out .chip { opacity: 0; transition-duration: 350ms; transition-delay: 0ms; }
.recon.snap * { transition: none !important; }

/* ---------------------------------------------------------------- product mock */

.product { padding: 88px 0; border-top: 1px solid var(--border); }

.window {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 24px 48px -24px rgb(0 0 0 / 0.18);
}
.window-bar {
  display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-sunken);
  font-size: 13px; color: var(--fg-muted);
}
.lights { display: inline-flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.window-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag {
  margin-left: auto; flex: none;
  font-family: var(--font-code); font-size: 11px;
  padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--fg-subtle);
}

.window-body { display: grid; }
@media (min-width: 960px) { .window-body { grid-template-columns: 1.15fr 1fr; } }

.sheet { min-width: 0; border-bottom: 1px solid var(--border); }
@media (min-width: 960px) { .sheet { border-bottom: 0; border-right: 1px solid var(--border); } }
.sheet-tabs { display: flex; gap: 2px; padding: 8px 8px 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
.sheet-tab {
  font-family: var(--font-code); font-size: 12px; white-space: nowrap;
  padding: 8px 12px; border-radius: 6px 6px 0 0; color: var(--fg-subtle);
}
.sheet-tab.is-active { color: var(--fg); background: var(--surface-sunken); }
.sheet-scroll { overflow-x: auto; }

.grid { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.grid th, .grid td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.grid th { font-family: var(--font-code); font-weight: 500; font-size: 12px; color: var(--fg-subtle); background: var(--surface-sunken); }
.grid .num { text-align: right; }
.grid .rn { color: var(--fg-subtle); font-family: var(--font-code); font-size: 12px; width: 1%; }
.grid .empty { color: var(--fg-subtle); }
.grid tr.ev td { background: var(--evidence-fill); }
.grid tr.ev td:first-child { box-shadow: inset 3px 0 0 var(--evidence-ring); }
.grid tr.ev.pulse td { animation: pulse 900ms var(--ease) 2; }
@keyframes pulse { 50% { background: color-mix(in srgb, var(--evidence-ring) 45%, transparent); } }
@media (prefers-reduced-motion: reduce) { .grid tr.ev.pulse td { animation: none; } }

.pill { display: inline-block; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; }
.pill.ok { color: var(--ok); background: var(--ok-bg); }
.pill.warn { color: var(--warn); background: var(--warn-bg); }

.chat { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.msg-user {
  align-self: flex-end; max-width: 88%;
  background: var(--surface-sunken); border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: 14px;
}
.msg-luca { font-family: var(--font-prose); font-size: 15.5px; line-height: 1.6; }
.msg-luca strong { font-weight: 600; }
.luca-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.avatar {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px;
  background: var(--brand); color: var(--brand-fg); font-size: 12px;
}
.fig { font-family: var(--font-ui); font-variant-numeric: tabular-nums; font-weight: 600; }

.tiers { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; font-family: var(--font-ui); }
.tiers div { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; min-width: 92px; }
.tiers dt { font-size: 11px; color: var(--fg-subtle); }
.tiers dd { margin: 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tiers .warn { border-color: var(--evidence-ring); background: var(--evidence-fill); }
.tiers .warn dd { color: var(--evidence); }

.sql {
  margin: 0 0 12px; padding: 12px 14px; overflow-x: auto;
  background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: 12.5px/1.6 var(--font-code); color: var(--fg-muted);
}
.sql .k { color: var(--accent); }

.source {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--evidence-ring); background: var(--evidence-fill); color: var(--evidence);
  font: 500 12.5px var(--font-code);
  transition: transform 150ms var(--ease);
}
.source svg { width: 14px; height: 14px; }
.source:hover { transform: translateY(-1px); }

.modes { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 760px) { .modes { grid-template-columns: repeat(3, 1fr); } }
.mode { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.mode .figure { margin: -8px auto 8px; }
.mode p { margin-top: 8px; color: var(--fg-muted); font-size: 15px; }

/* ---------------------------------------------------------------- work */

.work { padding: 88px 0; border-top: 1px solid var(--border); }
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 200ms var(--ease);
}
.card:hover { border-color: var(--border-strong); }
.card .figure { border-bottom: 1px solid var(--border); max-height: 300px; }
.card-copy { padding: 24px; }
.card-copy p { margin-top: 8px; color: var(--fg-muted); font-size: 15px; }

/* ---------------------------------------------------------------- trust */

.trust {
  /* The one deep-brand band on the page, in either theme. */
  --band: #0b3b31;
  --bg: var(--band);
  --fg: #f1f7f4;
  --fg-muted: #b7d2c8;
  --fg-subtle: #8fb5a7;
  --border: rgb(255 255 255 / 0.12);
  --brand: #7fdcb8;
  --hairline-plate: var(--band);
  --hairline-hi: #7fdcb8;
  --hairline-mid: rgb(241 247 244 / 0.62);
  --hairline-edge: rgb(241 247 244 / 0.42);
  --hairline-lo: rgb(241 247 244 / 0.18);
  padding: 96px 0;
  background:
    radial-gradient(40rem 26rem at 10% 90%, rgb(127 220 184 / 0.10), transparent 70%),
    var(--band);
  color: var(--fg);
}
:root[data-theme="dark"] .trust { --band: #0a231d; }
.trust-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.trust-figure { max-width: 420px; margin-top: 32px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.trust-list li { padding: 20px 0; border-top: 1px solid var(--border); }
.trust-list li:last-child { border-bottom: 1px solid var(--border); }
.trust-list h3 { display: flex; align-items: center; gap: 10px; }
.trust-list h3::before {
  content: ""; flex: none; width: 16px; height: 16px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.trust-list p { margin-top: 6px; padding-left: 26px; color: var(--fg-muted); font-size: 15px; }

/* ---------------------------------------------------------------- evidence */

.evidence { padding: 96px 0; }
.evidence-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .evidence-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--fg-muted); font-size: 15px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border: 1.5px solid var(--brand); border-radius: 2px; }
.ticks code { color: var(--fg); background: var(--surface-sunken); padding: 1px 6px; border-radius: 4px; }

/* ---------------------------------------------------------------- india */

.india { padding: 88px 0; border-top: 1px solid var(--border); }
.india-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .india-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .india-grid { grid-template-columns: repeat(4, 1fr); } }
.india-item { background: var(--bg); padding: 24px; }
.india-item p { margin-top: 8px; color: var(--fg-muted); font-size: 15px; }

.stat { display: grid; gap: 8px; align-items: baseline; margin-top: 56px; }
@media (min-width: 760px) { .stat { grid-template-columns: auto 1fr; gap: 28px; } }
.stat-num { color: var(--brand); font-size: clamp(2.4rem, 7vw, 4.5rem); font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.stat-copy { font-family: var(--font-prose); font-size: 1.15rem; color: var(--fg-muted); max-width: 46ch; }
.stat-copy strong { color: var(--fg); font-weight: 600; }

/* ---------------------------------------------------------------- access */

.access { padding: 96px 0 112px; border-top: 1px solid var(--border); }
.access-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 56px 24px; border-radius: 20px;
  background: radial-gradient(36rem 18rem at 50% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 75%), var(--brand-soft);
  border: 1px solid var(--brand-line);
}
.access-inner .section-lede { margin: 16px auto 32px; }

/* ---------------------------------------------------------------- footer */

.foot { border-top: 1px solid var(--border); padding: 28px 0; font-size: 13px; color: var(--fg-subtle); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.foot a { color: var(--fg-muted); }

/* Grid children default to min-width:auto, so the nowrap rows in the hero animation pushed the
   column 3px past a 375px screen. Let them shrink instead. */
.hero-grid > *, .recon-col { min-width: 0; }

/* The narrowest phones (320–360px): tighten the hero rows so "ORD-80446  1,264.00" still fits. */
@media (max-width: 360px) {
  .recon { padding: 14px 10px 12px; }
  .recon-cols { grid-template-columns: 1fr 22px 1fr; }
  .r { font-size: 9.5px; padding: 0 6px; gap: 4px; }
}
