:root {
  --ink: #161a2e;
  --muted: #555b72;
  --line: #e0e2ec;
  --bg: #ffffff;
  --soft: #f5f6fa;
  --brand: #26306e;
  --brand-dark: #1b2353;
  --brand-ink: #ffffff;
  --gold: #f0b34a;
  --link: #2f3b94;
  --ok: #0c6b43;
  --radius: 10px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
code { font: 0.88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft); padding: 0.1em 0.35em; border-radius: 4px; word-break: break-word; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.022em; text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.25rem); margin: 0 auto 0.42em; max-width: 21ch; }
h2 { font-size: 1.6rem; margin: 0 0 0.6em; }
h3 { font-size: 1.12rem; margin: 0 0 0.35em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(22, 26, 46, 0.08); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 62px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; color: var(--ink); text-decoration: none; letter-spacing: -0.015em; }
.mark { width: 26px; height: 26px; border-radius: 7px; background: var(--brand) url("/favicon.svg") center / cover no-repeat; box-shadow: 0 1px 2px rgba(38, 48, 110, 0.28); }
.site-header nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 0.94rem; font-weight: 500; transition: color 140ms ease; }
.site-header nav a:hover { color: var(--ink); }

main section { padding: 60px 0; }
.band { background: var(--soft); }
.hero {
  padding: 56px 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 75% 55% at 50% -10%, rgba(38, 48, 110, 0.1), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(22, 26, 46, 0.055) 1px, transparent 0);
  background-size: 100% 100%, 24px 24px;
  border-bottom: 1px solid rgba(22, 26, 46, 0.06);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  background: rgba(38, 48, 110, 0.07);
  border: 1px solid rgba(38, 48, 110, 0.14);
  border-radius: 999px;
  padding: 5px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0 0 18px;
}
.eyebrow-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(240, 179, 74, 0.25); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 620px; margin: 0 auto 24px; line-height: 1.58; }
.cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 11px 22px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(38, 48, 110, 0.22), 0 6px 16px rgba(38, 48, 110, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: background-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}
.btn:hover { background: var(--brand-dark); box-shadow: 0 2px 4px rgba(38, 48, 110, 0.26), 0 10px 22px rgba(38, 48, 110, 0.22); }
.btn:active { transform: scale(0.97); }
.btn-quiet {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(22, 26, 46, 0.12), 0 1px 2px rgba(22, 26, 46, 0.05);
}
.btn-quiet:hover { background: var(--soft); box-shadow: 0 0 0 1px rgba(22, 26, 46, 0.18), 0 2px 6px rgba(22, 26, 46, 0.06); }
.trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px auto 0;
  font-size: 0.87rem;
  color: var(--muted);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip span::before { content: "✓"; color: var(--brand); font-weight: 700; }

.hero-stage {
  max-width: 760px;
  margin: 36px auto 0;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  text-align: left;
  box-shadow:
    0 0 0 1px rgba(22, 26, 46, 0.08),
    0 4px 12px rgba(22, 26, 46, 0.05),
    0 24px 56px -12px rgba(22, 26, 46, 0.16);
}
.hero-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  padding: 6px 12px 10px;
  font-size: 0.84rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hero-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok);
  background: rgba(12, 107, 67, 0.09);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.hero-stage-pill::before { content: "✓"; font-weight: 700; }
.ledger { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgba(22, 26, 46, 0.08); overflow: hidden; }
.ledger-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 0.93rem; font-variant-numeric: tabular-nums; }
.ledger-table th, .ledger-table td { padding: 9px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.ledger-table th { background: var(--soft); font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.ledger-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; color: var(--muted); width: 1%; white-space: nowrap; }
.ledger-table .num { text-align: right; white-space: nowrap; width: 1%; }
.ledger-table .deposit td { background: rgba(240, 179, 74, 0.1); }
.ledger-table tfoot td { font-weight: 700; border-bottom: 3px double var(--ink); }
.csv-strip { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.csv-label { margin: 0 0 8px; font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.csv-cols { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.csv-cols li { font: 0.78rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 3px 8px; border-radius: 6px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.hero .shot-caption { margin: 14px auto 0; font-size: 0.9rem; color: var(--muted); max-width: 640px; }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 28px; }
.checks li { padding-left: 22px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; border-radius: 3px; background: var(--gold); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg); }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); }
.note { color: var(--muted); max-width: 760px; margin-top: 24px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0 12px; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plan-featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 10px 28px rgba(38, 48, 110, 0.1); }
.plan h3 { margin: 0; }
.price { font-size: 2rem; font-weight: 700; margin: 6px 0 12px; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan-lead { margin: -4px 0 6px; font-size: 0.92rem; font-weight: 600; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); }
.small { font-size: 0.9rem; color: var(--muted); }

.faq { display: grid; gap: 12px; margin-top: 20px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: var(--bg); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.doc { padding: 48px 0 64px; }
.doc h2 { margin-top: 2em; font-size: 1.35rem; }
.doc h3 { margin-top: 1.6em; }
.doc li { margin: 0.3em 0; }
.meta { color: var(--muted); margin-top: -0.4em; }
.callout { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px; margin: 8px 0 24px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--soft); font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 0.92rem; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  main section { padding: 40px 0; }
  .hero { padding: 40px 0 40px; }
  .site-header { position: static; }
  .site-header nav { gap: 4px 16px; }
  .hero-stage { padding: 6px; border-radius: 14px; }
  .ledger-table th, .ledger-table td { padding: 8px 7px; }
  .ledger-table th:first-child, .ledger-table td:first-child { padding-left: 12px; }
  .ledger-table th:last-child, .ledger-table td:last-child { padding-right: 12px; }
  .ledger-table th { letter-spacing: 0; font-size: 0.72rem; }
  .ledger-table { font-size: 0.82rem; }
  .csv-strip { padding: 12px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .doc td { border: 0; padding: 4px 0; }
  .doc td:first-child { font-weight: 600; }
}
@media print {
  .site-header nav, .cta-row { display: none; }
}
