/* landing/landing.css – the landing page at the site root (site/landing/index.html; the app itself lives at /app/).
   The app's dark broadcast identity: carbon #15151E, the red slash #E10600 (skewed −12°), Saira at wide stretch for the
   display type, off-white primary buttons – the same tokens as site/ui/tokens.js (colours, contrast figures), written
   out here because the landing page loads none of the app's CSS. One dark look on purpose (color-scheme: dark).
   Layout: a 1200 px column with a 24 px gutter (16 px on phones); the hero video is a full-bleed background on wide
   screens and a 16:9 band above the text on portrait screens (phones, portrait tablets). */

:root {
  --carbon: #15151E;
  --carbon-2: #111118;
  --panel: #1F1F27;
  --panel-2: #26262B;
  --panel-3: #303037;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --fg: #FFFFFF;
  --fg-2: #F7F4F1;
  --text: #DCD9D6;            /* body copy on carbon (12.9:1) */
  --muted: #AAAAAA;           /* 7.8:1 on carbon */
  --dim: #8F8F99;             /* small print only (5.5:1 on #111118) */
  --ink: #0B0B10;
  --red: #E10600;
  --red-txt: #FF5147;         /* red text on dark (5.3:1) */
  --green: #2FD158;
  --yellow: #FFD12E;
  --f: "Saira", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --maxw: 1200px;
  --gut: 24px;
  --hdr: 64px;
  --r: 2px;
  color-scheme: dark;
}
@media (max-width: 600px) { :root { --gut: 16px; --hdr: 58px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--carbon); scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; background: var(--carbon); color: var(--text); font: 400 17px/1.6 var(--f);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: var(--r); }
main:focus { outline: none; }
::selection { background: var(--red); color: #fff; }
@media (max-width: 600px) { .hide-sm { display: none; } }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--fg-2); color: var(--ink);
  font-weight: 700; text-decoration: none; border-radius: var(--r); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* ---------------------------------------------------------------- type */
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 700; font-stretch: 110%;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.kicker::before { content: ""; flex: none; width: 7px; height: 18px; background: var(--red); transform: skewX(-12deg); }
.kicker--sm { margin-bottom: 10px; font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.kicker--sm::before { width: 6px; height: 14px; }
.h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: .98; font-weight: 800; font-stretch: 125%; letter-spacing: .005em;
  text-transform: uppercase; color: var(--fg); text-wrap: balance; }
.h3 { margin: 0 0 16px; font-size: clamp(26px, 2.9vw, 38px); line-height: 1.04; font-weight: 800; font-stretch: 118%;
  text-transform: uppercase; color: var(--fg); text-wrap: balance; }
.lead { margin-top: 20px; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.6; color: var(--text); max-width: 44em; }
.note { margin-top: 24px; font-size: 15px; color: var(--muted); }
.note em { font-style: normal; color: var(--fg-2); font-weight: 600; }

/* ---------------------------------------------------------------- buttons, links, icons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px;
  font: 700 15px/1.1 var(--f); letter-spacing: .03em; text-decoration: none; border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--fg-2); color: var(--ink); }
.btn--primary:hover { background: #fff; }
.btn--ghost { background: rgba(21, 21, 30, .55); color: var(--fg); border-color: rgba(255, 255, 255, .3); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn .ico { width: 20px; height: 20px; transition: transform .15s; }
.btn--primary:hover .ico:not(.ico--fill) { transform: translateX(3px); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding-bottom: 4px; font-weight: 700; color: var(--fg);
  text-decoration: none; border-bottom: 2px solid var(--red); }
.more .ico { width: 18px; height: 18px; transition: transform .15s; }
.more:hover .ico { transform: translateX(3px); }
.tag { display: inline-flex; align-items: center; padding: 2px 8px; font-size: 11.5px; font-weight: 700; font-stretch: 100%;
  letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; border: 1px solid currentColor; border-radius: var(--r); white-space: nowrap; }
.tag--ok { color: var(--green); }
.tag--est { color: var(--yellow); }
.tag--new { margin-left: 6px; color: var(--red-txt); vertical-align: 1px; }

/* ---------------------------------------------------------------- header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--hdr); border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s; }
.top.is-solid { background: rgba(21, 21, 30, .95); border-bottom-color: var(--line); }
.top__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 17px; font-weight: 800; font-stretch: 125%;
  letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); text-decoration: none; }
.brand::before { content: ""; flex: none; width: 9px; height: 26px; background: var(--red); transform: skewX(-12deg); }
.top__nav { display: flex; gap: 2px; margin-left: auto; }
.top__nav a { padding: 8px 12px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-decoration: none;
  border-radius: var(--r); }
.top__nav a:hover { color: var(--fg); background: rgba(255, 255, 255, .06); }
.top__in > .btn { margin-left: 8px; }
@media (max-width: 920px) {
  .top__nav { display: none; }
  .top__in > .btn { margin-left: auto; }
}

/* ---------------------------------------------------------------- hero: video background, text bottom left */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(100vh, 980px);
  min-height: min(100svh, 980px); background: #0E0E14; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; background: #0E0E14; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(21, 21, 30, .93) 0%, rgba(21, 21, 30, .8) 30%, rgba(21, 21, 30, .28) 62%, rgba(21, 21, 30, .05) 100%),
    linear-gradient(0deg, var(--carbon) 0%, rgba(21, 21, 30, .55) 22%, rgba(21, 21, 30, 0) 46%),
    linear-gradient(180deg, rgba(21, 21, 30, .75) 0, rgba(21, 21, 30, 0) 180px); }
.hero__in { padding-top: calc(var(--hdr) + 72px); padding-bottom: 80px; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.hero__title { margin: 0; }
.hero__name { display: block; font-size: clamp(64px, 10.5vw, 150px); line-height: .84; font-weight: 800; font-stretch: 125%;
  letter-spacing: -.012em; text-transform: uppercase; color: var(--fg); }
.hero__tag { display: flex; align-items: center; gap: .32em; margin-top: 18px; font-size: clamp(26px, 3.3vw, 46px); line-height: 1.05;
  font-weight: 700; font-stretch: 110%; color: var(--fg-2); }
.hero__tag::before { content: ""; flex: none; width: .2em; height: .9em; background: var(--red); transform: skewX(-12deg); }
.hero__lead { max-width: 36em; margin-top: 22px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: #ECE9E6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__latest { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 1.6em; }
.hero__facts { list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 14px 44px;
  max-width: 1000px; margin: 44px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-2); font-size: 14px; line-height: 1.4;
  color: var(--muted); }
.hero__facts b { display: block; margin-bottom: 2px; font-size: 21px; font-weight: 800; font-stretch: 115%; letter-spacing: .01em;
  text-transform: uppercase; color: var(--fg); }
.hero__toggle { position: absolute; right: var(--gut); bottom: 28px; }
/* scroll cue: a pill fixed to the bottom of the first screen (visible on any window height), fades out once the page
   scrolls (landing.js header()); dark backing so it stays readable over the hero text on short windows */
.hero__scroll { position: fixed; z-index: 20; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex;
  align-items: center; gap: 6px; padding: 7px 14px 7px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(21, 21, 30, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg);
  text-decoration: none; white-space: nowrap; transition: opacity .3s ease; }
.hero__scroll:hover, .hero__scroll:focus-visible { border-color: var(--fg); }
.hero__scroll .ico { width: 20px; height: 20px; animation: cue 1.6s ease-in-out infinite; }
.hero__scroll.is-gone { opacity: 0; pointer-events: none; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
/* a hero video that cannot play: its poster pans slowly instead */
.hero__media.is-still .hero__video { animation: still 24s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes still { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
/* the "unofficial" badge beside the wordmark and the disclaimer band under the hero */
.unofficial { flex: none; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 11px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.notice { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(225, 6, 0, .08); }
.notice__in { padding-top: 14px; padding-bottom: 14px; }
.notice p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.notice b { margin-right: 4px; color: var(--fg); text-transform: uppercase; letter-spacing: .06em; }
.note--legal { color: var(--muted); }
.closer__note { margin: -6px 0 22px; color: var(--muted); }
@media (max-width: 760px) { .unofficial { display: none; } }

@media (max-width: 1100px) { .hero__facts { grid-template-columns: repeat(2, auto); } }
/* portrait screens (phones, portrait tablets): the video becomes a 16:9 band under the header, the text follows it */
@media (max-aspect-ratio: 5/4) {
  .hero { display: block; min-height: 0; background: var(--carbon); }
  .hero__media { inset: var(--hdr) 0 auto 0; height: auto; aspect-ratio: 16 / 9; }
  .hero__shade { background: linear-gradient(180deg, rgba(21, 21, 30, 0) calc(var(--hdr) + 32vw), var(--carbon) calc(var(--hdr) + 56.5vw)); }
  .hero__in { padding-top: calc(var(--hdr) + 56.25vw + 8px); padding-bottom: 40px; text-shadow: none; }
  .hero__toggle { top: calc(var(--hdr) + 12px); right: 12px; bottom: auto; }
}
@media (max-width: 600px) {
  /* phones: the hero is no full first screen here and the cue would sit on the CTAs – people scroll anyway */
  .hero__scroll { display: none; }
  .hero__name { font-size: clamp(54px, 17vw, 80px); }
  .hero__cta .btn { width: 100%; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 32px; }
  .hero__facts b { font-size: 18px; }
}
/* short landscape windows (phones turned sideways): a smaller headline so the CTAs stay in the first screen */
@media (max-height: 560px) and (min-aspect-ratio: 5/4) {
  .hero__in { padding-top: calc(var(--hdr) + 28px); padding-bottom: 32px; }
  .hero__scroll { display: none; }
  .hero__name { font-size: clamp(48px, 8vw, 72px); }
  .hero__tag { margin-top: 10px; font-size: 24px; }
  .hero__lead { margin-top: 14px; font-size: 16px; }
  .hero__cta { margin-top: 20px; }
  .hero__facts { margin-top: 26px; }
}

/* video play / pause (WCAG 2.2.2: moving content can be paused) */
.vid-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #fff; background: rgba(21, 21, 30, .72);
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; cursor: pointer; z-index: 2; transition: background-color .15s, border-color .15s; }
.vid-toggle:hover { background: rgba(21, 21, 30, .92); border-color: #fff; }
.vid-toggle .ico { width: 18px; height: 18px; }
.vid-toggle .i-play, .vid-toggle.is-paused .i-pause { display: none; }
.vid-toggle.is-paused .i-play { display: block; }

/* ---------------------------------------------------------------- live panel: this weekend · latest results */
.now { position: relative; z-index: 1; padding: 8px 0 0; }
.now__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: 16px; }
.now__grid > :only-child { grid-column: 1 / -1; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; min-width: 0; }
.now__card { display: flex; flex-direction: column; gap: 18px; }
.now__card > * { margin: 0; }
.now__card--main { border-left: 4px solid var(--red); background: linear-gradient(180deg, var(--panel), rgba(31, 31, 39, .7)); }
.now__card--fallback { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.now__fallback { flex: 1 1 320px; color: var(--fg-2); }
.now__head .kicker--sm { margin-bottom: 8px; }
.now__title { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1; font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  color: var(--fg); text-wrap: balance; }
.now__title--sm { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.05; }
.now__sub { margin-top: 8px; font-size: 15px; color: var(--muted); }
.now__next { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 4px 20px; padding: 16px 18px;
  background: var(--panel-2); border-radius: var(--r); }
.now__next .lbl { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.now__count { font-size: clamp(30px, 3.6vw, 44px); line-height: 1; font-weight: 800; font-stretch: 112%; color: var(--fg);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.now__count--name { white-space: normal; text-wrap: balance; }   /* "Sprint Qualifying" on a narrow phone */
.now__count small { font-size: .5em; font-weight: 700; color: var(--muted); margin: 0 .35em 0 .08em; }
.now__count small.pre { margin: 0 .3em 0 0; text-transform: uppercase; letter-spacing: .06em; }
.now__what { font-size: 15px; line-height: 1.35; color: var(--fg-2); }
.now__what b { display: block; font-size: 17px; font-weight: 800; font-stretch: 110%; text-transform: uppercase; color: var(--fg); }
.sess { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sess li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 10px 14px;
  background: var(--panel); min-height: 52px; }
.sess .chip { font-size: 13px; font-weight: 800; font-stretch: 115%; letter-spacing: .04em; color: var(--fg); }
.sess .when { font-size: 14.5px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.sess .when small { display: block; font-size: 12.5px; color: var(--muted); }
.sess .st { justify-self: end; text-align: right; display: grid; justify-items: end; gap: 2px; }
.sess .st a { font-size: 13.5px; font-weight: 700; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--red); }
.sess .st a:hover { border-bottom-width: 2px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; color: var(--muted); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.badge.ok { color: var(--green); }
.badge.part { color: var(--yellow); }
.badge.wait { color: #FF9F43; }
.badge.run, .badge.fail { color: var(--red-txt); }
.badge.up::before, .badge.none::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.badge.busy::before { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.sess .line { font-size: 12.5px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.now__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.now__stats { display: flex; flex-wrap: wrap; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.now__stats div { flex: 1 1 110px; padding: 12px 14px; background: var(--panel); }
.now__stats dt { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.now__stats dd { margin: 4px 0 0; font-size: 20px; font-weight: 800; font-stretch: 112%; color: var(--fg); line-height: 1.15; }
.now__stats dd.small { font-size: 15px; font-weight: 700; font-stretch: 100%; }
.now__links { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.now__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; min-height: 48px;
  background: var(--panel); color: var(--fg); font-weight: 700; text-decoration: none; }
.now__links a:hover { background: var(--panel-2); }
.now__links a .ico { width: 18px; height: 18px; color: var(--red-txt); }
.now__fine { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .now__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .card { padding: 18px 16px; }
  .now__next { grid-template-columns: 1fr; padding: 14px; }
  .sess li { grid-template-columns: 50px minmax(0, 1fr); padding: 10px 12px; }
  .sess .st { grid-column: 2; justify-self: start; justify-items: start; text-align: left; }
}

/* ---------------------------------------------------------------- blocks and features */
.block { padding: clamp(72px, 8.5vw, 120px) 0; }
.block--alt { background: linear-gradient(180deg, #1A1A22 0%, var(--carbon) 100%); border-top: 1px solid var(--line); }
.block__head { max-width: 800px; margin-bottom: clamp(44px, 6vw, 76px); }
.feat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(28px, 4.5vw, 72px);
  margin-top: clamp(80px, 10vw, 140px); }
.block__head + .feat { margin-top: 0; }
.feat--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feat--flip .feat__media { order: 2; }
.feat--wide, .feat--phones { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.feat__no { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-txt); }
.feat__text > p:not(.feat__no) { margin-bottom: 14px; }
.feat__text--wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(28px, 4.5vw, 72px); align-items: end; }
.feat__text--wide .feat__no, .feat__text--wide .h3 { grid-column: 1; }
.feat__text--wide > p:not(.feat__no) { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 20px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 5px; height: 12px; background: var(--red); transform: skewX(-12deg); }
.frame { margin: 0; min-width: 0; }
.frame > img, .frame > picture > img, .frame .vid { width: 100%; border-radius: 4px; overflow: hidden; background: #0E0E14;
  box-shadow: 0 0 0 1px var(--line-2), 0 34px 70px -28px rgba(0, 0, 0, .85), 0 14px 28px -16px rgba(0, 0, 0, .6); }
.frame figcaption { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.vid { position: relative; aspect-ratio: 16 / 9; }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid .vid-toggle { position: absolute; right: 12px; bottom: 12px; }
@media (max-width: 900px) {
  .feat, .feat--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feat--flip .feat__media { order: 0; }
  .feat__text--wide { grid-template-columns: minmax(0, 1fr); }
  .feat__text--wide > p:not(.feat__no) { grid-column: 1; grid-row: auto; margin-bottom: 0; }
}

/* tabs (analysis examples) */
.tabs__list { display: flex; gap: 2px; margin-bottom: 20px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list [role="tab"] { flex: none; min-height: 46px; margin-bottom: -1px; padding: 0 18px; font: 700 13px/1 var(--f); letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.tabs__list [role="tab"]:hover { color: var(--fg); }
.tabs__list [role="tab"][aria-selected="true"] { color: var(--fg); border-bottom-color: var(--red); }
.tabs--compact .tabs__list [role="tab"] { padding: 0 14px; }
.tabs__panel picture, .tabs__panel img { display: block; width: 100%; }
.tabs__panel:focus-visible { outline-offset: 6px; }
@media (max-width: 600px) {
  .tabs__list [role="tab"] { padding: 0 10px; font-size: 12px; letter-spacing: .06em; }
  .tabs__panel img { aspect-ratio: 585 / 900; object-fit: cover; object-position: top; }
}

/* phones */
.phones { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 44px); margin: 0;
  padding: 0 0 36px; }
.phone { margin: 0; text-align: center; }
.phone:nth-child(even) { transform: translateY(36px); }
.phone img { width: 100%; aspect-ratio: 585 / 1266; object-fit: cover; border: 7px solid #08080C; border-radius: 28px; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -24px rgba(0, 0, 0, .9); }
.phone span { display: block; margin-top: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .phones { display: flex; gap: 14px; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 16px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: thin; }
  .phone { flex: 0 0 min(62%, 260px); scroll-snap-align: start; }
  .phone:nth-child(even) { transform: none; }
}

/* ---------------------------------------------------------------- how it works */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.step { position: relative; padding: 24px 20px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -17px; width: 18px; height: 2px; background: var(--red); }
.step__no { display: block; margin-bottom: 18px; font-size: 40px; line-height: 1; font-weight: 800; font-stretch: 125%; color: transparent;
  -webkit-text-stroke: 1.5px var(--red-txt); }
@supports not (-webkit-text-stroke: 1px red) { .step__no { color: var(--red-txt); } }
.step__title { margin: 0 0 10px; font-size: 18px; line-height: 1.2; font-weight: 800; font-stretch: 110%; text-transform: uppercase; color: var(--fg); }
.step p { font-size: 15px; line-height: 1.55; color: var(--text); }
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step:nth-child(3)::after { display: none; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 12px; padding: 20px 18px; }
  .step__no { grid-row: 1 / span 2; margin: 0; font-size: 34px; }
  .step:not(:last-child)::after { display: block; top: auto; bottom: -13px; left: 40px; right: auto; width: 2px; height: 14px; }
  .step:nth-child(3)::after { display: block; }
}

/* ---------------------------------------------------------------- data */
.data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.data__col { padding: 28px; }
.data__col--est { background-image: repeating-linear-gradient(135deg, rgba(255, 209, 46, .03) 0 7px, transparent 7px 14px); }
.data__title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; font-size: 20px; line-height: 1.2; font-weight: 800;
  font-stretch: 112%; text-transform: uppercase; color: var(--fg); }
@media (max-width: 760px) { .data { grid-template-columns: minmax(0, 1fr); } .data__col { padding: 20px 18px; } }

/* ---------------------------------------------------------------- circuits */
.circuits { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin: 0; padding: 0; }
.circuit { display: grid; grid-template-rows: auto 1fr; gap: 18px; padding: 0; overflow: hidden; }
.circuit__map { padding: 18px 22px; background: radial-gradient(ellipse at 50% 40%, #24242D 0%, #1B1B22 70%);
  border-bottom: 1px solid var(--line); }
.circuit__map svg { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.circuit__map .trk { fill: none; stroke: #3A3A44; stroke-width: 7; stroke-linejoin: round; }
.circuit__map .trk-in { fill: none; stroke: var(--fg-2); stroke-width: 2.2; stroke-linejoin: round; }
.circuit__map .sf { fill: var(--red); }
.circuit__body { padding: 0 22px 22px; }
.circuit:not(:has(.circuit__map)) .circuit__body { padding-top: 22px; }
.circuit__name { margin: 0; font-size: 20px; line-height: 1.15; font-weight: 800; font-stretch: 112%; text-transform: uppercase; color: var(--fg); }
.circuit__meta { margin-top: 8px; font-size: 15px; color: var(--fg-2); }
.circuit__note { margin-top: 4px; font-size: 14px; color: var(--muted); }
.circuit__events { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.circuit__events a, .circuit__events span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; font-size: 13px;
  font-weight: 700; letter-spacing: .03em; color: var(--fg); text-decoration: none; background: var(--panel-2); border-radius: var(--r); }
.circuit__events a:hover { background: var(--panel-3); }
.circuit__events span { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------------------------------------------------------------- FAQ: the heading beside the questions */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .block__head { position: sticky; top: calc(var(--hdr) + 32px); margin-bottom: 0; }
.faq-grid .lead { font-size: 17px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-grid .block__head { position: static; } }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { position: relative; padding: 22px 52px 22px 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.3; font-weight: 700;
  font-stretch: 105%; color: var(--fg); list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: linear-gradient(var(--red-txt), var(--red-txt)) center / 18px 2px no-repeat,
    linear-gradient(var(--red-txt), var(--red-txt)) center / 2px 18px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq details p { max-width: 46em; padding: 0 0 26px; color: var(--text); }
.faq a { color: var(--fg); text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------------------------------------------------------------- closing call to action (the big red slash) */
.closer { position: relative; overflow: hidden; padding: clamp(84px, 11vw, 150px) 0; border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 85% 50%, rgba(225, 6, 0, .14), rgba(225, 6, 0, 0) 55%), var(--carbon); }
.closer::before, .closer::after { content: ""; position: absolute; top: -20%; bottom: -20%; background: var(--red); transform: skewX(-12deg); }
.closer::before { right: 14%; width: clamp(40px, 6vw, 96px); }
.closer::after { right: calc(14% + clamp(60px, 8vw, 130px)); width: clamp(8px, 1vw, 16px); opacity: .55; }
.closer__in { position: relative; z-index: 1; }
.closer .h2 { max-width: 12em; }
@media (max-width: 760px) { .closer::before { right: -6%; opacity: .5; } .closer::after { display: none; } }

/* ---------------------------------------------------------------- footer */
.foot { padding: 60px 0 44px; background: var(--carbon-2); border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px 48px; }
.foot__brand p { margin-top: 12px; max-width: 26em; }
.foot__nav { display: grid; gap: 6px; align-content: start; }
.foot__nav a { justify-self: start; padding: 2px 0; color: var(--fg-2); text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.foot__h { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.foot__credits p + p { margin-top: 8px; }
.foot__contact p { margin: 0 0 10px; }
.foot__li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2);
  border-radius: 2px; color: var(--fg); text-decoration: none; font-weight: 700; }
.foot__li:hover, .foot__li:focus-visible { border-color: var(--fg); }
.foot__li .ico { width: 16px; height: 16px; }
.foot__credits a { color: var(--fg-2); text-underline-offset: 2px; }
.foot__legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
@media (max-width: 1080px) { .foot__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, .8fr); } .foot__credits { grid-column: 1 / -1; } }
@media (max-width: 860px) { .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot__brand, .foot__credits { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- motion and contrast preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(255, 255, 255, .28); --line-2: rgba(255, 255, 255, .45); --muted: #C8C8C8; --text: #F0EEEC; }
  .hero__shade { background: linear-gradient(90deg, rgba(21, 21, 30, .96) 0%, rgba(21, 21, 30, .9) 55%, rgba(21, 21, 30, .5) 100%); }
}
@media print {
  .top, .hero__media, .hero__shade, .hero__scroll, .vid-toggle, .closer::before, .closer::after { display: none !important; }
  body, .hero, .block--alt, .foot { background: #fff; color: #000; }
}
