:root {
  --bg: #070d16; --surface: #0e1826; --raised: #142235; --line: #1c2c40; --line-2: #27405a;
  --text: #e8eef4; --soft: #9db1c4; --faint: #63788d;
  --cinder: #ef6a24; --cinder-2: #ff9a3d; --cinder-soft: rgba(239, 106, 36, 0.16);
  --steel: #3fa9f5; --steel-soft: rgba(63, 169, 245, 0.15);
  --green: #2fd18b; --chalk: #f3ede4;
  --panel-grad: linear-gradient(180deg, #112035 0%, #0c1622 100%);
  --r: 10px;
  --sans: Roboto, Calibri, "Segoe UI", Arial, sans-serif; --mono: "Roboto Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-color: var(--line-2) var(--bg); }
body { min-height: 100vh; background: radial-gradient(1200px 600px at 8% -10%, rgba(63, 169, 245, 0.10), transparent 60%), radial-gradient(900px 500px at 100% 110%, rgba(239, 106, 36, 0.08), transparent 60%), var(--bg); background-attachment: fixed; color: var(--text); font: 400 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
svg.i { width: 14px; height: 14px; flex: none; }

/* top bar: every tab is a plain link, nothing opens */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 13, 22, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand svg { width: 32px; height: 32px; }
.brand span { font-size: 17px; font-weight: 300; }
.brand b { font-weight: 400; color: var(--cinder); }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(108px, max-content); border: 1px solid var(--line); border-radius: var(--r); justify-self: center; overflow: hidden; }
.tabs a { display: flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; font-size: 13px; color: var(--soft); white-space: nowrap; border-left: 1px solid var(--line); }
.tabs a:first-child { border-left: 0; }
.tabs a:hover { background: var(--raised); color: var(--text); }
.tabs a[aria-current="page"] { background: var(--raised); color: var(--text); box-shadow: inset 0 -2px 0 var(--cinder); }
.tabs a[aria-current="page"] svg { color: var(--cinder-2); }
.acts { display: grid; grid-template-columns: repeat(2, 140px); gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r); font: 400 13px var(--sans); white-space: nowrap; border: 1px solid var(--line-2); background: var(--raised); color: var(--text); width: 100%; cursor: pointer; }
.btn:hover { border-color: var(--soft); }
.btn.ghost { background: none; }
.btn.go { background: var(--cinder); border-color: var(--cinder); color: #fff; letter-spacing: 0.02em; }
.btn.go:hover { background: #d85c1c; border-color: #d85c1c; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r); background: none; color: var(--text); justify-self: end; align-items: center; justify-content: center; cursor: pointer; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .bgfx { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; }
.hero .bgfx .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 80% at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 40%, #000 20%, transparent 75%); opacity: 0.45; }
.hero .bgfx svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .bgfx path { fill: none; stroke-width: 1.2; stroke-dasharray: 6 10; animation: drift 14s linear infinite; }
@keyframes drift { to { stroke-dashoffset: -320; } }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-kw { font: 400 13px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cinder-2); display: flex; align-items: center; gap: 10px; }
.hero-kw::before { content: ""; width: 24px; height: 1px; background: var(--cinder); }
.hero-title { display: block; margin-top: 18px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; font-weight: 300; letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.hero-title em { font-style: normal; color: var(--cinder-2); }
.hero-sub { margin-top: 18px; max-width: 52ch; font-size: 16px; line-height: 1.6; color: var(--soft); }
.hero-cta { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 176px); gap: 10px; }
.hero-cta .btn { height: 44px; font-size: 14px; }
.hero-facts { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: rgba(14, 24, 38, 0.6); }
.hero-facts div { padding: 12px 14px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.hero-facts div:first-child { border-left: 0; }
.hero-facts .v { font: 400 20px/1.2 var(--mono); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.hero-facts .k { font-size: 12px; color: var(--faint); white-space: nowrap; }

/* live panel */
.live { background: var(--panel-grad); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85); }
.live-head { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--soft); }
.live-head .m { color: var(--green); }
.live-head .p { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-head .t { color: var(--faint); font-variant-numeric: tabular-nums; }
.pulse { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font: 400 11px var(--mono); color: var(--green); background: rgba(47, 209, 139, 0.14); }
.pulse i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 50% { opacity: 0.25; } }
.feed { overflow: hidden; position: relative; }
.feed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(transparent, #0c1622); pointer-events: none; }
.res { display: grid; grid-template-columns: 34px minmax(0, 1fr) 72px 64px; gap: 12px; align-items: center; height: 56px; padding: 0 14px; border-bottom: 1px solid var(--line); transition: background 1.2s; }
.res.new { background: rgba(239, 106, 36, 0.10); }
.res .cc { width: 34px; height: 24px; border-radius: 6px; background: var(--raised); border: 1px solid var(--line-2); font: 400 11px/22px var(--mono); text-align: center; color: var(--soft); }
.res .w { min-width: 0; }
.res .w span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res .w .h { font-size: 14px; color: var(--text); }
.res .w .r { font-size: 12px; color: var(--faint); }
.res .km { font: 400 13px var(--mono); font-variant-numeric: tabular-nums; text-align: right; color: var(--steel-2, #7cc7ff); }
.res .ago { font: 400 11px var(--mono); text-align: right; color: var(--faint); white-space: nowrap; }
.live-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.live-foot div { padding: 10px 14px; border-left: 1px solid var(--line); font-size: 12px; color: var(--faint); white-space: nowrap; }
.live-foot div:first-child { border-left: 0; }
.live-foot b { font: 400 13px var(--mono); color: var(--text); margin-left: 6px; }

.scene { position: relative; border-bottom: 1px solid var(--line); background: radial-gradient(420px 160px at 50% 0%, rgba(124, 199, 255, 0.08), transparent 70%), #0b1524; }
.scene canvas { display: block; width: 100%; aspect-ratio: 560 / 260; }
.hud { position: absolute; top: 10px; left: 10px; display: grid; grid-template-columns: repeat(3, 78px); border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(7, 13, 22, 0.78); }
.hud div { padding: 6px 10px; border-left: 1px solid var(--line); display: grid; }
.hud div:first-child { border-left: 0; }
.hud .k { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.hud .v { font: 400 13px var(--mono); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.prog { height: 3px; background: var(--line); }
.prog i { display: block; height: 100%; width: 0; background: var(--cinder); }
.order { display: grid; grid-template-columns: auto repeat(6, 30px); gap: 6px; align-items: center; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.order .cl { height: 24px; border-radius: 6px; font: 400 12px/24px var(--mono); text-align: center; background: var(--raised); border: 1px solid var(--line-2); color: var(--soft); transition: background 0.4s, color 0.4s; }
.order .cl { font-weight: 500; }
.order .cl.first { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--chalk); }
.feed { height: 168px; }
@media (max-width: 560px) { .hud { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; border-top: 1px solid var(--line); border-radius: 0; } .hud div { padding: 6px 14px; } .order { grid-template-columns: auto repeat(6, 28px); gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .hero .bgfx path, .pulse i { animation: none; } }
/* section 2: the call to action line */
.ctaline { padding: 40px 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 24, 38, 0.6), rgba(7, 13, 22, 0)); }
.cta-box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) 220px; gap: 24px; align-items: stretch; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); box-shadow: inset 3px 0 0 var(--cinder); }
.cta-copy { display: grid; align-content: center; gap: 10px; min-width: 0; }
.cta-kw { font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cinder-2); }
.cta-title { font-size: 22px; line-height: 1.3; font-weight: 300; color: var(--text); text-wrap: balance; }
.cta-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--soft); }
.cta-ticks li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cta-ticks svg { color: var(--green); }
.cta-code { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--line); border-radius: var(--r); background: #08111d; overflow: hidden; }
.cc-head, .cc-foot { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 12px; font: 400 12px var(--mono); color: var(--faint); }
.cc-head { justify-content: space-between; border-bottom: 1px solid var(--line); }
.cc-foot { border-top: 1px solid var(--line); }
.cc-foot .ok { color: var(--green); }
.cc-copy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 84px; height: 26px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--raised); color: var(--soft); font: 400 12px var(--sans); cursor: pointer; }
.cc-copy:hover { color: var(--text); border-color: var(--soft); }
.cta-code pre { margin: 0; padding: 12px; font: 400 12.5px/1.7 var(--mono); color: var(--text); white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.cta-code .c-m { color: var(--steel-2, #7cc7ff); }
.cta-code .c-s { color: var(--cinder-2); }
.cta-acts { display: grid; align-content: center; gap: 10px; }
.cta-acts .btn { height: 44px; font-size: 14px; }
.cta-note { font-size: 12px; line-height: 1.5; color: var(--faint); }
@media (max-width: 1100px) { .cta-box { grid-template-columns: minmax(0, 1fr) 220px; } .cta-code { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 640px) { .ctaline { padding: 28px 0; } .cta-box { grid-template-columns: minmax(0, 1fr); padding: 18px; } .cta-code { grid-column: auto; grid-row: auto; } .cta-code pre { font-size: 11.5px; } .cta-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cta-note { grid-column: 1 / -1; } }
/* shared section heading */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-bottom: 24px; }
.sec-kw { display: flex; align-items: center; gap: 10px; font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cinder-2); }
.sec-kw::before { content: ""; width: 24px; height: 1px; background: var(--cinder); }
.sec-title { margin-top: 14px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 300; letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
.sec-lede { margin-top: 12px; max-width: 60ch; font-size: 15px; line-height: 1.6; color: var(--soft); }

/* section 3: coverage */
.cov { padding: 72px 0; border-bottom: 1px solid var(--line); }
.cov-facts { display: grid; grid-template-columns: repeat(4, 112px); border: 1px solid var(--line); border-radius: var(--r); background: rgba(14, 24, 38, 0.6); }
.cov-facts div { padding: 12px 14px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.cov-facts div:first-child { border-left: 0; }
.cov-facts .v { font: 400 20px/1.2 var(--mono); color: var(--text); }
.cov-facts .k { font-size: 12px; color: var(--faint); white-space: nowrap; }
.cov-panel { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); overflow: hidden; }
.cov-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cov-tabs { display: grid; grid-template-columns: repeat(3, 140px); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cov-tabs button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 34px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--soft); font: 400 13px var(--sans); white-space: nowrap; cursor: pointer; }
.cov-tabs button:first-child { border-left: 0; }
.cov-tabs button:hover { background: var(--raised); color: var(--text); }
.cov-tabs button[aria-selected="true"] { background: var(--raised); color: var(--text); box-shadow: inset 0 -2px 0 var(--cinder); }
.cov-tabs button[aria-selected="true"] svg { color: var(--cinder-2); }
.cov-legend { display: flex; gap: 18px; font-size: 12px; color: var(--faint); }
.cov-legend span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.lg { display: inline-block; width: 18px; height: 8px; border-radius: 3px; }
.lg.held { background: var(--steel); }
.lg.fill { background: repeating-linear-gradient(135deg, rgba(239, 106, 36, 0.75) 0 3px, rgba(239, 106, 36, 0.2) 3px 6px); }
.cov-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 84px 230px; gap: 18px; align-items: center; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); position: relative; }
#covRows .cov-row:last-child { border-bottom: 0; }
#covRows .cov-row:hover { background: rgba(20, 34, 53, 0.6); }
.cov-th { height: 38px; font: 400 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); background: rgba(7, 13, 22, 0.35); }
.cov-th .axis { display: flex; justify-content: space-between; letter-spacing: 0; }
.cov-th .axis b { font-weight: 400; }
.cov-th .r, .cov-row .from { text-align: right; }
.cty { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cty .cc { flex: none; width: 34px; height: 24px; border-radius: 6px; background: var(--raised); border: 1px solid var(--line-2); font: 400 11px/22px var(--mono); text-align: center; color: var(--soft); }
.cty .nm { font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track { display: block; position: relative; height: 10px; border-radius: 5px; background: rgba(39, 64, 90, 0.35); background-image: linear-gradient(90deg, transparent calc(24.39% - 1px), rgba(99, 120, 141, 0.25) 24.39%, transparent calc(24.39% + 1px), transparent calc(48.78% - 1px), rgba(99, 120, 141, 0.25) 48.78%, transparent calc(48.78% + 1px), transparent calc(73.17% - 1px), rgba(99, 120, 141, 0.25) 73.17%, transparent calc(73.17% + 1px)); }
.track i { position: absolute; top: 0; bottom: 0; right: 0; border-radius: 5px; transform-origin: right center; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.track i.held { background: var(--steel); }
.track i.fill { background: repeating-linear-gradient(135deg, rgba(239, 106, 36, 0.75) 0 3px, rgba(239, 106, 36, 0.2) 3px 6px); }
.track i.dot { width: 6px; left: auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(47, 209, 139, 0.18); }
.cov.on .track i { transform: scaleX(1); }
.from { font: 400 13px var(--mono); color: var(--text); white-space: nowrap; }
.from small { display: block; font-size: 11px; color: var(--faint); }
.get { display: flex; gap: 6px; min-width: 0; }
.get span { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; white-space: nowrap; background: var(--raised); border: 1px solid var(--line); color: var(--soft); }
.get span.g { color: var(--green); border-color: rgba(47, 209, 139, 0.3); background: rgba(47, 209, 139, 0.08); }
.get span.c { color: var(--cinder-2); border-color: rgba(239, 106, 36, 0.3); background: var(--cinder-soft); }
.reg-row { height: 32px; display: flex; align-items: center; padding: 0 14px; font: 400 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cinder-2); background: rgba(7, 13, 22, 0.35); border-bottom: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .track i { transition: none; transform: scaleX(1); } }
@media (max-width: 1100px) { .sec-head { grid-template-columns: minmax(0, 1fr); } .cov-row { grid-template-columns: 170px minmax(0, 1fr) 74px; } .cov-row > :nth-child(4) { display: none; } }
@media (max-width: 640px) {
  .cov { padding: 48px 0; }
  .cov-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cov-facts div:nth-child(3) { border-left: 0; } .cov-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cov-bar { flex-direction: column; align-items: stretch; }
  .cov-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cov-tabs button svg { display: none; }
  .cov-row { grid-template-columns: 120px minmax(0, 1fr) 58px; gap: 10px; padding: 0 10px; }
  .cty .cc { display: none; }
  .cov-th .axis b:nth-child(2), .cov-th .axis b:nth-child(4) { display: none; }
}
/* section 4: full width results board */
.board { padding: 72px 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0a1422 0%, #08101b 100%); position: relative; }
.board::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(39, 64, 90, 0.18) 0 1px, transparent 1px 96px); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.board-in { position: relative; max-width: 1640px; margin: 0 auto; padding-left: max(16px, min(4vw, 48px)); padding-right: max(16px, min(4vw, 48px)); }
.board-acts { display: flex; align-items: end; }
.seg { display: grid; grid-template-columns: repeat(2, 140px); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.seg button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 36px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--soft); font: 400 13px var(--sans); cursor: pointer; white-space: nowrap; }
.seg button:first-child { border-left: 0; }
.seg button:hover { background: var(--raised); color: var(--text); }
.seg button[aria-selected="true"] { background: var(--raised); color: var(--text); box-shadow: inset 0 -2px 0 var(--cinder); }
.seg button[aria-selected="true"] svg { color: var(--cinder-2); }
.race-card { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); overflow: hidden; }
.rc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.rc-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rc-id .cc, .vl .cc { flex: none; width: 34px; height: 24px; border-radius: 6px; background: var(--raised); border: 1px solid var(--line-2); font: 400 11px/22px var(--mono); text-align: center; color: var(--soft); }
.rc-t { font-size: 16px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rc-meta > span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--soft); white-space: nowrap; }
.rc-meta .chip-ok { color: var(--green); border-color: rgba(47, 209, 139, 0.3); background: rgba(47, 209, 139, 0.08); }
.rc-meta .chip-ok i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.rt { display: grid; grid-template-columns: 40px 48px minmax(180px, 1.4fr) minmax(130px, 1fr) minmax(130px, 1fr) 84px minmax(120px, 1fr) 64px 92px; gap: 16px; align-items: center; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.rt-h { height: 36px; font: 400 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); background: rgba(7, 13, 22, 0.35); }
#rtRows .rt:last-child { border-bottom: 0; }
#rtRows .rt { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s, background .2s; }
.board.on #rtRows .rt { opacity: 1; transform: none; }
#rtRows .rt:hover { background: rgba(20, 34, 53, 0.6); }
.rt .r { text-align: right; }
.rt .pl { font: 400 14px var(--mono); color: var(--text); }
.rt .pl.w { color: var(--cinder-2); }
.rt .no { width: 30px; height: 24px; border-radius: 6px; font: 500 12px/24px var(--sans); text-align: center; }
.rt .hz { display: grid; min-width: 0; }
.rt .hz b { font-weight: 400; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt .hz small { font-size: 11.5px; color: var(--faint); }
.rt .pp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt .km { font: 400 13px var(--mono); color: var(--text); text-align: right; }
.rt .pace { height: 6px; border-radius: 3px; background: rgba(39, 64, 90, 0.45); overflow: hidden; }
.rt .pace i { display: block; height: 100%; border-radius: 3px; background: var(--steel); transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.board.on .rt .pace i { transform: scaleX(1); }
.rt .odds, .rt .prz { font: 400 13px var(--mono); text-align: right; color: var(--soft); }
.rt .dq { color: var(--faint); }
.rc-json { margin: 0; padding: 16px; max-height: 520px; overflow: auto; font: 400 12.5px/1.65 var(--mono); color: var(--text); white-space: pre; background: #08111d; }
.rc-json .k { color: #7cc7ff; } .rc-json .s { color: var(--cinder-2); } .rc-json .n { color: var(--green); }
.rc-foot { display: grid; grid-template-columns: auto auto auto 1fr; gap: 24px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font: 400 12px var(--mono); color: var(--faint); }
.rc-foot .m { color: var(--green); }
.rc-foot .btn { justify-self: end; width: 176px; height: 40px; font-family: var(--sans); font-size: 14px; }

/* section 5: narrower column, uses and the free key */
.uses { padding: 72px 0; border-bottom: 1px solid var(--line); }
.uses-in { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.uses-head { text-align: center; display: grid; justify-items: center; margin-bottom: 28px; }
.uses-head .sec-title { max-width: 26ch; }
.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.use { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); }
.use-viz { height: 110px; border: 1px solid var(--line); border-radius: var(--r); background: #08111d; overflow: hidden; margin-bottom: 6px; }
.use-viz svg { display: block; width: 100%; height: 100%; }
.use h3 { font-size: 17px; font-weight: 400; color: var(--text); }
.use p { font-size: 13.5px; line-height: 1.6; color: var(--soft); }
.use .btn { width: 100%; height: 38px; }
.viz-curve .draw { stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.8s ease; }
.uses.on .viz-curve .draw { stroke-dashoffset: 0; }
.viz-bars rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.uses.on .viz-bars rect { transform: scaleY(1); }
.viz-live { display: grid; align-content: center; gap: 6px; padding: 8px 10px; }
.vl { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; height: 26px; font-size: 12.5px; color: var(--soft); transition: background .8s; border-radius: 6px; padding: 0 4px; }
.vl .vk { font: 400 12px var(--mono); color: #7cc7ff; }
.vl.new { background: rgba(239, 106, 36, 0.12); }
.prize { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 176px 176px; gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: linear-gradient(90deg, rgba(239, 106, 36, 0.12), rgba(14, 24, 38, 0.6) 55%); box-shadow: inset 3px 0 0 var(--cinder); }
.prize-copy { display: grid; gap: 2px; min-width: 0; }
.prize-t { font-size: 17px; color: var(--text); }
.prize-s { font-size: 13px; color: var(--soft); }
.prize .btn { height: 42px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { #rtRows .rt, .rt .pace i, .viz-curve .draw, .viz-bars rect { transition: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; } }
@media (max-width: 1200px) { .rt { grid-template-columns: 36px 44px minmax(160px, 1.4fr) minmax(120px, 1fr) 80px minmax(90px, 1fr) 60px 86px; } .rt > :nth-child(5) { display: none; } }
@media (max-width: 860px) {
  .use-grid { grid-template-columns: minmax(0, 1fr); }
  .rc-head { flex-direction: column; align-items: flex-start; } .rc-meta { justify-content: flex-start; }
  .rt { grid-template-columns: 30px 40px minmax(0, 1fr) 70px 54px; gap: 10px; padding: 0 12px; }
  .rt > :nth-child(4), .rt > :nth-child(5), .rt > :nth-child(7), .rt > :nth-child(9) { display: none; }
  .rc-foot { grid-template-columns: 1fr; gap: 8px; } .rc-foot > span:nth-child(2), .rc-foot > span:nth-child(3) { display: none; } .rc-foot .btn { justify-self: stretch; width: auto; }
  .prize { grid-template-columns: repeat(2, minmax(0, 1fr)); } .prize-copy { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .board, .uses { padding: 48px 0; } .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } .board-acts { width: 100%; } }
/* section 6: full width trend chart */
.trend { padding: 72px 0; border-bottom: 1px solid var(--line); background: radial-gradient(900px 400px at 85% 0%, rgba(58, 154, 224, 0.07), transparent 70%), #08101b; }
.trend-in { max-width: 1640px; margin: 0 auto; padding-left: max(16px, min(4vw, 48px)); padding-right: max(16px, min(4vw, 48px)); }
.trend-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.trend-panel { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); overflow: hidden; min-width: 0; }
.tp-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tp-chips { display: grid; grid-template-columns: repeat(4, 124px); gap: 6px; }
.tp-chips button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 32px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--raised); color: var(--text); font: 400 13px var(--sans); cursor: pointer; white-space: nowrap; }
.tp-chips button i { width: 10px; height: 10px; border-radius: 3px; }
.tp-chips button[aria-pressed="false"] { background: none; color: var(--faint); }
.tp-chips button[aria-pressed="false"] i { opacity: 0.3; }
.tp-note { font-size: 12px; color: var(--faint); white-space: nowrap; }
.tp-plot { position: relative; height: 380px; }
.tp-plot svg { display: block; width: 100%; height: 100%; }
.tp-plot .ln { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s; }
.tp-plot .ax { font: 400 11px var(--mono); fill: #63788d; }
.tp-plot .lab { font: 400 12px var(--sans); fill: #e8eef4; }
.tp-tip { position: absolute; top: 12px; pointer-events: none; min-width: 168px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(7, 13, 22, 0.94); font-size: 12px; color: var(--soft); display: grid; gap: 4px; }
.tp-tip[hidden] { display: none; }
.tp-tip b { font-weight: 400; color: var(--text); font-family: var(--mono); }
.tp-tip .tr { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; }
.tp-tip .tr i { width: 10px; height: 3px; border-radius: 2px; }
.tp-table { padding: 0; max-height: 380px; overflow: auto; }
.tp-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tp-table th, .tp-table td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.tp-table th { position: sticky; top: 0; background: #0d1826; font: 400 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.tp-table th:first-child, .tp-table td:first-child { text-align: left; }
.tp-table td { font-family: var(--mono); color: var(--text); }
.trend-side { display: grid; grid-template-rows: repeat(3, 1fr) auto; gap: 12px; }
.ts { display: grid; align-content: center; gap: 4px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); }
.ts .k { font-size: 12px; color: var(--faint); }
.ts .v { font: 400 26px/1.1 var(--mono); color: var(--text); }
.ts .d { font-size: 12.5px; color: var(--soft); }
.trend-side .btn { height: 44px; font-size: 14px; }

/* section 7: narrow column, three steps */
.steps { padding: 72px 0; border-bottom: 1px solid var(--line); }
.steps-in { max-width: 860px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.st-list { list-style: none; display: grid; gap: 0; position: relative; }
.st-list::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(180deg, var(--cinder), var(--line-2)); }
.st { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding: 0 0 28px; position: relative; }
.st-n { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 400 15px var(--mono); color: var(--text); background: var(--bg); border: 1px solid var(--cinder); position: relative; z-index: 1; }
.st:first-child .st-n { background: var(--cinder); color: #fff; }
.st-body { display: grid; gap: 8px; padding-top: 8px; min-width: 0; }
.st-body h3 { font-size: 18px; font-weight: 400; color: var(--text); }
.st-body p { font-size: 14px; line-height: 1.6; color: var(--soft); }
.st-key { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: #08111d; font: 400 13px var(--mono); }
.st-key .m { color: var(--faint); font-size: 12px; }
.st-key .kv { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-key .kv i { font-style: normal; color: var(--faint); }
.st-key .ok { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 12px; }
.st-key .ok i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.st-code { margin: 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: #08111d; font: 400 12.5px/1.7 var(--mono); color: var(--text); white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.st-code .c-m, .st-code .c-k { color: #7cc7ff; } .st-code .c-s { color: var(--cinder-2); } .st-code .c-n { color: var(--green); }
.st-cta { display: grid; grid-template-columns: repeat(2, 200px); gap: 10px; justify-content: center; margin-top: 8px; }
.st-cta .btn { height: 44px; font-size: 14px; }
@media (max-width: 1100px) { .trend-grid { grid-template-columns: minmax(0, 1fr); } .trend-side { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; } .trend-side .btn { grid-column: 1 / -1; } }
@media (max-width: 860px) { .tp-bar { flex-direction: column; align-items: stretch; } .tp-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tp-note { white-space: normal; } .tp-plot { height: 300px; } }
@media (max-width: 640px) {
  .trend, .steps { padding: 48px 0; }
  .trend-side { grid-template-columns: minmax(0, 1fr); }
  .tp-chips button { font-size: 12px; }
  .st { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; } .st-n { width: 32px; height: 32px; } .st-list::before { left: 15px; }
  .st-code { font-size: 11.5px; } .st-key .m { display: none; } .st-key { grid-template-columns: minmax(0, 1fr) auto; }
  .st-cta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* section 8: full width plans */
.price { padding: 72px 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0a1422, #08101b); position: relative; }
.price::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 300px at 62% 30%, rgba(239, 106, 36, 0.08), transparent 70%); }
.price-in { position: relative; max-width: 1640px; margin: 0 auto; padding-left: max(16px, min(4vw, 48px)); padding-right: max(16px, min(4vw, 48px)); }
.price .seg { grid-template-columns: 140px 200px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr; gap: 12px; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); }
.plan.pick { border-color: var(--cinder); box-shadow: inset 0 2px 0 var(--cinder); }
.plan .tag { position: absolute; top: 18px; right: 18px; height: 22px; padding: 0 8px; border-radius: 6px; display: inline-flex; align-items: center; font-size: 11px; color: var(--cinder-2); background: var(--cinder-soft); }
.plan h3 { font-size: 18px; font-weight: 400; color: var(--text); }
.plan .for { font-size: 13px; color: var(--soft); min-height: 40px; }
.plan .amt { display: flex; align-items: baseline; gap: 6px; min-height: 56px; flex-wrap: wrap; }
.plan .amt b { font: 300 40px/1 var(--sans); color: var(--text); }
.plan .amt span { font-size: 13px; color: var(--faint); }
.plan .amt small { flex-basis: 100%; font-size: 12px; color: var(--green); }
.plan .btn { height: 42px; font-size: 14px; }
.plan ul { list-style: none; display: grid; gap: 9px; align-content: start; padding-top: 14px; border-top: 1px solid var(--line); }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--soft); }
.plan li svg { margin-top: 2px; color: var(--green); }
.free-bar { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 12px; align-items: center; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(14, 24, 38, 0.6); }
.free-bar .btn { height: 42px; font-size: 14px; }
.cmp { margin-top: 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 16px; align-items: center; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--soft); }
#cmpRows .cmp-row:last-child { border-bottom: 0; }
#cmpRows .cmp-row:hover { background: rgba(20, 34, 53, 0.6); }
.cmp-h { height: 40px; font: 400 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); background: rgba(7, 13, 22, 0.35); }
.cmp-row > span:not(:first-child) { text-align: center; }
.cmp-row .y { color: var(--green); display: inline-flex; justify-content: center; }
.cmp-row .n { color: var(--line-2); }
.cmp-row .t { font: 400 13px var(--mono); color: var(--text); }

/* section 9: narrower live status board */
.status { padding: 72px 0; border-bottom: 1px solid var(--line); }
.status-in { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.all-ok { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid rgba(47, 209, 139, 0.3); border-radius: var(--r); background: rgba(47, 209, 139, 0.08); color: var(--green); font-size: 13px; white-space: nowrap; }
.all-ok i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: beat 1.6s ease-in-out infinite; }
.st-board { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); overflow: hidden; }
.sb-row { display: grid; grid-template-columns: 190px 110px 70px minmax(0, 1fr); gap: 18px; align-items: center; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--soft); }
#sbRows .sb-row:last-child { border-bottom: 0; }
.sb-h { height: 36px; font: 400 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); background: rgba(7, 13, 22, 0.35); }
.sb-row .r { text-align: right; }
.sb-row .ago, .sb-row .tdy { font: 400 13px var(--mono); color: var(--text); text-align: right; white-space: nowrap; }
.sb-row .ago.fresh { color: var(--green); }
.days { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; height: 18px; }
.days i { border-radius: 2px; background: var(--green); opacity: 0.85; }
.days i.late { background: #e3a83c; }
.days i.none { background: var(--line); opacity: 1; }
.sb-foot { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) 160px 176px; gap: 10px; align-items: center; }
.sb-key { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--faint); }
.sb-key i { width: 10px; height: 10px; border-radius: 2px; margin-left: 8px; }
.sb-key i:first-child { margin-left: 0; }
.sb-key i.ok { background: var(--green); } .sb-key i.late { background: #e3a83c; } .sb-key i.none { background: var(--line-2); }
.sb-foot .btn { height: 40px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .cmp-row { grid-template-columns: minmax(130px, 1.4fr) repeat(5, minmax(0, 1fr)); gap: 8px; font-size: 12px; padding: 0 10px; }
  .sb-row { grid-template-columns: 130px 90px 50px minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 640px) {
  .price, .status { padding: 48px 0; }
  .price .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .free-bar { grid-template-columns: minmax(0, 1fr); }
  .cmp { display: none; } /* each card already lists what its plan holds */
  .sb-row { grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); }
  .sb-row > :nth-child(3) { display: none; }
  .sb-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sb-key { grid-column: 1 / -1; }
}
/* section 10: full width Analyst showcase */
.ana { padding: 72px 0; border-bottom: 1px solid var(--line); background: radial-gradient(800px 360px at 20% 10%, rgba(63, 169, 245, 0.07), transparent 70%), #08101b; }
.ana-in { max-width: 1640px; margin: 0 auto; padding-left: max(16px, min(4vw, 48px)); padding-right: max(16px, min(4vw, 48px)); }
.seg-start { grid-template-columns: repeat(2, 160px); }
.ana-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; }
.ana-panel { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.ap-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ap-tabs { display: grid; grid-template-columns: repeat(4, 124px); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ap-tabs button { height: 34px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--soft); font: 400 13px var(--sans); cursor: pointer; white-space: nowrap; }
.ap-tabs button:first-child { border-left: 0; }
.ap-tabs button:hover { background: var(--raised); color: var(--text); }
.ap-tabs button[aria-selected="true"] { background: var(--raised); color: var(--text); box-shadow: inset 0 -2px 0 var(--cinder); }
.ap-n { font: 400 12px var(--mono); color: var(--faint); white-space: nowrap; }
.hm { flex: 1; display: grid; grid-template-columns: 140px repeat(12, minmax(0, 1fr)); grid-template-rows: auto repeat(3, minmax(54px, 1fr)); gap: 3px; padding: 16px; }
.hm .hl { display: flex; align-items: center; font-size: 12.5px; color: var(--soft); white-space: nowrap; }
.hm .hh { text-align: center; font: 400 11px var(--mono); color: var(--faint); padding-bottom: 4px; }
.hm .hc { position: relative; min-height: 54px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font: 400 12px var(--mono); color: var(--text); transition: background-color .6s ease, box-shadow .15s; cursor: default; }
.hm .hc:hover { box-shadow: 0 0 0 2px var(--chalk); }
.hm .hc.na { background: rgba(28, 44, 64, 0.35) !important; color: var(--faint); }
.hm .hc.best::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--cinder-2); }
.hm-scale { display: flex; align-items: center; gap: 10px; padding: 0 16px 14px; font-size: 12px; color: var(--faint); flex-wrap: wrap; }
.hm-scale i { width: 140px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #15283d, #1f4f78, #2f7ab5, #57a8e8, #a9d6fa); }
.hm-scale .hm-tip { margin-left: auto; color: var(--soft); font-family: var(--mono); }
.ana-side { display: grid; align-content: start; gap: 8px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); }
.as-h { font: 400 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); padding-bottom: 4px; }
.as-row { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #08111d; }
.as-k { font-size: 12px; color: var(--faint); }
.as-v { font-size: 13px; color: var(--soft); }
.as-v b { font: 400 14px var(--mono); color: var(--text); }
.as-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.as-price b { font: 300 30px/1 var(--sans); color: var(--text); }
.as-price span:last-child { flex-basis: 100%; }
.ana-side .btn { height: 42px; font-size: 14px; }

/* section 11: narrow questions */
.faq { padding: 72px 0; border-bottom: 1px solid var(--line); }
.faq-in { max-width: 860px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.faq-list { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-grad); overflow: hidden; }
.fq { border-bottom: 1px solid var(--line); }
.fq:last-child { border-bottom: 0; }
.fq button { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 12px; align-items: center; min-height: 54px; padding: 0 16px; border: 0; background: none; color: var(--text); font: 400 15px var(--sans); text-align: left; cursor: pointer; }
.fq button:hover { background: rgba(20, 34, 53, 0.6); }
.fq .qn { font: 400 12px var(--mono); color: var(--faint); }
.fq .ch { color: var(--faint); transition: transform .3s; }
.fq.open .ch { transform: rotate(180deg); color: var(--cinder-2); }
.fq.open .qn { color: var(--cinder-2); }
.fq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.fq.open .ans { grid-template-rows: 1fr; }
.fq .ans > div { overflow: hidden; }
.fq .ans p { padding: 0 16px 16px 56px; font-size: 14px; line-height: 1.65; color: var(--soft); max-width: 70ch; }
.faq-foot { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) 176px 176px; gap: 10px; align-items: center; font-size: 13px; color: var(--soft); }
.faq-foot .btn { height: 42px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .hm .hc, .fq .ans, .fq .ch { transition: none; } }
@media (max-width: 1100px) { .ana-grid { grid-template-columns: minmax(0, 1fr); } .ana-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } .as-h, .as-price { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .ap-bar { flex-direction: column; align-items: stretch; } .ap-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hm { grid-template-columns: 72px repeat(12, minmax(0, 1fr)); gap: 2px; padding: 10px; }
  .hm { grid-template-rows: auto repeat(3, 40px); } .hm .hc { min-height: 0; font-size: 10px; } .hm .hl { font-size: 11px; }
  .hm-scale .hm-tip { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 640px) {
  .ana, .faq { padding: 48px 0; }
  .seg-start { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .ap-tabs button { font-size: 12px; }
  .hm { grid-template-rows: auto repeat(3, 34px); } .hm .hc { font-size: 0; }
  .ana-side { grid-template-columns: minmax(0, 1fr); }
  .fq .ans p { padding-left: 16px; }
  .faq-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .faq-foot > span { grid-column: 1 / -1; }
}
/* section 12: full width last call to action */
.final { padding: 64px 0; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, rgba(239, 106, 36, 0.14), rgba(14, 24, 38, 0.2) 45%, rgba(63, 169, 245, 0.08)), #08101b; position: relative; overflow: hidden; }
.final::after { content: ""; position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(239, 106, 36, 0.25); box-shadow: 0 0 0 40px rgba(239, 106, 36, 0.04), 0 0 0 80px rgba(239, 106, 36, 0.025); pointer-events: none; }
.final-in { position: relative; max-width: 1640px; margin: 0 auto; padding-left: max(16px, min(4vw, 48px)); padding-right: max(16px, min(4vw, 48px)); display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; align-items: center; z-index: 1; }
.final-acts { display: grid; gap: 10px; }
.final-acts .btn { height: 46px; font-size: 14px; }

/* footer */
.foot { padding: 48px 0 24px; background: #060b13; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.ft-brand { display: grid; align-content: start; gap: 14px; }
.ft-brand .brand svg { width: 30px; height: 30px; }
.ft-brand p { font-size: 13px; line-height: 1.6; color: var(--soft); max-width: 40ch; }
.ft-cc { display: grid; grid-template-columns: repeat(9, 34px); gap: 6px; }
.ft-cc span { height: 22px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); font: 400 10.5px/20px var(--mono); text-align: center; color: var(--faint); }
.ft-col { display: grid; align-content: start; gap: 10px; }
.ft-col h3 { font: 400 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.ft-col a { font-size: 13.5px; color: var(--soft); width: fit-content; }
.ft-col a:hover { color: var(--text); }
.ft-bot { display: flex; gap: 24px; align-items: center; padding-top: 20px; font-size: 12px; color: var(--faint); }
.ft-ok { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.ft-ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
@media (max-width: 860px) { .final-in { grid-template-columns: minmax(0, 1fr); } .final-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .final { padding: 48px 0; } .final::after { display: none; }
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .ft-cc { grid-template-columns: repeat(6, 34px); }
  .ft-bot { flex-wrap: wrap; gap: 10px 20px; } .ft-ok { margin-left: 0; }
}
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 48px; gap: 36px; }
}
@media (max-width: 560px) {
  .hero-cta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts div:nth-child(3) { border-left: 0; }
  .hero-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .res { grid-template-columns: 34px minmax(0, 1fr) 64px; }
  .res .ago { display: none; }
  .live-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-foot div:last-child { display: none; }
}

/* phone: one full-height list, no nested menus */
.drawer { display: none; }
body.compact .tabs, body.compact .acts { display: none; }
body.compact .burger { display: inline-flex; }
body.compact .top .wrap { grid-template-columns: auto 1fr; }
body.compact .drawer.open { display: grid; position: fixed; inset: 64px 0 0 0; background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto; padding: 16px max(16px, env(safe-area-inset-left, 0px)) 24px; gap: 8px; align-content: start; z-index: 19; }
body.compact .drawer .row { display: grid; grid-template-columns: 36px 1fr 14px; gap: 12px; align-items: center; height: 52px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-grad); color: var(--soft); }
body.compact .drawer .row[aria-current="page"] { color: var(--text); box-shadow: inset 2px 0 0 var(--cinder); }
body.compact .drawer .row .ic { width: 36px; height: 36px; border-radius: var(--r); background: var(--raised); display: flex; align-items: center; justify-content: center; color: var(--steel); }
body.compact .drawer .row[aria-current="page"] .ic { color: var(--cinder-2); }
body.compact .drawer .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
@media (max-width: 760px) {
  .tabs, .acts { display: none; }
  .burger { display: inline-flex; }
  .top .wrap { grid-template-columns: auto 1fr; }
  .drawer.open { display: grid; position: fixed; inset: 64px 0 0 0; background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto; padding: 16px max(16px, env(safe-area-inset-left, 0px)) 24px; gap: 8px; align-content: start; z-index: 19; }
  .drawer .row { display: grid; grid-template-columns: 36px 1fr 14px; gap: 12px; align-items: center; height: 52px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-grad); color: var(--soft); }
  .drawer .row[aria-current="page"] { color: var(--text); box-shadow: inset 2px 0 0 var(--cinder); }
  .drawer .row .ic { width: 36px; height: 36px; border-radius: var(--r); background: var(--raised); display: flex; align-items: center; justify-content: center; color: var(--steel); }
  .drawer .row[aria-current="page"] .ic { color: var(--cinder-2); }
  .drawer .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
}
