/* Plainfleet T8 prototype. Palette + type: docs/marketing/BRAND.md §4.2–4.3 */
/* S2-95: Inter self-hosted (SIL OFL 1.1, fonts/OFL.txt; latin subset from @fontsource/inter 5.0.18); no third-party font request */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/inter-latin-700-normal.woff2) format("woff2"); }
/* R1-F3 BRAND v4 "Wire" (BRAND.md §4.2): dark only, amber = live/brand, gain blue / loss orange (never colour-only). */
:root {
  --ink: #EDEDED; --paper: #0A0A0A; --surface: #141414; --muted: #9A9A9A;
  --brand: #FFB000; --on-brand: #0A0A0A; --gain: #4DA3FF; --loss: #FF7A3D; --sand: #FFB000; --sand-text: #FFB000;
  --line: #2A2A2A;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.num, .addr, td { font-variant-numeric: tabular-nums; }
.addr { font-family: var(--mono); }
main { max-width: 1100px; margin: 0 auto; padding: 0 16px 32px; }
.testbar { background: var(--sand-text); color: var(--on-brand); text-align: center; font-weight: 600; padding: 6px 16px; }
header.bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; }
header.bar h1 { margin: 0; font-size: 1.4rem; }
.wordmark { font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; margin-right: auto; }
.badge { display: inline-block; border: 1px solid currentColor; border-radius: 4px; padding: 0 6px;
  font-size: .8rem; font-weight: 600; color: var(--sand-text); vertical-align: middle; }
.badge.grey { color: var(--muted); font-weight: 400; }
.muted { color: var(--muted); }
.notice { margin: 8px 0; }            /* disclaimer blocks: body size, never collapsed */
.warn { color: var(--sand-text); font-weight: 600; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 12px 16px; margin: 12px 0; }
.card h2 { font: 600 .8rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; color: var(--muted); }
.gain { color: var(--gain); } .loss { color: var(--loss); }
dl.kv { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; }
dl.kv dt { color: var(--muted); } dl.kv dd { margin: 0; text-align: right; }
/* (i) info buttons */
.info { font: inherit; font-size: .8rem; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--muted);
  background: transparent; color: var(--muted); cursor: pointer; padding: 0; margin-left: 4px; position: relative;
  /* 44px touch area without visual bulk */
  box-shadow: 0 0 0 10px transparent; }
.pop[hidden] { display: none; }
.pop { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px;
  margin: 4px 0; font-size: .9rem; color: var(--ink); text-align: left; font-weight: 400; }
/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: .85rem; color: var(--muted); padding: 0; margin-bottom: 4px; width: 100%; }
.chips button { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.chips button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); font-weight: 600; box-shadow: inset 0 0 0 1px var(--brand); }
select { min-height: 44px; font: inherit; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; }
/* leaderboard: cards on mobile, table on desktop */
.rows { list-style: none; padding: 0; margin: 0; }
.rows a { display: block; min-height: 44px; padding: 10px 12px; margin: 8px 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.rows a:hover { border-color: var(--brand); }
.rows .l1 { font-weight: 600; }
table.lb { display: none; width: 100%; border-collapse: collapse; background: var(--surface); }
table.lb th, table.lb td { padding: 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
table.lb th:first-child, table.lb td:first-child, table.lb th:nth-child(2), table.lb td:nth-child(2) { text-align: left; }
table.lb th, table.lb td:nth-child(2), table.lb td:last-child { white-space: normal; }
.tw { overflow-x: auto; }
table.lb th { font-size: .8rem; color: var(--muted); font-weight: 600; vertical-align: bottom; }
table.lb tbody tr:hover { background: var(--paper); }
@media (min-width: 900px) {
  .rows { display: none; } table.lb { display: table; }
  .profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
}
.skel { height: 72px; border-radius: 8px; background: var(--line); margin: 8px 0; opacity: .5; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 2px; border: 0; background: var(--brand); color: var(--on-brand); font: inherit; font-weight: 700; cursor: pointer; }
.textbtn { min-height: 44px; background: none; border: 0; color: var(--brand); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
dialog { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); max-width: 420px; }
footer.d1 { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 12px; color: var(--muted); font-size: .9rem; }
footer.d1 .d4 { font-size: 1rem; color: var(--ink); } /* D4 placement: same size as body text */
svg.curve { width: 100%; height: auto; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.15rem; margin-top: 28px; }
.field { width: 100%; min-height: 44px; font: inherit; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; }
summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
/* waitlist (S1-72) */
.wl { max-width: 640px; }
.hero h1 { font-size: 1.8rem; line-height: 1.2; margin: 16px 0 8px; }
.hero .sub { font-size: 1.1rem; margin: 0 0 16px; }
.btn[disabled], .textbtn[disabled] { opacity: .55; cursor: not-allowed; }
.btn[hidden] { display: none; } /* S1-147.5: the waitlist hero button stays hidden while the waitlist is closed */
.points { padding-left: 20px; } .points li { margin: 8px 0; }
.example .addr { margin: 0; } .small { font-size: .9rem; }
form.card label { display: block; font-weight: 600; margin: 12px 0 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; } /* S2-119: row = tap area ≥ 44px (WAITLIST_LANDING §2.3) */
.check input { width: 22px; height: 22px; flex: none; margin: 2px 0 0; }
form.card .check label { font-weight: 400; margin: 0; }
fieldset.consent { border: 0; padding: 0; margin: 12px 0 0; }
fieldset.consent legend { font-weight: 600; padding: 0; }
.faq details { border-bottom: 1px solid var(--line); }
/* R1-37 wallet list + card v2 */
.rows.v2 { display: grid; gap: 0 16px; }
@media (min-width: 900px) { .rows.v2 { grid-template-columns: 1fr 1fr; } }
.btn.ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bars { list-style: none; padding: 0; margin: 0; }
.bars li { display: grid; grid-template-columns: 5.5em 1fr auto; gap: 8px; align-items: center; min-height: 28px; }
.bars .bar { height: 10px; width: var(--w); border-radius: 2px; background: var(--gain); }
.bars .bar.neg { background: var(--loss); }
a.btn { text-decoration: none; }
h1.addr { font-size: 1.3rem; margin: 4px 0; } h1.addr .textbtn { font-size: inherit; color: var(--ink); }
/* R1-F3 Wire: caps tags (BREAKING · WALLET · BRIEF), amber = live; tagline */
.tags { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 600 .75rem/1 var(--mono); letter-spacing: .08em; padding: 5px 8px; border: 1px solid var(--line); color: var(--muted); }
.tag.live { border-color: var(--brand); color: var(--brand); }
.tag.live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--brand); vertical-align: 1px; }
.tagline { font-size: 1.6rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; margin: 8px 0 12px; }
.hero h1, main > .hero h1 { letter-spacing: -0.02em; }
.wordmark::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 4px; background: var(--brand); vertical-align: super; }
