@import url("/tokens.css");

/* Site layer over the shared tokens. A night palette for every public page (the dashboard keeps
   the shared tokens): deeper ground, blue-lit surfaces with light catching their top edge,
   gradient display type. */
:root {
  --bg: #05070d;
  --panel: #090c18;
  --card: #0b0f1d;
  --card-2: #11162a;
  --card-3: #1a2140;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text-2: #b9c0d4;
  --text-3: #8790a8;
  --accent: #7d93ff;
  --accent-strong: #a5b4ff;
  --accent-ink: #050816;
  --accent-soft: rgba(125, 147, 255, 0.14);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  --elev-2: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

* { box-sizing: border-box; }
html { scrollbar-color: var(--line-2) var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--t-body)/1.65 var(--sans); -webkit-font-smoothing: antialiased; caret-color: var(--accent); overflow-x: hidden; }
::selection { background: rgba(147, 168, 255, 0.32); color: var(--text); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.num, table.data td { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.num { letter-spacing: -0.02em; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(5, 7, 13, 0.72); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.site-header .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand::before { content: ""; width: 24px; height: 24px; background: url(/mark.svg) center / contain no-repeat; flex: none; }
.site-header .brand { flex-shrink: 0; }
.site-header .primary-nav { display: flex; align-items: center; gap: var(--s-5); }
.site-header nav a:not(.btn) { display: inline-flex; align-items: center; min-height: var(--btn-h); color: var(--text-2); font-size: var(--t-small); transition: color 0.2s; }
.site-header nav a:not(.btn):hover { color: var(--text); }
.menu { display: none; }
.menu summary { display: inline-flex; align-items: center; justify-content: center; min-height: var(--btn-h); padding: 0 var(--s-4); border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--card-2); color: var(--text); font-size: var(--t-small); font-weight: 500; list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--card-3); }
.menu-panel { position: absolute; top: calc(100% + var(--s-2)); right: var(--s-4); width: min(320px, calc(100vw - 32px)); display: grid; gap: var(--s-1); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--elev-2); }
.menu-panel a:not(.btn) { padding: 0 var(--s-3); }
.menu-panel .btn { margin-top: var(--s-2); }

/* Buttons and inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); height: var(--btn-h); padding: 0 22px; border-radius: var(--pill); font: 500 var(--t-small) var(--sans); border: 1px solid transparent; cursor: pointer; white-space: nowrap; position: relative; transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease), opacity 0.2s; }
.btn-lg { height: var(--btn-h-lg); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: linear-gradient(180deg, #a5b4ff, #7d93ff); color: var(--accent-ink); font-weight: 600; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 8px 24px -8px rgba(125, 147, 255, 0.7); }
.btn-primary:hover { background: linear-gradient(180deg, #b9c5ff, #8ea2ff); }
.btn-ghost { background: var(--card-2); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card-3); }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"] .btn-label { opacity: 0; }
.btn[aria-busy="true"]::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.field { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: var(--radius-md); border: 1px solid var(--line-2); background: var(--panel); transition: border-color 0.2s, box-shadow 0.2s; }
.field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--text); font: 14.5px var(--sans); outline: none; }
.field input.mono { font-family: var(--mono); font-size: 13.5px; }
.field input::placeholder { color: var(--text-3); }
.field .icon { color: var(--text-3); }
.field[data-invalid="true"] { border-color: var(--down); box-shadow: 0 0 0 4px var(--down-soft); }
.row { display: flex; gap: 10px; }
.row .field { flex: 1; }
.label { display: block; font-size: var(--t-label); font-weight: 500; color: var(--text-2); margin-bottom: var(--s-2); }
.hint { color: var(--text-3); font-size: 13px; margin: 10px 0 0; }
.hint a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.hint a:hover { color: var(--text); text-decoration-color: var(--accent); }
.field-error { color: var(--down); font-size: 13px; margin: 8px 0 0; }

/* Hero: a centred promise, the address field, then the product itself in a window that
   unfolds on load. Light comes from one blue glow above the stage and a fading grid. */
.hero { position: relative; isolation: isolate; padding: clamp(56px, 7vw, 88px) 0 0; text-align: center; }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -180px; width: min(1400px, 140vw); height: 980px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(92, 120, 255, 0.32), rgba(92, 120, 255, 0.08) 55%, transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -2; left: 50%; top: -72px; width: 100vw; height: 1100px; transform: translateX(-50%); background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000, transparent); mask-image: radial-gradient(60% 55% at 50% 30%, #000, transparent); pointer-events: none; }
.hero-copy { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-5); padding: 6px 14px 6px 12px; border: 1px solid rgba(125, 147, 255, 0.35); border-radius: var(--pill); background: rgba(125, 147, 255, 0.08); font-size: var(--t-label); font-weight: 500; color: #c7d2ff; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 700; margin: 0 0 var(--s-5); text-wrap: balance; background: linear-gradient(180deg, #ffffff 35%, #a9b3d1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1-soft { display: block; background: linear-gradient(90deg, #c7d2ff, #7d93ff 45%, #b9a4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--text-2); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 40em; margin: 0 0 var(--s-6); text-wrap: pretty; }
.hero-form { width: 100%; max-width: 620px; }
.hero-form .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero-form .row { gap: 0; padding: 6px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255, 255, 255, 0.04); box-shadow: 0 20px 60px -30px rgba(92, 120, 255, 0.6); transition: border-color 0.2s, box-shadow 0.2s; }
.hero-form .row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 20px 60px -30px rgba(92, 120, 255, 0.8); }
.hero-form .field { height: 50px; border: 0; background: none; box-shadow: none !important; padding-left: 14px; }
.hero-form .btn { height: 50px; border-radius: 11px; padding: 0 24px; }
.hero-form .row:has(.field[data-invalid="true"]) { border-color: var(--down); }
.hint.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: var(--s-4); }
.hint.trust span { display: inline-flex; align-items: center; gap: 7px; }
.hint.trust span::before { content: ""; width: 12px; height: 12px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.also-line { margin: var(--s-5) 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-2) var(--s-4); font-size: var(--t-small); color: var(--text-3); }
.also-line a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.also-line a:hover { color: var(--text); text-decoration-color: var(--accent); }

/* The product window */
.app-window .board-head .board-mark, .app-window .board-title { display: none; }
.app-window .result { position: relative; }
.app-window .board-head { position: absolute; top: 14px; right: 18px; padding: 0; }
.app-window .board-wallet { margin-top: 20px; min-height: 20px; }
.hero-stage { margin-top: clamp(40px, 5vw, 64px); perspective: 2000px; text-align: left; }
.app-window { position: relative; border-radius: 22px; padding: 1px; background: linear-gradient(180deg, rgba(160, 178, 255, 0.45), rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.03)); box-shadow: 0 -30px 140px -40px rgba(92, 120, 255, 0.55), 0 60px 120px -50px rgba(0, 0, 0, 0.9); transform-origin: 50% 0; animation: unfold 1.4s var(--ease) 0.15s both; }
.app-window > * { position: relative; }
.app-window::before { content: ""; position: absolute; inset: 1px; border-radius: 21px; background: #080b16; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.app-brand { display: inline-flex; align-items: center; gap: 8px; margin-right: 14px; font-size: 14px; font-weight: 600; }
.app-tab { padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--text-3); }
.app-tab.on { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.app-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; padding: 16px; }
.app-side { display: flex; flex-direction: column; gap: 12px; }
.side-card { flex: 1; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 600; }
.side-card p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-3); }
@keyframes unfold { from { opacity: 0; transform: translateY(60px) rotateX(24deg) scale(0.96); } to { opacity: 1; transform: none; } }
.soon { display: inline-flex; align-items: center; font: 500 11.5px/1 var(--sans); padding: 5px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.07); color: var(--text-2); white-space: nowrap; }

/* Cards */
.card { background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)) border-box; border: 1px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-title { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--sans); padding: 3px 10px; border-radius: var(--pill); background: var(--card-2); color: var(--text-2); white-space: nowrap; }
.pill.live::before, .pill.bad::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.pill.live { color: var(--accent); background: var(--accent-soft); }
.pill.bad { color: var(--gap); background: var(--gap-soft); }

/* History coverage board: the live check, drawn as a piece of the product. */
.result { border-radius: 16px; overflow: hidden; box-shadow: none; }
.board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 18px 22px 0; }
.board-title { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.board-head .pill { margin-left: auto; }
.board-mark { position: relative; width: 22px; height: 22px; flex: none; }
.board-mark i, .board-mark b { position: absolute; height: 3.5px; border-radius: 2px; }
.board-mark i { top: 6.5px; width: 4.2px; background: var(--text); }
.board-mark i:nth-child(1) { left: 3.4px; }
.board-mark i:nth-child(2) { left: 8.9px; }
.board-mark i:nth-child(3) { left: 14.4px; }
.board-mark b { top: 12px; left: 3.4px; width: 15.2px; background: var(--accent); }
.board-wallet { margin: 6px 22px 0; font-size: 12.5px; color: var(--text-3); }
.result .card-body { padding: 18px 22px 22px; }
.verdict { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; color: var(--text); }
.verdict.gap { color: var(--gap); }
.lane { margin: 18px 0 4px; }
.lane-track { position: relative; height: 44px; border-radius: var(--radius-md); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.lane-track .seg { position: absolute; top: 10px; bottom: 10px; left: var(--from); width: calc(var(--to) - var(--from)); border-radius: 6px; transform-origin: left center; }
.seg.gap { background: repeating-linear-gradient(135deg, rgba(230, 176, 78, 0.7) 0 2px, transparent 2px 7px); }
.seg.maybe { border: 1.5px dashed var(--text-3); }
.seg.kept { background: var(--accent); }
.lane-axis { position: relative; display: flex; justify-content: space-between; margin-top: 8px; font: 400 11.5px var(--mono); color: var(--text-3); font-variant-numeric: tabular-nums; }
.lane-axis span[style] { position: absolute; left: var(--at); transform: translateX(-50%); color: var(--text-2); }
.sources { margin: 16px 0 0; border-top: 1px solid var(--line); }
.sources > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.sources dt { color: var(--text-2); }
.sources dd { margin: 0; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.sources .dim { color: var(--text-3); white-space: nowrap; }
.sources .warn dd { color: var(--gap); }
.sources .sum dt, .sources .sum dd { font-size: 15px; font-weight: 600; color: var(--text); }
.sources .sum.gap dd { color: var(--gap); }
.board-note { margin: 14px 0 0; color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.result .cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--accent); }
.result .cta::after { content: "→"; transition: transform 0.2s var(--ease); }
.result .cta:hover { color: var(--accent-strong); }
.result .cta:hover::after { transform: translateX(3px); }
.result.is-loading .card-body { opacity: 0.6; transition: opacity 0.2s; }
/* Results land once: lane segments draw in, rows settle, the mark's pieces drop onto the bar.
   Visible by default, so a skipped animation still shows the final state. */
.result.is-live .seg { animation: grow 0.9s var(--ease) both; }
.result.is-live .sources > div { animation: settle 0.5s var(--ease) both; }
.result.is-live .sources > div:nth-child(2) { animation-delay: 60ms; }
.result.is-live .sources > div:nth-child(3) { animation-delay: 120ms; }
.result.is-live .sources > div:nth-child(4) { animation-delay: 180ms; }
.result.is-live .board-mark i { animation: drop 0.6s var(--ease) both; }
.result.is-live .board-mark i:nth-child(2) { animation-delay: 80ms; }
.result.is-live .board-mark i:nth-child(3) { animation-delay: 160ms; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

.share { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.share .btn { height: 38px; padding: 0 16px; font-size: 13.5px; }
.share-img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }
.share-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.share .hint { margin-top: 8px; }
/* Turnstile shows itself only when a visitor must interact. */
.turnstile { position: fixed; right: 16px; bottom: 16px; z-index: 20; }

/* Product preview: the dashboard as a window */
.preview { margin: 40px 0 0; }
.frame { border: 1px solid var(--line-2); border-radius: 24px; background: var(--panel); overflow: hidden; box-shadow: var(--elev-2); }
.frame .bar { display: flex; align-items: center; gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.frame .bar b { color: var(--text); font-weight: 600; margin-right: 14px; letter-spacing: -0.01em; }
.frame .bar span { padding: 5px 12px; border-radius: var(--pill); }
.frame .bar span.on { color: var(--text); background: var(--card-2); }
.frame .body { padding: 20px; display: grid; gap: 14px; }
.frame .note { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-md); background: var(--gap-soft); font-size: 13px; color: var(--text-2); }
.frame .note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gap); flex: none; }
.frame .top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.frame .top > div:first-child { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.frame .lbl { font-size: 13px; color: var(--text-3); }
.frame .big { font: 600 52px/1 var(--sans); color: var(--up); margin-top: 10px; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.frame .terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.frame .terms div { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--card-2); font-size: 12px; color: var(--text-3); }
.frame .terms b { display: block; font: 500 16px var(--sans); margin-top: 3px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.frame .attr { display: flex; gap: 3px; height: 8px; margin-top: 16px; }
.frame .attr i { border-radius: var(--pill); }
.frame .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12.5px; color: var(--text-3); align-content: start; }
.frame .facts div { padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.frame .facts b { display: block; font: 600 22px var(--sans); margin-top: 6px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.frame .facts b:not(.up):not(.down) { color: var(--text); }
.frame .rec { padding: 18px 20px 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.frame .rec span { font-weight: 400; margin-left: 6px; }
.frame svg { display: block; width: 100%; height: auto; margin-top: 10px; }
.up { color: var(--up); } .down { color: var(--down); }
.sample { text-align: center; color: var(--text-3); font-size: 13px; margin: 14px 0 0; }

/* Sections */
section.block { padding: var(--section) 0 0; scroll-margin-top: 88px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4) var(--s-8); align-items: end; margin-bottom: var(--s-6); }
.section-head h2 { margin: 0; max-width: 18ch; }
h2 { font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.04em; font-weight: 650; margin: 0 0 var(--s-3); text-wrap: balance; background: linear-gradient(180deg, #ffffff 40%, #a9b3d1); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3 { font-size: var(--t-h3); line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.section-head p { color: var(--text-2); margin: 0; font-size: var(--t-lead); line-height: 1.65; max-width: 62ch; text-wrap: pretty; }
.table-card { overflow-x: auto; padding: 6px; }
table.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data thead th { font-size: 12.5px; font-weight: 500; color: var(--text-3); background: var(--panel); border-bottom: 0; }
table.data thead th:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
table.data thead th:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody th { font-weight: 500; }
table.data td { color: var(--text-2); }
/* The band where every wallet lost history carries the evidence. */
.table-card table.data tbody tr:has(td.down) { background: var(--down-soft); }
.table-card table.data tbody tr:has(td.down) th:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.table-card table.data tbody tr:has(td.down) td:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.footnote { color: var(--text-3); font-size: 14px; margin: 16px 0 0; max-width: 75ch; }
.footnote a, .faq a, .ledger a, .section-head a, .sample a, .twap-proof a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.footnote a:hover, .faq a:hover, .ledger a:hover, .section-head a:hover, .sample a:hover, .twap-proof a:hover { text-decoration-color: var(--accent); }

/* Compact comparison: all four plans remain visible, including on small screens. */
.pricing-comparison { overflow: hidden; border-radius: var(--radius-lg); }
.pricing-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--t-small); }
.pricing-table th, .pricing-table td { text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.pricing-table th { font-weight: 500; }
.pricing-table thead th { background: var(--panel); font-size: var(--t-h3); }
.pricing-table thead .featured { background: var(--card-2); box-shadow: inset 0 2px var(--accent); color: var(--accent); }
.pricing-table th:first-child { width: 18%; }
.pricing-table td { color: var(--text-2); }
.pricing-table small { display: block; font-size: var(--t-label); color: var(--text-3); font-weight: 400; line-height: 1.5; }
.plan-price { display: block; margin: 12px 0 4px; font-size: 28px; color: var(--text); }
.pricing-table .soon { display: table; margin-top: 8px; white-space: normal; line-height: 1.3; }
.pricing-table tbody tr:last-child > * { border-bottom: 0; }

.waitlist { margin-top: 14px; padding: 32px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; border-radius: var(--radius-lg); }
.waitlist h3 { margin: 0 0 var(--s-2); font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.03em; }
.waitlist-intro p { margin: 0; color: var(--text-2); font-size: 16px; }
.segmented { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.segmented legend { padding: 0; margin-bottom: 10px; font-size: 13.5px; color: var(--text-2); }
.segments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--panel); border: 1px solid var(--line); }
.segments label { position: relative; }
.segments input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segments span { display: flex; align-items: center; justify-content: center; height: 36px; border-radius: var(--pill); font-size: 14px; color: var(--text-2); cursor: pointer; user-select: none; transition: background 0.2s, color 0.2s; font-variant-numeric: tabular-nums; }
.segments label:hover span { color: var(--text); }
.segments input:checked + span { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.segments input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.waitlist-fields .field + .label { margin-top: 16px; }
.waitlist-fields .hint { margin-top: 6px; }
.optional { font: 400 12px var(--sans); color: var(--text-3); margin-left: 6px; }
.checks { display: grid; gap: 12px; margin: 18px 0 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { margin: 3px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--accent); }
.form-msg { min-height: 1.4em; margin: 12px 0 0; font-size: 13.5px; color: var(--text-2); }
.form-msg.ok { color: var(--up); }
.form-msg.bad { color: var(--down); }

/* FAQ uses the same heading row as the other sections. */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; transition: background 0.2s; }
.faq details[open] { background: var(--card-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-weight: 500; font-size: 16.5px; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 8px; height: 8px; border-right: 1.7px solid var(--text-3); border-bottom: 1.7px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--text-2); margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.7; max-width: 68ch; }

.site-footer { margin-top: var(--section); border-top: 1px solid var(--line); background: var(--panel); }
.site-footer .container { padding-top: var(--s-8); padding-bottom: var(--s-6); color: var(--text-2); font-size: var(--t-small); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: var(--s-6); padding-bottom: var(--s-7); }
.site-footer p { margin: 0; }
.footer-brand .brand { color: var(--text); }
.footer-brand p { margin-top: var(--s-4); max-width: 28ch; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); min-width: 0; }
.site-footer .footer-title { margin-bottom: var(--s-1); color: var(--text); font-size: var(--t-label); font-weight: 600; }
.site-footer nav a { overflow-wrap: anywhere; transition: color 0.2s; }
.site-footer nav a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: var(--s-5); color: var(--text-3); font-size: var(--t-label); }

.legal { display: block; max-width: 760px; padding-top: 64px; }
.legal p { color: var(--text-2); max-width: 68ch; }

/* Proof card: the two numbers lead, the explanation follows. */


.segmented-track { display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--pill); background: var(--panel); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmented-track button { flex: none; height: 34px; padding: 0 16px; border: 0; border-radius: var(--pill); background: none; color: var(--text-3); font: 500 13.5px var(--sans); cursor: pointer; font-variant-numeric: tabular-nums; transition: background 0.25s var(--ease), color 0.2s; }
.segmented-track button:hover { color: var(--text); }
.segmented-track button[aria-checked="true"] { background: var(--card-3); color: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset; }

/* Coverage by band */
.coverage { padding: 24px; border-radius: var(--radius-lg); }
.coverage-body { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; margin-top: 28px; align-items: end; }
.coverage-figures { display: grid; gap: 22px; }
.fig { display: grid; gap: 6px; }
.fig-label { font-size: 13px; color: var(--text-3); line-height: 1.4; }
.fig-value { font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.fig-gap .fig-value { color: var(--gap); font-size: clamp(44px, 5vw, 64px); letter-spacing: -0.05em; }
.wallet-dots { display: flex; gap: 5px; margin-top: 4px; }
.wallet-dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background 0.35s var(--ease), border-color 0.35s var(--ease); }
.wallet-dots i.on { background: var(--gap); border-color: var(--gap); }
.wallet-dots i:nth-child(2) { transition-delay: 20ms; } .wallet-dots i:nth-child(3) { transition-delay: 40ms; } .wallet-dots i:nth-child(4) { transition-delay: 60ms; } .wallet-dots i:nth-child(5) { transition-delay: 80ms; } .wallet-dots i:nth-child(6) { transition-delay: 100ms; } .wallet-dots i:nth-child(7) { transition-delay: 120ms; } .wallet-dots i:nth-child(8) { transition-delay: 140ms; } .wallet-dots i:nth-child(9) { transition-delay: 160ms; } .wallet-dots i:nth-child(10) { transition-delay: 180ms; }
.coverage-chart { margin: 0; }
.cov-plot { position: relative; padding: 18px 0 30px; }
.cov-grid i { position: absolute; top: 0; bottom: 30px; width: 1px; background: var(--line); }
.cov-track { position: relative; height: 72px; border-radius: var(--radius-md); background: var(--panel); }
.cov-track span { position: absolute; top: 10px; bottom: 10px; border-radius: 8px; transition: left 0.8s var(--ease), width 0.8s var(--ease); }
.cov-gap { background: repeating-linear-gradient(135deg, rgba(230, 176, 78, 0.75) 0 2px, transparent 2px 7px); box-shadow: inset 0 0 0 1px rgba(230, 176, 78, 0.35); }
.cov-kept { background: var(--accent); }
.cov-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; font-size: 11.5px; color: var(--text-3); font-family: var(--mono); }
.cov-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.cov-axis span:first-child { transform: translateX(-100%); }
.cov-axis span:last-child { transform: none; }
.coverage-chart figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 13px; color: var(--text-3); }
.coverage-chart figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 18px; height: 10px; border-radius: 3px; display: inline-block; }
.key-gap { background: repeating-linear-gradient(135deg, rgba(230, 176, 78, 0.8) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px rgba(230, 176, 78, 0.4); }
.key-kept { background: var(--accent); }
.cov-today { margin-left: auto; font-family: var(--mono); font-size: 12px; }
.coverage-table { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.coverage-table summary, .disclose { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.coverage-table summary:hover { color: var(--text); }
.coverage-table summary::-webkit-details-marker { display: none; }
.coverage-table summary::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.3s var(--ease); }
.coverage-table[open] summary::after { transform: rotate(-135deg); }
.table-wrap { overflow-x: auto; margin-top: 14px; }
.coverage-table tbody tr:has(td.down) { background: var(--gap-soft); }
.coverage-table td.down { color: var(--gap); }

/* TWAP illustration */
.twap { padding: 24px; border-radius: var(--radius-lg); }
.twap-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.illus { font-size: 12.5px; color: var(--text-3); }
.twap-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; margin-top: 22px; align-items: start; }
.twap-chart { margin: 0; padding: 12px 8px 10px; border-radius: var(--radius); background: var(--panel); }
.twap-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.twap-chart figcaption { font-size: 12.5px; color: var(--text-3); padding: 4px 10px 0; }
.tw-gridline { stroke: var(--line); stroke-dasharray: 2 5; }
.tw-ylab, .tw-xlab { fill: var(--text-3); font: 11px var(--mono); }
.tw-ylab { text-anchor: end; }
.tw-xlab { text-anchor: middle; }
.tw-span { fill: var(--accent-soft); opacity: 0; transition: opacity 0.5s var(--ease); }
.tw-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; transition: opacity 0.45s var(--ease); }
.tw-api { stroke: var(--text-2); }
.tw-merged { stroke: var(--accent); opacity: 0; }
.tw-jump { stroke: var(--gap); stroke-width: 2.5; stroke-dasharray: 3 5; transition: opacity 0.45s var(--ease); }
.tw-tag rect { fill: var(--gap-soft); stroke: rgba(230, 176, 78, 0.45); }
.tw-tag text { fill: var(--gap); font: 600 12.5px var(--sans); text-anchor: middle; }
.tw-tag { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.tw-fill { fill: var(--bg); stroke: var(--text); stroke-width: 2; }
.tw-slice { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.2); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); transition-delay: calc(var(--n) * 28ms); }
.twap-body[data-view="merged"] .tw-merged, .twap-body[data-view="merged"] .tw-span { opacity: 1; }
.twap-body[data-view="merged"] .tw-api, .twap-body[data-view="merged"] .tw-jump { opacity: 0; }
.twap-body[data-view="merged"] .tw-tag { opacity: 0; transform: translateY(6px); }
.twap-body[data-view="merged"] .tw-slice { opacity: 1; transform: scale(1); }
.twap-log .log { font-size: 13.5px; }
.twap-log .log th, .twap-log .log td { padding: 11px 10px; white-space: normal; }
.twap-log .log td:first-child { white-space: nowrap; color: var(--text-3); }
.twap-log .log td:nth-child(2), .twap-log .log td:nth-child(3) { color: var(--text); }
.twap-log tr.is-break td { background: var(--gap-soft); color: var(--gap) !important; }
.twap-log tr.is-break td:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.twap-log tr.is-break td:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.twap-log tr.is-twap td { background: var(--accent-soft); }
.twap-log tr.is-twap td:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.twap-log tr.is-twap td:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.twap-log tbody tr { animation: rowIn 0.45s var(--ease) both; }
.twap-log tbody tr:nth-child(2) { animation-delay: 60ms; } .twap-log tbody tr:nth-child(3) { animation-delay: 120ms; }
@keyframes rowIn { from { opacity: 0.2; transform: translateY(4px); } }
.twap-verdict { margin: 16px 0 0; font-size: 15px; color: var(--text); line-height: 1.55; text-wrap: pretty; }
.twap-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.twap-proof p { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: baseline; margin: 0; padding: 22px 28px 0 0; }
.twap-proof p + p { padding-left: 28px; border-left: 1px solid var(--line); }
.proof-num { font-size: 36px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.proof-text { font-size: 14.5px; color: var(--text-2); line-height: 1.6; max-width: 46ch; }

/* How it works: three ruled columns, with availability next to each capability. */
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.ledger-col { padding: 22px 28px 0 0; }
.ledger-col + .ledger-col { padding-left: 28px; border-left: 1px solid var(--line); }
.ledger h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font-size: var(--t-h3); font-weight: 500; color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-now { background: var(--up); box-shadow: 0 0 0 4px var(--up-soft); }
.dot-built { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.dot-later { background: transparent; border: 1.5px solid var(--text-3); }
.ledger dl { margin: 0; display: grid; }
.ledger dl div { padding: 16px 0; border-top: 1px solid var(--line); }
.ledger dl div:first-child { border-top: 0; padding-top: 0; }
.ledger dt { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.ledger dt a { text-decoration: none; }
.ledger dt a:hover { color: var(--accent); }
.ledger dd { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.sample a { color: var(--text-2); }

@media (max-width: 980px) {
  .section-head, .coverage-body, .twap-body { grid-template-columns: 1fr; }
  .section-head p { max-width: none; }
  .coverage-body { gap: 24px; }
  .coverage-figures { grid-template-columns: 1fr 1fr; }
  .fig-gap { grid-column: 1 / -1; }
  .ledger, .twap-proof { grid-template-columns: 1fr; }
  .ledger-col + .ledger-col, .twap-proof p + p { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ledger-col { padding-bottom: 12px; }
  .hero { padding-top: 56px; }
  .app-body { grid-template-columns: 1fr; }
  .app-tab:not(.on) { display: none; }
  .frame .top { grid-template-columns: 1fr; }
  .frame .bar { overflow: hidden; }
  .waitlist { grid-template-columns: 1fr; gap: 24px; }

}
@media (max-width: 720px) {
  .site-header .container { gap: var(--s-2); padding: 0 var(--s-4); }
  .site-header .primary-nav { display: none; }
  .menu { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .row { flex-direction: column; }
  .row .field { flex: none; }

  .btn { width: 100%; }
  .site-header .btn { width: auto; }
  .hero-form .row { padding: 8px; gap: 8px; }
  .app-window .board-head { position: static; padding: 14px 16px 0; }
  .app-window .board-wallet { margin-top: 6px; }
  .hero-form .btn { width: 100%; }
  .app-body { padding: 10px; }
  .side-card { padding: 16px; }
  .hero-form .field { padding-left: 8px; }
  .board-head { padding: 16px 16px 0; }
  .board-wallet { margin: 6px 16px 0; }
  .result .card-body { padding: 16px; }
  .verdict { font-size: 21px; }
  .segments { grid-template-columns: repeat(3, 1fr); border-radius: var(--radius-md); }
  .segments span { border-radius: var(--radius-sm); }
  .segments label:last-child { grid-column: 1 / -1; }
  .waitlist { padding: 20px; }
  .frame .body { padding: 12px; }
  .frame .top > div:first-child { padding: 16px; }
  .frame .big { font-size: 38px; }
  .frame .terms { grid-template-columns: 1fr; }
  .frame .bar span:nth-child(n+4) { display: none; }
  .stats dd { font-size: 24px; }
  .coverage, .twap { padding: 16px; }
  .coverage-figures { grid-template-columns: 1fr; }
  .cov-axis span:nth-child(even) { display: none; }
  .cov-today { margin-left: 0; }
  .twap-proof p { grid-template-columns: 1fr; gap: 8px; }
  .segmented-track button { padding: 0 12px; font-size: 13px; }
  .coverage-bands { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-md); width: 100%; }
  .coverage-bands button { border-radius: var(--radius-sm); }
  .tw-ylab, .tw-xlab { font-size: 19px; }
  .tw-tag text { font-size: 15px; }
}
/* Gradient text has no colour of its own: give headings a real colour where backgrounds are dropped. */
@media (forced-colors: active) {
  h1, h2, .h1-soft { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
@media print {
  h1, h2, .h1-soft { background: none; color: #000; -webkit-text-fill-color: #000; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.anchor-alias { display: block; position: relative; top: -88px; }
.ledger dt .soon { margin-top: 6px; vertical-align: middle; }
.product-tabs[hidden], .product-panel[hidden] { display: none; }
.product-tabs { margin-bottom: var(--s-4); overflow: visible; flex-wrap: wrap; }
.product-tabs button { min-height: var(--btn-h); height: auto; padding: 10px 16px; white-space: normal; }
.product-tabs button[aria-selected="true"] { background: var(--card-3); color: var(--text); }
.product-panel { min-width: 0; }
.chart-accent { color: var(--accent); }
.chart-gap { color: var(--gap); }
.chart-line { color: var(--line); }
.chart-line-2 { color: var(--line-2); }
.chart-up { color: var(--up); }
.chart-down { color: var(--down); }
.report-sample { padding: var(--s-6); }
.report-sample h3 { margin: 0 0 var(--s-5); }
.sample-label { color: var(--text-3); font-size: var(--t-label); margin: 0 0 var(--s-3); }
.report-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--t-small); }
.report-table th, .report-table td { width: 50%; text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.report-table th { color: var(--text-2); font-weight: 500; background: var(--card); }
.report-table b, .report-table span { display: block; }
.report-table b { font-weight: 500; margin-bottom: 6px; }
.report-table span { color: var(--text-2); }
.report-difference { background: var(--gap-soft); }
.report-difference b { color: var(--gap); }
.report-table details { margin-top: 12px; }
.report-table summary { min-height: var(--btn-h); cursor: pointer; padding: 10px 0; color: var(--text); }
.report-table details p { margin: 4px 0 0; color: var(--text-2); }

@media (max-width: 720px) {
  .pricing-table, .pricing-table thead, .pricing-table tbody { display: block; }
  .pricing-table tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pricing-table .pricing-corner { display: none; }
  .pricing-table th:first-child { width: auto; }
  .pricing-table th, .pricing-table td { min-width: 0; padding: 12px 8px; font-size: 12px; }
  .pricing-table thead th { font-size: 13px; }
  .pricing-table small { font-size: 11px; }
  .pricing-table tbody th { grid-column: 1 / -1; background: var(--panel); font-size: 13px; }
  .pricing-table .plan-price { font-size: 23px; }
  .pricing-table .soon { padding: 4px 6px; font-size: 10px; }
  .report-sample { padding: var(--s-4); }
  .report-table th, .report-table td { padding: 12px 8px; }
}

/* Progressive enhancement: without JavaScript or with reduced motion, content stays visible. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .product-panel:not([hidden]) { animation: preview-fade 300ms var(--ease); }
  @keyframes preview-fade { from { opacity: 0; } to { opacity: 1; } }
}
