/* PropsCopilot stylesheet, v0.27 "HUD" design system.
   Dark first: near-black surfaces, a lime signal for go, hot pink for tilt and danger, cyan for the shield,
   gold for Pro, violet glow. Inter 800-900 tight for display, JetBrains Mono for every number. */
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/static/fonts/jetbrains-mono-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --night: #07070C;
  --night-2: #12101F;
  --surface: #0F1018;
  --surface-2: #161827;
  --surface-3: #1D2033;
  --line: #23253A;
  --line-2: #33365180;
  --ink: #F4F6FB;
  --ink-2: #C9CEDD;
  --muted: #9AA0B8;
  --on-dark: #E9ECF5;
  --on-dark-muted: #9AA0B8;
  --accent: #C6FF3D;          /* lime: go, primary actions */
  --accent-2: #E4FF8F;
  --accent-text: #D9FF8A;     /* lime text on dark */
  --accent-soft: rgba(198, 255, 61, .12);
  --accent-line: rgba(198, 255, 61, .38);
  --pink: #FF3D7F;            /* tilt, danger */
  --cyan: #2EE6FF;            /* the shield, links, info */
  --cyan-line: rgba(46, 230, 255, .4);
  --gold: #FFC83D;            /* Pro */
  --violet: #7C5CFF;          /* glow */
  --amber: #FFC83D;
  --amber-bg: rgba(255, 200, 61, .12); --amber-line: rgba(255, 200, 61, .45);
  --ok: #7CFFA8; --ok-bg: rgba(124, 255, 168, .1); --ok-line: rgba(124, 255, 168, .38);
  --bad: #FF8FB3; --bad-bg: rgba(255, 61, 127, .1); --bad-line: rgba(255, 61, 127, .42);
  --blue: var(--cyan);
  --blue-brand: var(--cyan);
  --warn: var(--pink);
  --bg: var(--night);
  --bg-soft: var(--surface-2);
  --radius: 20px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 48px -28px rgba(0, 0, 0, .8);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --header-h: 72px;
  --max: 1200px;
}
@media print {
  :root { color-scheme: light; --night: #fff; --night-2: #fff; --surface: #fff; --surface-2: #f6f8fc; --surface-3: #eef2f7;
    --line: #e5e9f0; --line-2: #d6dde8; --ink: #0f172a; --ink-2: #334155; --muted: #5b6a7f; --accent: #5b3df5;
    --accent-text: #5b3df5; --accent-soft: #f1edff; --accent-line: #c9bdfd; --on-dark: #0f172a; --cyan: #0e7490;
    --ok: #15803d; --ok-bg: #ecfdf5; --ok-line: #a7f3d0; --bad: #b91c1c; --bad-bg: #fef2f2; --bad-line: #fecaca;
    --amber: #b45309; --amber-bg: #fef3c7; --amber-line: #fde68a; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
       scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 780; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.015em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Header: transparent over the dark hero, crisp dark bar once
   scrolled (nothing ever smears under glass
   at rest, and the scrolled bar is near-opaque with a hard border).
   No-JS fallback: always solid dark. ──────────────────────────── */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--night);
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}
.site-head.js {
  background: transparent; border-bottom-color: transparent;
  transition: background .25s, border-color .25s;
}
.site-head.js.scrolled, .site-head.js.menu-open {
  background: rgba(5, 12, 26, .94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(148, 163, 184, .14);
}
.head-row { display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.brand-mark { display: block; flex: none; }
.brand-word { font-size: 1.38rem; font-weight: 640; letter-spacing: -.03em; line-height: 1; color: #fff; }
.brand-word span { color: var(--accent); }
.site-head nav a {
  color: #cbd5e1; text-decoration: none; margin-left: 4px; font-size: .94rem; font-weight: 560;
  padding: 9px 14px; border-radius: 10px; transition: color .15s, background .15s;
}
.site-head nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.site-head nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.site-head nav a.cta { border: 1px solid rgba(198, 255, 61, .55); color: var(--accent-text); }
.site-head nav a.cta:hover { background: rgba(198, 255, 61, .14); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; flex: none;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px;
  background: rgba(255, 255, 255, .04); cursor: pointer; padding: 12px 11px; }
.nav-toggle-bar { display: block; height: 2px; background: var(--surface); border-radius: 2px;
  margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: block; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: var(--header-h);
    background: rgba(5, 12, 26, .97); backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    padding: 12px 24px 24px; display: none; }
  .site-nav.open { display: block; }
  .site-nav nav { display: flex; flex-direction: column; align-items: stretch; }
  .site-head nav a { margin: 0; padding: 14px 12px; font-size: 1.05rem; }
  .site-head nav a.cta { margin-top: 12px; text-align: center; }
}

/* ── Dark hero: two-column, glows kept off the text ──────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--on-dark);
  padding: calc(var(--header-h) + 27px) 24px 92px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; opacity: .45; pointer-events: none;
}
.hero::before { width: 680px; height: 680px; left: -300px; top: -320px;
  background: radial-gradient(circle, rgba(124, 92, 255, .5), rgba(124, 92, 255, .14) 40%, transparent 70%); }
.hero::after { width: 580px; height: 580px; right: -240px; bottom: -260px;
  background: radial-gradient(circle, rgba(198, 255, 61, .3), rgba(198, 255, 61, .08) 42%, transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0) scale(1); }
                   to { transform: translate(-60px, 40px) scale(1.08); } }
.gridlines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy, .hero-visual { min-width: 0; }
.hero h1 { color: #fff; margin: 4px 0 18px; }
.hero .lede { color: #b6c2d4; font-size: 1.1rem; max-width: 46ch; margin: 0 0 30px; }
.hero .lede em { color: var(--on-dark); font-style: normal; font-weight: 650; }
.hero-copy .cta-row { justify-content: flex-start; }

.hero-proof {
  list-style: none; padding: 0; margin: 34px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  color: #9fb0c8; font-size: .92rem;
}
.hero-proof li { display: flex; align-items: center; gap: 9px; }
.hero-proof li::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23f47321' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* PassLab result window (code-window pattern) */
.pl-window {
  position: relative; border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, .92), rgba(2, 6, 23, .96));
  border: 1px solid rgba(148, 163, 184, .2);
  box-shadow: 0 30px 60px -20px rgba(2, 8, 23, .55);
}
.pl-window::before {
  content: ""; position: absolute; inset: -1px; border-radius: 16px; padding: 1px;
  background: linear-gradient(135deg, rgba(198, 255, 61, .7), transparent 40%, rgba(56, 189, 248, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.pl-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid rgba(148, 163, 184, .12); }
.pl-bar span { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.pl-bar span:nth-child(1) { background: #f87171; }
.pl-bar span:nth-child(2) { background: #fbbf24; }
.pl-bar span:nth-child(3) { background: #34d399; }
.pl-bar em { margin-left: 10px; font-style: normal; font-family: var(--mono); font-size: .8rem; color: #94a3b8; }
.pl-body {
  margin: 0; padding: 22px 22px 26px; font-family: var(--mono); font-size: .88rem;
  line-height: 1.9; color: #e2e8f0; white-space: pre; overflow-x: auto;
}
.pl-body .k { color: #c084fc; }
.pl-body .f { color: #60a5fa; }
.pl-body .s { color: #86efac; }
.pl-body .p { color: #fdba74; }
.pl-body .c { color: #8A94AD; }
.cursor { display: inline-block; width: 8px; height: 1.05em; vertical-align: -2px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 750;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .25); background: rgba(15, 23, 42, .5);
  color: #cbd5e1; font-size: .86rem; font-weight: 560;
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ── Buttons ─────────────────────────────────────────────────── */
.big-cta, .form button, .wait-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px; font-weight: 680; font-size: 1.02rem;
  font-family: inherit; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff;
  box-shadow: 0 10px 28px -8px rgba(198, 255, 61, .6), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s, box-shadow .2s, background .2s;
}
.big-cta:hover, .form button:hover, .wait-form button:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(198, 255, 61, .8), inset 0 1px 0 rgba(255,255,255,.25);
}
.big-cta-ghost {
  display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 12px;
  font-weight: 680; font-size: 1.02rem; text-decoration: none; color: #f1f5f9;
  border: 1px solid rgba(203, 213, 225, .3); background: rgba(255, 255, 255, .04);
  transition: border-color .2s, background .2s, color .2s;
}
.big-cta-ghost:hover { color: #fff; border-color: rgba(203, 213, 225, .6); background: rgba(255,255,255,.08); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Cards ───────────────────────────────────────────────────── */
.main-body { padding-top: 12px; padding-bottom: 64px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; margin: 26px auto; max-width: 780px; box-shadow: var(--shadow);
}
.waitlist { text-align: center; }
.wait-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.wait-form input {
  flex: 1 1 260px; max-width: 340px; padding: 13px 15px; font: inherit; font-size: 1rem;
  border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.wait-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(124, 92, 255, .14); }
.flash {
  background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: 12px;
  padding: 11px 15px; color: var(--ok); font-weight: 650;
}

/* ── Module / result cards ───────────────────────────────────── */
#modules { padding: 88px 24px 0; }
#modules h2, .page-head h1 { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin: 20px 0 10px; }
.mod {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mod:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -18px rgba(15, 23, 42, .22); }
.mod h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--blue-brand); }
.mod p { margin: 0; color: var(--muted); font-size: .94rem; }
.mod.live { border-color: var(--accent-line); border-width: 1.5px; background: linear-gradient(#fff, #fff) padding-box; }
.mod.live h3::after {
  content: "LIVE"; margin-left: 8px; vertical-align: 2px; font-size: .62rem; font-weight: 750;
  letter-spacing: .1em; color: var(--accent-text); background: var(--accent-soft);
  border: 1px solid var(--accent-line); border-radius: 999px; padding: 2px 8px;
}
.mod.soon { background: var(--bg-soft, var(--surface-2)); }
.mod.soon h3 { color: var(--ink-2, #334155); }
.mod.soon h3::after {
  content: "COMING"; margin-left: 8px; vertical-align: 2px; font-size: .62rem; font-weight: 750;
  letter-spacing: .1em; color: #475569; background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 8px;
}
.mods-sub { text-align: center; margin: 64px 0 12px; }
.hero-alt { margin: 14px 0 0; font-size: .95rem; color: #9fb0c8; }
.hero-alt a { color: #e2e8f0; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 16px; color: var(--blue);
  background: linear-gradient(135deg, var(--surface-2), var(--surface-2)); border: 1px solid var(--surface-2);
}
.icon svg { width: 24px; height: 24px; }
.icon.warm { color: var(--accent); background: linear-gradient(135deg, var(--surface-2), var(--surface-2)); border-color: var(--surface-2); }
.results .mod { text-align: center; padding: 20px 16px; }
.results .big { font-size: 2rem; font-weight: 760; color: var(--ink); margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.results .sub { font-size: .84rem; }
.hero-mod { border-color: rgba(198, 255, 61, .5); border-width: 1.5px; }
.hero-mod .big { color: var(--blue-brand); }
.hero-mod.warn .big { color: var(--warn); }

/* ── Card headings inside main (section h2s stay big; card h2s stay
   card-scale) + scroll reveal + print ─────────────────────────── */
.main-body > .card > h2 { font-size: 1.35rem; }
.waitlist h2 { font-size: 1.35rem; }
.arena-verdict h2 { font-size: 1.25rem; }
.js .reveal { opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media print {
  .site-head, .site-foot, .pl-window, .arena-log,
  .cta-row, .skip-link, .nav-toggle { display: none !important; }
  .hero, .page-hero { background: var(--surface); color: #000; padding: 24px 0; }
  .hero::before, .hero::after, .page-hero::before { display: none; }
  .hero h1, .page-hero h1, .hero .lede, .page-hero .lede { color: #000; }
}

/* ── Inner-page dark band (every page starts dark → the transparent
   header always rests over navy, never white). Pattern: left-aligned, big h1 capped at ~22ch. ──────────────── */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--on-dark);
  text-align: left; padding: calc(var(--header-h) + 26px) 24px 76px;
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  opacity: .4; pointer-events: none; width: 520px; height: 520px;
  right: -220px; top: -280px;
  background: radial-gradient(circle, rgba(124, 92, 255, .45), rgba(124, 92, 255, .12) 40%, transparent 70%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 22ch; margin: 10px 0 12px; }
.page-hero .lede { color: #b6c2d4; margin: 0; max-width: 62ch;
  font-size: 1.1rem; }
.page-hero .lede em { color: var(--on-dark); font-style: normal; font-weight: 650; }
.page-hero .hint { color: #94a3b8; margin: 16px 0 0; max-width: 68ch; }
.page-hero .hint a { color: #cbd5e1; }

.lede { color: var(--muted); font-size: 1.06rem; max-width: 680px; margin: 0 auto 18px; }

/* ── Form ────────────────────────────────────────────────────── */
.form h2 {
  margin: 6px 0 12px; font-size: .8rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: .14em; font-weight: 750;
}
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 10px; }
.fields label { font-size: .92rem; font-weight: 650; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.fields input, .fields select {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.fields input:focus, .fields select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(124, 92, 255, .14); }
.form button { margin-top: 16px; width: 100%; }
.hint { color: var(--muted); font-size: .87rem; margin: 12px 0 0; }
.hint a { font-weight: 650; }
.hint.warn-line { color: var(--ink); border-left: 3px solid var(--amber); padding: 6px 0 6px 10px; }
.notes { padding-left: 20px; color: var(--muted); }
.notes li { margin-bottom: 10px; }
.notes strong { color: var(--ink); }
.mono { font-family: var(--mono); font-size: .9em; }

/* ── v0.6: preset chips, live previews, share buttons, articles ── */
.chips { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chips-label {
  font-size: .76rem; font-weight: 750; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); margin-right: 2px;
}
.chip {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2);
  font-size: .86rem; font-weight: 620; text-decoration: none;
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
p.live {   /* PassLab's computed previews under form inputs (not the .mod.live cards) */
  margin: 0; font-family: var(--mono); font-size: .74rem;
  color: var(--blue-brand);
}
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.share-row h2 { margin: 0 0 4px; font-size: 1.15rem; }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ghost-btn {
  display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 12px;
  font: inherit; font-size: .95rem; font-weight: 650; cursor: pointer;
  color: var(--blue-brand); background: var(--surface); border: 1.5px solid var(--line-2);
  transition: border-color .15s, background .15s;
}
.ghost-btn:hover { border-color: var(--blue); background: var(--surface-2); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.article h2 { font-size: 1.28rem; margin: 32px 0 10px; }
.article h2:first-child { margin-top: 0; }
.article p { margin: 0 0 14px; }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: .92rem; }
.article th, .article td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.article th { color: var(--ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.article td.num, .article th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.article .marks { padding-left: 20px; color: var(--muted); }
.article .marks li { margin-bottom: 8px; }
.article .marks q { color: var(--ink-2); font-style: italic; }
.article .cta-row { margin-top: 8px; }
.article table { display: block; overflow-x: auto; }

/* ── v0.7: two-phase checkbox + Sim Arena ─────────────────────── */
.fields label.check {
  flex-direction: row; align-items: center; gap: 9px;
  font-size: .9rem; font-weight: 620; color: var(--ink-2);
}
.fields label.check input { width: auto; }
.arena-hud {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px; margin-bottom: 18px;
}
.hud { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.hud-k { display: block; font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hud-v { font-family: var(--mono); font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.hud-v small { color: var(--muted); font-size: .8em; }
.arena-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.arena-btns .ghost-btn { flex-direction: column; gap: 2px; padding: 14px 10px; }
.arena-btns .ghost-btn small { font-family: var(--mono); font-size: .72rem; color: var(--muted); font-weight: 500; }
.arena-btns .arena-main { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }
.arena-btns .arena-main:hover { border-color: var(--accent); background: var(--surface-2); }
.arena-log {
  margin: 18px 0 0; padding: 16px 18px; font-family: var(--mono);
  font-size: .78rem; line-height: 1.75; color: #94a3b8;
  background: var(--night); border-radius: 12px; overflow-x: auto;
}
.arena-log .s { color: #86efac; }
.arena-log .p { color: #f87171; }
.arena-log .c { color: #8A94AD; }
.arena-verdict { border-radius: 12px; padding: 18px 20px; margin-top: 6px; }
.arena-verdict.good { background: var(--ok-bg); border: 1px solid var(--ok-line); }
.arena-verdict.bad { background: var(--bad-bg); border: 1px solid var(--bad-line); }
.arena-verdict h2 { margin: 0 0 6px; }
.arena-verdict p { margin: 0 0 4px; }
.arena-verdict .hud-line { font-family: var(--mono); font-size: .8rem; color: var(--ink-2); margin: 8px 0 0; }
.arena-verdict .spark { display: block; width: 100%; height: auto; margin-top: 12px; background: rgba(255,255,255,.55); border-radius: 8px; }
.arena-verdict.bad .spark { background: rgba(255,255,255,.7); }
.spark-key { display: flex; gap: 18px; font-size: .74rem; color: var(--muted); margin: 8px 0 0; }
.spark-key span { display: inline-block; width: 18px; height: 0; border-top: 2px dashed; vertical-align: middle; margin-right: 5px; }
.spark-key .k-target { border-color: var(--accent); }
.spark-key .k-start { border-color: #94a3b8; }

/* ── v0.10: PassLab fan-of-outcomes chart ─────────────────────── */
.paths-svg { display: block; width: 100%; height: auto; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; }
.paths-key { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .76rem; color: var(--muted); margin: 10px 0 0; }
.paths-key span { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
.paths-key .k-pass { background: #16a34a; }
.paths-key .k-fail { background: #dc2626; }
.paths-key .k-timeout { background: #94a3b8; }
.paths-key .k-target { background: transparent; border-top: 2.5px dashed var(--accent); height: 0; }
.paths-key .k-floor { background: transparent; border-top: 2px dotted #64748b; height: 0; }

/* ── v0.10.1: arena tape picker ───────────────────────────────── */
.tape-form { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.tape-form label { font-size: .88rem; font-weight: 620; color: var(--ink-2); }
.tape-form input {
  width: 130px; padding: 11px 13px; font: inherit; font-size: 1rem;
  font-family: var(--mono); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: 12px;
}
.tape-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(124, 92, 255, .14); }
.tape-form select {
  padding: 11px 13px; font: inherit; font-size: .95rem; color: var(--ink);
  border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface);
}
.guard-card { background: var(--bg-soft); border: 1px solid var(--line); margin-top: 16px; }
.guard-card h2 { font-size: 1.02rem; margin: 0; }
table .ok { color: #16a34a; font-weight: 700; }
table .no { color: #dc2626; font-weight: 700; }

/* ── v0.13: Ask (local AI) ────────────────────────────────────── */
.ai-answer { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.ai-model { font-family: var(--mono); font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.ai-text { font-size: 1.02rem; color: var(--ink); margin: 0; white-space: pre-wrap; }

/* ── v0.13 polish: detail pass ─────────────────── */
body { text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.page-hero .hint, .hint { max-width: 72ch; }
@media (min-width: 641px) { .hero .lede { font-size: 1.12rem; } }
.main-body { padding-top: 16px; }
.card + .card { margin-top: 22px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.pl-window, .paths-svg, .arena-log { aspect-ratio: auto; }
.chip:active, .ghost-btn:active, .big-cta:active { transform: translateY(1px); }

/* ── Footer: night ───────────────────────────────────────────── */
.site-foot {
  background: var(--night); color: var(--on-dark-muted); font-size: .95rem;
  padding: 56px 0 0; margin-top: 56px; border-top: 1px solid rgba(148, 163, 184, .1);
}
.site-foot .wrap { padding-bottom: 40px; }
.site-foot strong { color: #e2e8f0; }
.footer-brand { color: #fff; font-size: 1.25rem; letter-spacing: -.028em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.foot-word { font-weight: 640; letter-spacing: -.03em; } .foot-word span { color: var(--accent); }
.footer-legal {
  border-top: 1px solid rgba(148, 163, 184, .1); padding: 22px 24px 32px; font-size: .84rem;
  color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: #cbd5e1; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 620px; }
}
@media (max-width: 640px) {
  .hero { padding: calc(var(--header-h) + 18px) 20px 64px; }
  .page-hero { padding: calc(var(--header-h) + 16px) 18px 56px; }
  body { font-size: 16px; }
  .pl-body { font-size: .74rem; padding: 18px 16px; }
  .arena-btns { grid-template-columns: repeat(2, 1fr); }
  .article q { quotes: none; }
  .tape-form { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── v0.15 Firm rules (Terms intelligence) ───────────────────── */
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .lede a { color: #e2e8f0; }
.sec-title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0 0 18px; }
.sub-title { font-size: 1.05rem; margin: 28px 0 10px; }
.firms-table-wrap, .how, .recent, .program, .traps, .sources, .changes-page { margin: 56px 0 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.firms-table, .rules-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.firms-table th, .firms-table td, .rules-table th, .rules-table td { text-align: left; padding: 14px 18px;
  border-bottom: 1px solid var(--line); vertical-align: top; }
.firms-table tbody tr:last-child > *, .rules-table tbody tr:last-child > * { border-bottom: 0; }
.firms-table thead th, .rules-table thead th { background: var(--night); color: #e2e8f0; font-size: .82rem;
  font-weight: 650; letter-spacing: .01em; }
.firms-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.firms-table tbody th { font-weight: 680; color: var(--ink); }
.firms-table tbody th a { color: var(--ink); text-decoration: none; }
.firms-table tbody th a:hover { color: var(--accent); }
.firms-table .sub, .watch-head .sub { display: block; font-weight: 500; color: var(--muted); font-size: .86rem; }
.firms-table .act { text-align: right; white-space: nowrap; }
.firms-table .act a { font-weight: 650; }
.rules-table tbody th { width: 24%; color: var(--ink); font-weight: 650; background: var(--surface-2); }
.rules-table .quote { color: var(--ink-2); font-style: italic; }
.unstated { font-style: normal; color: var(--amber); font-weight: 600; font-size: .9rem; }
.table-note { color: var(--muted); font-size: .9rem; margin: 12px 4px 0; max-width: 78ch; }

.state { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 650; white-space: nowrap; }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state-ok { color: var(--ok); }
.state-review { color: var(--amber); }
.state-new { color: var(--muted); }
.page-hero .status { display: inline-flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 10px 14px;
  border-radius: 12px; font-size: .95rem; max-width: 70ch; border: 1px solid rgba(148, 163, 184, .25);
  background: rgba(15, 23, 42, .5); color: #cbd5e1; }
.page-hero .status::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; }
.page-hero .status-ok::before { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.page-hero .status-review::before { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }

.how-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-steps li { counter-increment: s; position: relative; padding: 22px 22px 22px 66px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2); }
.how-steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px;
  border-radius: 50%; display: grid; place-items: center; font-weight: 750; color: #fff;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.how-steps strong { display: block; color: var(--ink); margin-bottom: 4px; }

.change-list { list-style: none; padding: 0; margin: 0 0 12px; }
.change-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--line); }
.change-list time, .change-log time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .92rem; }
.change-log { list-style: none; padding: 0; margin: 0; max-width: 820px; }
.change-log li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 20px 0;
  border-bottom: 1px solid var(--line); }
.change-log strong { display: block; color: var(--ink); margin: 2px 0 4px; }
.change-log p { margin: 0; color: var(--muted); }

.program-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 18px; }
.program-head h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.big-cta.small { padding: 12px 20px; font-size: .95rem; }
.amaps { background: var(--night); color: var(--on-dark); border-radius: var(--radius); padding: 24px 26px 18px;
  margin-bottom: 22px; box-shadow: 0 30px 60px -28px rgba(2, 8, 23, .55); }
.amap { margin: 0 0 14px; }
.amap figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; color: #94a3b8; font-size: .9rem; }
.amap figcaption strong { color: #fff; font-size: 1rem; }
.amap svg { width: 100%; height: auto; display: block; overflow: visible; }
.amap-loss { fill: rgba(239, 68, 68, .28); }
.amap-gain { fill: rgba(34, 197, 94, .3); }
.amap-floor { stroke: #f87171; stroke-width: 2.5; }
.amap-target { stroke: #4ade80; stroke-width: 2.5; }
.amap-daily { stroke: #fbbf24; stroke-width: 2; stroke-dasharray: 4 3; }
.amap-start { fill: #fff; stroke: var(--night); stroke-width: 2; }
.amap-lbl { fill: #cbd5e1; font: 600 12px var(--font); }
.amap-lbl-target { fill: #86efac; }
.amap-lbl-floor { fill: #fca5a5; }
.amap-lbl-daily { fill: #fcd34d; }
.amap-key { margin: 4px 0 0; color: #94a3b8; font-size: .85rem; }

.src-list { padding-left: 18px; margin: 0; }
.src-list li { margin: 6px 0; }
.preset-note { margin: -6px 0 18px; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft);
  border: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; }

/* Admin */
.admin { max-width: 980px; margin: 40px auto 0; }
.admin-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-bar p { margin: 0 auto 0 0; }
.admin button, .admin-form button { font: inherit; font-weight: 650; padding: 10px 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; background: var(--accent); color: #fff; }
.admin .ghost-btn { background: var(--surface); color: var(--ink); border-color: #cbd5e1; }
.watch-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  margin-bottom: 18px; box-shadow: var(--shadow); }
.watch-changed, .watch-pending, .watch-unreadable, .watch-error { border-color: #fcd34d; }
.watch-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.watch-head h2 { margin: 0; font-size: 1.15rem; }
.watch-item .meta, .watch-log .meta { color: var(--muted); font-size: .88rem; margin: 6px 0 0; word-break: break-all; }
.misses { margin: 6px 0 0; color: var(--amber); font-size: .9rem; }
.diff { max-height: 360px; overflow: auto; background: var(--night); color: #cbd5e1; border-radius: 12px; padding: 14px;
  font: .8rem/1.6 var(--mono); white-space: pre-wrap; word-break: break-word; }
.diff .add { color: #86efac; } .diff .del { color: #fca5a5; } .diff .hunk { color: #7dd3fc; }
details summary { cursor: pointer; font-weight: 650; margin: 12px 0 8px; }
.review-form { margin-top: 14px; display: grid; gap: 10px; }
.review-form label { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.review-form input { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; }
.review-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.watch-log ul { list-style: none; padding: 0; font-size: .9rem; color: var(--ink-2); }
.watch-log li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.watch-log time { color: var(--muted); margin-right: 8px; font-variant-numeric: tabular-nums; }
.admin-form { max-width: 440px; }
.admin-form label { display: grid; gap: 8px; font-weight: 600; }
.admin-form input { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; }
.admin-form button { margin-top: 16px; }
.form-error { color: var(--warn); margin: 10px 0 0; }

@media (max-width: 760px) {
  .how-steps { grid-template-columns: 1fr; }
  .change-list li, .change-log li { grid-template-columns: 1fr; gap: 4px; }
  .amaps { padding: 18px 16px 14px; }
  .rules-table { min-width: 560px; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* v0.15 refinements */
.table-scroll { position: relative; }
.page-hero { padding-left: max(24px, calc((100% - var(--max)) / 2 + 24px));
  padding-right: max(24px, calc((100% - var(--max)) / 2 + 24px)); }
.traps .mod { text-decoration: none; color: inherit; display: block; }
.traps .mod h3 { color: var(--ink); }
.traps .mod:hover h3 { color: var(--accent); }
.traps .mod p { color: var(--muted); }
@media (max-width: 640px) {
  .firms-table-wrap .table-scroll { overflow: visible; border: 0; background: none; box-shadow: none; }
  .firms-table { min-width: 0; }
  .firms-table thead { display: none; }
  .firms-table, .firms-table tbody, .firms-table tr { display: block; }
  .firms-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 14px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .firms-table tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .firms-table td { padding: 0; border: 0; text-align: left; }
  .firms-table td.num { text-align: left; }
  .firms-table td[data-label]::before { content: attr(data-label); display: block; font-size: .78rem;
    color: var(--muted); font-weight: 600; margin-bottom: 2px; }
  .firms-table .act { grid-column: 1 / -1; text-align: left; padding-top: 4px; }
}
.amap-narrow { display: none !important; }
@media (max-width: 640px) {
  .amap-wide { display: none !important; }
  .amap-narrow { display: block !important; }
}
.amap-narrow svg { width: 100%; height: auto; display: block; }
.amap-legend { list-style: none; padding: 0; margin: 2px 0 6px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; font-weight: 600; }
.amap-legend li { display: inline-flex; align-items: center; gap: 7px; }
.amap-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.amap-legend .k-floor { color: #fca5a5; } .amap-legend .k-floor::before { background: #f87171; }
.amap-legend .k-daily { color: #fcd34d; } .amap-legend .k-daily::before { background: #fbbf24; }
.amap-legend .k-target { color: #86efac; } .amap-legend .k-target::before { background: #4ade80; }

/* ── v0.16: accounts, plans, admin desk ───────────────────────── */
@media (max-width: 1080px) and (min-width: 981px) { .site-head nav a { padding: 9px 10px; margin-left: 0; } }
.site-head nav a.nav-acct { display: inline-flex; align-items: center; gap: 8px; }
.acct-dot { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.acct-dot.is-pro { background: var(--accent); box-shadow: 0 0 0 3px rgba(198, 255, 61, .22); }

.auth-band { position: relative; isolation: isolate; overflow: hidden; background: var(--night);
  padding: calc(var(--header-h) + 40px) 24px 96px; }
.auth-band::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; left: -260px; top: -360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, .42), rgba(124, 92, 255, .1) 42%, transparent 70%); }
.auth-band::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -260px; bottom: -340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(198, 255, 61, .26), rgba(198, 255, 61, .06) 45%, transparent 70%); }
.auth-shell { position: relative; max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr minmax(0, 440px);
  gap: 56px; align-items: center; }
.auth-side { color: var(--on-dark); }
.auth-side h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 22px; max-width: 14ch; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-points li { position: relative; padding-left: 30px; color: #b6c2d4; }
.auth-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) translateY(-4px); }
.auth-points b { color: #fff; font-weight: 680; }
.auth-card { background: var(--surface); border-radius: 22px; padding: 36px 34px 30px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.auth-card h1 { margin: 0 0 4px; font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; }
.auth-sub { margin: 0 0 22px; color: var(--muted); }
.auth-form, .stack-form { display: grid; gap: 14px; }
.auth-form label, .stack-form label, .grid-form label, .inline-form label { display: grid; gap: 6px; font-size: .9rem;
  font-weight: 650; color: var(--ink); }
.auth-form input, .stack-form input, .grid-form input, .grid-form select, .inline-form input, .admin-search input,
.row-actions select {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: var(--surface); width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.auth-form input:focus, .stack-form input:focus, .grid-form input:focus, .grid-form select:focus, .inline-form input:focus,
.admin-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(124, 92, 255, .14); }
.auth-form button, .stack-form button, .inline-form button, .grid-form button {
  font: inherit; font-weight: 680; padding: 13px 20px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  color: #fff; background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 24px -10px rgba(198, 255, 61, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.auth-form button:hover, .stack-form button:hover, .inline-form button:hover, .grid-form button:hover { filter: brightness(1.05); }
.auth-form .opt { font-weight: 500; color: var(--muted); font-size: .82rem; }
.auth-note { margin: -4px 0 0; font-size: .88rem; color: var(--muted); }
.auth-alt { margin: 4px 0 0; text-align: center; font-size: .92rem; color: var(--muted); }
.auth-card .flash { margin: 0; }
.form-error { background: var(--bad-bg); border: 1px solid var(--bad-line); border-radius: 12px; padding: 10px 14px; color: var(--bad);
  font-weight: 600; margin: 0; }
@media (max-width: 820px) {
  .auth-shell { grid-template-columns: 1fr; gap: 30px; }
  .auth-side h2 { font-size: 1.6rem; margin-bottom: 14px; }
  .auth-band { padding: calc(var(--header-h) + 20px) 16px 56px; }
  .auth-card { padding: 28px 22px 24px; }
}

/* Account */
.plan-pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font-size: .88rem;
  font-weight: 680; color: #e2e8f0; border: 1px solid rgba(148, 163, 184, .35); background: rgba(255, 255, 255, .05);
  margin-right: 8px; }
.plan-pill.plan-pro { color: var(--accent-text); border-color: rgba(198, 255, 61, .6); background: rgba(198, 255, 61, .14); }
.plan-pill.plan-warn { color: var(--amber-line); border-color: rgba(250, 204, 21, .45); }
.page-hero h1 { overflow-wrap: anywhere; }
.acct { max-width: 1000px; margin: 40px auto 0; }
.acct > .flash, .acct > .form-error { margin-bottom: 18px; }
.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.acct-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.acct-card h2 { margin: 0 0 10px; font-size: 1.12rem; color: var(--ink); }
.acct-card p { margin: 0 0 14px; }
.acct-card .meta, .meta { color: var(--muted); font-size: .86rem; }
.inline-form .row { display: flex; gap: 10px; }
.inline-form .row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); font-size: .95rem; }
.inline-form .row button { flex: none; }
.acct-danger { border-color: var(--bad-line); }
.danger-btn { background: var(--bad) !important; box-shadow: none !important; }
.acct-out { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.acct-out .ghost-btn { text-decoration: none; }
@media (max-width: 760px) { .acct-grid { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 980px; margin: -44px auto 0;
  position: relative; z-index: 2; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px 32px 30px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan h2 { margin: 0; font-size: 1.15rem; color: var(--ink); }
.plan .price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan .amt { font-size: 3rem; font-weight: 780; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.plan .per { color: var(--muted); font-weight: 560; }
.price-alt { margin: 0 0 6px; color: var(--ink-2); font-size: .94rem; }
.ticks { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 13px; height: 7px;
  border-left: 2.4px solid var(--blue-brand); border-bottom: 2.4px solid var(--blue-brand); transform: rotate(-45deg); }
.plan-pro { background: linear-gradient(170deg, var(--night-2) 0%, var(--night) 70%); border-color: rgba(198, 255, 61, .5); color: var(--on-dark);
  box-shadow: 0 30px 70px -28px rgba(5, 12, 26, .7); }
.plan-pro h2, .plan-pro .amt { color: #fff; }
.plan-pro .per, .plan-pro .price-alt { color: #94a3b8; }
.plan-pro .price-alt b { color: var(--accent-text); }
.plan-pro .ticks li::before { border-color: var(--accent); }
.plan-pro .ticks b { color: #fff; }
.plan-flag { position: absolute; top: 22px; right: 22px; margin: 0; font-size: .7rem; font-weight: 760; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-text); border: 1px solid rgba(198, 255, 61, .55); border-radius: 999px; padding: 4px 10px; }
.plan-note { font-size: .92rem; color: #b6c2d4; margin: 0 0 16px; }
.plan-note a { color: var(--accent-text); }
.plan-have { color: var(--accent-text); font-weight: 680; }
.plan .big-cta, .plan .big-cta-ghost { justify-content: center; }
.plan:not(.plan-pro) .big-cta-ghost { color: var(--blue-brand); border: 1.5px solid var(--line-2); background: var(--surface); }
.plan:not(.plan-pro) .big-cta-ghost:hover { border-color: var(--blue); background: var(--surface-2); }
.pro-later { max-width: 1100px; margin: 90px auto 0; padding: 0 24px; }
.pro-later h2 { margin: 0 0 8px; color: var(--ink); font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
.eyebrow-dark { color: var(--accent-text); }
.section-sub { color: var(--muted); max-width: 680px; }
.fine { max-width: 780px; margin: 56px auto 0; color: var(--muted); font-size: .85rem; text-align: center; }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; margin-top: -30px; padding: 0 2px; }
  .plan { padding: 28px 22px 24px; }
  .pro-later { padding: 0; margin-top: 64px; }
}

/* Ask limit, PassLab trade stats */
.limit-card { border-color: var(--accent-line); background: var(--surface-2); }
.limit-card h2 { margin: 0 0 6px; font-size: 1.1rem; color: var(--ink); }
.mode-switch { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line);
  margin: 0 0 16px; gap: 4px; }
.mode-switch label { cursor: pointer; }
.mode-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mode-switch span { display: block; padding: 9px 16px; border-radius: 9px; font-size: .92rem; font-weight: 640; color: var(--ink-2); }
.mode-switch input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .14); }
.mode-switch input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.mode-pane[hidden] { display: none; }
.fields [hidden], .acct-switch[hidden] { display: none !important; }
.payout-card .s-n small { font-size: .5em; }
.trade-read { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px;
  border-radius: 14px; background: var(--night); color: #e2e8f0; }
.trade-read div { display: grid; gap: 2px; text-align: center; }
.trade-read span { font: 700 1.25rem/1.2 var(--mono); color: #86efac; }
.trade-read.neg span { color: #fca5a5; }
.trade-read small { color: #94a3b8; font-size: .76rem; letter-spacing: .04em; }
.pro-hint { text-align: center; }

/* Admin desk */
.admin-hero { padding-bottom: 56px; }
.admin { max-width: 1100px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: 0 0 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.admin-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-tabs a { padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 620; font-size: .94rem; }
.admin-tabs a:hover { background: var(--bg-soft); color: var(--ink); }
.admin-tabs a[aria-current="page"] { background: var(--night); color: #fff; }
.admin-who { display: flex; align-items: center; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0 0 24px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; box-shadow: var(--shadow); }
.kpi-n { font: 750 1.9rem/1.1 var(--font); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-n.kpi-sm { font-size: 1.2rem; }
.kpi-l { color: var(--muted); font-size: .86rem; }
.admin-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 26px; }
.admin-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
  margin-bottom: 20px; }
.admin-cols .admin-card { margin-bottom: 0; }
.admin-card h2, .admin-h { margin: 0 0 14px; font-size: 1.12rem; color: var(--ink); }
.admin-h { margin-top: 30px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plain li:last-child { border-bottom: 0; }
.grid-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-form .span2 { grid-column: 1 / -1; }
.grid-form .meta { font-weight: 400; }
.admin-search { display: flex; gap: 10px; margin: 0 0 16px; max-width: 520px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; font-size: .92rem; }
.admin-table th { text-align: left; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  background: var(--bg-soft); padding: 11px 14px; font-weight: 720; }
.admin-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.admin-table code { font-family: var(--mono); font-size: .88rem; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.row-actions select { width: auto; padding: 7px 10px; font-size: .88rem; }
.admin .row-actions button, .admin-table .ghost-btn { padding: 7px 12px; font-size: .85rem; border-radius: 9px; }
.tag-soft { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.tag-accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); }
.codes-card { border-color: var(--accent-line); }
.codes { background: var(--night); color: #e2e8f0; border-radius: 12px; padding: 16px; font: .85rem/1.8 var(--mono);
  overflow-x: auto; user-select: all; }
.switches { display: grid; gap: 14px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); }
.switch-row h3 { margin: 0; font-size: 1rem; color: var(--ink); }
.switch-row .meta { margin: 4px 0 0; }
.seg { display: inline-flex; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; gap: 4px; }
.admin .seg button { background: transparent; color: var(--ink-2); border: 0; padding: 8px 14px; font-size: .88rem; box-shadow: none; }
.admin .seg button.on { background: var(--night); color: #fff; }
.mail-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.mail-item summary { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 620; color: var(--ink); }
.mail-body { white-space: pre-wrap; word-break: break-word; font: .86rem/1.6 var(--mono); background: var(--bg-soft);
  border-radius: 10px; padding: 14px; }
@media (max-width: 760px) {
  .admin-cols, .grid-form { grid-template-columns: 1fr; }
  .admin-table { min-width: 680px; }
  .trade-read span { font-size: 1.05rem; }
}
.auth-band + main { padding: 0; }
.pro-later .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .pro-later .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pro-later .grid { grid-template-columns: 1fr; } }
.acct-grid { align-items: start; }
.mode-pane[data-mode="trades"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .mode-pane[data-mode="trades"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-who .ghost-btn { padding: 7px 14px; font-size: .88rem; }

/* ── v0.17: Challenge Advisor, checkout, payments admin ───────── */
.adv-form textarea, .grid-form textarea { font: inherit; font-size: .95rem; padding: 12px 14px; border: 1.5px solid var(--line-2);
  border-radius: 12px; width: 100%; resize: vertical; }
.fee-box { margin: 8px 0 4px; border-top: 1px solid var(--line); padding-top: 6px; }
.fee-box summary { font-size: .92rem; color: var(--ink); }
.fee-box .opt { font-weight: 500; color: var(--muted); font-size: .84rem; margin-left: 6px; }
.adv-results { max-width: 1000px; margin: 56px auto 0; }
.adv-head h2 { margin: 0 0 6px; color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; }
.adv-head .meta { max-width: 760px; }
.adv-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.adv-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) 210px; gap: 20px; align-items: start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.adv-top { border-color: var(--accent-line); box-shadow: 0 24px 56px -28px rgba(198, 255, 61, .45); }
.adv-rank { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 760;
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.adv-top .adv-rank { background: var(--night); color: #fff; border-color: var(--night); }
.adv-main h3 { margin: 4px 0 10px; font-size: 1.15rem; color: var(--ink); }
.adv-main h3 a { color: inherit; text-decoration: none; }
.adv-main h3 a:hover { color: var(--accent); }
.adv-main h3 span { font-weight: 500; color: var(--muted); }
.adv-bar { height: 8px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; margin: 0 0 12px; }
.adv-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.adv-phases { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--ink-2); }
.adv-phases .num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.adv-main .meta { margin: 6px 0 0; }
.adv-stat { text-align: right; display: grid; gap: 2px; justify-items: end; }
.adv-pct { font-size: 2.6rem; font-weight: 780; letter-spacing: -.03em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.adv-pct small { font-size: 1.2rem; font-weight: 650; margin-left: 2px; color: var(--muted); }
.adv-lbl { font-size: .82rem; color: var(--muted); }
.adv-sub { font-size: .82rem; color: var(--ink-2); margin-top: 6px; }
.adv-try { margin-top: 8px; font-size: .88rem; font-weight: 650; text-decoration: none; }
.risk-find { margin: 12px 0 2px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.risk-find p { margin: 0 0 10px; font-size: .92rem; }
.sweep { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 70px; align-items: end; }
.sweep span { position: relative; height: var(--h); min-height: 3px; border-radius: 6px 6px 2px 2px; background: #cbd5e1; }
.sweep span.now { background: #94a3b8; }
.sweep span.on { background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.sweep i { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font: 600 .68rem/1 var(--mono); color: var(--muted); font-style: normal; }
.risk-find .sweep { margin-bottom: 18px; }
.pro-teaser { text-align: center; max-width: 720px; margin-top: 28px; }
.pro-teaser h2 { margin: 0 0 6px; color: var(--ink); }
.adv-mini { margin: 10px 0 0; font-size: .86rem; color: var(--ink-2); }
@media (min-width: 761px) { .adv-try-m { display: none; } }
.adv-line { margin: 0 0 4px; font-size: .95rem; color: var(--ink-2); }
.adv-more { margin: 4px 0 0; }
.adv-more > summary { cursor: pointer; font-size: .88rem; font-weight: 650; color: var(--accent-text, var(--ink)); min-height: 32px; display: flex; align-items: center; }
.adv-more[open] > summary { margin-bottom: 6px; }
.adv-legend { margin: 14px 0 0; }
.adv-formula { max-width: 780px; margin: 18px 0 0; }
.adv-unk { display: inline-grid; vertical-align: middle; margin-left: 4px; }
@media (max-width: 760px) {
  .adv-card { grid-template-columns: 1fr; gap: 10px; padding: 18px; position: relative; }
  .adv-rank { position: absolute; top: 18px; left: 18px; }
  .adv-main h3 { padding: 0 92px 0 52px; min-height: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }
  .adv-stat { position: absolute; top: 14px; right: 18px; gap: 0; }
  .adv-pct { font-size: 2rem; }
  .adv-lbl { font-size: .7rem; }
  .adv-try { display: none; }
}
.buy { display: grid; gap: 10px; margin: 0 0 12px; }
.buy .big-cta { width: 100%; }
.buy-alt { font: inherit; font-weight: 640; color: #e2e8f0; background: transparent; border: 1px solid rgba(203, 213, 225, .3);
  border-radius: 12px; padding: 11px; cursor: pointer; }
.buy-alt:hover { border-color: rgba(203, 213, 225, .6); color: #fff; }
.sub-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px;
  border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); margin: 0 0 16px; }
.sub-box p { margin: 0; }
.bill-card { text-align: left; }
.bill-ref code { font: 700 1.1rem var(--mono); background: var(--bg-soft); padding: 4px 10px; border-radius: 8px; user-select: all; }
.bill-text { white-space: pre-wrap; padding: 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); margin: 14px 0; }
.bill-links { justify-content: flex-start; margin-top: 20px; }
.bill-links .ghost-btn { text-decoration: none; }
.checklist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 28px; font-size: .92rem; }
.checklist li::before { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid;
  place-items: center; font-size: .7rem; font-weight: 800; }
.checklist li.ok::before { content: "✓"; background: var(--ok-bg); color: var(--ok); }
.checklist li.no::before { content: "•"; background: var(--amber-bg); color: var(--amber); }
.checklist li.todo::before { content: "?"; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.plain-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 10px; }
.plain-table td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.plain-table td + td { padding-left: 12px; }
.fee-box .fields { align-items: end; }
.fee-box .fields label { justify-content: flex-end; }
.admin .watch-log { margin-top: 34px; }
.admin .watch-log h2 { font-size: 1.12rem; color: var(--ink); margin: 0 0 4px; }
.grid-form textarea { font-weight: 400; color: var(--ink); }
.ticks { align-content: start; }
.adv-lbl-m { display: none; }
@media (max-width: 760px) {
  .adv-lbl { display: none; }
  .adv-lbl-m { display: block; font-size: .72rem; color: var(--muted); text-align: right; }
  .adv-stat { justify-items: end; }
  .adv-main h3 { padding-right: 84px; }
}

/* ── v0.18: checkout review, legal pages ───────────────────────── */
a.buy-alt { display: block; text-align: center; text-decoration: none; }
.sub-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.key-info { width: 100%; border-collapse: collapse; margin: 6px 0 18px; }
.key-info th { text-align: left; vertical-align: top; width: 150px; padding: 11px 14px 11px 0; color: var(--ink); font-weight: 680;
  border-bottom: 1px solid var(--line); font-size: .94rem; }
.key-info td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft);
  border: 1.5px solid var(--line); font-size: .95rem; color: var(--ink); cursor: pointer; margin: 0 0 16px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.review-card { max-width: 720px; }
.review-card h2 { margin: 0 0 6px; color: var(--ink); font-size: 1.15rem; }
.draft-banner { background: var(--amber-bg); border: 1px solid #fcd34d; color: var(--amber); border-radius: 12px; padding: 12px 16px;
  font-weight: 600; margin: 0 0 22px; font-size: .92rem; }
.legal-doc { max-width: 780px; margin: 40px auto 0; color: var(--ink-2); }
.legal-doc h2 { color: var(--ink); font-size: 1.25rem; margin: 34px 0 10px; letter-spacing: -.01em; }
.legal-doc h3 { color: var(--ink); font-size: 1.02rem; margin: 22px 0 6px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc .ph { background: var(--amber-bg); padding: 0 4px; border-radius: 4px; font-weight: 600; color: var(--amber); }
.legal-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }
.legal-nav a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2);
  font-size: .88rem; font-weight: 600; }
.legal-nav a[aria-current="page"] { background: var(--night); color: #fff; border-color: var(--night); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 10px 0; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--ink); background: var(--bg-soft); font-weight: 680; }
@media (max-width: 640px) { .key-info th { width: 110px; } .legal-table { font-size: .85rem; } }
@media (max-width: 640px) { .legal-wide { min-width: 560px; } }

/* ── v0.19: refined home, footer, forms ──────────────────────── */
.firm-strip { text-align: center; padding: 34px 0 6px; }
.firm-strip p { margin: 0 0 14px; font-size: .74rem; font-weight: 720; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.firm-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 40px; }
.firm-strip li { font-size: 1.12rem; font-weight: 720; letter-spacing: -.02em; color: #94a3b8; }
.firm-strip li.more { font-size: .92rem; font-weight: 600; letter-spacing: 0; }
.firm-strip li.more a { text-decoration: none; }
.h-sec { padding: 92px 0 0; }
.h-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.h-head h2 { margin: 0 0 12px; }
.h-head .section-sub { margin: 0 auto; }
.h-head-left { text-align: left; margin: 0; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
a.mod { text-decoration: none; color: inherit; display: block; }
.trio-card { padding: 30px 28px 28px; display: flex !important; flex-direction: column; }
.trio-card h3 { font-size: 1.3rem; color: var(--ink); margin: 0 0 8px; }
.trio-card p { color: var(--ink-2); font-size: .97rem; line-height: 1.6; flex: 1; }
.trio-q { margin: 16px 0 4px !important; font-size: .78rem !important; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text) !important; flex: 0 !important; }
.trio-go { margin-top: 18px; font-weight: 680; color: var(--blue-brand); font-size: .95rem; }
.trio-card:hover .trio-go { color: var(--accent); }
.mod.live h3::after { content: none; }
.mod.live { border-color: var(--line); border-width: 1px; }
.mod.live:hover { border-color: var(--accent-line); }
.h-minor { text-align: center; font-size: 1.05rem; color: var(--muted); font-weight: 650; margin: 56px 0 18px; letter-spacing: 0; }
.duo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mini { padding: 20px 18px; }
.mini .icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 12px; }
.mini .icon svg { width: 20px; height: 20px; }
.mini h3 { font-size: 1rem; color: var(--ink); margin: 0 0 4px; }
.mini p { font-size: .88rem; line-height: 1.55; }
.h-dark { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-dark); margin: 100px calc(50% - 50vw) 0; padding: 96px 24px; }
.h-dark::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 61, .22), rgba(198, 255, 61, .05) 45%, transparent 70%); }
.h-dark-in { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.h-dark h2 { color: #fff; }
.h-dark .section-sub { color: #b6c2d4; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.why li { padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(148, 163, 184, .16); }
.why h3 { color: #fff; font-size: 1.05rem; margin: 0 0 8px; }
.why p { margin: 0; color: #b6c2d4; font-size: .94rem; line-height: 1.6; }
.why li:first-child { border-color: rgba(198, 255, 61, .45); background: rgba(198, 255, 61, .06); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--night); color: #fff; font-weight: 750; font-size: .92rem; margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; color: var(--ink); }
.steps p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.mod.soon h3::after { margin-left: 8px; }
.cta-band { margin: 96px 0 0; border-radius: 24px; background: linear-gradient(135deg, var(--night-2), var(--night) 70%); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -140px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 61, .3), transparent 70%); }
.cta-band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 48px 52px; }
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { margin: 0; color: #b6c2d4; }
.cta-band .wait-form { justify-content: flex-start; margin: 0; }
.cta-band .wait-form input { max-width: none; border-color: rgba(203, 213, 225, .25); background: rgba(255, 255, 255, .06); color: #fff; }
.cta-band .wait-form input::placeholder { color: #8796ab; }
.cta-band .flash { margin: 0 0 12px; }
.cta-fine { margin-top: 12px !important; font-size: .84rem; }
.cta-fine a { color: var(--accent-text); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-about p { max-width: 42ch; }
.foot-note { font-size: .86rem; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h2 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #e2e8f0; margin: 6px 0 6px; font-weight: 720; }
.foot-col a { color: #a7b4c7; text-decoration: none; font-size: .93rem; }
.foot-col a:hover { color: #fff; }
.footer-legal { padding: 0; }
.footer-legal-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 30px; }
.footer-legal p { margin: 0; }
/* form section labels: quiet titles, not shouting capitals */
.form h2 { font-size: 1.02rem; letter-spacing: -.01em; text-transform: none; color: var(--ink); font-weight: 720; margin: 18px 0 12px; }
.form h2:first-child { margin-top: 0; }
button[aria-busy="true"], .big-cta[aria-busy="true"] { opacity: .85; cursor: progress; }
.spin { display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; vertical-align: -2px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1080px) { .duo { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .trio, .steps { grid-template-columns: 1fr; }
  .h-dark-in { grid-template-columns: 1fr; gap: 30px; }
  .cta-band-in { grid-template-columns: 1fr; padding: 36px 26px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .duo, .why, .soon-grid { grid-template-columns: 1fr; }
  .h-sec { padding-top: 64px; }
  .h-dark { padding: 64px 18px; margin-top: 72px; }
  .h-dark-in { padding: 0; }
  .firm-strip ul { gap: 8px 22px; }
  .firm-strip li { font-size: 1rem; }
  .cta-band { margin-top: 64px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
@media (max-width: 640px) {
  .mini { display: grid !important; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; }
  .mini .icon { margin: 0; }
}
/* PassLab result verdict */
.verdict { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: center; max-width: 780px;
  margin: 26px auto 18px; padding: 30px 34px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.verdict-good { border-color: var(--ok-line); } .verdict-mid { border-color: var(--amber-line); } .verdict-low { border-color: var(--bad-line); }
.verdict-k { margin: 0; font-size: .8rem; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.verdict-n { margin: 4px 0 6px; font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 790; letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.verdict-n small { font-size: .45em; color: var(--muted); font-weight: 650; margin-left: 2px; }
.verdict-good .verdict-n { color: var(--ok); } .verdict-mid .verdict-n { color: var(--amber); } .verdict-low .verdict-n { color: var(--bad); }
.verdict-say { margin: 0; color: var(--ink-2); max-width: 46ch; }
.verdict-side { border-left: 1px solid var(--line); padding-left: 26px; }
.verdict-side p:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; color: var(--ink-2); font-weight: 600; }
.verdict-side b { font-size: 1.7rem; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.verdict-note { margin: 0; font-size: .9rem; color: var(--muted); }
.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 780px; margin: 0 auto 8px; }
.stats4 > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; display: grid; gap: 4px; }
.s-k { font-size: .82rem; font-weight: 650; color: var(--ink-2); }
.s-n { font-size: 1.7rem; font-weight: 760; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.s-s { font-size: .8rem; color: var(--muted); }
.s-warn .s-n { color: var(--amber); }
@media (max-width: 760px) {
  .verdict { grid-template-columns: 1fr; padding: 24px 22px; gap: 18px; }
  .verdict-side { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
  .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ask-chips { margin: 4px 0 18px; }
.ask-chips .chip { white-space: normal; text-align: left; line-height: 1.35; }
.empty { text-align: center; padding: 18px 8px 8px; }
.empty-t { font-size: 1.2rem; font-weight: 720; color: var(--ink); margin: 0 0 6px; }
.empty p { max-width: 520px; margin-left: auto; margin-right: auto; }
.err-links { max-width: 780px; margin: 48px auto 0; }
.err-links h2 { font-size: 1.2rem; }
.err-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.err-links li { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 2px; }
.err-links a { font-weight: 700; text-decoration: none; }
.err-links span { color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .err-links ul { grid-template-columns: 1fr; } }

/* v0.19 accessibility: contrast and light-context ghost buttons */
.footer-legal { color: #94a3b8; }
.footer-legal a { color: #b6c2d4; }
.firm-strip li { color: #475569; }
.main-body .big-cta-ghost { color: var(--blue-brand); border: 1.5px solid var(--line-2); background: var(--surface); }
.main-body .big-cta-ghost:hover { color: var(--ink); border-color: var(--blue); background: var(--surface-2); }
.main-body .plan-pro .big-cta-ghost, .main-body .cta-band .big-cta-ghost { color: #f1f5f9; border-color: rgba(203, 213, 225, .3); background: rgba(255, 255, 255, .04); }
.learn-list h2 { text-align: center; margin: 0 0 6px; }
.trap-n { margin: 0 0 6px !important; font-size: .74rem !important; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text) !important; }
.footer-legal a { text-decoration: underline; text-decoration-color: rgba(182, 194, 212, .35); text-underline-offset: 3px; }
.footer-legal a:hover { text-decoration-color: currentColor; color: #fff; }
a.ghost-btn { text-decoration: none; }
.learn-list .grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.verdict-n { font-size: clamp(3rem, 6vw, 4rem); }
.paths-key i { font-style: normal; display: inline-flex; align-items: center; white-space: nowrap; }
.mode-switch span { white-space: nowrap; }
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -22px; margin-right: -22px;
    padding: 2px 22px 6px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .chips::-webkit-scrollbar { display: none; }
  .chips .chip { flex: none; white-space: nowrap; scroll-snap-align: start; }
  .chips-label { flex: none; }
  .ask-chips { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding: 0; }
  .ask-chips .chip { white-space: normal; flex: 1 1 100%; }
  .mode-switch span { padding: 9px 12px; font-size: .88rem; }
  .mode-switch { display: flex; flex-wrap: wrap; width: 100%; }
  .mode-switch label { flex: 1 1 auto; }
  .mode-switch span { text-align: center; }
}
@media (max-width: 640px) { .card { padding: 24px 22px; } .main-body { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 640px) {
  .card .grid.results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card .results .mod { padding: 14px 10px; }
  .card .results .mod h3 { font-size: .86rem; }
  .card .results .big { font-size: 1.6rem; }
  .card .results .sub { font-size: .76rem; }
}

/* v0.20: edge room table, expected spend, fee field */
.fragility .table-wrap { overflow-x: auto; }
table.frag { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.frag th, table.frag td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.frag thead th { white-space: nowrap; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
table.frag tbody th { font-weight: 600; white-space: nowrap; }
table.frag tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
table.frag td.num { white-space: nowrap; width: 1%; }
table.frag tr.you th, table.frag tr.you td.num { color: var(--ink, #0b1b33); }
table.frag tr.you { background: rgba(255, 122, 26, .06); }
table.frag .bar-cell { width: 40%; min-width: 90px; }
table.frag .bar { display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); min-width: 2px; }
.spend-row { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; margin: 0; }
.fee-row { margin-top: 6px; }
@media (max-width: 640px) {
  .spend-row { grid-template-columns: 1fr; }
  table.frag .bar-cell { display: none; }
}
.nobr { white-space: nowrap; }
@media (max-width: 420px) { .nobr { white-space: normal; } }

/* v0.21: trade history import */
.flash.error { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); }
.history-pane .file-drop input[type=file], .mine-form input[type=file] { padding: 14px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--bg-soft); width: 100%; font: inherit; cursor: pointer; }
.history-pane .file-drop input[type=file]:hover, .mine-form input[type=file]:hover { border-color: var(--accent); }
.history-note, .mine-note { grid-column: 1 / -1; margin: 0; }
.mine-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hist-card h3 { margin: 22px 0 8px; font-size: 1rem; }
.hist-card .stats4 { max-width: none; margin: 0; }
ul.habits { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
ul.habits li { padding: 10px 14px 10px 36px; border-radius: 12px; background: var(--bg-soft); position: relative; line-height: 1.5; }
ul.habits li::before { content: ""; position: absolute; left: 14px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
ul.habits li.h-good::before { background: #16a34a; }
ul.habits li.h-warn { background: var(--surface-2); }
ul.habits li.h-warn::before { background: var(--accent); }
.field-help { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); font-weight: 400; }

/* v0.22: Rule Watch food chain */
ol.chain { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0 0 22px; counter-reset: st; }
ol.chain li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; position: relative; }
ol.chain li b { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
ol.chain li span { font-size: 13px; color: var(--muted); }
ol.chain li.hot { border-color: var(--accent-line); background: var(--accent-soft); }
.draft-card { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 16px; margin: 12px 0; background: var(--surface); }
.draft-card .draft-head { margin: 0 0 6px; }
table.draft-changes { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
table.draft-changes th, table.draft-changes td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 760px) { ol.chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.verdict-slow { border-color: var(--cyan-line); } .verdict-slow .verdict-n { color: var(--cyan); }
.hist-warn { margin: 14px 0 0; background: var(--surface-2); border-color: var(--accent-line); color: var(--accent-text); }
.card .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .sizes table.frag th, .sizes table.frag td { padding: 9px 6px; font-size: 13.5px; }
  .sizes table.frag thead th { font-size: 11px; letter-spacing: .03em; white-space: normal; }
  .sizes table.frag tbody th small { font-size: 11.5px; }
}
@media (max-width: 640px) { table.frag .opt { display: none; } }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
table.admin-table th, table.admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.admin-table thead th { font-size: 12px; color: var(--muted); font-weight: 600; }
table.admin-table td.wrap { white-space: normal; min-width: 200px; overflow-wrap: anywhere; }   /* long batch names and notes wrap */
.batches-table .row-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
ul.alert-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
ul.alert-list time { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 6px; }
ol.chain li b small { font-size: .8rem; color: var(--muted); }
.publish-form { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pub-row { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.pub-row legend { padding: 0 6px; font-weight: 600; }
.pub-row label { display: grid; gap: 4px; font-size: 13.5px; }
.pub-row input, .pub-row select { font: inherit; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; }
ul.register { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 14px; }
ul.register li.is-reversed { color: var(--muted); }
.inline-form { display: inline; }
.small-btn { padding: 3px 10px; font-size: 12.5px; }
.upd { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 600; }
.follow-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0 14px; }
.follow-form .meta, .follow-hint { color: #cbd5e1; }
.follow-hint a { color: #fff; }
@media (max-width: 640px) { .pub-row { grid-template-columns: 1fr; } }
.publish-form > button, .review-form button:not(.ghost-btn), .draft-card .review-btns button:not(.ghost-btn) {
  background: var(--accent-text); border-color: var(--accent-text); color: #fff; }
.publish-form > button:hover, .review-form button:not(.ghost-btn):hover, .draft-card .review-btns button:not(.ghost-btn):hover {
  background: var(--accent-text); border-color: var(--accent-text); }
.pub-row legend label { display: inline-flex; align-items: center; gap: 8px; }

/* v0.25 Firm Match */
.adv-card h3 .tag { font-style: normal; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text); vertical-align: middle; margin-left: 6px; }
.match-teaser .ticks { margin: 14px auto 22px; text-align: left; max-width: 620px; }

/* v0.26 exports: print layouts (Save as PDF). Free prints carry the logo and a link; Pro prints don't. */
.print-only { display: none; }
@media print {
  @page { margin: 14mm 12mm; }
  body { background: var(--surface) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-only { display: block !important; }
  .page-hero h1, .page-hero .lede { color: #0f172a !important; -webkit-text-fill-color: #0f172a !important; opacity: 1 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .no-print, .share, .site-head, .site-foot, .follow-form, .follow-hint, .pro-teaser, .export-bar,
  .adv-form, .chips, form.form { display: none !important; }
  .print-brand { display: flex !important; align-items: center; gap: 10px; padding: 0 0 10px; margin: 0 0 6px;
    border-bottom: 2px solid #5b3df5; font-size: 13px; color: #0f172a; }
  .print-brand b { font-size: 16px; } .print-brand em { font-style: normal; color: #5b3df5; }
  .print-foot { margin: 22px 0 0; padding-top: 10px; border-top: 1px solid #cbd5e1; font-size: 10.5px; color: #475569; }
  .print-plain { display: block !important; font-size: 11px; color: #475569; margin: 0 0 8px; }
  .page-hero { padding: 6px 0 10px !important; background: var(--surface) !important; }
  .page-hero::before, .page-hero::after { display: none !important; }
  .page-hero .gridlines, .page-hero .eyebrow { display: none; }
  .card, .verdict, .adv-card, .stats4 > div { box-shadow: none !important; break-inside: avoid; }
  .main-body { padding: 0 !important; max-width: none !important; }
  a { color: inherit; text-decoration: none; }
}
.export-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.export-bar .meta { margin: 0; }

/* ---------------------------------------------------------------- Tilt Guard cockpit (v0.27) */
.mono{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums}
.ghud{background:#07070C;color:#E9ECF5;border-radius:14px;padding:18px 20px;border:1px solid #23253A}
.ghud-row{display:flex;align-items:center;gap:12px}
.ghud-k{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:#9AA0B8}
.ghud-meter{flex:1;height:12px;border-radius:99px;background:#1A1C2A;overflow:hidden}
.ghud-meter i{display:block;height:100%;background:linear-gradient(90deg,#2EE6FF,#C6FF3D 45%,#FFC83D 70%,#FF3D7F);transition:width .5s}
.ghud-v{font-size:1.6rem;min-width:3ch;text-align:right}
.ghud-state{font-size:1.9rem;font-weight:900;letter-spacing:.06em;margin:.3rem 0}
.ts-calm{color:#C6FF3D}.ts-caution{color:#FFC83D}.ts-pause{color:#FF9F3D}.ts-stop{color:#FF3D7F}
.ghud-log{color:#9AA0B8;min-height:1.4em;margin:0}
.ghud-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin:12px 0 0}
.ghud-grid dt{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:#9AA0B8}
.ghud-grid dd{margin:0;font-size:1.2rem}.ghud-grid .ghud-sub{font-size:.8rem;color:#9AA0B8}
.guard-demo{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:center}
.guard-steps li{margin:.4rem 0}
.bento{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin:20px 0}
.guard-top{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:18px}
.stat{display:flex;flex-direction:column;gap:2px}.stat-k{font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;opacity:.75}
.stat-v{font-size:2rem;font-weight:800}.stat-s{font-size:.85rem;opacity:.8}.pos{color:var(--accent)}.neg{color:var(--pink)}
.acc-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.acc-head small{font-weight:400;opacity:.7;font-size:.8rem}
.acc-title h2{margin:0}
.acc-login{margin:2px 0 0;font-size:.86rem;color:var(--muted)}
.acc-login .btn-link{background:none;border:0;padding:6px 4px;min-height:32px;font:inherit;font-weight:700;color:var(--accent-text);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.gpill{padding:4px 10px;border-radius:99px;font-size:.8rem;font-weight:700}.gpill.on{background:#C6FF3D;color:#07070C}.gpill.off{background:#FF3D7F;color:#fff}
.locks{margin:12px 0}.lock-row{margin:.25rem 0}
.acc-actions{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin:14px 0}
.lock-form{border:1px solid rgba(127,127,127,.3);border-radius:12px;padding:14px}
.seg{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.seg input{position:absolute;opacity:0}
.seg span{display:inline-block;padding:6px 12px;border-radius:99px;border:1px solid rgba(127,127,127,.4);cursor:pointer}
.seg input:checked+span{background:#07070C;color:#C6FF3D;border-color:#07070C}.seg input:focus-visible+span{outline:2px solid #2EE6FF}
.unlock-at{font-weight:700;min-height:1.3em}
.confirm{display:flex;gap:8px;align-items:flex-start;margin:8px 0;font-size:.9rem}
.btn-danger{background:#FF3D7F;color:#fff;border:0;border-radius:10px;padding:10px 18px;font-weight:800;cursor:pointer}
.panic{justify-content:space-between}
.pro-tag{font-size:.7rem;background:#FFC83D;color:#07070C;border-radius:4px;padding:1px 5px;margin-left:4px;font-weight:800}
.link-code{font-size:2.4rem;font-weight:800;letter-spacing:.2em}
.linkish{background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer;padding:0}
.install li{margin:.35rem 0}
@media (prefers-reduced-motion:reduce){.ghud-meter i{transition:none}}

/* ================================================================ v0.27 HUD layer
   Applies the dark-first system over the older component rules above. */
body { background: var(--night); color: var(--ink-2); }
::selection { background: var(--accent); color: var(--night); }
a { color: var(--cyan); }
a:hover { color: var(--accent); }
:focus-visible { outline-color: var(--cyan); }
h1, h2, h3 { color: var(--ink); }
h1 { font-weight: 900; letter-spacing: -.045em; line-height: 1.02; }
h2 { font-weight: 850; letter-spacing: -.035em; }
.skip-link { color: var(--night); }
.skip-link:focus { color: var(--night); }

/* header */
.site-head, .site-head.js.scrolled, .site-head.js.menu-open { border-bottom-color: var(--line); }
.site-head.js.scrolled, .site-head.js.menu-open { background: rgba(7, 7, 12, .88); }
.brand-word { font-weight: 850; letter-spacing: -.045em; }
.site-head nav a { color: var(--muted); font-weight: 650; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .06); }
.site-head nav a[href="/guard"] { color: var(--cyan); }
.site-head nav a.cta { background: var(--accent); color: var(--night); border-color: var(--accent); font-weight: 800; }
.site-head nav a.cta:hover { background: var(--accent-2); color: var(--night); }

/* hero bands: violet and lime glow, a faint scanline */
.hero::before { background: radial-gradient(circle, rgba(124, 92, 255, .55), rgba(124, 92, 255, .14) 40%, transparent 70%); }
.hero::after { background: radial-gradient(circle, rgba(198, 255, 61, .22), rgba(198, 255, 61, .05) 42%, transparent 70%); }
.page-hero { border-bottom: 0; }
.page-hero::before { background: radial-gradient(circle, rgba(124, 92, 255, .5), rgba(124, 92, 255, .12) 40%, transparent 70%); }
.hero .lede, .page-hero .lede { color: var(--muted); }
.page-hero .lede a, .hero-alt a { color: var(--ink); }
.eyebrow { color: var(--accent); font-family: var(--mono); font-weight: 600; letter-spacing: .12em; }
.eyebrow-dark { color: var(--accent); }
.gridlines { background-image: linear-gradient(rgba(154,160,184,.06) 1px, transparent 1px),
                               linear-gradient(90deg, rgba(154,160,184,.06) 1px, transparent 1px); }

/* buttons: lime with dark text; ghost on line */
.big-cta, .form button, .wait-form button, .auth-card button, .btn {
  background: var(--accent); color: var(--night); font-weight: 850; letter-spacing: -.01em; border: 0;
  box-shadow: 0 0 0 1px rgba(198, 255, 61, .4), 0 12px 32px -10px rgba(198, 255, 61, .55); border-radius: 14px; }
.big-cta:hover, .form button:hover, .wait-form button:hover, .auth-card button:hover, .btn:hover {
  color: var(--night); background: var(--accent-2);
  box-shadow: 0 0 0 1px rgba(198, 255, 61, .6), 0 16px 40px -10px rgba(198, 255, 61, .75); }
.btn { display: inline-flex; padding: 11px 20px; font: inherit; font-weight: 850; cursor: pointer; text-decoration: none; }
.big-cta-ghost, .main-body .big-cta-ghost, .plan:not(.plan-pro) .big-cta-ghost, .ghost-btn {
  color: var(--ink); background: transparent; border: 1px solid var(--line-2); }
.big-cta-ghost:hover, .main-body .big-cta-ghost:hover, .plan:not(.plan-pro) .big-cta-ghost:hover, .ghost-btn:hover {
  color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.spin { border-color: rgba(7, 7, 12, .35); border-top-color: var(--night); }
.danger-btn, .btn-danger { background: var(--pink) !important; color: #fff !important; box-shadow: 0 10px 28px -10px rgba(255, 61, 127, .7) !important; }

/* surfaces */
.card, .mod, .acct-card, .plan, .kpi, .admin-card, .watch-item, .adv-card, .stats4 > div, ol.chain li, .draft-card,
.verdict, .table-scroll, .auth-card, .mail-item, .switch-row, .admin-table {
  background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.card { border-radius: var(--radius); }
.mod { transition: transform .2s, border-color .2s, box-shadow .2s; }
.mod:hover { border-color: rgba(198, 255, 61, .45); box-shadow: 0 0 0 1px rgba(198, 255, 61, .15), 0 24px 48px -24px rgba(198, 255, 61, .25); }
.mod h3 { color: var(--ink); }
.mod.live { border-color: var(--line); background: var(--surface); }
.mod.live h3::after { color: var(--night); background: var(--accent); border-color: var(--accent); }
.mod.soon h3::after { color: var(--muted); background: var(--surface-2); border-color: var(--line); }
.icon, .icon.warm { color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.icon:not(.warm) { color: var(--cyan); background: rgba(46, 230, 255, .1); border-color: var(--cyan-line); }

/* forms */
.fields label, .auth-card label { color: var(--ink); }
.fields input, .fields select, .wait-form input, .tape-form input, .tape-form select, .auth-card input, .review-form input,
.admin-form input, .adv-form textarea, .grid-form textarea, input[type=text], input[type=email], input[type=password],
input[type=number], select, textarea {
  background: var(--night); color: var(--ink); border-color: var(--line-2); }
.fields input:focus, .fields select:focus, .wait-form input:focus, .auth-card input:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(198, 255, 61, .14); }
input::placeholder, textarea::placeholder { color: #6E7491; }
.chip { background: var(--surface); color: var(--ink-2); border-color: var(--line-2); }
.chip.on { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent); }
.mode-switch input:checked + span { background: var(--accent); color: var(--night); }
p.live { color: var(--cyan); }
.flash { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.flash.error, .form-error { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); }

/* tables */
.firms-table th, .firms-table td, .rules-table th, .rules-table td, .article th, .article td { border-bottom-color: var(--line); }
.firms-table thead th, .rules-table thead th { background: var(--surface-2); color: var(--muted); font-family: var(--mono);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.rules-table tbody th { background: var(--surface-2); }
.firms-table tbody th a { color: var(--ink); }
table .ok, .state-ok, .verdict-good .verdict-n { color: var(--ok); }
table .no { color: var(--pink); }
.results .big, .verdict-n, .s-n, .stat-v, .kpi b, .amt { font-family: var(--mono); letter-spacing: -.04em; }

/* pro = gold */
.plan-pro { background: linear-gradient(170deg, #1A1530 0%, var(--night) 70%); border-color: rgba(255, 200, 61, .55);
  box-shadow: 0 0 0 1px rgba(255, 200, 61, .25), 0 30px 60px -30px rgba(255, 200, 61, .35); }
.plan-pro .price-alt b, .plan-note a, .plan-have, .cta-fine a { color: var(--gold); }
.plan-pill.plan-pro { color: var(--gold); border-color: rgba(255, 200, 61, .6); background: rgba(255, 200, 61, .12); }
.acct-dot.is-pro { background: var(--gold); }

/* bars and charts */
.adv-bar span, table.frag .bar { background: linear-gradient(90deg, var(--cyan), var(--accent)); }
.sweep span { background: var(--surface-3); }
.sweep span.on { background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.paths-svg { background: var(--night); border-color: var(--line); }
.arena-verdict.good { background: var(--ok-bg); border-color: var(--ok-line); }
.arena-verdict.bad { background: var(--bad-bg); border-color: var(--bad-line); }
.arena-verdict .spark, .arena-verdict.bad .spark { background: rgba(255, 255, 255, .03); }
.checklist li.ok::before { background: var(--ok-bg); color: var(--ok); }
.checklist li.no::before { background: var(--amber-bg); color: var(--amber); }
.draft-banner, .legal-doc .ph { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber); }
.steps span, .adv-top .adv-rank { background: var(--accent); color: var(--night); border-color: var(--accent); }
.cta-band { background: linear-gradient(135deg, #1A1530, var(--night) 70%); border: 1px solid var(--line); }
.cta-band .wait-form input { background: var(--night); }
.firm-strip li { color: var(--muted); }
.site-foot { background: #050508; border-top-color: var(--line); }
.foot-word span, .brand-word span { color: var(--accent); }
.footer-legal { color: var(--muted); }
.trio-q, .trap-n { color: var(--accent) !important; font-family: var(--mono); }
.admin-tabs a[aria-current="page"], .legal-nav a[aria-current="page"], .admin .seg button.on { background: var(--accent); color: var(--night); border-color: var(--accent); }
.pl-window::before { background: linear-gradient(135deg, rgba(198, 255, 61, .7), transparent 40%, rgba(124, 92, 255, .6)); }
.cursor { background: var(--accent); }

/* ---------------------------------------------------------------- home v0.27 */
.hx { position: relative; isolation: isolate; overflow: hidden; background: var(--night);
  padding: calc(var(--header-h) + 34px) 24px 72px; border-bottom: 1px solid var(--line); }
.hx::before { content: ""; position: absolute; z-index: -1; inset: -30% -10% auto auto; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, .45), transparent 65%); }
.hx::after { content: ""; position: absolute; z-index: -1; left: -260px; bottom: -340px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 61, .16), transparent 65%); }
.hx-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.hx-grid > .tg-card { margin-top: 8px; }   /* sits level with the headline and never moves as the demo plays */
.hx-grid > * { min-width: 0; }
.hx h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); margin: 6px 0 20px; }
.hx h1 .hl { color: var(--accent); }
.hx h1 .pk { color: var(--pink); }
.hx .lede { color: var(--muted); font-size: 1.15rem; max-width: 46ch; margin: 0 0 28px; }
.hx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.hx-tags li { font: 600 .78rem var(--mono); color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 99px; padding: 6px 12px; }
.hx-tags li b { color: var(--accent); font-weight: 600; }
.tg-card { position: relative; border-radius: 24px; padding: 22px; background: linear-gradient(180deg, #11121D, #0A0A12);
  border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(124, 92, 255, .6); }
.tg-card::before { content: ""; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(198, 255, 61, .7), transparent 35%, transparent 65%, rgba(255, 61, 127, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tg-top { display: flex; justify-content: space-between; align-items: center; font: 600 .74rem var(--mono); color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em; }
.tg-live { color: var(--accent); } .tg-live::before { content: "●"; margin-right: 6px; animation: blink 1.4s steps(1) infinite; }
.tg-score { display: flex; align-items: baseline; gap: 14px; margin: 14px 0 6px; }
.tg-score b { font: 800 4.4rem/1 var(--mono); letter-spacing: -.06em; color: var(--ink); transition: color .3s; }
.tg-score span { font: 900 1.4rem var(--font); letter-spacing: .02em; }
.tg-meter { height: 14px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.tg-meter i { display: block; height: 100%; width: 8%; border-radius: inherit; transition: width .6s cubic-bezier(.2,.8,.2,1);
  background: linear-gradient(90deg, var(--cyan), var(--accent) 40%, var(--gold) 70%, var(--pink)); }
.tg-feed { list-style: none; margin: 16px 0 0; padding: 0; font: .82rem/1.7 var(--mono); color: var(--ink-2); height: 8.6em; overflow: hidden; }
@media (max-width: 640px) { .tg-feed { height: 12em; } }
.tg-feed li { display: flex; gap: 10px; animation: feedin .35s ease; }
.tg-feed li time { color: #8A90AE; flex: none; }
.tg-feed .bad { color: var(--pink); } .tg-feed .good { color: var(--accent); } .tg-feed .info { color: var(--cyan); }
@keyframes feedin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tg-lock { display: flex; justify-content: space-between; align-items: center; visibility: hidden; opacity: 0; transition: opacity .3s; margin-top: 14px; border-radius: 16px; padding: 14px 16px; background: rgba(255, 61, 127, .1);
  border: 1px solid rgba(255, 61, 127, .5); }
.tg-lock.on { visibility: visible; opacity: 1; }
.tg-lock b { color: var(--pink); font: 900 1.2rem var(--font); letter-spacing: .04em; }
.tg-lock span { font: 700 1.5rem var(--mono); color: var(--ink); }
.tg-saved { display: block; visibility: hidden; opacity: 0; transition: opacity .3s; margin-top: 12px; border-radius: 16px; padding: 14px 16px; background: var(--accent); color: var(--night); }
.tg-saved.on { visibility: visible; opacity: 1; }
.tg-saved b { font: 900 1.6rem var(--font); letter-spacing: -.03em; }
.c-calm { color: var(--accent); } .c-caution { color: var(--gold); } .c-pause { color: #FF9F3D; } .c-stop { color: var(--pink); }

.sec { max-width: var(--max); margin: 0 auto; padding: 84px 24px 0; }
.sec-h { max-width: 760px; margin: 0 0 28px; }
.sec-h h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 10px; }
.sec-h p { color: var(--muted); margin: 0; font-size: 1.08rem; }
.bento-x { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(170px, auto); }
.bx { position: relative; overflow: hidden; border-radius: 22px; padding: 24px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .2s; }
a.bx:hover { border-color: var(--accent-line); transform: translateY(-3px); color: var(--ink-2); }
.bx h3 { font-size: 1.35rem; font-weight: 850; letter-spacing: -.03em; margin: 0; }
.bx p { margin: 0; font-size: .96rem; color: var(--muted); }
.bx .k { font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.bx .go { margin-top: auto; font-weight: 800; color: var(--ink); }
.bx-xl { grid-column: span 4; grid-row: span 2; background: radial-gradient(120% 120% at 100% 0%, rgba(46, 230, 255, .14), transparent 55%), var(--surface); }
.bx-xl h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.bx-m { grid-column: span 2; } .bx-l { grid-column: span 3; }
.bx .tag-pro { position: absolute; top: 18px; right: 18px; font: 800 .68rem var(--mono); color: var(--night); background: var(--gold);
  border-radius: 6px; padding: 3px 7px; letter-spacing: .06em; }
.bx .tag-new { position: absolute; top: 18px; right: 18px; font: 800 .68rem var(--mono); color: var(--night); background: var(--cyan);
  border-radius: 6px; padding: 3px 7px; letter-spacing: .06em; }
.bx-big { font: 800 3rem/1 var(--mono); letter-spacing: -.05em; color: var(--ink); }
.bx ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .94rem; }
.firm-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.firm-row li a { display: inline-block; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); font-weight: 700; text-decoration: none; font-size: .92rem; }
.firm-row li a:hover { border-color: var(--accent); color: var(--ink); }
.firm-row li.kinds span { display: inline-block; padding: 9px 12px; font: 600 .78rem var(--mono); color: var(--muted); }
.quiz { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; }
.quiz label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; color: var(--ink); font-size: .92rem; }
.quiz output { font: 800 3.4rem/1 var(--mono); letter-spacing: -.05em; }
.quiz-out { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.manifesto { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; list-style: none; }
.manifesto li { border-top: 2px solid var(--accent); padding: 16px 0 0; }
.manifesto h3 { font-size: 1.15rem; margin: 0 0 6px; }
.manifesto p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) {
  .hx-grid { grid-template-columns: 1fr; }
  .bento-x { grid-template-columns: repeat(2, 1fr); }
  .bx-xl, .bx-l, .bx-m { grid-column: span 2; grid-row: auto; }
}
@media (min-width: 620px) and (max-width: 980px) { .bx-m { grid-column: span 1; } }
@media (max-width: 640px) {
  .hx { padding: calc(var(--header-h) + 18px) 16px 56px; }
  .sec { padding: 64px 16px 0; }
  .tg-score b { font-size: 3.4rem; }
}
.bx.mod.live h3::after { content: none; }
.bx.mod { padding: 24px; margin: 0; }
#modules .sec-h h2 { text-align: left; }
.guard-bento { max-width: 1080px; margin: 24px auto; }
.guard-bento .card { margin: 0; max-width: none; padding: 22px; }
.main-body > .guard-bento .card h2, .guard-bento .card h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.guard-bento .card p { margin: 0; color: var(--muted); font-size: .95rem; }
.guard-demo { max-width: 1080px; }
.guard-demo .ghud-state { font-size: 2.6rem; }
.guard-demo .ghud { padding: 24px; }
.xray .quote { font-style: italic; color: var(--ink); } .xr-ea { border-color: var(--cyan-line); }
.pro-tag { align-self: flex-start; display: inline-block; width: auto; }
.acc-settings fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.acc-settings summary { cursor: pointer; font-weight: 800; color: var(--ink); margin: 8px 0 12px; }
.acc-settings h3 { margin: 18px 0 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-family: var(--mono); }
.guard-top .card, .guard-acc.card, .guard-add.card { margin: 0 0 18px; max-width: none; }
.guard-top .card { margin: 0; }
.guard-acc, .guard-add { max-width: 1080px !important; margin: 0 auto 18px !important; }
/* v0.47.0 copy-trading stacks */
.guard-stacks { max-width: 1080px !important; margin: 0 auto 18px !important; }
.guard-stacks .stack { border-top: 1px solid var(--line, rgba(255,255,255,.12)); padding: 14px 0; }
.stack-table-wrap { overflow-x: auto; }
.stack-table { width: 100%; border-collapse: collapse; }
.stack-table th, .stack-table td { text-align: left; padding: 6px 10px 6px 0; vertical-align: middle; }
.stack-table form { margin: 0; }
.stack-table button { padding: 4px 10px; font-size: 13px; }
.stack-limit fieldset { display: grid; gap: 8px; border: 1px solid var(--line, rgba(255,255,255,.18)); border-radius: 10px; padding: 12px; margin: 10px 0; }
.stack-limit input[type=number], .guard-stacks details input:not([type=checkbox]), .guard-stacks details select { max-width: 100%; }
.guard-top { max-width: 1080px; margin: 0 auto 18px; }
@media (max-width: 640px) { .guard-top { grid-template-columns: 1fr 1fr; } .guard-top .panic { grid-column: 1 / -1; } }
.danger-btn, .btn-danger { color: var(--night) !important; font-weight: 850; }
.gpill.off { color: var(--night); }
.gpill.warn { background: var(--amber); color: #07070C; }
.guard-connect { max-width: 1080px !important; margin: 0 auto 18px !important; }
.guard-connect h2 small { font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.key-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 18px; border-radius: 16px;
  background: var(--night); border: 1px solid var(--accent-line); margin: 8px 0 18px; }
.key-box .stat-k { width: 100%; font: 600 .74rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.key-box .key { font-size: clamp(1.2rem, 4vw, 1.8rem); font-weight: 800; letter-spacing: .08em; color: var(--ink); word-break: break-all; }
.key-box .hint { width: 100%; margin: 0; }
.btn.copy { padding: 7px 14px; font-size: .88rem; }
.wiz { list-style: none; counter-reset: w; padding: 0; margin: 0; display: grid; gap: 12px; }
.wiz > li { counter-increment: w; position: relative; padding: 16px 18px 16px 62px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.wiz > li::before { content: counter(w); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--night); font: 800 .95rem var(--mono); }
.wiz h3 { margin: 2px 0 6px; font-size: 1.05rem; }
.wiz p { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; }
.wiz code { background: var(--night); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; color: var(--ink); }
kbd { font: 600 .82rem var(--mono); background: var(--surface-3); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.wiz-wait { border-color: var(--cyan-line) !important; }
.wiz-wait::before { background: var(--cyan) !important; }
.listen .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); margin-right: 6px;
  animation: pulse 1.6s infinite; box-shadow: 0 0 0 0 rgba(46,230,255,.6); }
.trouble { margin: 16px 0 8px; } .trouble summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.trouble li { margin: .35rem 0; }
.flash.found { background: rgba(46, 230, 255, .08); border-color: var(--cyan-line); color: var(--ink); font-weight: 500; }
.inline-form { margin: 10px 0 0; }
[hidden] { display: none !important; }
button.linkish, .inline-form button.linkish { background: none !important; box-shadow: none !important; color: var(--cyan) !important;
  border: 0; padding: 0; font: inherit; font-weight: 650; text-decoration: underline; cursor: pointer; width: auto; margin: 0; }
.suggest { font-size: .85rem !important; text-align: left; }
details.more { margin: 14px 0 6px; border-top: 1px solid var(--line); padding-top: 12px; }
details.more > summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.found { border-radius: 16px; padding: 16px 18px; margin: 12px 0; background: rgba(198, 255, 61, .06); border: 1px solid var(--accent-line); }
.found p { margin: 0 0 8px; color: var(--ink-2); }
.found-h { color: var(--ink) !important; font-size: 1.05rem; }
.found .tick { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--night); font-weight: 900; margin-right: 4px; }
.chips-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 10px; }
.chips-form select { padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line-2); max-width: 100%; }
.chips-form .chip { cursor: pointer; font: inherit; font-size: .86rem; }
.found .btn { padding: 9px 18px; }

/* v0.28: the platform picker on the guard's connect card */
.plat-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.plat { font: 600 .9rem var(--font); padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent;
  color: var(--ink-2); cursor: pointer; }
.plat:hover { border-color: var(--accent-line); color: var(--ink); }
.plat.on { background: var(--accent); border-color: var(--accent); color: var(--night); }
.plat:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.plat-web-names { margin: 0 0 6px; }
/* v0.37: Windows or Mac steps for the browser guard */
.os-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 2px; }
.os { font: 600 .82rem var(--font); padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent;
  color: var(--ink-2); cursor: pointer; }
.os:hover { border-color: var(--accent-line); color: var(--ink); }
.os.on { background: var(--accent); border-color: var(--accent); color: var(--night); }
.os:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.wiz-end { margin-top: 12px; }
.wiz-end > li::before { content: "\2713"; }   /* the last step for every platform: a tick, not a number */

/* v0.28.8: every lime button carries dark text (white on lime was unreadable: 1.1:1) */
.auth-form button:not(.linkish):not(.ghost-btn), .stack-form button:not(.linkish):not(.ghost-btn),
.inline-form button:not(.linkish):not(.ghost-btn), .grid-form button:not(.linkish):not(.ghost-btn),
.admin button:not(.ghost-btn):not(.linkish), .admin-form button:not(.ghost-btn):not(.linkish), .btn:not(.linkish),
.publish-form > button, .review-form button:not(.ghost-btn), .draft-card .review-btns button:not(.ghost-btn) {
  color: #07070C; }
.admin .seg button:not(.on) { color: var(--ink-2); }
.btn-danger { color: #07070C; }

/* v0.28.10 UAT: thumb-sized targets on phones, readable checkboxes */
@media (max-width: 640px) {
  .foot-col a { padding: 10px 0; }
  .footer-legal a { display: inline-block; padding: 8px 2px; }
}
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--accent); vertical-align: middle; }
input[type=range] { height: 32px; accent-color: var(--accent); cursor: pointer; }
.eyebrow a { display: inline-block; padding: 8px 0; }

/* v0.29 "Start here" path for new sign-ups */
.start-here { background: var(--surface); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 24px 26px 14px; margin: 0 0 22px; box-shadow: var(--shadow); }
.start-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.start-top h2 { margin: 0; font-size: 1.2rem; color: var(--ink); }
.start-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.start-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.start-steps li:first-child { border-top: 0; }
.start-steps h3 { margin: 4px 0 4px; font-size: 1rem; color: var(--ink); }
.start-steps p { margin: 0 0 10px; color: var(--muted); }
.start-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 850; border: 1.5px solid var(--line-2, var(--line)); color: var(--muted); }
.start-steps li.is-next .start-dot { border-color: var(--accent); color: var(--accent-text); }
.start-steps li.is-done .start-dot { background: var(--accent); border-color: var(--accent); color: #07070C; }
.start-steps li.is-done h3 { color: var(--muted); }
.start-steps li.is-done p { display: none; }
.start-steps .btn-link, .start-hide .btn-link { background: none; border: 0; padding: 8px 0; min-height: 44px; font: inherit; font-weight: 750; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.start-hide { text-align: right; margin: 0; }
.start-hide .btn-link { color: var(--muted); font-weight: 600; }
@media (max-width: 560px) { .start-here { padding: 18px 16px 8px; } .start-steps li { grid-template-columns: 30px 1fr; gap: 10px; } }
.warn-chip { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  color: #FFB547; border: 1px solid rgba(255, 181, 71, .45); background: rgba(255, 181, 71, .1); }
.rules-table .checked-by { font-style: normal; color: var(--muted); font-size: .9rem; }
.rules-table .checked-by a { color: var(--ink-2); }
.firms-table th[scope="row"] > a { display: inline-block; padding: 7px 0; }   /* a comfortable tap target on phones */
.acct summary, .cockpit summary, details > summary { min-height: 32px; padding-top: 4px; padding-bottom: 4px; }
button.linkish { min-height: 32px; }

/* v0.29.7: the Tilt Guard clip, the firm page's guard panel and rule-change alerts */
.guard-clip { max-width: 1080px; margin: 0 auto 28px; }
.guard-clip .clip { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--night);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.guard-clip .clip.tall { aspect-ratio: 9 / 16; max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; }
.clip-cta { display: flex; gap: 12px 18px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 18px; text-align: center; }
.clip-cta .hint { margin: 0; }
.guard-pitch { display: flex; gap: 18px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  margin: 0 0 28px; border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), transparent); }
.guard-pitch > div { flex: 1 1 380px; }
.guard-pitch h2 { margin: 4px 0 6px; }
.guard-pitch p { margin: 0; }
.guard-pitch .big-cta { flex: none; }
.watch-form { justify-content: flex-start; margin-top: 16px; }
.watch-form input { min-width: 0; flex: 1 1 220px; max-width: 320px; }
@media (max-width: 560px) {
  .guard-clip .clip { border-radius: 12px; }
  .guard-pitch .big-cta, .watch-form button { width: 100%; }
  .watch-form input { max-width: none; }
}.key-box .key.masked { filter: blur(7px); user-select: none; }
.trial-bar a { white-space: nowrap; }
.help-shot { display: block; width: 100%; max-width: 760px; height: auto; margin: 10px 0 4px; border-radius: 12px;
  border: 1px solid var(--line, #2A2C40); }
.guard-nudge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 22px; align-items: center;
  border-color: rgba(198, 255, 61, .35); }
.guard-nudge h2 { font-size: 1.2rem; line-height: 1.35; margin: 4px 0 8px; }
.guard-nudge .hint { margin: 8px 0 0; }
.gn-clip { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line, #2A2C40); background: #07070C; }
@media (max-width: 760px) { .guard-nudge { grid-template-columns: 1fr; } .gn-clip { max-width: 320px; } }
.ea-hero { overflow: hidden; }
.ea-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.ea-wait { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; scroll-margin-top: 110px; }
.ea-wait input, .ea-form input { flex: 1 1 220px; min-width: 0; box-sizing: border-box; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line, #2A2C40); background: rgba(7, 7, 12, .75); color: #fff; font: inherit; }
.ea-wait .big-cta, .ea-form .big-cta { flex: none; margin: 0; border: 0; cursor: pointer; white-space: nowrap; }
/* the tour reads as part of the page: no box or player bar, a glow behind it, edges dissolving into the background */
.ea-video { position: relative; }
.ea-video::before { content: ""; position: absolute; inset: 4% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(112, 72, 232, .34), rgba(198, 255, 61, .07) 62%, transparent); filter: blur(34px); }
.ea-video .clip { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: transparent; border: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 90%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 90%, transparent); mask-composite: intersect; }
.ea-video .clip.square { aspect-ratio: 1 / 1;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 96%, transparent); }
.ea-links { display: flex; gap: 10px; margin-top: 14px; }
.ea-pill { flex: 1; display: block; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, .22); background: rgba(255, 255, 255, .03); color: #fff; font-weight: 700; text-decoration: none; }
.ea-pill small { display: block; color: #94a3b8; font-weight: 500; font-size: .78rem; }
.ea-priv { margin-top: 12px !important; font-size: .82rem; }
.nav-signin { display: none; }
.ea-redeem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 18px 32px; align-items: center; max-width: 1080px; margin: 0 auto 28px; scroll-margin-top: 110px; }
.ea-redeem h2 { margin: 2px 0 6px; }
.ea-redeem .hint { margin: 0; }
.ea-form { display: flex; gap: 10px; margin: 0; }
@media (max-width: 980px) {
  .ea-redeem { grid-template-columns: minmax(0, 1fr); }
  .nav-signin { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, .28); color: #fff; font-weight: 700; text-decoration: none; }
  /* one column: headline, the whole video, then the form straight under it */
  .ea-hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ea-pitch { display: contents; }
  .ea-pitch .eyebrow { order: 0; } .ea-pitch h1 { order: 1; margin-bottom: 10px; } .ea-video { order: 2; } .ea-pitch .lede { order: 3; margin-top: 12px; }
  .ea-pitch .flash { order: 4; } .ea-wait { order: 5; margin-top: 14px; } .ea-links { order: 6; } .ea-priv { order: 7; }
}
@media (max-width: 600px) { .ea-pitch .eyebrow, .ea-pitch .lede { display: none; } .ea-pitch h1 { text-align: center; font-size: 1.95rem; } .ea-hero { padding-bottom: 36px; } .ea-wait { margin: 6px 0 0; gap: 8px; } .ea-links { margin-top: 8px; gap: 8px; } .ea-pill { padding: 8px 12px; } }
@media (max-width: 520px) { .ea-wait, .ea-form { flex-direction: column; } .ea-wait input, .ea-form input { flex: none; width: 100%; }   /* 0.54.1: in a column the 220px basis became the height */
  .ea-wait .big-cta, .ea-form .big-cta { width: 100%; text-align: center; } }

/* ── v0.31.5: PassLab's firm picker: grouped by firm, searchable, scrolls in its own box ── */
.firm-pick { margin: 4px 0 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2, var(--surface)); padding: 14px 14px 10px; }
.fp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 2px 10px; }
.fp-count { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fp-search { position: relative; margin: 0 0 10px; }
.fp-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.fp-search input { width: 100%; box-sizing: border-box; padding: 11px 14px 11px 40px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem; }
.fp-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fp-list { max-height: 292px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  margin: 0 -6px; padding: 0 6px;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent); mask-image: linear-gradient(#000 calc(100% - 26px), transparent); }
.fp-list.filtered { -webkit-mask-image: none; mask-image: none; }
.fp-group { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; align-items: start; padding: 9px 2px; border-top: 1px solid var(--line); }
.fp-group:first-child { border-top: 0; }
.fp-group[hidden], .fp-group .chip[hidden] { display: none; }
.fp-firm { font-weight: 720; font-size: .9rem; color: var(--ink); padding-top: 5px; overflow-wrap: anywhere; }
.fp-progs { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-progs .chip { padding: 5px 12px; font-size: .82rem; }
.fp-none { margin: 6px 2px 4px; }
@media (max-width: 640px) {
  .firm-pick { padding: 12px 10px 8px; margin-left: -6px; margin-right: -6px; }
  .fp-group { grid-template-columns: 1fr; gap: 6px; }
  .fp-firm { padding-top: 0; font-size: .85rem; }
  .fp-list { max-height: 340px; }
}
a.kpi { text-decoration: none; } a.kpi:hover { border-color: var(--accent); }

/* ── v0.31.6: /compare, every challenge in one table ── */
.cmp-tools { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; margin: 0 0 14px; }
.cmp-seg { display: inline-flex; padding: 4px; gap: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.cmp-seg label { position: relative; cursor: pointer; }
.cmp-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cmp-seg span { display: block; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 640; color: var(--ink-2); white-space: nowrap; }
.cmp-seg input:checked + span { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-line); }
.cmp-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cmp-search { position: relative; display: block; }
.cmp-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cmp-search input { width: 100%; padding: 11px 14px 11px 42px; border-radius: 999px; border: 1.5px solid var(--line-2);
  background: var(--surface); color: var(--ink); font: inherit; }
.cmp-search input:focus { outline: none; border-color: var(--accent); }
.cmp-toggles { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-toggles label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); font-size: .86rem; color: var(--ink-2); }
.cmp-toggles label:has(input:checked) { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
.cmp-toggles input { accent-color: var(--accent); margin: 0; }
.cmp-tools.js .cmp-apply { display: none; }
.cmp-apply { grid-column: 1 / -1; justify-self: start; }
.cmp-lists { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; }
.cmp-lists .chip { padding: 5px 12px; font-size: .82rem; }
.lists-index { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.lists-index li { padding: 14px 16px; border: 1px solid var(--line, rgba(127,127,127,.25)); border-radius: 10px; line-height: 1.5; }
.lists-index li strong { font-size: 1.02rem; margin-right: 6px; }
.cmp-count { margin: 0 0 8px; color: var(--muted); font-size: .88rem; }
.cmp-table { min-width: 1340px; font-size: .9rem; }
/* v0.37: more filters, the price with a code, the firm's own link */
.cmp-selects { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.cmp-selects label { display: grid; gap: 4px; font-size: .78rem; font-weight: 650; color: var(--muted); }
.cmp-selects select, .cmp-selects input { font: inherit; font-size: .9rem; font-weight: 500; padding: 8px 12px; border-radius: 10px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); min-width: 132px; max-width: 220px; }
.cmp-selects input { width: 132px; }
.cmp-selects select:focus, .cmp-selects input:focus { outline: none; border-color: var(--accent); }
.copy-code { cursor: pointer; }
.cmp-table .copy-code, .code-line .copy-code { font: 650 .8rem var(--mono); padding: 2px 8px; border-radius: 6px; cursor: pointer;
  border: 1px dashed var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
.aff { display: inline-block; font-size: .74rem; font-weight: 600; color: var(--amber); border: 1px solid var(--amber-line);
  background: var(--amber-bg); border-radius: 6px; padding: 1px 6px; white-space: normal; }
/* firm page tabs: every section is on the page without JavaScript and in print */
.tabs { display: flex; gap: 4px; overflow-x: auto; margin: 0 0 26px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 11px 14px; font-weight: 650; font-size: .93rem; color: var(--ink-2); text-decoration: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--accent-text); border-bottom-color: var(--accent); }
.tabs a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tabs .n { font-weight: 600; font-size: .78rem; color: var(--muted); }
.pane + .pane { margin-top: 56px; }
.tabs-on .pane + .pane { margin-top: 0; }
.pane[hidden] { display: none; }
.tabs-on #rules > .export-bar + .program { margin-top: 18px; }
@media print { .pane[hidden] { display: block !important; } .pane + .pane { margin-top: 28px !important; } }
.pane-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 0; }
.pane-acts .ghost-btn { text-decoration: none; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; background: var(--line); }
.facts > div { background: var(--surface); padding: 14px 16px; }
.facts dt { font-size: .78rem; font-weight: 650; color: var(--muted); margin: 0 0 4px; }
.facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.fact-src { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.fact-note { display: block; font-size: .86rem; color: var(--ink-2); }
.firm-ch { min-width: 860px; }
.firm-ch .act a { display: block; }
/* offers */
.offers { margin-top: 8px; }
.offers + .offers { margin-top: 44px; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.offer { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.offer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.offer-firm { font-weight: 700; color: var(--ink); text-decoration: none; }
.offer-pct { color: var(--accent-text); }
.tag { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.tag-new { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
.offer-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 8px; }
.offer-code code { font: 700 1.05rem var(--mono); letter-spacing: .06em; padding: 7px 12px; border-radius: 8px;
  border: 1px dashed var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
.offer-code .ghost-btn { padding: 7px 14px; font-size: .86rem; }
.offer-terms { margin: 0 0 6px; color: var(--ink-2); font-size: .92rem; }
.offer .meta { margin: 0; }
/* /firms as a table */
.dir-table { min-width: 720px; }
.dir-table tr[hidden] { display: none; }
.dir-table td { color: var(--ink-2); }
/* Admin > Firm data */
.facts-pick { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.facts-form { display: grid; gap: 12px; max-width: 860px; }
.facts-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.facts-form input:not([type=checkbox]), .facts-form select { font: inherit; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line-2);
  background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
.fact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 12px; margin: 0; }
.fact-row legend { font-weight: 700; font-size: .9rem; padding: 0 6px; }
.fact-row .fact-checks { grid-column: 1 / -1; }
.fact-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.fact-checks label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.offer-form { margin-top: 16px; }
@media (max-width: 640px) { .fact-row { grid-template-columns: 1fr; } }
.cmp-table th, .cmp-table td { padding: 12px 12px; vertical-align: top; }
.cmp-table .pick { width: 44px; padding-right: 0; position: sticky; left: 0; z-index: 2; background: var(--surface); }
.cmp-table .firm-col { position: sticky; left: 44px; z-index: 1; background: var(--surface); min-width: 200px;
  box-shadow: 1px 0 0 var(--line); }
.cmp-table thead .pick, .cmp-table thead .firm-col { background: var(--surface-2); }
.cmp-table .pick input { width: 18px; height: 18px; accent-color: var(--accent); margin: 2px 0 0; }
.cmp-table .num { white-space: nowrap; }
.cmp-table .cons, .cmp-table .split, .cmp-table .fee { min-width: 140px; color: var(--ink-2); }
.cmp-table .act a { display: block; }
.cmp-table .act a + a { margin-top: 6px; font-weight: 550; color: var(--muted); }
.cmp-table tr[hidden] { display: none; }
a.sort { color: inherit; text-decoration: none; white-space: nowrap; }
a.sort::after { content: "↕"; margin-left: 5px; opacity: .35; font-size: .9em; }
th[aria-sort="ascending"] a.sort::after { content: "↑"; opacity: 1; color: var(--accent); }
th[aria-sort="descending"] a.sort::after { content: "↓"; opacity: 1; color: var(--accent); }
.ftype { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .8rem; font-weight: 640; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--ink-2); }
.ftype-static { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
.ftype-eod { border-color: var(--amber-line); background: var(--amber-bg); color: var(--amber); }
.ftype-intraday { border-color: rgba(255, 61, 127, .4); background: rgba(255, 61, 127, .1); color: var(--pink); }
.muted { color: var(--muted); }
.cmp-empty { padding: 18px 0; color: var(--muted); }
.cmp-bar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 14px 0 0; padding: 10px 10px 10px 20px; border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); font-size: .9rem; color: var(--ink-2); }
.cmp-bar .big-cta { padding: 10px 20px; font-size: .92rem; }
.cmp-bar .big-cta:disabled { opacity: .45; cursor: not-allowed; }
.cmp-notes ul { margin: 0; padding-left: 20px; color: var(--ink-2); max-width: 820px; }
.cmp-notes li { margin: 0 0 10px; }
.side-table { min-width: 0; table-layout: fixed; }
.side-table.cols-2 { min-width: 560px; } .side-table.cols-3 { min-width: 780px; } .side-table.cols-4 { min-width: 980px; }
.side-table th[scope="row"] { width: 170px; color: var(--muted); font-weight: 600; position: sticky; left: 0; background: var(--surface); }
.side-table thead th:first-child { position: sticky; left: 0; background: var(--surface-2); width: 170px; }
.side-table td { vertical-align: top; }
.side-table .val { display: block; color: var(--ink); }
.side-table .src { display: inline-block; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.side-table .note { display: block; font-size: .86rem; color: var(--ink-2); margin-bottom: 4px; }
.side-table tr.sum td { font-weight: 650; }
.side-act td { padding-top: 18px; }
.side-act .big-cta, .side-act .ghost-btn { display: block; text-align: center; margin-bottom: 8px; padding: 10px 14px; font-size: .9rem; }
@media (max-width: 720px) {
  .cmp-tools { grid-template-columns: 1fr; }
  .cmp-seg { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .cmp-seg::-webkit-scrollbar { display: none; }
  .cmp-toggles { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .cmp-toggles label { flex: none; }
  .cmp-lists { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .cmp-lists .chip, .cmp-lists .chips-label { flex: none; }
  .cmp-table .firm-col { min-width: 150px; }
  .cmp-bar { border-radius: 16px; flex-direction: column; align-items: stretch; text-align: center; padding: 12px; }
  .side-table th[scope="row"], .side-table thead th:first-child { width: 104px; }
  .side-table th, .side-table td { padding: 12px 12px; }
  .side-table.cols-2 { min-width: 0; }
}
.cmp-sortsel { display: none; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); }
.cmp-sortsel select { padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface);
  color: var(--ink); font: inherit; }
.side-table th[scope="col"] { text-transform: none; letter-spacing: 0; font-family: inherit; font-size: .95rem; }
.side-table th[scope="col"] a { color: var(--ink); font-weight: 700; text-decoration: none; }
.side-table th[scope="col"] .sub { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; }
@media (max-width: 640px) {
  .cmp-sortsel { display: flex; }
  .cmp-scroll { overflow: visible; border: 0; background: none; box-shadow: none; }
  .cmp-table { min-width: 0; font-size: .92rem; }
  .cmp-table tr { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-table th, .cmp-table td { padding: 0; min-width: 0; }
  .cmp-table .num { white-space: normal; }
  .cmp-table .pick, .cmp-table .firm-col { position: static; box-shadow: none; background: none; min-width: 0; }
  .cmp-table td.pick { position: absolute; top: 16px; right: 16px; left: auto; width: auto; padding: 0; }
  .cmp-table .firm-col { padding-right: 34px !important; }
  .cmp-table .cons, .cmp-table .split, .cmp-table .fee { min-width: 0; grid-column: 1 / -1; }
  .cmp-table .act { display: flex; gap: 18px; }
  .cmp-table .act a + a { margin-top: 0; }
}
.cmp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 18px; }
.cmp-cta .meta { color: var(--muted); font-size: .9rem; }
/* ── v0.32: partners ── */
.auth-perk, .ea-perk { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--accent-line);
  background: var(--accent-soft); color: var(--accent-text); font-size: .92rem; }
.pt-share { margin-bottom: 22px; }
.pt-link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 6px 0 0; font-size: 1.05rem; }
.pt-link .mono { word-break: break-all; color: var(--ink); }
.pt-kpis { margin-top: 0; }
.pt-agree { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: .92rem; color: var(--ink-2); }
.pt-agree input { margin-top: 3px; accent-color: var(--accent); }
.pt-apply .big-cta { margin-top: 18px; }
.partner-card { margin-bottom: 18px; }
.partner-card h3 { margin: 0 0 4px; font-size: 1.05rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.partner-card .pc-stats { margin: 8px 0 14px; }
.partner-card.pc-closed { opacity: .65; }
.pc-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.admin .inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.admin .inline-form input[type="text"] { min-width: 150px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font: inherit; }
.admin td .inline-form { margin: 0; }
@media (max-width: 640px) { .grid-form .span2, .pc-acts { grid-column: 1 / -1; } }
.pt-wrap { max-width: 980px; margin: 0 auto; }
.pt-wrap > .card, .pt-wrap > .pt-share { max-width: none; margin-left: 0; margin-right: 0; }
.pt-wrap .form button { width: auto; }
/* v0.32.1: partner application form */
.fields.pt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 4px; }
.pt-grid .wide { grid-column: 1 / -1; }
.pt-grid small { font-size: .8rem; font-weight: 500; color: var(--muted); }
.pt-agree span { flex: 1; min-width: 0; line-height: 1.5; }
.pt-agree a { white-space: nowrap; }
.pt-apply .form button.big-cta { width: auto; min-width: 200px; padding-left: 36px; padding-right: 36px; }
@media (max-width: 640px) {
  .fields.pt-grid { grid-template-columns: 1fr; }
  .pt-apply .form button.big-cta { width: 100%; }
}

/* v0.32.2: partner tiers, promo text and promo kit */
.pt-gap { margin-top: 18px; }
.kit-text { width: 100%; box-sizing: border-box; font: inherit; font-size: .95rem; line-height: 1.5; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; resize: vertical; }
.pt-table tr.pt-now td { color: var(--accent-text); font-weight: 700; }
.pt-reaccept { margin-top: 14px; }
.pt-reaccept .ghost-btn { margin-top: 10px; }
.tier-set { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; min-width: 0; }
.tier-set legend { padding: 0 6px; font-weight: 600; }
.tier-set legend .meta { display: block; font-weight: 400; margin-top: 2px; }
.tier-row { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)); gap: 10px; align-items: center; margin-top: 8px; }
.tier-row input { width: 100%; min-width: 0; box-sizing: border-box; }
.tier-head span { font-size: .78rem; color: var(--muted); }
.kit .card h2 .meta { font-size: .85rem; font-weight: 400; }
.kit-frame { margin: 12px 0 16px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.kit-frame svg { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .tier-row { grid-template-columns: 28px repeat(3, minmax(0, 1fr)); gap: 6px; } }

/* v0.32.3: Overview, who joined with which code */
.codes-card { margin-top: 18px; }
.code-row { border-top: 1px solid var(--line); padding: 10px 0; }
.code-row:first-of-type { border-top: 0; }
.code-row summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.code-row summary .meta { flex-basis: 100%; margin: 0; }
.code-row[open] summary { margin-bottom: 10px; }
.code-row .table-scroll { margin-bottom: 8px; }

/* v0.32.4: partner dashboard */
.pd { max-width: 1200px; margin: 0 auto; display: grid; gap: 20px; }
.pd-badge { justify-self: end; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--ink-2); }
.pd-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pd-kpi, .pd-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; min-width: 0; }
.pd-kpi { display: flex; flex-direction: column; gap: 8px; }
.pd-card h2 { font-size: 1.15rem; margin: 0 0 14px; }
.pd-l { margin: 0; color: var(--muted); font-size: .86rem; }
.pd-n { margin: 0; font: 750 2rem/1.1 var(--font); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-good { color: var(--ok); }
.pd-s { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.pd-v { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
.pd-cta { margin-top: 4px; width: 100%; padding: 11px 14px; border: 0; border-radius: 10px; background: var(--ok); color: #06240f;
  font-weight: 750; cursor: pointer; }
.pd-cta:disabled { opacity: .7; cursor: default; }
.pd-kpi form { margin: 0; }
.pd-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pd-wide-left { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.pd-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 14px; }
.pd-head h2 { margin: 0; }
.pd-code-row { display: flex; gap: 10px; align-items: center; margin: 0 0 14px; min-width: 0; }
.pd-code { font-size: 1.6rem; font-weight: 750; letter-spacing: .06em; padding: 12px 16px; border: 1px dashed var(--line-2);
  border-radius: 10px; color: var(--ink); }
.pd-link { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2);
  color: var(--ink); font-size: .9rem; }
.pd-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pd-pair > div { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; }
.pd-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 16px; }
.pd-tier { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.pd-tier.on { border-color: var(--ok); box-shadow: 0 0 0 1px var(--ok) inset; }
.pd-tn { margin: 4px 0 0; font-weight: 700; color: var(--ink); }
.pd-tr { margin: 2px 0 4px; font: 750 1.5rem/1.1 var(--font); color: var(--ink); }
.pd-bar { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.pd-bar span { display: block; height: 100%; background: var(--ok); border-radius: 999px; }
.pd-bar-l { display: flex; justify-content: space-between; margin: 6px 0 10px; font-size: .8rem; color: var(--muted); }
.pd-tabs { display: inline-flex; gap: 6px; }
.pd-tabs button { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  font-size: .82rem; cursor: pointer; }
.pd-tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--ink); }
.pd-chart svg { width: 100%; height: 200px; display: block; }
.pd-axis { stroke: var(--line); stroke-width: 1; }
.pd-barc { fill: var(--ok); opacity: .85; }
.pd-ax { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin: 4px 0 10px; }
.pd-funnel { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 14px; }
.pd-fl { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink-2); margin-bottom: 6px; }
.pd-fl b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-fb { height: 12px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.pd-fb span { display: block; height: 100%; background: var(--cyan); border-radius: 6px; }
.pd-funnel .pd-s { margin-top: 4px; }
.pd .kit-text { margin-bottom: 0; }
@media (max-width: 980px) { .pd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pd-two, .pd-wide-left { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pd-kpis, .pd-pair { grid-template-columns: 1fr; } .pd-code-row { flex-wrap: wrap; } .pd-link { flex-basis: 100%; } }

/* v0.33.0 */
.fields .span-all { grid-column: 1 / -1; }

/* v0.33.0: withdraw flow, link section */
a.pd-cta { display: block; text-align: center; text-decoration: none; box-sizing: border-box; }
.pd-codeline { margin-top: -4px; margin-bottom: 14px; }
.pd-kitline { text-align: center; }
.wd { max-width: 760px; }
.wd-form h2 { margin-bottom: 6px; }
.wd-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-top: 10px; border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer; }
.wd-opt input { margin-top: 4px; accent-color: var(--ok); }
.wd-opt:has(input:checked) { border-color: var(--ok); }
.wd-fields { border: 0; padding: 12px 4px 4px; margin: 0; min-width: 0; }
.wd-form .pd-cta { width: auto; padding-left: 28px; padding-right: 28px; }
.wd-form .pc-acts { margin-top: 16px; align-items: center; }
.pm-form { flex-wrap: wrap; gap: 8px 14px; margin: 6px 0 12px; }
/* v0.33.0: one more menu item (Affiliate / Partner program) still fits on one line */
.site-head nav { white-space: nowrap; }
@media (max-width: 1440px) and (min-width: 981px) { .site-head nav a { padding: 9px 9px; margin-left: 0; font-size: .9rem; } }
@media (max-width: 1180px) and (min-width: 981px) { .site-head nav a.cta { display: none; } }

/* v0.33.1: prices and their checked dates */
.cmp-table td.fee .sub, .cmp-table td.fee .checked { display: block; font-size: .78em; color: var(--muted, #8a8fa3); }
.cmp-table td.checked { white-space: nowrap; font-size: .9em; color: var(--muted, #8a8fa3); }
.prices-table td, .prices-table th { white-space: nowrap; }
.price-form label { display: block; margin: .4rem 0; }
.price-form input[type=url] { width: 100%; max-width: 560px; }
.price-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 160px)); gap: .3rem 1rem; margin: .6rem 0; }
.price-rows input { width: 100%; }
.price-card h2 .sub { font-size: .7em; color: var(--muted, #8a8fa3); font-weight: 400; }
.xray .meta { font-size: .8em; color: var(--muted, #8a8fa3); }
.price-line { display: block; white-space: nowrap; }
.admin-table td.wrap { white-space: normal; min-width: 280px; }

/* ── v0.35: less scrolling, clearer flow ─────────────────────── */
/* menu: five main items and a More menu */
.nav-more { display: inline-block; position: relative; }
.nav-more > summary { list-style: none; cursor: pointer; color: var(--muted); font-weight: 650; font-size: .94rem;
  padding: 9px 14px; border-radius: 10px; margin-left: 4px; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary::after { content: "▾"; margin-left: 6px; font-size: .8em; }
.nav-more > summary:hover, .nav-more[open] > summary, .nav-more[data-here] > summary { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav-more-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; z-index: 30; display: grid; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); white-space: normal; }
.site-head .nav-more-list a { margin: 0; padding: 10px 12px; }
@media (max-width: 1440px) and (min-width: 981px) { .nav-more > summary { padding: 9px 9px; margin-left: 0; font-size: .9rem; } }
@media (max-width: 980px) {
  .nav-more { display: block; }
  .nav-more > summary { padding: 14px 12px; font-size: 1.05rem; margin: 0; }
  .nav-more-list { position: static; box-shadow: none; border: 0; background: none; padding: 0 0 0 14px; min-width: 0; }
  .site-head .nav-more-list a { padding: 12px 12px; font-size: 1rem; }
}

/* folded lists: "Show 12 more" */
details.fold { margin: 10px 0 0; }
details.fold > summary { cursor: pointer; color: var(--accent-text); font-weight: 650; font-size: .92rem; padding: 6px 0;
  list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: "+ "; }
details.fold[open] > summary::before { content: "− "; }
.show-more { display: block; margin: 14px auto 0; }
.all-clear { color: var(--ok, #4ade80); font-weight: 600; margin: 0; }

/* admin: a compact header, one row of grouped tabs */
.admin-hero { padding-bottom: 28px; padding-top: calc(var(--header-h) + 14px); }
.admin-hero h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 4px 0 6px; }
.admin-hero .lede { font-size: .98rem; }
.admin-top { flex-wrap: nowrap; align-items: flex-start; margin-bottom: 20px; }
.admin-tabs { flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.admin-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; max-width: 100%; padding-right: 12px; border-right: 1px solid var(--line); }
.admin-group:last-of-type { border-right: 0; }
.admin-gl { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.admin-tabs a { padding: 7px 11px; font-size: .9rem; white-space: nowrap; }
.admin-who { flex: none; }
.admin-sub { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.kpis-sm { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpis-sm .kpi { padding: 14px 16px; }
.kpis-sm .kpi-n { font-size: 1.6rem; }
.needs h2 { margin-bottom: 10px; }
.needs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.needs-list a { display: flex; align-items: baseline; gap: 8px; padding: 12px 14px; border-radius: 12px; text-decoration: none;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); }
.needs-list a:hover { border-color: var(--accent); }
.needs-list b { font-size: 1.15rem; color: var(--amber, #fbbf24); min-width: 1.6em; }
.needs-list span { margin-left: auto; color: var(--muted); }
.code-row { border-top: 1px solid var(--line); padding: 2px 0; }
.code-row > summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; cursor: pointer; padding: 9px 0;
  list-style: none; }
.code-row > summary::-webkit-details-marker { display: none; }
.cr-name { font-weight: 650; color: var(--ink); }
.cr-n { color: var(--muted); font-size: .88rem; }
.cr-who { list-style: none; padding: 0 0 4px; margin: 0; font-size: .9rem; display: grid; gap: 4px; }
.rw-bad li { display: flex; justify-content: space-between; gap: 10px; }
.log-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: .88rem; color: var(--ink-2); }
.log-list li { padding: 7px 0; border-top: 1px solid var(--line); word-break: break-word; }
.log-list time { color: var(--muted); margin-right: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 760px) {
  .admin-top { flex-direction: column; gap: 8px; }
  .admin-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 6px; scrollbar-width: thin; }
  .admin-who .meta { display: none; }
  .admin-hero .lede { display: none; }
  .kpis-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis-sm .kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .admin-card { padding: 18px 16px; }
}
.fold-card > summary, .price-card > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: baseline; gap: 4px 14px; }
.fold-card > summary::-webkit-details-marker, .price-card > summary::-webkit-details-marker { display: none; }
.fold-card[open] > summary, .price-card[open] > summary { margin-bottom: 12px; }
.price-card { padding-top: 14px; padding-bottom: 14px; margin-bottom: 10px; }
.price-card .sub { color: var(--muted); font-weight: 500; font-size: .9em; }
.list-filter { display: block; margin-top: 12px; }
.list-filter input { width: 100%; max-width: 420px; }
[hidden] { display: none !important; }
details.firm-fold { padding: 10px 16px; margin-bottom: 8px; }
details.firm-fold > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.firm-fold > summary::-webkit-details-marker { display: none; }
details.firm-fold[open] > summary { margin-bottom: 10px; }
/* /firms: a firm directory */
.firm-dir { margin-top: 8px; }
.dir-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin: 0 0 18px; }
.dir-tools .cmp-search { flex: 1 1 240px; max-width: 360px; }
.dir-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.dir-seg .chip { cursor: pointer; font: inherit; }
.dir-cmp { margin-left: auto; padding: 10px 20px; font-size: .94rem; }
.dir-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.dir-card a { display: grid; gap: 4px; height: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.dir-card a:hover { border-color: var(--accent); }
.dir-card b { font-size: 1.02rem; }
.dir-sub, .dir-checked { color: var(--muted); font-size: .86rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent-text); font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dir-card a { padding: 11px 12px; }
  .dir-card b { font-size: .95rem; }
  .dir-checked { display: none; }
  .dir-cmp { margin-left: 0; width: 100%; text-align: center; }
  .dir-tools .cmp-search { max-width: none; }
}
/* /compare on a phone: name, the four numbers, the price, two links */
@media (max-width: 640px) {
  .cmp-table td.opt { display: none; }
  .cmp-table tr { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px; padding: 14px 14px; margin-bottom: 10px; }
  .cmp-table td[data-label]::before { font-size: .7rem; margin-bottom: 1px; }
  .cmp-table .fee { grid-column: 1 / -1; }
  .cmp-table .act { grid-column: 1 / -1; }
  .cmp-tools .cmp-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: .88rem; }
}
/* home on a phone: the essentials, less text */
@media (max-width: 640px) {
  .bx-xl ul { display: none; }
  .manifesto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .manifesto h3 { font-size: 1rem; }
  .manifesto p { font-size: .86rem; }
  .firm-row li:nth-child(n+9):not(:last-child) { display: none; }
  .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .soon-grid .mod { padding: 16px 14px; min-width: 0; }
  .soon-grid .mod p { font-size: .86rem; }
  .sec { padding-top: 52px; }
}
/* firm page: jump to a challenge; one Tilt Guard pitch on a phone (the one under the rules) */
.export-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (max-width: 640px) {
  .guard-pitch { display: none; }
  .export-bar .js-print { display: none; }
}
/* Tilt Guard on a phone: the button first, a shorter clip under it */
@media (max-width: 640px) {
  .guard-clip { display: flex; flex-direction: column; }
  .guard-clip .clip-cta { order: -1; margin: 0 0 14px; }
  .guard-clip .clip.tall { max-height: 62vh; }
}
@media (max-width: 640px) { .cmp-bar:not(.live) { display: none; } }

/* ── v0.36: polish ───────────────────────────────────────────── */
/* one accent colour in the home headline */
.hx h1 .pk { color: var(--accent); }
.hx h1 .hl { color: inherit; }
/* buttons: a quiet shadow instead of a lime glow */
.big-cta, .form button, .wait-form button, .auth-card button, .btn,
.auth-form button, .stack-form button, .inline-form button, .grid-form button {
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px -10px rgba(0, 0, 0, .7); }
.big-cta:hover, .form button:hover, .wait-form button:hover, .auth-card button:hover, .btn:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 22px -12px rgba(0, 0, 0, .8); transform: translateY(-1px); }
.adv-top { box-shadow: var(--shadow); }
.mod:hover { box-shadow: 0 0 0 1px rgba(198, 255, 61, .12); }
/* PassLab: worked-out hints in plain grey, not cyan code type */
p.live { color: var(--muted); font-family: inherit; font-size: .8rem; }
/* PassLab: the verification target only for a two-phase challenge */
.form:has(input[name=two_phase]:not(:checked)) .vt-field { display: none; }
/* Tilt Guard demo: the steps with their caption, the honest note beside them */
.guard-demo { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; gap: 28px; }
.guard-demo .gd-main .hint { margin-top: 10px; }
.guard-demo .gd-note { margin: 0; padding: 16px 18px; border-left: 2px solid var(--line-2, #2A2C40); }
@media (max-width: 760px) { .guard-demo { grid-template-columns: 1fr; } }
/* account: a title, the email small under it, the end of the page quiet */
.acct-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.acct-email { color: var(--ink-2, #cbd5e1); margin-right: 4px; }
.acct-grid { align-items: start; }
.acct-end { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.acct-end .acct-out { margin: 0; }
.acct-danger-fold > summary { cursor: pointer; color: var(--muted); font-size: .9rem; padding: 8px 0; }
.acct-danger-fold[open] { max-width: 420px; }
.acct-danger-fold p { color: var(--muted); font-size: .9rem; }
/* firm page: the PDF button sits right, with the jump links */
.export-bar { justify-content: flex-end; margin-top: 4px; }
.export-bar .jump { margin-right: auto; }

/* v0.37: public Firms pages while the site is invite-only; How we rank */
.wait-box { margin-top: 56px; }
.wait-box .hint { margin-top: 10px; color: #b6c2d4; }
.wait-box .hint a { color: #fff; }
.rank-page ul { max-width: 78ch; }
.rank-page li { margin: 0 0 10px; }
.rank-page .sec-title { margin-top: 34px; }
.offer p.aff { margin: 6px 0 0; }
.nav-signin + .nav-signin { margin-left: 14px; }
.remove-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.remove-top .hint{font-size:.8rem}
.acc-history ul{margin:.4rem 0 .8rem 1rem}

/* v0.41 (report #31): on a phone only the table scrolls, never the page; tap targets are at least 24px high */
.cmp-scroll { max-width: 100%; }
@media (max-width: 640px) {
  .cmp-table .act { flex-wrap: wrap; min-width: 0; row-gap: 4px; }
  .cmp-table .act a { white-space: normal; overflow-wrap: anywhere; min-height: 24px; padding: 3px 0; display: inline-flex; align-items: center; }
  .cmp-table .act a.buy { max-width: 100%; }
  .cmp-table td a, .cmp-table th a, .cmp-tools a, main > .wrap > p a, main .hint a { display: inline-block; padding: 4px 0; min-height: 24px; }
}
.side-table a, .cmp-bar a, .cmp-lists .chip { min-height: 24px; }
.side-table a { display: inline-block; padding: 3px 0; line-height: 1.5; }
.side-table .src { padding: 3px 0; }
.table-note a { display: inline-block; padding: 3px 0; min-height: 24px; }
main a[href$="/how-we-rank"] { display: inline-block; padding: 3px 0; min-height: 24px; }

/* v0.43.0: "Coming at launch" label in the menus and the note on those pages */
.soon-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .02em;
  color: var(--accent, #3ddc97); border: 1px solid currentColor; background: transparent; white-space: nowrap; vertical-align: middle; line-height: 1.5; }
.soon-note { display: inline-block; margin: 0 0 14px; padding: 8px 14px; border: 1px solid var(--accent, #3ddc97); border-radius: 10px; font-weight: 650; }
.soon-note a { color: var(--accent, #3ddc97); text-decoration: underline; }

/* ── v0.43.0: Firms page board ───────────────────────────────── */
.fb-h { font-size: 1.1rem; margin: 0 0 10px; }
.fb-sub { font-size: .84rem; font-weight: 500; color: var(--muted); margin-left: 8px; }
.fb-deals { margin: 0 0 22px; max-width: 100%; }
.fb-deal-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.fb-deal { flex: 0 0 auto; display: grid; gap: 3px; text-align: left; min-width: 190px; max-width: 260px; padding: 12px 14px; cursor: pointer; font: inherit;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.fb-deal:hover, .fb-deal.copied { border-color: var(--accent); }
.fb-deal-firm { font-weight: 700; }
.fb-deal-offer { color: var(--muted); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-deal-code { justify-self: start; font-family: var(--mono); font-weight: 700; font-size: .84rem; padding: 2px 8px; border-radius: 6px;
  border: 1px dashed var(--accent-line); color: var(--accent-text); }
.fb-count { color: var(--muted); font-size: .88rem; margin: 6px 0 12px; }
.fb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fb-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.fb-card[hidden] { display: none; }
.fb-card-h { display: flex; gap: 12px; align-items: center; }
.fb-card-h h3 { margin: 0; font-size: 1.1rem; }
.fb-card-h h3 a { color: var(--ink); text-decoration: none; }
.fb-meta { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }
.fb-badge { margin: 0; align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.fb-ok { color: var(--ok); background: var(--ok-bg); border: 1px solid var(--ok-line); }
.fb-amber { color: var(--amber); background: var(--amber-bg); border: 1px solid var(--amber-line); }
.fb-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; }
.fb-rules dt { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.fb-rules dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.fb-price { margin: 0; font-size: 1rem; }
.fb-price b { font-size: 1.25rem; }
.fb-code-chip { font-family: var(--mono); font-size: .8rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; border: 1px dashed var(--accent-line); color: var(--accent-text); }
.fb-actions { display: flex; gap: 8px; margin-top: auto; }
.fb-pick, .fb-rules-btn { flex: 1; text-align: center; padding: 10px 12px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
  border: 1px solid var(--line-2, var(--line)); background: transparent; color: var(--ink); }
.fb-pick.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.fb-rules-btn { background: var(--accent); color: #0B0D14; border-color: var(--accent); }
.fb-tick { display: inline-block; width: 16px; height: 16px; line-height: 14px; border: 1px solid currentColor; border-radius: 4px; font-size: .8rem; vertical-align: -2px; margin-right: 4px; }
.fb-more-row { text-align: center; margin: 22px 0 8px; }
.fb-cmp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface-2); border-top: 1px solid var(--accent-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.fb-cmp[hidden], .fb-limit[hidden] { display: none; }
.fb-cmp-in { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fb-cmp-in span { font-weight: 650; min-width: 0; overflow-wrap: anywhere; }
.fb-cmp-in .big-cta { flex: 0 0 auto; margin: 0; }
.fb-cmp-in .big-cta.off { opacity: .45; pointer-events: none; }
.fb-limit { max-width: var(--max); margin: 0 auto 6px; color: var(--amber); font-weight: 650; }
@media (max-width: 980px) { .fb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .fb-grid { grid-template-columns: 1fr; }
  .fb-cmp-in { flex-direction: column; align-items: stretch; text-align: center; }
  .fb-sub { display: block; margin: 4px 0 0; }
}

/* 0.44.0: partner application platforms, payouts block, agreement */
.pt-platforms { border: 1px solid var(--line, #26324a); border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.pt-platforms legend { padding: 0 6px; font-weight: 600; }
.pt-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
.pt-tick { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.pt-link { display: block; margin-top: 10px; }
.pt-link input { width: 100%; }
.pt-payouts { margin: 14px 0; }
.pt-payouts h3 { margin: 0 0 6px; font-size: 1rem; }
.pd-agree-link a { font-weight: 600; text-decoration: underline; }
.agr-draft { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #3a2a00; color: #ffd27a; font-weight: 700; font-size: .8rem; }
.agr-sec h3 { margin: 18px 0 6px; font-size: 1.02rem; }
.agr-sign { border: 1px solid var(--line, #26324a); border-radius: 12px; padding: 14px 16px; margin: 18px 0; }

/* ── v0.46.0 (dev file B2, B3): phone-first Home feed and the waitlist flow. Navy + lime. ───────────────────── */
:root { --navy: #0B1430; --navy-2: #101C42; --navy-3: #182758; --navy-line: rgba(140, 160, 230, .18); }
.sticky-cta { position: fixed; z-index: 90; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  width: min(420px, calc(100% - 32px)); display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 999px; background: var(--accent); color: #0A0F1F; font-weight: 800; font-size: 1.02rem;
  text-decoration: none; box-shadow: 0 12px 32px -10px rgba(198, 255, 61, .55), 0 2px 0 rgba(255, 255, 255, .3) inset;
  transition: opacity .2s, transform .2s; }
.sticky-cta:hover, .sticky-cta:focus-visible { color: #0A0F1F; background: var(--accent-2); }
.sticky-cta.is-hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(12px); }
body:has(> .sticky-cta) .site-foot { padding-bottom: 84px; }
@media print { .sticky-cta, .feed-dots { display: none !important; } }

/* Home feed */
.feed-page .main-body { padding: 0; max-width: none; }
.feed-stage { background: radial-gradient(900px 600px at 85% 0%, rgba(124, 92, 255, .16), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(198, 255, 61, .08), transparent 60%), var(--navy); }
.feed-phone { position: relative; }
.panel { position: relative; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column;
  justify-content: center; gap: 4px; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  padding: 28px 44px 104px 20px; border-bottom: 1px solid var(--navy-line); overflow-wrap: anywhere; }
.panel:nth-child(even) { background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0)); }
.panel h1 { font-size: 2.15rem; line-height: 1.08; margin: 6px 0 10px; }
.panel h1 .hl { color: var(--accent); }
.panel h2 { font-size: 1.75rem; margin: 6px 0 12px; }
.panel .eyebrow { margin: 0; }
.p-lede { margin: 0 0 14px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.p-small { margin: 10px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.p-hint { margin: 14px 0 0; text-align: center; font: 600 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-hint::after { content: " \2193"; }
.p-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ex-tag { position: absolute; top: -10px; right: 14px; z-index: 2; padding: 2px 9px; border-radius: 999px; background: var(--gold);
  color: #1A1300; font: 800 .66rem var(--mono); letter-spacing: .1em; }
.feed-demo { padding: 16px; border-radius: 20px; }
.feed-demo .tg-score { margin: 8px 0 4px; }
.feed-demo .tg-score b { font-size: 2.9rem; }
.feed-demo .tg-score span { font-size: 1.1rem; }
.feed-demo .tg-meter { height: 10px; }
.feed-demo .tg-feed { height: 6.9em; margin-top: 10px; font-size: .76rem; }
.feed-demo .tg-lock, .feed-demo .tg-saved { position: absolute; left: 14px; right: 14px; bottom: 14px; margin: 0; }
.feed-demo .tg-saved b { font-size: 1.3rem; }
/* which trader are you */
.tt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tt-btn { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px; min-height: 104px; border-radius: 16px;
  border: 1px solid var(--navy-line); background: var(--navy-2); color: var(--ink-2); font: inherit; font-size: .86rem; line-height: 1.35; cursor: pointer; }
.tt-btn b { color: var(--ink); font-size: .98rem; }
.tt-btn[aria-pressed="true"] { border-color: var(--accent); background: rgba(198, 255, 61, .1); }
.tt-out { margin: 14px 0 0; min-height: 4.4em; font-size: .98rem; line-height: 1.45; color: var(--ink); }
.tt-out span { display: block; }
.tt-go { display: inline-block; margin-top: 8px; font-weight: 800; color: var(--accent); text-decoration: none; }
/* 10-second check */
.feed-quiz { display: grid; gap: 14px; padding: 18px; border-radius: 20px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.feed-quiz label { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 10px; font-weight: 700; color: var(--ink); font-size: .92rem; }
.feed-quiz output { font: 800 1.7rem/1 var(--mono); letter-spacing: -.04em; }
.feed-quiz input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
.feed-quiz .p-small { margin: 0; }
/* rulebook */
.rb-stats { display: flex; gap: 12px; margin: 2px 0 14px; }
.rb-stats div { flex: 1; padding: 14px; border-radius: 16px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.rb-stats b { display: block; font-size: 2.3rem; line-height: 1; color: var(--accent); letter-spacing: -.04em; }
.rb-stats span { font-size: .86rem; color: var(--muted); }
.rb-h { margin: 4px 0 8px; font-size: .95rem; }
.rb-changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .86rem; line-height: 1.4; }
.rb-changes li { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--navy-line); }
.rb-changes time { color: var(--accent-text); font-size: .76rem; margin-right: 4px; }
.rb-changes b { color: var(--ink); }
/* the kit */
.kit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kit-list a { display: block; padding: 9px 14px; border-radius: 14px; background: var(--navy-2); border: 1px solid var(--navy-line);
  color: var(--ink-2); text-decoration: none; font-size: .86rem; line-height: 1.35; }
.kit-list a:hover { border-color: var(--accent-line); }
.kit-list b { color: var(--ink); font-size: .98rem; }
.kit-list span { display: block; margin-top: 2px; }
/* side dots */
.feed-dots { z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.feed-dots a { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: height .2s, background .2s; }
.feed-dots a[aria-current="true"] { background: var(--accent); height: 24px; border-radius: 6px; }
@media (max-width: 899px) {
  html.feed-page { scroll-snap-type: y mandatory; scroll-padding-top: var(--header-h); }
  html.feed-page .site-foot { scroll-snap-align: end; }
  .feed-stage { padding-top: var(--header-h); }
  .feed-dots { position: fixed; right: 12px; top: 50%; transform: translateY(-50%); }
}
@media (min-width: 900px) {
  .feed-stage { display: flex; justify-content: center; padding: calc(var(--header-h) + 16px) 24px 40px; }
  .feed-phone { width: 400px; height: min(860px, max(760px, calc(100vh - var(--header-h) - 40px))); border-radius: 52px;
    border: 10px solid #1C2550; outline: 1px solid rgba(255, 255, 255, .08); overflow: hidden; background: var(--navy);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(198, 255, 61, .06); }
  .feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
  .feed::-webkit-scrollbar { display: none; }
  .panel { min-height: 100%; padding: 22px 40px 82px 18px; }
  .feed-dots { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
  .feed-phone .sticky-cta { position: absolute; bottom: 16px; width: calc(100% - 32px); }
}

/* Waitlist screens */
.wl-stage { padding: calc(var(--header-h) + 20px) 16px 110px; display: flex; justify-content: center;
  background: radial-gradient(800px 500px at 90% 0%, rgba(124, 92, 255, .16), transparent 60%), var(--navy); min-height: 100vh; }
.wl-card { width: 100%; max-width: 460px; }
.wl-card h1 { font-size: 2.2rem; margin: 6px 0 10px; }
.wl-card h2 { font-size: 1.2rem; margin: 0 0 6px; }
.wl-lede { margin: 0 0 18px; font-size: 1rem; line-height: 1.5; }
.wl-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 22px; padding: 0; font-size: .78rem; color: var(--muted); }
.wl-steps li { flex: 1; display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 3px solid var(--navy-3); }
.wl-steps li span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-3); font: 700 .7rem var(--mono); }
.wl-steps li.on, .wl-steps li.done { color: var(--ink); border-color: var(--accent); }
.wl-steps li.on span, .wl-steps li.done span { background: var(--accent); color: #0A0F1F; }
.wl-form { display: grid; gap: 8px; margin: 0; }
.wl-lbl { font-size: .84rem; font-weight: 700; color: var(--ink); margin-top: 4px; }
.wl-lbl small { font-weight: 500; color: var(--muted); }
.wl-form input[type=email], .wl-form input[type=text] { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--navy-line); background: rgba(255, 255, 255, .04); color: var(--ink); font: inherit; font-size: 1rem; }
.wl-form input[aria-invalid="true"] { border-color: var(--pink); }
.wl-age { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--navy-line); background: rgba(255, 255, 255, .03); color: var(--ink); font-weight: 700; font-size: .95rem; cursor: pointer; }
.wl-age input { width: 22px; height: 22px; margin: 0; padding: 0; accent-color: var(--accent); flex: none; max-width: none; }
.wl-age.is-bad { border-color: var(--pink); background: var(--bad-bg); }
.wait-form .wl-age, .ea-wait .wl-age { margin: 0; flex: 1 1 100%; }
.wl-go { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 22px; border: 0;
  border-radius: 999px; background: var(--accent); color: #0A0F1F; font: inherit; font-weight: 800; font-size: 1rem;
  text-decoration: none; cursor: pointer; }
.wl-go:hover { color: #0A0F1F; background: var(--accent-2); }
.wl-form .wl-go { width: 100%; margin-top: 6px; }
.wl-skip { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--navy-line); background: transparent; color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.wl-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.wl-row .wl-go { flex: 1; }
.wl-err { margin: 0 0 4px; padding: 10px 14px; border-radius: 12px; background: var(--bad-bg); border: 1px solid var(--bad-line); color: var(--bad); font-weight: 700; font-size: .92rem; }
.wl-note { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text); font-weight: 700; font-size: .92rem; }
.wl-note.is-bad { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber); }
.wl-perks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.wl-perks li { position: relative; padding-left: 24px; line-height: 1.4; }
.wl-perks li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.wl-fine { margin: 12px 0 0; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.wl-alt { margin: 16px 0 0; font-size: .9rem; }
.wl-more fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.wl-more legend { font-weight: 800; color: var(--ink); margin-bottom: 10px; font-size: 1.02rem; }
.wl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-chip { position: relative; cursor: pointer; }
.wl-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wl-chip span { display: inline-block; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--navy-line); background: var(--navy-2);
  color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.wl-chip input:checked + span { border-color: var(--accent); background: rgba(198, 255, 61, .14); color: var(--ink); }
.wl-chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.wl-inbox { padding: 16px; border-radius: 18px; background: var(--navy-2); border: 1px solid var(--accent-line); margin-bottom: 18px; }
.wl-inbox p { margin: 0; font-size: .95rem; line-height: 1.5; }
.wl-share { margin: 8px 0 18px; }
.share-card { position: relative; margin: 10px auto 0; width: min(240px, 70%); aspect-ratio: 9 / 16; border-radius: 20px; padding: 20px 18px;
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--navy-line);
  background: radial-gradient(200px 200px at 90% 12%, rgba(198, 255, 61, .14), transparent 70%), linear-gradient(180deg, #0B1430, #060A1A); }
.sc-brand { font-weight: 800; color: var(--ink); font-size: .95rem; }
.sc-brand em { font-style: normal; color: var(--accent); }
.sc-head { margin: auto 0 0; color: var(--ink); font-weight: 800; font-size: 1.12rem; line-height: 1.15; letter-spacing: -.02em; }
.sc-head b { color: var(--accent); }
.sc-trap { margin: 12px 0 0; font-size: .78rem; line-height: 1.35; color: var(--ink-2); }
.sc-url { margin-top: auto; padding-top: 16px; font-weight: 800; color: var(--ink); font-size: .9rem; }
.sc-tag { font-size: .72rem; color: var(--muted); }
.wl-squad { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 16px;
  border: 1px dashed var(--navy-line); }
.wl-squad h2 { margin: 0; font-size: 1.05rem; }

/* ── 0.46.3 (UAT 23 Nov 2026, findings 8-18) ──────────────────────────────────────────────────────────────── */
/* 8: "Sign in" never wraps; the header items don't crowd the logo */
.nav-signin { white-space: nowrap; }
@media (max-width: 440px) {
  .nav-signin { padding: 0 12px; min-height: 44px; font-size: .9rem; }
  .nav-signin + .nav-signin { margin-left: 8px; }
  .brand { gap: 8px; }
  .brand-word { font-size: 1.2rem; }
  .head-row { gap: 8px; }
}
/* 11, 12, 18: tap targets of 44px */
.brand { min-height: 44px; }
.foot-col a, .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0; }
.foot-col { gap: 0; }
.wl-age { min-height: 48px; width: 100%; box-sizing: border-box; }
.wl-age input { width: 24px; height: 24px; }
.feed-dots { gap: 34px; }
.feed-dots a { position: relative; }
.feed-dots a::after { content: ""; position: absolute; inset: -17px; }
.cmp-table .pick .pick-l { display: grid; place-items: center; width: 44px; height: 44px; margin: -12px 0; cursor: pointer; }
.cmp-table .pick input { width: 22px; height: 22px; margin: 0; }
@media (max-width: 640px) {
  .cmp-table td.pick { top: 4px; right: 4px; }
  .cmp-table td a, .cmp-table th a, .cmp-tools a, .cmp-table .act a { min-height: 44px; display: inline-flex; align-items: center; }
}
.pt-apply a, #deal a, #points a, .pd a:not(.pd-cta):not(.ghost-btn), .pt-wrap a, .page-hero .lede a {
  display: inline-block; padding: 12px 4px; margin: -12px -4px; }
.pt-qs { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.pt-preview { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line); }
.pt-preview h3 { margin: 0 0 4px; }
/* 9: the trader-type pick moves you on */
.tt-next { margin-top: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--accent); background: transparent;
  color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; display: block; }
.tt-go { margin-right: 12px; }
/* 10: the Rulebook panel is the same height as the others and nothing is cut off */
.rb-changes li { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-rules { max-height: none; }
/* 13: early access on a phone: the intro line shows, the poster fills the video before it plays */
.ea-video .clip { background-size: cover; background-position: center; background-color: #0B1430; }
@media (max-width: 600px) { .ea-pitch .lede { display: block; font-size: .98rem; margin: 6px 0 0; } .ea-pill { min-height: 44px; } }
/* 14: the sticky pill never covers content; the compare tray sits above it */
body:has(> .sticky-cta) main { padding-bottom: 84px; }
body:has(> .sticky-cta) .site-foot { padding-bottom: 0; }
body:has(> .sticky-cta) .cmp-bar { bottom: 84px; }
html.feed-page main { padding-bottom: 0; }
/* 15: the on-page 18+ message */
.wl-age-err { margin: 6px 0 0; }
/* 16: the unchecked-facts line is folded */
.table-note.unchecked summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }

/* 0.47.0: launch banner and offer box (landing page, only while launch mode is on); the crossed-out price (only after a valid code) */
.launch-bar { background: var(--accent, #a3e635); color: #0b1220; text-align: center; padding: 8px 12px; font-size: .9rem; position: relative; z-index: 5; }
.launch-bar p { margin: 0; }
.launch-bar a { color: #0b1220; font-weight: 700; text-decoration: underline; }
.launch-offer { margin: 10px 0 14px; padding: 12px 14px; border: 1px solid var(--accent, #a3e635); border-radius: 12px; background: rgba(163, 230, 53, .08); }
.launch-offer p { margin: 0; }
.launch-offer .lo-main { font-weight: 700; }
.launch-offer .lo-cta { margin-left: 4px; font-weight: 700; text-decoration: underline; }
.launch-offer .lo-fine { margin-top: 6px; font-size: .78rem; opacity: .8; line-height: 1.4; }
.was { opacity: .6; text-decoration: line-through; }
.review-price { font-size: 1.15rem; margin: 6px 0; }
.code-box { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 14px; }
.code-box input[type=text] { min-width: 10rem; }
/* 0.47.0: the Presets menu on Compare (the four most-used ready-made lists) */
.cmp-presets { margin: 0 0 18px; }
.cmp-presets > summary { margin-left: 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.cmp-presets .nav-more-list { right: auto; left: 0; }
.cmp-presets .nav-more-list a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.cmp-presets .nav-more-list a:hover { background: rgba(255, 255, 255, .06); }
@media (max-width: 980px) {
  .cmp-presets { display: block; }
  .cmp-presets > summary { padding: 10px 14px; font-size: .95rem; display: inline-block; }
  .cmp-presets .nav-more-list { position: static; padding: 6px 0 0; }
}

/* 0.47.0 (owner 26 Nov): the coverage line on a firm we don't list in full yet */
.status-note { border-color: var(--line); color: var(--muted, #9aa4b2); }
.fb-coverage { font-size: .8rem; opacity: .85; margin-top: 2px; }

/* 0.49.2: a firm's current sale, shown beside (never instead of) the list price */
.sale-badge { display: block; font-size: .8rem; color: var(--muted, #9aa4b2); }
.footer-legal-in p > a, .footer-legal-in p > span { margin-left: 14px; }

/* 0.49.10: admin nav wraps on a phone (375 px) instead of pushing the page sideways */
@media (max-width: 760px) {
  .admin-top { flex-wrap: wrap; }
  .admin-tabs { max-width: 100%; }
  .admin-group { border-right: 0; padding-right: 0; }
}

/* 0.49.10: the market row on /compare scrolls sideways on a phone; its right edge fades only while more is hidden */
.cmp-seg.more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent); }
