/* Vane — up-or-down pools on Robinhood Chain's own price feeds.
 *
 * GROUND: "Lüdinghausen, Burg Kakesbeck -- 2021 -- 8857", Dietmar Rabich (CC BY-SA 4.0, Wikimedia Commons): Kakesbeck
 * Castle at 06:23 on a May morning — sun on the tiled roofs, a slate spire, and on the spire a cockerel weathervane
 * against a clear dawn sky. The palette is read from it: dawn cream for every surface, the spire's slate for ink and
 * the primary button, the sunlit roof's burnt sienna for the italic word and links. UP is a field green, DOWN the
 * roof's brick. The mark is that weathervane.
 *
 * TYPE: Instrument Serif (wordmark, headings, big figures) · Figtree (body, 400–700) · DM Mono (amounts, addresses).
 *
 * SURFACES — the division, and every word sits on one of them:
 *   .glass    dawn sheet      the nav pill, the hero card and each section's heading, over the clear photograph.
 *   .card     cream card      content: steps, FAQ rows, the app's panels. Alternates with .card-2.
 *   .slab     dense slab      numbers, tables, inputs, the rows of a list.
 *   .foot     cream band      the footer.
 * There are no full-width section veils: the photograph shows between cards, so no frame is one flat fill.
 * No chromatic literal outside :root.
 */
:root {
  --ink: #1b222a;
  --ink-2: #313a44;
  --ink-3: #59636e;
  --slate: #25303c;
  --slate-2: #34424f;
  --on-slate: #faf5ec;
  --sienna: #6b3410;
  --sun: #d29c65;
  --sky: #a3bad9;
  --dawn: #f1d2ab;
  --cream: #fbf6ee;
  --up: #16533a;
  --up-bar: #2f8a5c;
  --up-soft: rgba(47, 138, 92, 0.15);
  --down: #9a2f1a;
  --down-bar: #c0563a;
  --down-soft: rgba(192, 86, 58, 0.14);
  --warn: #7a5200;
  --warn-soft: rgba(210, 150, 30, 0.16);
  --tint: rgba(37, 48, 60, 0.07);
  --tint-line: rgba(37, 48, 60, 0.2);
  --night: #fbf7f0;
  --fill: #a7bcd6;
  --line: rgba(27, 34, 42, 0.1);
  --line-2: rgba(27, 34, 42, 0.2);
  --glass: rgba(251, 247, 240, 0.8);
  --glass-thin: rgba(251, 247, 240, 0.8);
  --glass-edge: rgba(255, 255, 255, 0.55);
  --nav: rgba(251, 248, 242, 0.82);
  --card: rgba(251, 248, 242, 0.87);
  --card-2: rgba(245, 242, 236, 0.89);
  --app-card: rgba(251, 248, 242, 0.86);
  --app-card-2: rgba(244, 241, 235, 0.88);
  --slab: rgba(254, 252, 249, 0.9);
  --zebra: rgba(245, 242, 236, 0.92);
  --strip: rgba(251, 248, 242, 0.9);
  --foot: rgba(250, 247, 241, 0.9);
  --track: rgba(27, 34, 42, 0.12);
  --sk1: rgba(27, 34, 42, 0.06);
  --sk2: rgba(27, 34, 42, 0.14);
  --code-bg: #1f2731;
  --code-ink: #eef1f4;
  --code-link: #f0c99c;
  --shadow: 0 24px 50px -30px rgba(24, 30, 38, 0.55), 0 1px 3px rgba(24, 30, 38, 0.12);
  --shadow-sm: 0 8px 22px -14px rgba(24, 30, 38, 0.45);
  --focus: 0 0 0 3px rgba(52, 66, 79, 0.35);
  --r-lg: 26px;
  --r: 18px;
  --r-sm: 12px;
  --maxw: 1124px;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--fill); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--sienna); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--slate-2); }
code, .mono { font-family: var(--mono); font-size: 0.9em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.06; margin: 0; color: var(--ink); }
p { margin: 0 0 12px; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--sienna); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.up-t { color: var(--up); font-weight: 600; }
.down-t { color: var(--down); font-weight: 600; }

/* ---------------------------------------------------------------- the ground */
.ground { position: fixed; inset: 0; z-index: -2; background: var(--fill) url('../img/ground-1440.jpg') 50% 0% / cover no-repeat; }
@media (min-width: 1600px) { .ground { background-image: url('../img/ground-2400.jpg'); } }
@media (max-width: 760px) { .ground { background-image: url('../img/ground-900.jpg'); background-position: 50% 0%; } }

/* ---------------------------------------------------------------- surfaces */
.glass { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--r-lg); box-shadow: var(--shadow); backdrop-filter: blur(8px) saturate(1.1); -webkit-backdrop-filter: blur(8px) saturate(1.1); }
.card, .panel { background: var(--card); border: 1px solid var(--glass-edge); border-radius: var(--r); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.card-2 { background: var(--card-2); }
.slab, .solid { background: var(--slab); border: 1px solid var(--line); border-radius: var(--r); }
.wrap { width: min(var(--maxw), calc(100% - 48px)); margin: 0 auto; }
.band { position: relative; padding: 84px 0; }

/* ---------------------------------------------------------------- nav */
.top { position: sticky; top: 14px; z-index: 50; margin-top: 14px; }
.pill-nav { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 12px; border-radius: 999px; background: var(--nav); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-sm); backdrop-filter: blur(20px) saturate(1.1); -webkit-backdrop-filter: blur(20px) saturate(1.1); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: 400 30px/1 var(--serif); letter-spacing: -0.005em; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 2px; margin-left: 22px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 13px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); background: var(--tint); }
.nav-end { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.x-link { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--slab); color: var(--ink); text-decoration: none; flex: none; }
.x-link:hover { background: var(--zebra); color: var(--ink); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--slab); cursor: pointer; place-items: center; color: var(--ink); }
.chain-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 6px 10px; }
.chain-dot i, .chip i, .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--up-bar); box-shadow: 0 0 0 3px var(--up-soft); flex: none; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; background: var(--slate); color: var(--on-slate); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm); transition: background 0.15s, transform 0.15s; white-space: nowrap; }
.btn:hover, .top .btn:hover { background: var(--slate-2); color: var(--on-slate); }
.top .btn { color: var(--on-slate); }
.btn:disabled { background: var(--track); color: var(--ink-2); box-shadow: none; cursor: not-allowed; }
.btn.ghost { background: var(--slab); color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: var(--zebra); color: var(--ink); }
.btn.up { background: var(--up); color: var(--on-slate); }
.btn.up:hover { background: var(--up-bar); color: var(--on-slate); }
.btn.down { background: var(--down); color: var(--on-slate); }
.btn.down:hover { background: var(--down-bar); color: var(--on-slate); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.xs { padding: 6px 12px; font-size: 13px; box-shadow: none; }
.btn.block { width: 100%; }
.btn .arr { transition: transform 0.15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn:focus-visible, .inp:focus, .money:focus-within, .pick:focus-visible, .call:focus-visible { outline: none; box-shadow: var(--focus); }

/* ---------------------------------------------------------------- hero: the weathervane stands on the left, the card on the right */
.hero { padding: 40px 0 34px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: 22px; min-height: min(78vh, 720px); }
.hero-card { padding: 34px 40px 30px; grid-column: 2; }
.glass.hero-card { background: var(--glass-thin); backdrop-filter: blur(6px) saturate(1.05); -webkit-backdrop-filter: blur(6px) saturate(1.05); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.chip b { font-weight: 600; color: var(--ink); }
.hero .wordmark { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; }
.hero .wordmark img { width: 54px; height: 54px; filter: drop-shadow(0 6px 14px rgba(24, 30, 38, 0.25)); }
.hero .wordmark span { font: 400 58px/1 var(--serif); letter-spacing: -0.01em; }
.hero h1 { font-size: clamp(42px, 5.2vw, 70px); line-height: 1.0; margin: 12px 0 16px; letter-spacing: -0.015em; }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 31em; margin: 0 0 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink); padding: 6px 12px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line); }
.trust svg { width: 14px; height: 14px; color: var(--slate); }

/* ---------------------------------------------------------------- the board (home preview and the app) */
.widget { width: 100%; margin: 0 auto; padding: 22px; background: var(--app-card); border: 1px solid var(--glass-edge); border-radius: var(--r-lg); box-shadow: var(--shadow); backdrop-filter: blur(8px) saturate(1.05); -webkit-backdrop-filter: blur(8px) saturate(1.05); }
.w-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.w-top .ic { width: 40px; height: 40px; flex: none; }
.w-top h2 { font-size: 30px; line-height: 1.1; }
.w-top .w-sub { font-size: 13px; color: var(--ink-2); }
.live { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--up-soft); padding: 5px 11px; border-radius: 999px; }
.live i { animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.w-fine { margin: 12px 4px 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.skeleton { display: inline-block; height: 14px; width: 90px; border-radius: 6px; background: linear-gradient(90deg, var(--sk1), var(--sk2), var(--sk1)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.board { display: grid; gap: 6px; }
.brow { display: grid; grid-template-columns: minmax(150px, 1.15fr) 120px minmax(170px, 1.5fr) auto; gap: 14px; align-items: center; padding: 11px 14px; border-radius: var(--r-sm); background: var(--slab); border: 1px solid var(--line); }
.brow:nth-child(even) { background: var(--zebra); }
.brow.head { background: transparent; border: 0; padding: 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.brow.head .px { font: inherit; }
.tk { display: flex; flex-direction: column; min-width: 0; }
.tk b { font: 600 15px var(--sans); color: var(--ink); }
.tk small { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px { font: 500 14px var(--mono); color: var(--ink); text-align: right; }
.px small { display: block; font-size: 12px; }
.split { display: grid; gap: 5px; }
.bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--track); }
.bar i { display: block; height: 100%; }
.bar .u { background: var(--up-bar); }
.bar .d { background: var(--down-bar); }
.split-n { display: flex; justify-content: space-between; font: 500 12.5px var(--mono); color: var(--ink-2); }
.split-n .u { color: var(--up); }
.split-n .d { color: var(--down); }
.calls { display: flex; gap: 6px; }
.call { border: 1px solid var(--line-2); background: var(--slab); color: var(--ink); border-radius: 999px; padding: 7px 13px; font: 600 13.5px var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.call.u { color: var(--up); border-color: var(--up-bar); }
.call.d { color: var(--down); border-color: var(--down-bar); }
.call.u:hover, .call.u[aria-pressed='true'] { background: var(--up); color: var(--on-slate); border-color: var(--up); }
.call.d:hover, .call.d[aria-pressed='true'] { background: var(--down); color: var(--on-slate); border-color: var(--down); }
.mine { font: 500 12px var(--mono); color: var(--ink-2); }
.lead { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.lead.u { color: var(--up); background: var(--up-soft); }
.lead.d { color: var(--down); background: var(--down-soft); }
.lead.t { color: var(--ink-2); background: var(--tint); }

/* ---------------------------------------------------------------- the strip of facts */
.strip { background: var(--strip); border-top: 1px solid var(--glass-edge); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); margin-top: 56px; }
.strip ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 30px; margin: 0 auto; padding: 18px 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.strip li { display: inline-flex; align-items: center; }
.strip li + li { border-left: 1px solid var(--line-2); padding-left: 30px; }
.strip b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- sections */
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 36px; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--r-lg); padding: 30px 36px 32px; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px) saturate(1.05); -webkit-backdrop-filter: blur(8px) saturate(1.05); }
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sienna); margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line); }
.sec-head h2 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.04; }
.sec-head p { margin: 16px auto 0; font-size: 17px; color: var(--ink-2); max-width: 36em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step { padding: 26px 24px; }
.step .n { display: block; font: 500 13px var(--mono); color: var(--sienna); margin-bottom: 14px; letter-spacing: 0.04em; }
.step h3 { font-size: 28px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-2); margin: 0; }
.grid-3 .card:nth-child(even), .grid-2 .card:nth-child(even) { background: var(--card-2); }
.card { padding: 26px 24px; }
.card h3 { font-size: 26px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--tint-line); color: var(--slate); margin-bottom: 18px; background: var(--slab); }
.ico svg { width: 18px; height: 18px; }

/* a worked pool */
.worked { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.worked .fig-card { padding: 22px; background: var(--slab); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; align-content: center; gap: 12px; }
.worked svg text { font-family: var(--sans); font-size: 12.5px; fill: var(--ink-2); }
.worked svg .t-strong { fill: var(--ink); font-weight: 600; }
.worked svg .t-up { fill: var(--up); font-weight: 600; }
.worked svg .t-down { fill: var(--down); font-weight: 600; }
.worked svg text { color: var(--ink-2); }
.worked svg .t-strong { color: var(--ink); }
.worked svg .t-up { color: var(--up); }
.ex-bar { display: flex; height: 38px; border-radius: 10px; overflow: hidden; font: 600 13.5px var(--sans); color: var(--on-slate); }
.ex-bar span { display: flex; align-items: center; padding: 0 12px; white-space: nowrap; }
.ex-bar .u { background: var(--up); }
.ex-bar .d { background: var(--down); }
.w-line b.up-t { color: var(--up); }
.ledger { display: grid; gap: 10px; }
.ledger div { padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--glass-edge); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ledger div:nth-child(even) { background: var(--card-2); }
.ledger b { display: block; font-size: 15px; margin-bottom: 2px; color: var(--ink); }
.ledger span { font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--card); border: 1px solid var(--glass-edge); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.faq details:nth-child(even) { background: var(--card-2); }
.faq summary { cursor: pointer; padding: 18px 24px; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 22px/1 var(--sans); color: var(--slate); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 24px 20px; margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------------------------------------------------------------- app pages */
.page-head { padding: 40px 0 26px; display: grid; justify-items: end; }
.page-head .glass { width: min(700px, 100%); padding: 26px 36px 24px; }
.page-head h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.02; margin: 0; overflow-wrap: anywhere; }
.page-head p { margin: 12px 0 0; font-size: 17px; color: var(--ink-2); max-width: 36em; }
.page-head .eyebrow { margin-bottom: 12px; }
.band.app-band { padding: 4px 0 84px; min-height: 50vh; }
.app-band .card, .app-band .panel { background: var(--app-card); }
.app-band .card-2 { background: var(--app-card-2); }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.side { position: sticky; top: 92px; display: grid; gap: 16px; }
.main-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.main-col > *, .side > * { min-width: 0; }
.pane-h .tabs { max-width: 100%; }
.pane { padding: 24px; }
.pane-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pane-h h2 { font-size: 30px; }
.pane-h .meta { font-size: 12.5px; color: var(--ink-2); font-family: var(--mono); }
.label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.field-label { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 7px; }
.field-label span { text-transform: none; letter-spacing: 0; font-weight: 500; font-family: var(--mono); }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line); overflow-x: auto; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected='true'] { background: var(--slate); color: var(--on-slate); }
.sidepick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.sidepick button { padding: 14px 10px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--slab); font: 600 16px var(--sans); cursor: pointer; display: grid; gap: 2px; justify-items: center; }
.sidepick button small { font: 500 12px var(--mono); color: var(--ink-2); }
.sidepick .u { color: var(--up); }
.sidepick .d { color: var(--down); }
.sidepick .u[aria-pressed='true'] { background: var(--up); border-color: var(--up); color: var(--on-slate); }
.sidepick .d[aria-pressed='true'] { background: var(--down); border-color: var(--down); color: var(--on-slate); }
.sidepick button[aria-pressed='true'] small { color: var(--on-slate); }
.money { display: flex; align-items: center; gap: 6px; background: var(--slab); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0 8px 0 14px; height: 56px; }
.money > span { font: 400 26px var(--serif); color: var(--ink-2); }
.money input { border: 0; background: transparent; outline: 0; width: 100%; min-width: 0; font: 400 30px var(--serif); color: var(--ink); }
.money .unit { font: 500 13px var(--mono); color: var(--ink-2); white-space: nowrap; padding-right: 6px; }
.bal { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); margin: 7px 2px 14px; flex-wrap: wrap; }
.bal b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.bal button { border: 0; background: none; padding: 0; color: var(--sienna); font-weight: 600; cursor: pointer; font-size: 13px; }
.quick { display: flex; gap: 6px; margin: -6px 0 14px; flex-wrap: wrap; }
.quick button { border: 1px solid var(--line-2); background: var(--slab); border-radius: 999px; padding: 5px 12px; font: 500 13px var(--mono); color: var(--ink-2); cursor: pointer; }
.quick button:hover { color: var(--ink); }
.pick { width: 100%; height: 50px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--slab); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; outline: 0; }
.pick option { background: var(--night); color: var(--ink); }
.sumbox { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); margin: 14px 0 12px; }
.w-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; background: var(--slab); font-size: 14px; color: var(--ink-2); }
.w-line:nth-child(even) { background: var(--zebra); }
.w-line b { font: 500 14px var(--mono); color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.w-line.hl b { font: 400 24px/1 var(--serif); }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.kv:last-child { border-bottom: 0; }
.kv b { font-family: var(--mono); font-weight: 500; text-align: right; overflow-wrap: anywhere; color: var(--ink); min-width: 0; }
.msg { font-size: 14px; padding: 11px 13px; border-radius: var(--r-sm); background: var(--slab); border: 1px solid var(--line); margin: 8px 0; color: var(--ink); }
.msg.bad { border-color: var(--down); color: var(--down); }
.msg.warn { border-color: var(--warn); color: var(--warn); }
.msg.good { border-color: var(--up); color: var(--up); }
.status { margin-top: 10px; font-size: 14px; color: var(--ink); }
.status:empty { display: none; }
.fine-print, .card .fine-print { font-size: 12.5px; color: var(--ink-2); margin: 12px 2px 0; line-height: 1.5; }
.linkish { border: 0; background: none; padding: 0; color: var(--sienna); font-weight: 600; cursor: pointer; font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.pill.won { color: var(--up); border-color: var(--up-soft); background: var(--up-soft); }
.pill.lost { color: var(--down); border-color: var(--down-soft); background: var(--down-soft); }
.pill.wait { color: var(--warn); border-color: var(--warn-soft); background: var(--warn-soft); }
.alert-card { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--warn); background: var(--slab); }
.alert-card h3 { font-size: 26px; color: var(--warn); margin-bottom: 6px; }
.alert-card p { color: var(--ink); }
.count { font: 400 40px/1 var(--serif); color: var(--ink); }
.picked { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--slab); border: 1px solid var(--line); margin-bottom: 14px; }
.picked .tk { flex: 1; }
.picked .px { text-align: right; }
.when-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin: -4px 2px 12px; }
.when-row b { color: var(--ink); font-weight: 600; }

/* my calls */
.mylist { display: grid; gap: 8px; }
.myrow { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--slab); }
.myrow:nth-child(even) { background: var(--zebra); }
.myrow .what b { font-weight: 600; }
.myrow .what small, .myrow .res small { display: block; font-size: 12.5px; color: var(--ink-2); }
.myrow .res { font: 500 14px var(--mono); text-align: right; }

/* tables */
.tbl-wrap { overflow-x: auto; border-radius: var(--r-sm); border: 1px solid var(--line); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); padding: 11px 14px; background: var(--slab); white-space: nowrap; }
.tbl th.num { text-align: right; }
.tbl td { padding: 10px 14px; background: var(--slab); border-top: 1px solid var(--line); vertical-align: middle; color: var(--ink); }
.tbl tr:nth-child(even) td { background: var(--zebra); }
.tbl .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.note { font-size: 13.5px; color: var(--ink-2); margin: 12px 0 0; }
.band .note { color: var(--ink); background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--r-sm); padding: 9px 14px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.empty { padding: 30px 26px; text-align: center; }
.empty h3 { font-size: 28px; margin-bottom: 10px; }
.empty p { max-width: 38em; margin-left: auto; margin-right: auto; color: var(--ink-2); }

/* docs */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.toc { position: sticky; top: 92px; padding: 14px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.toc a:hover { background: var(--tint); color: var(--ink); }
.doc-body { min-width: 0; }
.doc-body > section { padding: 30px 34px; margin-bottom: 16px; }
.app-band .doc-body > section:nth-child(even) { background: var(--app-card-2); }
.doc-body h2 { font-size: 36px; margin-bottom: 14px; }
.doc-body h3 { font: 600 15px var(--sans); letter-spacing: 0.01em; margin: 22px 0 8px; color: var(--ink); }
.doc-body p, .doc-body li { font-size: 15.5px; color: var(--ink-2); }
.doc-body ul, .doc-body ol { padding-left: 20px; }
.doc-body code { overflow-wrap: anywhere; color: var(--ink); }
.addr { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
pre { background: var(--code-bg); color: var(--code-ink); padding: 16px; border-radius: var(--r-sm); overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.6 var(--mono); }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--foot); color: var(--ink); padding: 64px 0 34px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-top: 20px; }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.foot a.brand { display: flex; color: var(--ink); padding: 0; font: 400 30px/1 var(--serif); }
.foot .about { font-size: 14.5px; margin-top: 14px; color: var(--ink-2); max-width: 30em; }
.foot h4 { margin: 4px 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.foot a { display: block; text-decoration: none; font-size: 14.5px; padding: 4px 0; color: var(--ink); }
.foot a:hover { color: var(--slate-2); text-decoration: underline; }
.foot .fine { display: grid; gap: 6px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.foot .fine a { display: inline; font-size: inherit; padding: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 99; background: var(--code-bg); color: var(--code-ink); border: 1px solid var(--line-2); padding: 12px 18px; border-radius: 14px; font-weight: 500; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast a { color: var(--code-link); }
.center-page { min-height: 74vh; display: grid; place-items: center; padding: 40px 0; }
.center-page .glass { background: var(--card); padding: 46px 48px; max-width: 580px; text-align: center; }
.center-page h1 { font-size: 72px; }
.center-page p { color: var(--ink-2); }

.rise { transition: opacity 0.6s ease, transform 0.6s ease; }
.motion .rise:not(.in) { opacity: 0; transform: translateY(14px); }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 1060px) {
  .nav-links { margin-left: 8px; }
  .chain-dot { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .worked { grid-template-columns: 1fr; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .hero { grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 32px); }
  .top { top: 10px; margin-top: 10px; }
  .pill-nav { padding-left: 10px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; margin: 0; padding: 10px; border-radius: 22px; background: var(--night); border: 1px solid var(--glass-edge); box-shadow: var(--shadow); }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .top.open .nav-links { display: flex; }
  .menu-btn { display: grid; }
  .btn .lg { display: none; }
  .brow { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .brow .split { grid-column: 1 / -1; grid-row: 2; }
  .brow .calls { grid-column: 1 / -1; grid-row: 3; }
  .brow .calls .call { flex: 1; justify-content: center; }
  .brow.head { display: none; }
}
@media (max-width: 760px) {
  .brand { font-size: 27px; }
  .hero { grid-template-columns: 1fr; padding: 0 0 30px; gap: 0; min-height: 0; }
  .hero::before { content: ''; display: block; height: 30vh; }
  .hero-card { grid-column: 1; padding: 24px 20px 22px; }
  .hero .wordmark img { width: 44px; height: 44px; }
  .hero .wordmark span { font-size: 46px; }
  .hero h1 { font-size: clamp(38px, 11vw, 48px); margin: 10px 0 12px; }
  .lede { font-size: 16px; margin-bottom: 20px; }
  .trust { display: none; }
  .hero .chip { display: none; }
  .hero .wordmark { margin-top: 0; }
  .widget { padding: 14px; border-radius: 22px; }
  .w-top h2 { font-size: 24px; }
  .strip ul { flex-direction: column; align-items: center; gap: 6px; padding: 16px 0; font-size: 13.5px; }
  .strip li + li { border-left: 0; padding-left: 0; }
  .band { padding: 56px 0; }
  .sec-head { margin-bottom: 24px; text-align: left; padding: 22px 20px 24px; }
  .sec-head p { margin-left: 0; font-size: 16px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 20px 18px; }
  .step h3 { font-size: 25px; }
  .card { padding: 22px 20px; }
  .faq summary { padding: 16px 18px; font-size: 15px; }
  .faq details p { padding: 0 18px 18px; }
  .foot { padding: 48px 0 28px; }
  .foot .cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .foot .cols > :first-child { grid-column: 1 / -1; }
  .page-head { padding: 0 0 18px; }
  .page-head::before { content: ''; display: block; height: 22vh; }
  .page-head .glass { padding: 20px 20px; }
  .page-head p { font-size: 16px; }
  .pane { padding: 18px; }
  .tabs button { padding: 8px 10px; font-size: 13.5px; }
  .myrow { grid-template-columns: minmax(0, 1fr) auto; }
  .myrow .acts { grid-column: 1 / -1; }
  .doc-body > section { padding: 22px 20px; }
  .center-page .glass { padding: 32px 22px; }
}
