/* Geist, SIL Open Font License 1.1 (fonts/OFL.txt). Served from here, never
   from a font CDN: loading Google Fonts from Google is a GDPR problem in the EU. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0B0D12;
  --ink-2: #4A4F59;
  --ink-3: #6B717C;
  --line: #E7E7E3;
  --line-2: #F1F1EE;
  --paper: #FFFFFF;
  --paper-2: #F6F6F4;
  --night: #08090B;
  --night-2: #0E1013;
  --night-3: #121418;
  --night-line: #1B1E24;
  --night-line-2: #22252B;
  --moon: #F3F4F6;
  --moon-2: #A1A7B3;
  --moon-3: #7D8390;
  --accent: #4353FF;
  --accent-ink: #2B39C4;
  --accent-soft: #E8EAFF;
  --accent-night: #9AA4FF;
  --up: #0B7A4B;
  --up-night: #4ADE9A;
  --down-night: #FF8F85;
  --gold: #F2C46B;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); }
code, pre, .mono { font-family: var(--mono); }
code { font-size: 0.92em; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; padding: 8px 12px; background: var(--paper); color: var(--ink); }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.muted { color: var(--ink-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 10px; font-size: 15.5px; font-weight: 500; white-space: nowrap; }
.btn-sm { height: 38px; padding: 0 16px; border-radius: 8px; font-size: 14.5px; }
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--accent-ink); color: #FFFFFF; }
.btn-light { background: var(--moon); color: var(--night); }
.btn-light:hover { background: #FFFFFF; color: var(--night); }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: #262A33; color: #FFFFFF; }
.btn-ghost-night { border: 1px solid #2E323A; color: var(--moon); }
.btn-ghost-night:hover { border-color: #4A4F59; color: #FFFFFF; }
.btn-ghost { border: 1px solid #D5D6D2; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ----------------------------------------------------------------- header */
.nav { height: 72px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; color: inherit; }
.brand:hover { color: inherit; }
.nav-links { display: flex; gap: 32px; font-size: 14.5px; }
.nav-links a { color: var(--ink-2); white-space: nowrap; }
@media (max-width: 1180px) { .nav-links { gap: 20px; } }
@media (max-width: 980px) { .nav-links { gap: 14px; font-size: 14px; } }
.nav-end .signin { white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a[aria-current] { font-weight: 500; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 14.5px; }
.site-header { border-bottom: 1px solid var(--line); }
.night .site-header { border-bottom-color: var(--night-line); }
.night .nav-links a { color: var(--moon-2); }
.night .nav-links a:hover { color: var(--moon); }
/* The mark: a P whose counter is the one verified data point. */
.logo-bg { fill: var(--ink); }
.logo-fg { fill: #FFFFFF; }
.logo-core { fill: var(--accent); }
.night .logo-bg { fill: var(--moon); }
.night .logo-fg { fill: var(--night); }

/* ------------------------------------------------------------------- hero */
.night { background-color: var(--night); color: var(--moon); }
.hero { background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 80px 80px; padding-bottom: 112px; }
.hero-copy { max-width: 1000px; margin: 0 auto; padding-top: 104px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid #262A31; background: var(--night-3); font-size: 13.5px; color: #C9CDD5; }
.pill:hover { color: var(--moon); border-color: #353A43; }
.pill-tag { height: 22px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-size: 12px; font-weight: 500; }
.hero h1 { font-size: 80px; line-height: 1; letter-spacing: -0.045em; }
.hero-lede { font-size: 19px; line-height: 1.55; color: var(--moon-2); max-width: 680px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fine { font-size: 13.5px; color: var(--moon-3); }

/* product panel */
.panel { margin: 72px auto 0; max-width: 1280px; border-radius: 16px; border: 1px solid var(--night-line-2); background: var(--night-2); overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,0.55); text-align: left; }
.panel-bar { height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--night-line); font-family: var(--mono); font-size: 13px; color: var(--moon-2); }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 5px; background: #2A2E35; }
.panel-bar .grow { flex: 1; }
.ok { padding: 3px 8px; border-radius: 6px; background: #13241B; color: var(--up-night); }
.panel-body { display: flex; }
.board { flex: 1; min-width: 0; }
.tabs { height: 52px; padding: 0 20px; display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--night-line); font-size: 13.5px; color: var(--moon-3); }
.tabs span { height: 30px; padding: 0 12px; display: flex; align-items: center; border-radius: 7px; }
.tabs .on { background: var(--night-line); color: var(--moon); }
.tabs .grow { margin-left: auto; padding: 0; }
.board table { width: 100%; border-collapse: collapse; font-size: 14px; }
.board th { padding: 12px 0; font-size: 12px; font-weight: 500; color: var(--moon-3); text-align: left; }
.board td { padding: 13px 0; border-top: 1px solid #16181D; }
.board th:first-child, .board td:first-child { padding-left: 20px; width: 72px; }
.board th:last-child, .board td:last-child { padding-right: 20px; text-align: right; color: var(--moon-3); }
.board .num { text-align: right; font-family: var(--mono); }
.board .pad { padding-left: 32px; }
.board tr.sel { background: #14172A; }
.rank { font-family: var(--mono); color: var(--moon); }
.mv { font-family: var(--mono); font-size: 11px; margin-left: 6px; }
.mv-up { color: var(--up-night); } .mv-down { color: var(--down-night); } .mv-new { color: var(--accent-night); } .mv-same { color: #5B616D; }
.who { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--moon); }
.avatar { width: 26px; height: 26px; border-radius: 13px; background: var(--night-line); color: #C9CDD5; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.pos { color: var(--up-night); }
.neg { color: var(--down-night); }
.dim { color: var(--moon-2); }
.badge { height: 22px; padding: 0 8px; display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.badge-ok { background: #1E2350; color: #C3C9FF; }
.badge-ok path { stroke: #C3C9FF; }
.badge-maybe { border: 1px solid #353A43; color: var(--moon-2); font-weight: 400; }
.light .badge-ok { background: var(--accent-soft); color: var(--accent-ink); }
.light .badge-ok path { stroke: var(--accent-ink); }
.light .badge-maybe { border-color: #D5D6D2; color: var(--ink-2); }
.detail { width: 380px; flex-shrink: 0; border-left: 1px solid var(--night-line); background: #0B0C0F; padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.detail-head { display: flex; align-items: center; gap: 12px; }
.detail-head .avatar { width: 40px; height: 40px; border-radius: 20px; background: #252A5C; color: #C3C9FF; font-size: 15px; }
.detail-head strong { display: block; font-size: 16px; font-weight: 600; }
.detail-head small { font-size: 13px; color: var(--moon-3); }
.pnl3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pnl3 div { padding: 12px; border-radius: 10px; background: var(--night-3); display: flex; flex-direction: column; gap: 4px; }
.pnl3 small { font-size: 12px; color: var(--moon-3); }
.pnl3 span { font-family: var(--mono); font-size: 14px; }
.label { font-size: 12px; color: var(--moon-3); text-transform: uppercase; letter-spacing: 0.08em; }
.wallets { display: flex; flex-direction: column; gap: 10px; }
.wallet { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--night-line-2); }
.wallet .mono { font-size: 13px; flex: 1; }
.wallet small { font-size: 12px; color: var(--moon-3); }
.asof { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.asof div { display: flex; justify-content: space-between; }
.asof span:first-child { color: var(--moon-2); }
.asof span:last-child { font-family: var(--mono); }
.caption { margin-top: 20px; text-align: center; font-size: 13px; color: var(--moon-3); }

/* ------------------------------------------------------------------ facts */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 48px 32px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; padding-right: 0; }
.fact strong { font-size: 44px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.fact span { font-size: 15px; color: var(--ink-2); }

/* --------------------------------------------------------------- sections */
.section { padding: 128px 0; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 64px; }
.h2 { font-size: 52px; line-height: 1.05; letter-spacing: -0.04em; }
.h2-sm { font-size: 44px; line-height: 1.05; letter-spacing: -0.04em; }
.h2-xs { font-size: 40px; letter-spacing: -0.04em; line-height: 1.1; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.card-art { height: 220px; padding: 32px; background: var(--paper-2); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.card-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 10px; }
.card-body h3 { font-size: 20px; letter-spacing: -0.02em; }
.card-body p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.chip-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.chip-row .mono { font-size: 13px; flex: 1; }
.ledger { font-family: var(--mono); font-size: 13px; gap: 0; }
.ledger div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #E1E1DC; }
.ledger div:last-child { border-bottom: 0; }
.ledger span:first-child { color: var(--ink-2); }
.ledger .refund { color: var(--up); }
.fresh { gap: 14px; font-size: 13.5px; }
.fresh div { display: flex; align-items: center; gap: 12px; }
.fresh span:first-child { width: 110px; color: var(--ink-2); }
.fresh .track { flex: 1; height: 6px; border-radius: 3px; background: #E1E1DC; overflow: hidden; }
.fresh .fill { display: block; height: 6px; border-radius: 3px; background: var(--accent); }
.fill-94 { width: 94%; } .fill-55 { width: 55%; }
.fresh span:last-child { width: 56px; text-align: right; font-family: var(--mono); }

/* developer block */
.dev { border-radius: 24px; padding: 80px; display: flex; flex-direction: column; gap: 64px; }
.dev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.dev-copy { display: flex; flex-direction: column; gap: 24px; }
.dev-copy .eyebrow { color: var(--accent-night); }
.dev-copy p { font-size: 17px; line-height: 1.6; color: var(--moon-2); }
.ticks { display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks svg { flex-shrink: 0; align-self: center; }
.ticks path { stroke: var(--accent-night); }
.code { min-width: 0; border-radius: 14px; border: 1px solid var(--night-line-2); background: var(--night-2); color: #C9CDD5; overflow: hidden; }
.code-bar { height: 44px; padding: 0 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--night-line); font-size: 13px; color: var(--moon-3); }
.code-bar .grow { margin-left: auto; }
.copy { height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--night-line-2); background: none; font: inherit; font-size: 12.5px; color: var(--moon-3); cursor: pointer; }
.copy:hover { color: #fff; border-color: var(--moon-3); }
.code-bar .copy { margin-left: auto; }
.code-bar .grow + .copy { margin-left: 0; }
.copy-key { align-self: flex-start; height: 34px; padding: 0 14px; border-color: var(--line); color: var(--ink-2); font-size: 14px; }
.copy-key:hover { color: var(--ink); border-color: var(--ink-2); }
.copy-inline { height: 26px; padding: 0 9px; margin-left: 10px; font-family: var(--sans); font-size: 12.5px; user-select: none; }
.code pre { margin: 0; padding: 20px 24px; font-size: 13.5px; line-height: 1.7; overflow-x: auto; }
.k { color: var(--accent-night); } .s { color: var(--gold); } .n { color: #7FE0B4; } .c { color: var(--moon-3); }
.endpoints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: 14px; overflow: hidden; background: var(--night-line); border: 1px solid var(--night-line); }
.endpoints div { padding: 22px; background: #0B0C0F; display: flex; flex-direction: column; gap: 8px; }
.endpoints .mono { font-size: 13px; overflow-wrap: anywhere; }
.endpoints span:last-child { font-size: 13.5px; color: var(--moon-3); }
.endpoints .soon .mono { color: var(--moon-3); }

/* use cases */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.split-4 { grid-column: span 4; display: flex; flex-direction: column; gap: 16px; }
.split-8 { grid-column: span 8; }
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.uses div { padding-top: 20px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 10px; }
.uses h3 { font-size: 18px; }
.uses p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* pricing strip */
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.strip > div { padding: 32px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); }
.strip > div:last-child { border-right: 0; }
.strip .feat { background: var(--paper-2); }
.strip .name { font-size: 15px; font-weight: 500; display: flex; justify-content: space-between; }
.strip .name em { font-style: normal; font-size: 12.5px; color: var(--accent); }
.strip .price { font-size: 40px; font-weight: 600; letter-spacing: -0.035em; }
.strip .meta { font-size: 14.5px; color: var(--ink-2); }
.note { margin-top: 20px; font-size: 13.5px; color: var(--ink-3); }

/* closing */
.closing { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; border-bottom: 1px solid var(--night-line); }
.closing h2 { font-size: 56px; line-height: 1.02; letter-spacing: -0.045em; }
.closing p { font-size: 18px; color: var(--moon-2); }
.foot { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; font-size: 14px; }
.foot-cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot-cols div { display: flex; flex-direction: column; gap: 12px; }
.foot-cols strong { color: var(--moon); font-weight: 500; }
.foot-cols a { color: var(--moon-2); }
.foot-cols a:hover { color: var(--moon); }
.foot-cols p { color: var(--moon-3); line-height: 1.6; max-width: 300px; }
.foot-base { padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--moon-3); }

/* ---------------------------------------------------------------- pricing */
.page-hero { padding: 104px 0 72px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.page-hero h1 { font-size: 68px; line-height: 1.02; letter-spacing: -0.045em; }
.page-hero p { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 620px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { padding: 32px; border-radius: 16px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.plan-head { display: flex; flex-direction: column; gap: 6px; }
.plan-head h2 { font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-head p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.plan-price { display: flex; flex-direction: column; gap: 4px; }
.plan-price strong { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.plan-price span { font-size: 13.5px; color: var(--ink-3); }
.plan ul { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.plan .btn { height: 44px; font-size: 15px; }
.plan.feat { border: 0; background: var(--night); color: var(--moon); box-shadow: 0 24px 60px rgba(11,13,18,0.18); }
.plan.feat .plan-head p, .plan.feat .plan-price span { color: var(--moon-2); }
.plan.feat ul { border-top-color: var(--night-line-2); }
.custom { margin-top: 16px; padding: 32px; border-radius: 16px; border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: 32px; align-items: center; }
.custom-head { display: flex; flex-direction: column; gap: 6px; }
.custom-head h2 { font-size: 17px; }
.custom-head p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.custom ul { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.custom-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.custom-cta span { font-size: 13.5px; color: var(--ink-3); }
.custom .btn { height: 44px; font-size: 15px; }
.tag { height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-size: 12px; font-weight: 500; }
.soon { color: var(--ink-3); }
.plan.feat .soon { color: var(--moon-3); }
.center { text-align: center; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.compare th { padding: 16px 12px 16px 0; text-align: left; font-weight: 600; border-bottom: 1px solid var(--ink); }
.compare th:first-child { width: 34%; }
.compare td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.compare td:first-child { color: var(--ink-2); }
.compare .mono { font-size: 14px; }
.table-card { border-radius: 14px; border: 1px solid var(--line); overflow: auto; }
.calls { width: 100%; border-collapse: collapse; font-size: 14px; text-align: right; }
.calls th { padding: 14px 20px; font-weight: 500; font-size: 13px; color: var(--ink-2); background: var(--paper-2); }
.calls td { padding: 14px 20px; border-top: 1px solid var(--line); font-family: var(--mono); }
.calls th:first-child, .calls td:first-child { text-align: left; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 36px; }
.faq div { display: flex; flex-direction: column; gap: 8px; }
.faq h3 { font-size: 16.5px; }
.faq p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.mini-foot { padding-top: 40px; padding-bottom: 40px; display: flex; align-items: center; gap: 28px; font-size: 13.5px; color: var(--moon-2); }
.mini-foot a { color: var(--moon-2); }
.mini-foot a:hover { color: var(--moon); }
.mini-foot .brand { font-size: 16px; color: var(--moon); }
.mini-foot .end { margin-left: auto; color: var(--moon-3); }
.gap-top { margin-top: 128px; }
.pt-128 { padding-top: 128px; }

/* ------------------------------------------------------------------- docs */
.docs-top { height: 60px; display: flex; align-items: center; gap: 24px; padding: 0 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); z-index: 5; }
.docs-top .brand { font-size: 16.5px; }
.docs-chip { height: 22px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 6px; background: var(--line-2); color: var(--ink-2); font-size: 12.5px; font-weight: 400; }
.docs-top .end { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; }
.docs-top .end a:not(.btn) { color: var(--ink-2); }
.docs { display: grid; grid-template-columns: 264px minmax(0, 1fr); }
.side { position: sticky; top: 60px; align-self: start; height: calc(100vh - 60px); overflow-y: auto; padding: 28px 16px; border-right: 1px solid var(--line); background: #FBFBFA; display: flex; flex-direction: column; gap: 28px; font-size: 14px; }
.side div { display: flex; flex-direction: column; gap: 2px; }
.side strong { padding: 0 10px 8px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.side a { padding: 6px 10px; border-radius: 6px; color: #2A2E36; display: flex; gap: 10px; }
.side a:hover { background: var(--line-2); color: var(--ink); }
.side .m { font-family: var(--mono); font-size: 11px; color: var(--ink-3); width: 28px; padding-top: 2px; flex-shrink: 0; }
.doc { padding: 48px 56px 120px; max-width: 1180px; }
.doc section { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.doc section:first-child { padding-top: 0; }
.doc section:last-child { border-bottom: 0; }
.doc h1 { font-size: 40px; letter-spacing: -0.035em; margin-bottom: 16px; }
.doc h2 { font-size: 26px; letter-spacing: -0.03em; margin-bottom: 14px; }
.doc h3 { font-size: 16px; margin: 24px 0 10px; }
.doc p { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 680px; }
.doc p + p { margin-top: 12px; }
.doc .lede { font-size: 17px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: start; }
.route { display: inline-flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: #FBFBFA; font-family: var(--mono); font-size: 13.5px; margin-bottom: 14px; }
.route b { color: var(--accent-ink); font-weight: 500; }
.meta-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.meta-row strong { color: var(--ink); font-weight: 600; }
.fields { margin-top: 8px; }
.field { padding: 14px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.field:last-child { border-bottom: 1px solid var(--line); }
.field-name { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.field-name code { font-size: 14px; font-weight: 500; }
.field-name span { font-size: 13px; color: var(--ink-3); }
.field-name .req { font-size: 12px; color: #B42318; }
.field p { font-size: 14.5px; line-height: 1.6; }
.doc .code pre { font-size: 12.5px; line-height: 1.65; }
.codes { width: 100%; border-collapse: collapse; font-size: 14px; }
.codes td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.codes tr:first-child td { border-top: 0; }
.codes td:first-child { width: 64px; font-family: var(--mono); }
.codes td:nth-child(2) { font-family: var(--mono); font-size: 13px; width: 200px; }
.codes td:last-child { color: var(--ink-2); }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ------------------------------------------------------------ live pages */
.tabs a { height: 30px; padding: 0 12px; display: flex; align-items: center; border-radius: 7px; color: var(--moon-3); }
.tabs a:hover { color: var(--moon); }
.tabs a.on { background: var(--night-line); color: var(--moon); }
.tabs a.grow { margin-left: auto; color: var(--accent-night); }
a.who:hover { color: #FFFFFF; }
.detail-head a { color: var(--moon); }
.section-alt { background: var(--paper-2); }
.section-tight { padding-top: 0; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 32px; font-size: 13.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.lb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 32px 0 32px; flex-wrap: wrap; }
.lb-head h1, .tr-head h1 { font-size: 52px; letter-spacing: -0.04em; line-height: 1.05; }
.lb-head p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.seg { display: flex; padding: 3px; border-radius: 10px; background: var(--line-2); }
.seg a { height: 36px; padding: 0 16px; display: flex; align-items: center; border-radius: 8px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.seg a[aria-current] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(11,13,18,0.08); }
.lb table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lb th { padding: 14px 16px; text-align: left; font-size: 12.5px; font-weight: 500; color: var(--ink-3); background: var(--paper-2); }
.lb td { padding: 12px 16px; border-top: 1px solid var(--line); }
.lb .num { text-align: right; font-family: var(--mono); }
.lb .rank { color: var(--ink); font-family: var(--mono); }
.lb .who { color: var(--ink); }
.lb a.who:hover { color: var(--accent); }
.lb .avatar, .light .avatar { background: var(--line-2); color: var(--ink-2); }
.light .pos { color: var(--up); }
.light .neg { color: #B42318; }
.light .mv-up { color: var(--up); } .light .mv-down { color: #B42318; } .light .mv-new { color: var(--accent); } .light .mv-same { color: var(--ink-3); }
.gap-md { margin-top: 48px; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 32px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); flex-wrap: wrap; }
.cta-card h2 { font-size: 22px; letter-spacing: -0.02em; }
.cta-card p { margin-top: 6px; font-size: 15px; color: var(--ink-2); max-width: 560px; }
.tr-head { display: flex; align-items: center; gap: 20px; padding: 32px 0; flex-wrap: wrap; }
.tr-head p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.tr-head .badge-lg { margin-left: auto; }
.avatar-lg { width: 64px !important; height: 64px !important; border-radius: 32px !important; font-size: 26px !important; }
.badge-lg { height: 32px; padding: 0 12px; font-size: 14px; border-radius: 8px; }
.tr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stat { background: var(--paper); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.stat span { font-size: 13px; color: var(--ink-3); }
.stat strong { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-family: var(--mono); }
.tr-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.tr-cols h2 { font-size: 20px; margin-bottom: 16px; }
.light-wallets { display: flex; flex-direction: column; gap: 10px; }
.light-wallets small { font-size: 12px; }

/* ------------------------------------------------------------------ blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card, .post-feature { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .15s, transform .15s; }
.post-card:hover, .post-feature:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.post-card h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; }
.post-card p, .post-feature p { font-size: 15px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.post-feature { margin-bottom: 20px; padding: 40px; background: var(--night); color: var(--moon); border-color: var(--night); }
.post-feature:hover { color: var(--moon); border-color: var(--accent); }
.post-feature h2 { font-size: 36px; line-height: 1.1; letter-spacing: -0.035em; max-width: 820px; }
.post-feature p { color: var(--moon-2); max-width: 720px; font-size: 17px; }
.post-feature .post-meta { color: var(--moon-3); }
.post-feature .tag-soft { background: #1E2350; color: #C3C9FF; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.tag-soft { height: 22px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 500; }
.post-more { font-size: 14px; font-weight: 500; color: var(--accent); }
.post-feature .post-more { color: var(--accent-night); }
.article { max-width: 820px; }
.article-head { padding: 32px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.article-head h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.04em; }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.prose { font-size: 17px; line-height: 1.75; color: #2A2E36; margin-bottom: 56px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 48px; font-size: 28px; line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); }
.prose h3 { margin-top: 32px; font-size: 20px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose code { padding: 1px 6px; border-radius: 5px; background: var(--line-2); font-size: 0.86em; }
.prose pre { padding: 20px 22px; border-radius: 12px; background: var(--night-2); color: #E6E8EC; font-size: 13.5px; line-height: 1.65; overflow-x: auto; }
.prose pre code { padding: 0; background: none; font-size: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; border-bottom-color: var(--ink); }
.related { margin-top: 72px; }
.related h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 24px; }
.related .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------------------------------------------------------- home extras */
.vs { width: 100%; border-collapse: collapse; font-size: 15px; }
.vs th { padding: 16px 20px; text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--paper); }
.vs th:last-child { color: var(--accent); }
.vs td { padding: 16px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.vs td:first-child { font-weight: 500; }
.vs .no { color: var(--ink-3); }
.vs .yes { color: var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { padding: 20px 32px 20px 0; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; font-weight: 400; color: var(--ink-3); }
.accordion details[open] summary::after { content: "−"; }
.accordion p { padding: 0 32px 22px 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }

/* -------------------------------------------------------------- dashboard */
.signin { font-size: 14.5px; color: var(--ink); }
.signin-night { color: var(--moon); }
.signin-night:hover { color: #FFFFFF; }
.dash { max-width: 1100px; }
.auth { max-width: 620px; margin: 0 auto; padding: 72px 0 0; display: flex; flex-direction: column; gap: 14px; }
.auth h1, .dash-head h1 { font-size: 44px; letter-spacing: -0.04em; line-height: 1.08; }
.auth-card { margin-top: 12px; padding: 32px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 12px 40px rgba(11,13,18,0.06); }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-form label { font-size: 14px; font-weight: 500; }
.auth-row { display: flex; gap: 10px; flex-wrap: wrap; }
.auth-row input, .key-form input { flex: 1; min-width: 200px; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid #D5D6D2; background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); }
.auth-row input:focus, .key-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.auth-row .btn { height: 48px; }
.code-input { font-family: var(--mono) !important; letter-spacing: 0.3em; font-size: 20px !important; }
.auth-alt { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-3); flex-wrap: wrap; }
.auth-alt form { display: inline; }
.linkish { padding: 0; border: 0; background: none; font: inherit; color: var(--accent); cursor: pointer; }
.linkish:hover { color: var(--accent-ink); }
.fine-print { font-size: 13px; color: var(--ink-3); }
.banner { padding: 12px 16px; border-radius: 10px; font-size: 14.5px; line-height: 1.5; }
.banner-ok { background: #EAF6EF; color: #0B5A37; border: 1px solid #C7E8D5; }
.banner-err { background: #FDEDEC; color: #9A2A1F; border: 1px solid #F5C9C4; }
.dash > .banner { margin-bottom: 20px; }
.dash > .activate { margin-bottom: 20px; }
.activate-steps { margin: 12px 0 0 20px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 48px 0 28px; flex-wrap: wrap; }
.dash-head p { margin-top: 8px; }
.keybox { margin-bottom: 24px; padding: 28px; border-radius: 16px; border: 2px solid var(--accent); background: #F7F8FF; display: flex; flex-direction: column; gap: 14px; }
.keybox h2 { font-size: 20px; }
.keybox p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.key { margin: 0; padding: 16px 18px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-family: var(--mono); font-size: 15px; overflow-x: auto; user-select: all; }
.src { margin-bottom: 24px; padding: 24px 28px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.src h2 { font-size: 16px; }
.src-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #D5D6D2; background: var(--paper); font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.chip-btn:hover { border-color: var(--ink); }
.tiles { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.tile { background: var(--paper); padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tile span { font-size: 13px; color: var(--ink-3); }
.tile strong { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.tile small { font-size: 12.5px; color: var(--ink-3); }
.meter { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.meter span { display: block; height: 8px; border-radius: 4px; background: var(--accent); }
.panel-light { margin-bottom: 24px; padding: 24px 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h2 { font-size: 17px; }
.bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar-track { width: 100%; height: 140px; display: flex; align-items: flex-end; border-bottom: 1px solid #C9C9C4; }
.bar { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--accent); }
.bar-col small { font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.route-table, .keys-table { margin-top: 20px; }
.route-table th, .keys-table th { padding: 10px 16px; text-align: left; font-size: 12.5px; font-weight: 500; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.route-table td:first-child { font-family: var(--mono); font-size: 13px; }
.keys-table { margin-top: 0; }
.right { text-align: right; }
.btn-revoke { height: 32px; padding: 0 12px; border-radius: 7px; border: 1px solid #E1E1DC; background: var(--paper); font: inherit; font-size: 13px; color: #B42318; cursor: pointer; }
.btn-revoke:hover { border-color: #B42318; }
.key-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.btn-regen { height: 32px; padding: 0 12px; border-radius: 7px; border: 1px solid #E1E1DC; background: var(--paper); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.btn-regen:hover { border-color: var(--ink); }
.key-form { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.key-form input { height: 38px; font-size: 14.5px; }
.empty { padding: 12px 0; font-size: 14.5px; }
.w-0 { width: 0%; }
.w-5 { width: 5%; }
.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-25 { width: 25%; }
.w-30 { width: 30%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.w-95 { width: 95%; }
.w-100 { width: 100%; }
.h-0 { height: 0%; }
.h-5 { height: 5%; }
.h-10 { height: 10%; }
.h-15 { height: 15%; }
.h-20 { height: 20%; }
.h-25 { height: 25%; }
.h-30 { height: 30%; }
.h-35 { height: 35%; }
.h-40 { height: 40%; }
.h-45 { height: 45%; }
.h-50 { height: 50%; }
.h-55 { height: 55%; }
.h-60 { height: 60%; }
.h-65 { height: 65%; }
.h-70 { height: 70%; }
.h-75 { height: 75%; }
.h-80 { height: 80%; }
.h-85 { height: 85%; }
.h-90 { height: 90%; }
.h-95 { height: 95%; }
.h-100 { height: 100%; }

/* --------------------------------------------------------------- checkout */
.checkout { margin-bottom: 24px; padding: 28px; border-radius: 16px; border: 2px solid var(--ink); background: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.checkout h2 { font-size: 24px; letter-spacing: -0.02em; }
.buy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.buy-card { padding: 20px; border-radius: 12px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.buy-current { background: var(--paper-2); }
.buy-head { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.buy-price { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.buy-price small { font-size: 13px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.buy-card p { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.buy-card .btn { width: 100%; }
.pay { margin-top: 12px; padding: 24px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.pay-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 17px; }
.pay-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.pay-qr { display: flex; flex-direction: column; gap: 12px; }
.qr { width: 220px; height: 220px; padding: 8px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); }
.qr svg { display: block; width: 100%; height: 100%; }
.pay-qr .btn { width: 100%; }
.pay-qr small { max-width: 240px; font-size: 12.5px; line-height: 1.45; }
.pay-facts { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pay-facts div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.pay-facts dt { font-size: 13px; color: var(--ink-3); }
.pay-facts dd { margin: 0; font-size: 15px; }
.addr { font-size: 13.5px; overflow-wrap: anywhere; user-select: all; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--line); }
.steps li.on { color: var(--ink); font-weight: 500; }
.steps li.on::before { background: var(--up); }
.pay-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.pay-done { background: #F4FBF6; border-color: #C7E8D5; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .detail { display: none; }
  .hero h1 { font-size: 64px; }
  .cards3, .uses { grid-template-columns: minmax(0, 1fr); }
  .dev { padding: 56px 40px; }
  .dev-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .endpoints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans, .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .custom-cta { align-items: flex-start; }
  .strip > div:nth-child(2) { border-right: 0; }
  .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-4, .split-8 { grid-column: span 12; }
  .two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .nav { gap: 16px; }
  .nav-links, .nav-end .signin { display: none; }
  .hero { padding-bottom: 64px; }
  .hero-copy { padding-top: 64px; gap: 22px; }
  .hero h1 { font-size: 44px; }
  .hero-lede { font-size: 17px; }
  .pill { height: auto; min-height: 32px; padding: 5px 12px 5px 5px; text-align: left; }
  .panel { margin-top: 48px; }
  .panel-bar .hide-sm, .board .hide-sm { display: none; }
  .board th:first-child, .board td:first-child { padding-left: 14px; width: 56px; }
  .board th:last-child, .board td:last-child { padding-right: 14px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact, .fact:first-child, .fact:last-child { padding: 28px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact strong { font-size: 34px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .h2, .h2-sm, .h2-xs { font-size: 34px; }
  .closing h2, .page-hero h1 { font-size: 40px; }
  .dev { padding: 40px 20px; border-radius: 16px; }
  .endpoints, .plans, .strip, .faq { grid-template-columns: minmax(0, 1fr); }
  .strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip > div:last-child { border-bottom: 0; }
  .strip-head { flex-direction: column; align-items: flex-start; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .foot-cols div:first-child { grid-column: span 2; }
  .foot-base, .mini-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mini-foot .end { margin-left: 0; }
  .compare { font-size: 13px; }
  .compare th:first-child { width: 30%; }
  .gap-top, .pt-128 { margin-top: 0; padding-top: 80px; }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
  .docs-top .hide-sm { display: none; }
  .doc { padding: 32px 16px 80px; }
  .codes td:nth-child(2) { width: auto; }
}
@media (max-width: 1180px) {
  .posts, .related .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb .hide-md { display: none; }
}
@media (max-width: 860px) {
  .posts, .related .posts, .tr-cols { grid-template-columns: minmax(0, 1fr); }
  .lb-head h1, .tr-head h1, .article-head h1 { font-size: 34px; }
  .post-feature { padding: 28px; }
  .post-feature h2 { font-size: 26px; }
  .lb .hide-sm { display: none; }
  .lb th, .lb td { padding: 10px 10px; }
  .prose { font-size: 16px; }
  .tr-head .badge-lg { margin-left: 0; }
  .stat strong { font-size: 20px; }
  .vs th, .vs td { padding: 12px; font-size: 14px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wide { grid-column: span 2; }
  .auth h1, .dash-head h1 { font-size: 32px; }
  .auth-card, .panel-light, .keybox { padding: 20px; }
  .bars { gap: 3px; }
  .bar-col small { display: none; }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .pay-body { grid-template-columns: minmax(0, 1fr); }
  .pay-qr { align-items: center; }
  .pay-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .checkout { padding: 20px; }
}
/* Telegram rank alerts */
.tg-cta { margin-top: 32px; padding: 18px 20px; border-radius: 14px; background: #EEF0FF; border: 1px solid #D4D8FF; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tg-cta-top { margin: 0 0 24px; }
.tr-grid + .tg-cta-top { margin: 24px 0 0; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--up); vertical-align: 1px; }
.night .live-dot { background: var(--up-night); }
.nav-links .nav-live { color: var(--ink); font-weight: 500; }
.night .nav-links .nav-live { color: var(--moon); }
.tg-cta div { flex: 1; min-width: 240px; }
.tg-cta strong { font-size: 16px; color: var(--ink); }
.tg-cta p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* Rising traders */
.rise { margin-top: 40px; }
.rise h2 { font-size: 22px; letter-spacing: -0.02em; }
.rise > p { margin: 6px 0 16px; font-size: 14px; }
.who-line { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; min-width: 0; }
.who-line .sig { margin-left: 0; }
.sig { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: #FFF4E5; color: #8A4B00; border: 1px solid #F5D9B0; font-size: 11.5px; font-weight: 500; white-space: nowrap; vertical-align: middle; }
.rank-move { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.rank-move strong { color: var(--ink); font-weight: 600; }

/* Trader lookup and archive */
.fomo-ref { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fomo-ref p { flex: 1; min-width: 240px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fomo-ref p strong { color: var(--ink); }
.tsearch { width: 100%; max-width: 560px; }
.lb-search { margin: -8px 0 24px; }
.nf-search { width: 100%; max-width: 560px; margin-top: 8px; text-align: left; }
.banner-info { background: #EEF0FF; color: #26307A; border: 1px solid #D4D8FF; margin-bottom: 20px; }
.tr-faq { margin-top: 56px; }
.tr-faq > h2, .trader-more h2 { font-size: 20px; margin-bottom: 20px; }
.dir-head { padding: 32px 0 24px; display: flex; flex-direction: column; gap: 14px; }
.dir-head h1 { font-size: 52px; letter-spacing: -0.04em; line-height: 1.05; }
.dir-head p { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.dir-miss { padding: 20px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; background: var(--paper); margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.dir-miss h2 { font-size: 20px; }
.dir-miss p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.dir-miss-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 20px; }
.letters a { min-width: 34px; height: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); background: var(--paper); }
.letters a[aria-current] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.dir-count { margin-bottom: 12px; font-size: 14px; }
.dir-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; }
.dir-list li { display: flex; gap: 8px; align-items: baseline; min-width: 0; font-size: 15px; }
.dir-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-list small { color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.pager { display: flex; gap: 10px; margin-top: 24px; }
@media (max-width: 860px) {
  .dir-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir-head h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .post-card, .post-feature { transition: none; } .post-card:hover, .post-feature:hover { transform: none; } }
.section-head.flush { margin: 0; }
