/* Combined page from the picker: Rails Violet look (herdr graphite, 72px grid, square corners, Archivo 900 / Inter / JetBrains Mono).
   Order: Terminal hero → Settlement money-flow animation → Settlement venue cards → Settlement admin console → Rails tiers and fees → Rails why now → Terminal closing CTA. */
:root {
  color-scheme: dark;
  --bg: #17171a;
  --surface: #1e1e22;
  --surface-2: #26262b;
  --sunk: #141417;
  --line: #2a2a30;
  --line-2: #3a3a42;
  --grid: #1f1f23;
  --fg: #eae8ee;
  --muted: #b0afb6;
  --faint: #7d7c84;
  --accent: #8b5cf6;
  --accent-text: #a78bfa;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --on-accent: #ffffff;
  --lav: #cba6f7;                       /* money that lands with the partner */
  --lav-soft: rgba(203, 166, 247, 0.12);
  --up: #b4befe;
  --up-soft: rgba(180, 190, 254, 0.14);
  --down: #f38ba8;
  --down-soft: rgba(243, 139, 168, 0.14);
  --warn: #e5c07b;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1160px;
}
* { box-sizing: border-box; }
html, body { background: var(--bg); color: var(--fg); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.035em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap { padding-inline: 16px; } }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 18px;
  border-radius: 2px; font-weight: 600; font-size: 14px; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--fg); background: transparent; transition: border-color .15s, background .15s;
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, white); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand .mark { width: 22px; height: 22px; border-radius: 2px; background: var(--accent); display: grid; place-items: center; color: var(--on-accent); font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.brand .sep { color: var(--faint); font-weight: 400; }
.brand .prod { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.nav .btn { height: 36px; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* sections */
section.band { border-top: 1px solid var(--line); padding-block: 96px; }
@media (max-width: 720px) { section.band { padding-block: 64px; } }
.head { display: grid; gap: 14px; max-width: 680px; margin-bottom: 44px; }
.head h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 0.95; font-weight: 900; letter-spacing: -0.05em; }
.head p { color: var(--muted); font-size: 17px; }
.note { font-family: var(--font-mono); font-size: 11px; color: var(--faint); margin-top: 14px; }

/* ── 1. Hero (Terminal) ─────────────────────────────── */
.hero { position: relative; padding-block: 84px 48px; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: -260px; width: 980px; height: 720px; max-width: 120%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(139, 92, 246, 0.2), transparent); pointer-events: none; }
.hero-copy { position: relative; text-align: center; display: grid; justify-items: center; gap: 24px; }
.pill { font: 500 12px/1 var(--font-mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 2px; padding: 8px 12px; display: inline-flex; gap: 10px; align-items: center; letter-spacing: .04em; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { font-size: clamp(44px, 7.4vw, 100px); line-height: 0.9; font-weight: 900; letter-spacing: -0.055em; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero .lede { font-size: 18px; color: var(--muted); max-width: 58ch; }
.hero .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero .facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.hero .facts span::before { content: "✓ "; color: var(--accent-text); }

.t-stage { position: relative; margin-top: 60px; }
.t-stage::before { content: ""; position: absolute; inset: 6% 4% -4% 4%; background: radial-gradient(50% 60% at 30% 40%, rgba(139, 92, 246, 0.3), transparent 70%), radial-gradient(45% 55% at 75% 60%, rgba(203, 166, 247, 0.12), transparent 70%); filter: blur(40px); pointer-events: none; }
.frame { position: relative; z-index: 1; border-radius: 4px; padding: 1px; background: linear-gradient(160deg, rgba(139, 92, 246, 0.6), var(--line-2) 35%, rgba(139, 92, 246, 0.45)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.frame-inner { border-radius: 3px; background: var(--bg); overflow: hidden; }
.scaler { position: relative; overflow: hidden; }
.mock { width: 1120px; transform-origin: top left; font-family: var(--font-body); line-height: 1.5; }
.t-note { position: relative; z-index: 1; margin-top: 14px; text-align: center; color: var(--faint); font: 400 11.5px/1.5 var(--font-mono); }

/* mock terminal: fixed px, scaled as one image */
.mock .chrome { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.mock .dots { display: flex; gap: 6px; }
.mock .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock .url { flex: 1; max-width: 420px; margin: 0 auto; text-align: center; font: 500 12px/1 var(--font-mono); color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: 7px 10px; }
.mock .url b { color: var(--fg); font-weight: 500; }
.mock .apphead { display: flex; align-items: center; gap: 22px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.mock .logo-slot { display: flex; align-items: center; justify-content: center; width: 118px; height: 30px; border: 1.5px dashed var(--line-2); border-radius: 2px; font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.12em; color: var(--muted); }
.mock .apptabs { display: flex; gap: 18px; color: var(--muted); }
.mock .apptabs b { color: var(--fg); font-weight: 600; position: relative; }
.mock .apptabs b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 2px; background: var(--accent); }
.mock .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.mock .powered { font: 500 10.5px/1 var(--font-mono); color: var(--faint); letter-spacing: 0.04em; }
.mock .powered em { font-style: normal; color: var(--accent-text); }
.mock .wallet { font: 500 12px/1 var(--font-mono); border: 1px solid var(--line-2); border-radius: 2px; padding: 7px 10px; }
.mock .tgrid { display: grid; grid-template-columns: 1fr 220px 262px; }
.mock .chartcol { border-right: 1px solid var(--line); min-width: 0; }
.mock .pairbar { display: flex; align-items: center; gap: 26px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; }
.mock .pair { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; flex: none; }
.mock .pair .tag { white-space: nowrap; font: 500 10px/1 var(--font-mono); color: var(--accent-text); background: var(--accent-soft); padding: 4px 6px; border-radius: 2px; }
.mock .stat { display: grid; gap: 3px; }
.mock .stat span { color: var(--faint); font-size: 10.5px; }
.mock .stat b { font: 500 12.5px/1 var(--font-mono); }
.mock .bigprice { font: 600 18px/1 var(--font-mono); color: var(--up); }
.up { color: var(--up); }
.down { color: var(--down); }
.mock .tf { display: flex; gap: 4px; padding: 8px 16px; font: 500 11px/1 var(--font-mono); color: var(--faint); border-bottom: 1px solid var(--line); }
.mock .tf span { padding: 5px 8px; border-radius: 2px; }
.mock .tf span.on { color: var(--fg); background: var(--surface-2); }
.mock canvas#chart { display: block; width: 100%; height: 340px; }
.mock .bookcol { border-right: 1px solid var(--line); font: 11.5px/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.mock .colhead { display: flex; justify-content: space-between; padding: 12px 12px 8px; color: var(--faint); font: 500 10.5px/1 var(--font-mono); border-bottom: 1px solid var(--line); }
.mock .colhead b { color: var(--fg); font-family: var(--font-body); font-size: 12.5px; font-weight: 600; }
.mock .brow { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 4.5px 12px; }
.mock .brow span { position: relative; z-index: 1; text-align: right; }
.mock .brow span:first-child { text-align: left; }
.mock .brow .bar { position: absolute; right: 0; top: 1px; bottom: 1px; z-index: 0; transition: width 0.6s ease; }
.mock .brow.ask span:first-child { color: var(--down); }
.mock .brow.ask .bar { background: var(--down-soft); }
.mock .brow.bid span:first-child { color: var(--up); }
.mock .brow.bid .bar { background: var(--up-soft); }
.mock .spread { display: flex; justify-content: space-between; padding: 8px 12px; border-block: 1px solid var(--line); font-size: 13px; }
.mock .spread b { color: var(--up); }
.mock .spread span { color: var(--faint); font-size: 10.5px; }
.mock .ticket { padding: 12px 14px; display: grid; gap: 11px; align-content: start; font-size: 12px; }
.mock .side { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: 2px; padding: 3px; }
.mock .side span { text-align: center; padding: 8px; border-radius: 2px; font-weight: 600; color: var(--muted); }
.mock .side span.on { background: var(--up); color: var(--bg); }
.mock .otype { display: flex; gap: 14px; color: var(--faint); font-size: 12px; }
.mock .otype b { color: var(--fg); font-weight: 600; }
.mock .field { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 10px 11px; }
.mock .field span { color: var(--faint); }
.mock .field b { font: 500 13px/1 var(--font-mono); }
.mock .lev { display: grid; gap: 7px; }
.mock .lev .row { display: flex; justify-content: space-between; color: var(--faint); }
.mock .lev .row b { color: var(--fg); font: 500 12px/1 var(--font-mono); }
.mock .track { position: relative; height: 4px; border-radius: 1px; background: var(--line-2); }
.mock .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--up); }
.mock .track u { position: absolute; left: 20%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--fg); }
.mock .kv { display: grid; gap: 7px; border-top: 1px solid var(--line); padding-top: 10px; }
.mock .kv div { display: flex; justify-content: space-between; color: var(--faint); }
.mock .kv b { color: var(--fg); font: 500 12px/1 var(--font-mono); }
.mock .kv .fee, .mock .kv .fee b { color: var(--lav); }
.mock .go { text-align: center; padding: 11px; border-radius: 2px; background: var(--up); color: var(--bg); font-weight: 700; font-size: 13px; }
.mock .signed { text-align: center; color: var(--faint); font-size: 10.5px; }
.mock .positions { border-top: 1px solid var(--line); font-size: 12px; }
.mock .ptabs { display: flex; gap: 18px; padding: 10px 16px; color: var(--faint); border-bottom: 1px solid var(--line); }
.mock .ptabs b { color: var(--fg); font-weight: 600; }
.mock .ptable { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.mock .ptable th { text-align: left; font: 500 10.5px/1 var(--font-mono); color: var(--faint); padding: 9px 16px; }
.mock .ptable td { padding: 9px 16px; border-top: 1px solid var(--line); }
.mock .ptable td.fee { color: var(--lav); }
.mock .badge { font: 600 10px/1 var(--font-mono); padding: 3px 6px; border-radius: 2px; }
.mock .badge.long { color: var(--up); background: var(--up-soft); }
.mock .badge.short { color: var(--down); background: var(--down-soft); }

/* ── 2. How the money moves (Settlement animation) ── */
.settle { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .settle { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.settle .head { margin-bottom: 28px; }
.promises { display: grid; border-top: 1px solid var(--line); }
.promise { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.promise .ic { width: 34px; height: 34px; border-radius: 2px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.promise.money .ic { background: var(--lav-soft); color: var(--lav); }
.promise h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.promise p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.guardrail { margin-top: 18px; font-size: 14px; color: var(--muted); }
.guardrail b { color: var(--fg); font-weight: 600; }

.flow-card { min-width: 0; margin: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; padding: 14px; box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.08), 0 30px 80px -30px rgba(139, 92, 246, 0.35), 0 0 120px -40px var(--lav); }
.flow-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--faint); padding: 2px 2px 12px; letter-spacing: .04em; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--lav); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--lav); box-shadow: 0 0 10px var(--lav); }
.settle-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 2px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0) 0 0 / 18px 18px, var(--sunk); }
.settle-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.node { position: absolute; font-size: 12px; line-height: 1.3; padding: 7px 10px; border-radius: 2px; background: rgba(30, 30, 34, 0.92); border: 1px solid var(--line-2); white-space: nowrap; }
.node b { display: block; font-weight: 600; font-size: 12.5px; }
.node span { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.node.user { left: 3%; top: 50%; transform: translateY(18px); }
.node.hub { left: 46%; top: 50%; transform: translate(-50%, 22px); border-color: rgba(167, 139, 250, 0.5); }
.node.wallet { right: 3%; top: 8%; border-color: rgba(203, 166, 247, 0.5); text-align: right; }
.node.wallet b { color: var(--lav); }
.node.bt { right: 3%; bottom: 8%; text-align: right; }
.node.bt b { color: var(--accent-text); }
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 12px; background: var(--line); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.counters div { background: var(--surface); padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.counters small { font-size: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); }
.counters output { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.counters .c-you output { color: var(--lav); }
.counters .c-bt output { color: var(--accent-text); }
@media (max-width: 560px) {
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .node { padding: 5px 7px; }
  .node b { font-size: 11px; }
  .node span { font-size: 9.5px; }
  .node.user { transform: translateY(14px); }
  .node.hub { transform: translate(-50%, 16px); }
}

/* ── 3. Venues (Settlement cards) ───────────────────── */
.venues { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.venue { min-height: 330px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: border-color .2s ease, transform .2s ease; }
.venue:hover { border-color: var(--line-2); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .venue, .venue:hover { transition: none; transform: none; } }
.venue .tag { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); letter-spacing: .2em; text-transform: uppercase; }
.venue h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.venue p { color: var(--muted); font-size: 14px; }
.venue .metric { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2); display: grid; gap: 2px; }
.venue .metric small { font-family: var(--font-mono); font-size: 10px; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.venue .metric b { font-family: var(--font-mono); font-weight: 500; font-size: 20px; font-variant-numeric: tabular-nums; }
.venue .metric b.lav { color: var(--lav); }
.spark { width: 100%; height: 34px; display: block; }
@media (max-width: 1080px) { .venues { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .venues { grid-template-columns: repeat(2, minmax(0, 1fr)); } .venue { min-height: 280px; } }
@media (max-width: 440px) { .venues { grid-template-columns: minmax(0, 1fr); } .venue { min-height: 0; } }

/* ── 4. Partner controls (Settlement admin console) ─── */
.admin { display: grid; grid-template-columns: 220px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.08), 0 40px 90px -50px rgba(139, 92, 246, 0.5); }
.admin .side { background: var(--sunk); border-right: 1px solid var(--line); padding: 18px 14px; display: grid; gap: 2px; align-content: start; font-size: 13.5px; }
.admin .tenant { padding: 10px; border: 1px solid var(--line-2); border-radius: 2px; margin-bottom: 12px; display: grid; gap: 2px; }
.admin .tenant small { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); }
.admin .side a { display: block; padding: 7px 10px; border-radius: 2px; color: var(--muted); border-left: 2px solid transparent; }
.admin .side a.on { background: var(--accent-soft); color: var(--fg); border-left-color: var(--accent); }
.admin .main { padding: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.admin .panel { border: 1px solid var(--line); border-radius: 2px; padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; background: rgba(38, 38, 43, 0.35); }
.admin .panel h3 { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.admin .panel h3 small { font-family: var(--font-mono); font-weight: 400; font-size: 10.5px; color: var(--faint); letter-spacing: 0.04em; }
.admin .origins { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 12px; }
.admin .origins div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 2px; background: var(--surface-2); min-width: 0; }
.admin .origins div span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin .origins .ok { color: var(--lav); flex: none; }
.admin .quota { display: grid; gap: 6px; font-size: 13px; }
.admin .quota .row { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.admin .quota .row b { font-family: var(--font-mono); font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; }
.admin .bar { height: 6px; border-radius: 1px; background: var(--surface-2); overflow: hidden; }
.admin .bar i { display: block; height: 100%; background: var(--accent); }
.admin .kill { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin .kill p { color: var(--muted); font-size: 13px; }
.switch { flex: none; width: 52px; height: 28px; border-radius: 2px; border: 1px solid var(--line-2); background: var(--lav-soft); position: relative; cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 26px; width: 20px; height: 20px; border-radius: 1px; background: var(--lav); transition: left .18s ease, background .18s ease; }
.switch[aria-checked="false"] { background: var(--down-soft); }
.switch[aria-checked="false"]::after { left: 3px; background: var(--down); }
.state { font-family: var(--font-mono); font-size: 11.5px; }
.state.live-s { color: var(--lav); }
.state.paused { color: var(--down); }
.admin .log { font-family: var(--font-mono); font-size: 11.5px; display: grid; gap: 4px; max-height: 168px; overflow: auto; }
.admin .log div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; color: var(--muted); }
.admin .log div span:first-child { color: var(--faint); }
.admin .log div.new span:last-child { color: var(--fg); }
.stmt { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.stmt td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.stmt td:last-child { text-align: right; font-family: var(--font-mono); white-space: nowrap; padding-left: 16px; }
.stmt td:first-child { color: var(--muted); }
.stmt tr:last-child td { border-bottom: 0; font-weight: 600; }
.stmt tr:last-child td:last-child { color: var(--accent-text); }
.stmt tr.recv td:last-child { color: var(--lav); }
.admin .wide { grid-column: span 2; }
@media (max-width: 900px) { .admin { grid-template-columns: minmax(0, 1fr); } .admin .side { display: none; } }
@media (max-width: 640px) { .admin .main { grid-template-columns: minmax(0, 1fr); padding: 14px; } .admin .wide { grid-column: auto; } }

/* ── 5. Tiers and platform fee (Rails) ──────────────── */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.tier { border: 1px solid var(--line); border-radius: 4px; padding: 28px 24px; display: grid; gap: 18px; align-content: start; background: var(--bg); min-width: 0; }
.tier.flag { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 55%), var(--surface); box-shadow: 0 0 60px -20px rgba(139, 92, 246, 0.35); }
.tier .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tier .lvl { font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: .2em; text-transform: uppercase; }
.tier .badge { font-family: var(--font-mono); font-size: 11px; padding: 3px 8px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--muted); }
.tier .badge.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.tier .badge.built { color: var(--accent-text); border-color: rgba(139, 92, 246, 0.5); }
.tier h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; }
.tier .desc { color: var(--muted); font-size: 15px; }
.price { font-variant-numeric: tabular-nums; }
.price .big { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.price .sub { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.tier ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.tier li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; }
.tier li::before { content: "—"; color: var(--accent-text); }
.tier li b { color: var(--fg); font-weight: 600; }
.fees { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .fees { grid-template-columns: minmax(0, 1fr); } }
.fees h3 { font-size: 30px; font-weight: 900; letter-spacing: -0.05em; line-height: 1; margin-top: 14px; }
.fees .intro p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.fine { font-size: 12.5px; color: var(--faint); margin-top: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
table.fee { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; min-width: 520px; }
table.fee th, table.fee td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.fee tr:last-child td { border-bottom: 0; }
table.fee th { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--faint); letter-spacing: .12em; text-transform: uppercase; background: var(--surface); }
table.fee td { color: var(--muted); }
table.fee td.flow-n { color: var(--fg); font-weight: 600; }
table.fee td.you { color: var(--lav); font-family: var(--font-mono); font-size: 13px; }
table.fee td.bps { font-family: var(--font-mono); color: var(--accent-text); font-weight: 600; white-space: nowrap; }

/* ── 6. Why now (Rails) ─────────────────────────────── */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 18px; }
@media (max-width: 800px) { .proof { grid-template-columns: minmax(0, 1fr); } }
.proof div { padding: 28px 24px 28px 0; display: grid; gap: 6px; }
.proof div + div { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 800px) { .proof div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.proof .num { font-family: var(--font-display); font-size: 44px; font-weight: 900; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof .num small { font-family: var(--font-mono); font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 8px; letter-spacing: .04em; }
.proof p { color: var(--muted); font-size: 14px; }

/* ── 7. Closing CTA (Terminal) ──────────────────────── */
.cta { padding-block: 120px; text-align: center; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 62%; width: 760px; max-width: 100%; height: 360px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(139, 92, 246, 0.22), transparent); pointer-events: none; }
.cta .wrap { position: relative; display: grid; justify-items: center; gap: 24px; }
.cta h2 { font-size: clamp(40px, 6.4vw, 84px); line-height: 0.9; font-weight: 900; letter-spacing: -0.055em; max-width: 13ch; }
.cta h2 em { font-style: normal; color: var(--accent-text); }
.cta p { color: var(--muted); max-width: 54ch; font-size: 16px; }
.cta .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.steps b { color: var(--lav); font-weight: 500; }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 13px; color: var(--faint); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .foot-contact { font-family: var(--font-mono); }
footer .foot-contact a { color: var(--lav); text-decoration: none; }
footer .foot-contact a:hover { text-decoration: underline; }
