:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #111114;
  --raised: #18181b;
  --line: #27272a;
  --text: #fafafa;
  --muted: #a1a1aa;
  --faint: #71717a;
  --accent: #818cf8;
  --accent-strong: #6366f1;
  --buy: #34d399;
  --sell: #fb7185;
  --warn: #fbbf24;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
a, button, input, select, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 30; background: var(--accent-strong); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 32px; height: 32px; border-radius: 8px; }
.brand .word { height: 18px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a.quiet { color: var(--muted); text-decoration: none; font-size: 14px; padding: 10px 12px; border-radius: 8px; }
.nav-links a.quiet:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: #4f46e5; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #3f3f46; background: var(--raised); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { padding-block: 72px 88px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.beta { border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
h1 {
  font-size: clamp(38px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 700; margin: 0; text-wrap: balance;
}
h1 .dim { color: var(--faint); }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 24px 0 0; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.fine { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* Order ticket mock — the product's core moment */
.ticket {
  margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px; font-size: 14px;
  box-shadow: 0 30px 80px -30px rgba(99, 102, 241, .35);
}
.ticket-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.symbol { font-family: var(--mono); font-weight: 600; font-size: 16px; }
.chip { font-family: var(--mono); font-size: 11.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.chip.buy { color: var(--buy); border-color: color-mix(in srgb, var(--buy) 35%, transparent); }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.level span { display: block; font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.level b { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 15px; }
.rows { list-style: none; margin: 0; padding: 8px 0 0; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.row:last-child { border-bottom: 0; }
.acct { font-weight: 500; }
.acct small { display: block; font-size: 12.5px; color: var(--faint); font-weight: 400; }
.lots { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--buy); text-align: right; font-variant-numeric: tabular-nums; }
.lots small { display: block; font-size: 12px; color: var(--faint); font-weight: 400; }
.row.blocked .acct { color: var(--muted); }
.blocked-tag { font-family: var(--mono); font-size: 12px; color: var(--sell); text-align: right; align-self: center; }
.blocked-why { grid-column: 1 / -1; font-size: 12.5px; color: var(--sell); }
.ticket-btn { margin-top: 12px; width: 100%; min-height: 44px; border: 0; border-radius: 10px; background: var(--buy); color: #052e1f; font: 600 15px var(--sans); }
.mock-note { margin-top: 12px; text-align: center; font-size: 12px; color: var(--faint); }

/* Sections */
section.block { padding-block: 88px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; margin: 0; max-width: 18em; text-wrap: balance; }
.sub { color: var(--muted); font-size: 18px; max-width: 36em; margin: 16px 0 0; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.rule { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.rule .k { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .04em; }
.rule h3 { font-size: 22px; margin: 12px 0 10px; letter-spacing: -0.01em; }
.rule p { color: var(--muted); margin: 0; }
.formula { margin-top: 20px; font-family: var(--mono); font-size: 14px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.formula .c { color: var(--faint); }

.steps { list-style: none; counter-reset: step; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps a { color: var(--accent); }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 20px; }
.steps li::before { content: "0" counter(step); font-family: var(--mono); font-size: 13px; color: var(--accent); }
.steps h3 { font-size: 19px; margin: 10px 0 8px; }
.steps p { color: var(--muted); margin: 0; }

.firms { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.firm { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--text); text-decoration: none; transition: border-color .15s, background .15s; }
.firm:hover { border-color: var(--accent-strong); background: var(--raised); }
.firm:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.firm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.firm-name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.firm-plat { font-family: var(--mono); font-size: 12.5px; color: var(--faint); }
.firms-note { margin: 20px 0 0; font-size: 14px; color: var(--faint); max-width: 52em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
.facts li:first-child { padding-top: 0; }
.facts dt, .facts .q { color: var(--faint); font-size: 14px; }
.facts .a { color: var(--text); }

.closing { text-align: center; }
.closing h2 { margin-inline: auto; }
.closing .cta { justify-content: center; }
.closing .sub { margin-inline: auto; }

footer.site { border-top: 1px solid var(--line); padding-block: 40px calc(40px + env(safe-area-inset-bottom)); color: var(--faint); font-size: 13.5px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { color: var(--muted); text-decoration: none; display: inline-block; padding-block: 4px; }
.foot a:hover { color: var(--text); }
.risk { margin-top: 24px; max-width: 62em; line-height: 1.55; }

/* Grid items default to min-width:auto; let the nowrap formulas scroll instead of widening the page. */
.hero > *, .rules > *, .split > *, .steps > *, .firms > * { min-width: 0; }

@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-block: 48px 64px; gap: 48px; }
  .rules, .split { grid-template-columns: 1fr; }
  .firms { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  section.block { padding-block: 64px; }
}
@media (max-width: 520px) {
  .brand .word { display: none; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .firms { grid-template-columns: 1fr; }
  .lede { font-size: 17px; }
  .levels b { font-size: 14px; }
  .formula { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Subpages (markets, prop firms) */
.page-head { padding-block: 64px 8px; }
.page-head h1 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; margin: 0; max-width: 16em; text-wrap: balance; }
.page-head .lede { margin-top: 20px; }
.crumb { font-family: var(--mono); font-size: 13px; color: var(--accent); text-decoration: none; display: inline-block; margin-bottom: 20px; }
.crumb:hover { color: var(--text); }
.prose { max-width: 46em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); }
.prose a:hover, .steps a:hover, .facts a:hover, .sub a:hover { color: var(--text); }
.cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cards > li { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.cards h2, .cards h3 { font-size: 21px; margin: 0; letter-spacing: -0.01em; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cards p { color: var(--muted); margin: 10px 0 0; }
.cards .meta { font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-top: 8px; }
.cards .go { display: inline-block; margin-top: 14px; color: var(--accent); text-decoration: none; font-size: 14.5px; }
.cards .go:hover { color: var(--text); }
.symbols { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.symbols span { font-family: var(--mono); font-size: 12.5px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.callout { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--warn); border-radius: 12px; padding: 18px 22px; color: var(--muted); max-width: 52em; }
.callout strong { color: var(--text); }
.more { display: inline-block; margin-top: 20px; color: var(--accent); text-decoration: none; font-size: 15px; }
.more:hover { color: var(--text); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } .page-head { padding-block: 44px 0; } }
.nav-links a.quiet[aria-current="page"] { color: var(--text); }
.prose h2 { margin-bottom: 16px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin-bottom: 10px; }

/* Lot size calculator (TG-138) */
.calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-top: 40px; align-items: start; }
.calc .panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; min-width: 0; }
.calc .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.calc .full { grid-column: 1 / -1; }
.calc label, .calc .label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.calc input[type="number"], .calc select {
  width: 100%; font: 500 16px var(--sans); color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px;
}
.calc input[type="number"]:focus, .calc select:focus { outline: none; border-color: var(--accent); }
.calc .with-unit { position: relative; }
.calc .with-unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 13px; color: var(--faint); pointer-events: none; }
.calc .with-unit input { padding-right: 52px; }
.calc .seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.calc .seg label { margin: 0; cursor: pointer; }
.calc .seg input { position: absolute; opacity: 0; pointer-events: none; }
.calc .seg span { display: block; padding: 6px 12px; border-radius: 7px; font-size: 13.5px; color: var(--muted); }
.calc .seg input:checked + span { background: var(--raised); color: var(--text); }
.calc .seg input:focus-visible + span { outline: 2px solid var(--accent); }
.calc .hint { font-size: 12.5px; color: var(--faint); margin: 6px 0 0; }
.calc .divider { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.calc .result { position: sticky; top: 88px; }
.calc .result .big { font-family: var(--mono); font-size: clamp(44px, 6vw, 60px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 4px 0 2px; color: var(--buy); }
.calc .result.empty .big { color: var(--faint); }
.calc .result dl { display: grid; grid-template-columns: auto auto; gap: 10px 16px; margin: 20px 0 0; font-size: 14.5px; }
.calc .result dt { color: var(--muted); }
.calc .result dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.calc .result.empty dl { display: none; }
.calc .result .detail { font-size: 13.5px; color: var(--faint); margin: 16px 0 0; }
.calc .pitch { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.calc .pitch strong { color: var(--text); }
.calc .pitch a { color: var(--accent); }
.example { font-family: var(--mono); font-size: 13.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--text); line-height: 1.8; white-space: pre-wrap; }
.calc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.calc-links a { font-family: var(--mono); font-size: 13px; color: var(--text); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; }
.calc-links a:hover, .calc-links a[aria-current="page"] { border-color: var(--accent); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc .result { position: static; } }
@media (max-width: 520px) { .calc .fields { gap: 12px; } .calc .panel { padding: 20px; } }
.calc-bar { display: none; }
@media (max-width: 900px) {
  .calc-bar.show {
    display: flex; justify-content: space-between; align-items: center;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20;
    background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px;
    text-decoration: none; color: var(--muted); font-size: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.5);
  }
  .calc-bar b { font-family: var(--mono); font-size: 22px; color: var(--buy); font-weight: 600; margin-right: 4px; }
}
.calc .risk-line { display: flex; gap: 10px; align-items: center; }
.calc .risk-line .with-unit { flex: 1; min-width: 0; }
.calc .result .big small { margin-left: 10px; font-size: 18px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.nav-links a { white-space: nowrap; }
@media (max-width: 900px) { .nav-links a.quiet[href$="#features"], .nav-links a.quiet[href$="#how"], .nav-links a.quiet[href="/guides/"] { display: none; } }
.prose .example { margin-bottom: 48px; }
@media (max-width: 900px) { html:has(.calc-bar.show) { scroll-padding-bottom: 96px; } }

/* Phone menu (native <details>) — replaces the inline nav links below 700px. */
.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center;
  padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.menu[open] summary { background: var(--raised); }
.menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.menu nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(12px, env(safe-area-inset-left)) 12px;
  display: flex; flex-direction: column;
}
.menu nav a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 16px; }
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--text); background: var(--surface); }
@media (max-width: 700px) {
  .nav-links a.quiet { display: none; }
  .menu { display: block; }
}

/* Guides */
.guide h2 { margin-top: 48px; }
.guide h2:first-child { margin-top: 0; }
.guide h3 { font-size: 19px; margin: 28px 0 8px; }
.guide .example { margin: 16px 0; }
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:last-child > * { border-bottom: 0; }
.table-wrap thead th { color: var(--faint); font-weight: 500; font-size: 13px; background: var(--surface); }
.table-wrap tbody th { color: var(--text); font-weight: 600; }
.table-wrap td { color: var(--muted); }
.guide-cards h2 { font-size: 21px; margin: 0; }
.guide-cards h2 a { text-decoration: none; color: var(--text); }
.guide-cards h2 a:hover { color: var(--accent); }
.guide-cards > li { position: relative; }
.guide-cards > li:hover { border-color: var(--accent-strong); }
.guide-cards h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
@media (max-width: 520px) { .table-wrap table { font-size: 13.5px; } .table-wrap th, .table-wrap td { padding: 10px; } }
.guide-cards h2 a:focus-visible { outline: none; }
.guide-cards h2 a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }

/* FAQ (homepage) */
.faq { margin-top: 32px; max-width: 52em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; min-height: 48px; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 20px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--accent); }
.faq p { margin: 0 0 20px; color: var(--muted); max-width: 44em; }
.faq a { color: var(--accent); }
.faq a:hover { color: var(--text); }

/* COT report (TG-150) — numbers rendered by the Worker (src/worker.js). */
.cot-date { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--faint); }
.cot-table { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow-x: auto; }
.cot-table table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.cot-table th, .cot-table td { padding: 11px 16px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
.cot-table thead th { border-top: 0; color: var(--faint); font-weight: 500; font-size: 12.5px; }
.cot-table th:first-child, .cot-table td:first-child { text-align: left; }
.cot-table .group th { background: var(--bg); color: var(--faint); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; text-align: left; padding-block: 7px; }
.cot-table .mkt b { color: var(--text); font-weight: 600; }
.cot-table .mkt .lbl { color: var(--faint); font-size: 13px; font-weight: 400; margin-left: 6px; }
.cot-table .mkt small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; white-space: normal; }
.cot-table .mkt small span { white-space: nowrap; }
.cot-table td { color: var(--muted); }
.cot-table .idx { display: inline-flex; align-items: center; gap: 10px; }
.cot-table .idx i { display: inline-block; width: 64px; height: 6px; border-radius: 999px; background: var(--raised); overflow: hidden; }
.cot-table .idx i span { display: block; height: 100%; background: var(--accent-strong); }
.cot-table .idx b { color: var(--text); width: 2ch; text-align: right; }
.cot-fallback { padding: 18px 20px; color: var(--muted); margin: 0; }
.cot-fallback a { color: var(--accent); }
.cot-legend { margin: 14px 0 0; font-size: 13.5px; color: var(--faint); max-width: 60em; }
.cot-legend strong { color: var(--muted); font-weight: 600; }
.cot-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 26px 28px; border: 1px solid color-mix(in srgb, var(--accent-strong) 45%, var(--line)); border-radius: 16px; background: color-mix(in srgb, var(--accent-strong) 8%, var(--surface)); }
.cot-cta > div { max-width: 40em; min-width: 0; }
.cot-cta h2 { font-size: 24px; margin: 0; }
.cot-cta p { margin: 8px 0 0; color: var(--muted); }
.cot-source { font-size: 13.5px; color: var(--faint) !important; }
.movers { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.movers li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.movers li.cot-fallback { grid-column: 1 / -1; }
.movers .m-name { font-weight: 600; color: var(--text); }
.movers .m-label { color: var(--faint); font-size: 13px; margin-left: 6px; }
.movers .m-change { display: block; margin-top: 8px; font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.movers .m-change small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--faint); }
.movers .m-tag { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; }
@media (max-width: 900px) { .movers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .cot-table th, .cot-table td { padding: 10px 8px; font-size: 13.5px; }
  .cot-table th:first-child, .cot-table td:first-child { padding-left: 12px; }
  .cot-table th:last-child, .cot-table td:last-child { padding-right: 12px; }
  .cot-table .mkt small { font-size: 11.5px; }
  .cot-table .mkt .lbl, .cot-table .idx i { display: none; }
  .cot-cta { padding: 20px; }
}
.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; }

/* Hero mock: the COT line the order panel shows (TG-155). */
.ticket-cot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.ticket-cot-k { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--faint); margin-right: 4px; }
.ticket-cot .up, .ticket-cot .down { font-size: 9px; color: var(--faint); }
.ticket-cot .c { color: var(--faint); }
.rule h3 { text-wrap: balance; }
.ticket-cot .nw { white-space: nowrap; }
