/* Cairn — site styles
   Layout: a calm, document-grade fintech site. Ink + deep evergreen for trust, trail-blaze gold as the single bold mark.
   Type: Plus Jakarta Sans (display), Inter (text), JetBrains Mono (data, citations). */

:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-2: #eef1ee;
  --ink: #0e1b26;
  --ink-2: #33424d;
  --muted: #5f6e77;
  --line: #e1e6e2;
  --line-2: #cfd7d2;
  --brand: #1e6b57;
  --brand-ink: #ffffff;
  --brand-soft: #e4efe9;
  --brand-deep: #134a3c;
  --gold: #e3a62f;
  --gold-ink: #1d160a;
  --gold-soft: #fbf0d9;
  --danger: #b4372b;
  --ok: #2f7a4a;
  --night: #0e1b26;
  --night-2: #172a38;
  --on-night: #eef2ef;
  --on-night-2: #b6c3c2;
  --shadow-sm: 0 1px 2px rgba(14, 27, 38, .06);
  --shadow: 0 1px 2px rgba(14, 27, 38, .05), 0 12px 32px -12px rgba(14, 27, 38, .16);
  --radius: 14px;
  --radius-sm: 9px;
  --display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --text: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --max: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c161e; --surface: #12212c; --surface-2: #172a37; --ink: #edf2ef; --ink-2: #c6d1ce; --muted: #8fa0a4;
    --line: #22343f; --line-2: #2d4350; --brand: #5cb397; --brand-ink: #0b1a14; --brand-soft: #173329; --brand-deep: #8fd0b9;
    --gold: #f0b948; --gold-ink: #1d160a; --gold-soft: #33280f; --danger: #e46a5c; --ok: #6cc28a;
    --night: #07111a; --night-2: #0f1f2b; --on-night: #edf2ef; --on-night-2: #a9b8b8;
    --shadow-sm: none; --shadow: 0 0 0 1px var(--line); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c161e; --surface: #12212c; --surface-2: #172a37; --ink: #edf2ef; --ink-2: #c6d1ce; --muted: #8fa0a4;
  --line: #22343f; --line-2: #2d4350; --brand: #5cb397; --brand-ink: #0b1a14; --brand-soft: #173329; --brand-deep: #8fd0b9;
  --gold: #f0b948; --gold-ink: #1d160a; --gold-soft: #33280f; --danger: #e46a5c; --ok: #6cc28a;
  --night: #07111a; --night-2: #0f1f2b; --on-night: #edf2ef; --on-night-2: #a9b8b8;
  --shadow-sm: none; --shadow: 0 0 0 1px var(--line); color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); letter-spacing: -0.022em; line-height: 1.12; margin: 0; text-wrap: balance; font-weight: 750; }
h1 { font-size: clamp(2.35rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.012em; }
h4 { font-size: 1.05rem; letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 12px; }
.sr { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 820px; }
section, .section { padding-block: clamp(64px, 8vw, 112px); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.night { background: var(--night); color: var(--on-night); }
.section.night h2, .section.night h3, .section.night h4 { color: var(--on-night); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 8px; height: 18px; border-radius: 2px; background: var(--gold); }
.night .eyebrow { color: var(--gold); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.night .lede { color: var(--on-night-2); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.cite { font: .74rem/1.45 var(--mono); color: var(--muted); }
.night .cite { color: var(--on-night-2); }
.center { text-align: center; }
.stack { display: grid; gap: 16px; align-content: start; }
.stack-lg { display: grid; gap: 28px; align-content: start; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.center { margin-inline: auto; justify-items: center; text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; min-height: 46px; border-radius: 10px; font: 600 .97rem/1.2 var(--text); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-deep); color: var(--brand-ink); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { filter: brightness(1.06); color: var(--gold-ink); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.night .btn-line { background: transparent; color: var(--on-night); border-color: rgba(238, 242, 239, .35); }
.night .btn-line:hover { border-color: var(--on-night); color: var(--on-night); }
.btn-ghost { color: var(--brand); padding-inline: 4px; }
.btn-sm { padding: 8px 14px; min-height: 38px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- top bar & header ---------- */
.notice { background: var(--night); color: var(--on-night-2); font-size: .82rem; }
.notice .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.notice a { color: var(--on-night); }
.notice b { color: var(--gold); font-weight: 600; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.3rem/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; flex: none; }
.logo svg { width: 30px; height: 30px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; flex: 1; }
.menu > li { position: relative; }
.menu a, .menu button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 8px; font: 500 .95rem/1 var(--text); color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; }
.menu a:hover, .menu button:hover, .menu a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.menu a[aria-current="page"] { font-weight: 600; }
.menu button::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: none; list-style: none; margin: 0; }
.menu li.open .dropdown, .menu li:focus-within .dropdown { display: block; }
@media (hover: hover) { .menu li.has-drop:hover .dropdown { display: block; } .menu li.has-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } }
.dropdown a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 9px; }
.dropdown a b { color: var(--ink); font-weight: 600; font-size: .95rem; }
.dropdown a span { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.nav-cta { display: flex; gap: 10px; align-items: center; flex: none; }
.quick-exit { display: inline-flex; align-items: center; gap: 8px; background: var(--danger); color: #fff !important; padding: 9px 14px; border-radius: 999px; font: 600 .86rem/1 var(--text); text-decoration: none; border: 0; cursor: pointer; }
.quick-exit kbd { font: 500 .68rem var(--mono); opacity: .85; }
.quick-exit:hover { filter: brightness(1.08); }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
@media (max-width: 1020px) {
  .menu, .nav-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .nav { justify-content: space-between; gap: 12px; }
  .nav-open .menu { display: flex; flex-direction: column; align-items: stretch; position: fixed; inset: calc(70px + env(safe-area-inset-top, 0px)) 0 0; background: var(--bg); padding: 16px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; gap: 2px; z-index: 49; }
  .nav-open .menu a, .nav-open .menu button { font-size: 1.08rem; padding: 14px 12px; width: 100%; justify-content: space-between; }
  .nav-open .dropdown { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; min-width: 0; }
  .nav-open .menu .mobile-only { display: block; }
}
.mobile-only { display: none; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin-top: 18px; }
.hero h1 .mark { background: linear-gradient(transparent 64%, var(--gold) 64%, var(--gold) 90%, transparent 90%); padding-inline: .04em; }
.hero .lede { margin-top: 22px; }
.hero .row { margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.page-hero { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero .lede { margin-top: 18px; }
.page-hero h1 { margin-top: 16px; font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 22ch; }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* phones */
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; max-width: 520px; margin-left: auto; }
.phone { border-radius: 34px; overflow: hidden; border: 9px solid var(--ink); background: var(--ink); box-shadow: 0 30px 60px -28px rgba(14, 27, 38, .55); aspect-ratio: 390 / 844; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.lower { margin-top: 60px; }
.phones figcaption { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font: .76rem/1.45 var(--mono); color: var(--muted); }
@media (max-width: 900px) { .phones { margin-inline: auto; } }
:root[data-theme="dark"] .phone { border-color: #2a3c48; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone { border-color: #2a3c48; } }

/* screenshot frame */
.frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); align-items: center; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.frame-bar span { margin-left: 8px; font: .72rem var(--mono); color: var(--muted); }

/* ---------- audience split ---------- */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.split4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split2 > *, .split3 > *, .split4 > * { min-width: 0; }
@media (max-width: 980px) { .split4 { grid-template-columns: 1fr 1fr; } .split3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .split2, .split4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 12px; align-content: start; }
.card.raised { box-shadow: var(--shadow); }
.card.soft { background: var(--brand-soft); border-color: transparent; }
.card.gold { background: var(--gold-soft); border-color: transparent; }
.card.dark { background: var(--night-2); border-color: rgba(238, 242, 239, .1); color: var(--on-night); }
.card.dark h3, .card.dark h4 { color: var(--on-night); }
.card.dark p { color: var(--on-night-2); }
.card p { color: var(--ink-2); }
.card .tag { font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.card.link { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card.link:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.audience { padding: clamp(26px, 3vw, 38px); gap: 16px; }
.audience h3 { font-size: 1.5rem; }
.audience ul { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.audience li { padding-left: 24px; position: relative; color: var(--ink-2); }
.audience li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 4px; border-radius: 2px; background: var(--brand); }
.icon { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }
.card.dark .icon { background: rgba(240, 185, 72, .14); color: var(--gold); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(238, 242, 239, .18); }
.stats > div { padding: 28px 28px 8px 0; min-width: 0; }
.stats > div + div { padding-left: 28px; border-left: 1px solid rgba(238, 242, 239, .18); }
.stat-n { font: 800 clamp(2.6rem, 5vw, 4rem)/1 var(--display); letter-spacing: -0.03em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stats p { margin-top: 12px; color: var(--on-night); max-width: 34ch; }
.stats .cite { margin-top: 10px; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr; } .stats > div, .stats > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(238, 242, 239, .18); } }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 7vw, 96px); }
.feature.flip > :first-child { order: 2; }
.feature > * { min-width: 0; }
.feature .stack h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231e6b57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

/* ---------- steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps > li { list-style: none; padding: 22px 22px 22px 0; display: grid; gap: 8px; align-content: start; counter-increment: s; min-width: 0; }
.steps > li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps > li::before { content: counter(s, decimal-leading-zero); font: 600 .8rem var(--mono); color: var(--brand); }
.steps p { color: var(--ink-2); font-size: .96rem; }
.steps { padding: 0; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps > li:nth-child(3) { padding-left: 0; border-left: 0; } .steps > li { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps > li, .steps > li + li { padding-left: 0; border-left: 0; } }
.night .steps { border-color: var(--on-night); }
.night .steps > li + li { border-color: rgba(238, 242, 239, .15); }
.night .steps p { color: var(--on-night-2); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--surface-2); font: 600 .78rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; }
td.yes { color: var(--ok); font-weight: 600; }
td.no { color: var(--muted); }
.table-wrap.compare td:not(:first-child), .table-wrap.compare th:not(:first-child) { text-align: center; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; align-content: start; position: relative; min-width: 0; }
.tier.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.tier .badge { position: absolute; top: -13px; left: 28px; }
.price { font: 800 2.6rem/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { font: 500 .95rem var(--text); color: var(--muted); letter-spacing: 0; }
.tier ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.tier li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: .95rem; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; } }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 600 .74rem/1 var(--text); background: var(--gold); color: var(--gold-ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font: 600 .76rem/1.3 var(--text); background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.pill.ok { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.pill.warn { background: var(--gold-soft); color: #8a5a00; border-color: transparent; }
:root[data-theme="dark"] .pill.warn { color: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.warn { color: var(--gold); } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); }
.faq > * { min-width: 0; }
details.qa { border-bottom: 1px solid var(--line); }
details.qa:first-of-type { border-top: 1px solid var(--line); }
details.qa summary { cursor: pointer; list-style: none; padding: 20px 0; font: 600 1.05rem/1.4 var(--display); display: flex; justify-content: space-between; gap: 16px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font: 400 1.4rem/1 var(--mono); color: var(--brand); flex: none; }
details.qa[open] summary::after { content: "−"; }
details.qa .a { padding: 0 0 22px; color: var(--ink-2); display: grid; gap: 10px; max-width: 70ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- callouts ---------- */
.callout { border-radius: var(--radius); padding: 20px 22px; background: var(--brand-soft); color: var(--ink); display: grid; gap: 6px; }
.callout.gold { background: var(--gold-soft); }
.callout.danger { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); }
.callout b { font-weight: 650; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night); color: var(--on-night); border-radius: 22px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--on-night); }
.cta-band p { color: var(--on-night-2); margin-top: 14px; }
.cta-band .row { justify-content: flex-end; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 166, 47, .22), transparent 70%); pointer-events: none; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .row { justify-content: flex-start; } }

/* ---------- forms & tools ---------- */
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .two { grid-template-columns: 1fr; } }
label.field { display: grid; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
label.field .hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
input[type="text"], input[type="email"], input[type="number"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.money input { padding-left: 28px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; cursor: pointer; font-weight: 500; background: var(--surface); }
.radio-row input { accent-color: var(--brand); }
.radio-row label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.form-status { font-size: .92rem; padding: 12px 14px; border-radius: 10px; }
.form-status.ok { background: var(--brand-soft); color: var(--ink); }
.form-status.err { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--brand); }

.tool { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tool > * { min-width: 0; }
.tool.contact { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 900px) { .tool, .tool.contact { grid-template-columns: 1fr; } .result { position: static; } }
.result { position: sticky; top: 96px; }
.result .big { font: 800 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lines { display: grid; gap: 0; }
.lines div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.lines div:last-child { border-bottom: 0; }
.lines div span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.lines .total { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; padding-top: 12px; }
.bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 999px; transition: width .4s ease; }

/* state finder */
.state-result { display: grid; gap: 14px; }
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.state-grid button { display: flex; justify-content: space-between; gap: 6px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); cursor: pointer; font: 500 .9rem var(--text); color: var(--ink-2); text-align: left; }
.state-grid button:hover { border-color: var(--brand); }
.state-grid button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--line-2); }
.dot.law { background: var(--brand); }
.dot.reported { background: var(--gold); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.legend span { display: inline-flex; gap: 7px; align-items: center; }

/* mock dashboard (illustrative) */
.mock { border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; font-size: .86rem; }
.mock-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.mock-top b { font-family: var(--display); font-size: 1rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.mock-kpis div { padding: 14px 18px; display: grid; gap: 2px; }
.mock-kpis div + div { border-left: 1px solid var(--line); }
.mock-kpis strong { font: 800 1.5rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.mock-kpis span { color: var(--muted); font-size: .76rem; }
.mock table { font-size: .84rem; }
.mock th, .mock td { padding: 10px 14px; }
.mock .pill { white-space: nowrap; }
.mock .note { padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font: .72rem var(--mono); }

/* timeline */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line-2); margin-left: 6px; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 26px 28px; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.timeline li.done::before { background: var(--brand); }
.timeline time { font: 600 .78rem var(--mono); color: var(--brand); letter-spacing: .04em; }

/* founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.avatar { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: var(--brand-ink); display: grid; place-items: center; font: 800 1.6rem var(--display); letter-spacing: -0.02em; }
.contact-list { display: grid; gap: 0; }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-list a:last-child { border-bottom: 0; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list b { font-weight: 600; word-break: break-word; }

/* prose (legal, guides) */
.prose { max-width: 72ch; display: grid; gap: 16px; color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; margin-top: 28px; color: var(--ink); }
.prose h3 { font-size: 1.2rem; margin-top: 14px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.toc { position: sticky; top: 96px; display: grid; gap: 4px; font-size: .9rem; }
.toc a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--ink); border-color: var(--brand); }
.with-toc { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.with-toc > * { min-width: 0; }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-2); padding-block: 64px 32px; font-size: .92rem; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--on-night); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { color: var(--on-night); font-size: .82rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-footer .logo { color: var(--on-night); }
.hotline { margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: var(--night-2); border: 1px solid rgba(238, 242, 239, .1); display: grid; gap: 4px; }
.hotline b { color: var(--gold); font-family: var(--mono); font-weight: 500; font-size: 1.05rem; user-select: all; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(238, 242, 239, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media print {
  .site-header, .notice, .site-footer, .quick-exit, .burger { display: none !important; }
  body { background: #fff; color: #000; }
}
