/* =============================================
   SKR SIM RACING — SHARED STYLESHEET
   Edit colors, fonts, and global styles here.
   Text content lives in the individual .html files.
   ============================================= */

:root{
  --bg:#0a0a0a;
  --bg-2:#111;
  --surface:#161616;
  --surface-2:#1c1c1c;
  --line:rgba(255,255,255,.08);
  --line-2:rgba(255,255,255,.16);
  --ink:#f6f6f4;
  --ink-2:#a3a3a0;
  --ink-3:#6b6b67;
  --red:#ff2e1f;
  --red-2:#c01609;
  --amber:#f5b800;
  --green:#10b76a;
  --display:'Bebas Neue','Arial Narrow',sans-serif;
  --body:'Manrope',system-ui,sans-serif;
  --mono:'JetBrains Mono','Courier New',monospace;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  font-weight:400;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit}

/* utility */
.container{max-width:1280px;margin:0 auto;padding:0 28px}
.container-sm{max-width:880px;margin:0 auto;padding:0 28px}
.display{font-family:var(--display);letter-spacing:.01em;line-height:.92;text-transform:uppercase}
.mono{font-family:var(--mono);letter-spacing:.04em;font-size:12px;text-transform:uppercase;color:var(--ink-2)}
.eyebrow{font-family:var(--mono);font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--red);display:block;margin-bottom:14px}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:16px 28px;
  font-family:var(--body);font-weight:600;font-size:14px;letter-spacing:.04em;text-transform:uppercase;
  border:1px solid var(--line-2);
  background:transparent;color:var(--ink);
  cursor:pointer;transition:all .18s ease;
  white-space:nowrap;
}
.btn:hover{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.btn-primary{background:var(--red);border-color:var(--red);color:#fff}
.btn-primary:hover{background:#fff;border-color:#fff;color:var(--bg)}
.btn .arrow{transition:transform .18s ease}
.btn:hover .arrow{transform:translateX(4px)}
.btn-sm{padding:11px 18px;font-size:12px}

/* ============ TOP BAR ============ */
.topbar{border-bottom:1px solid var(--line);background:#000;font-size:12px;color:var(--ink-2)}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;padding:9px 28px;max-width:1280px;margin:0 auto}
.topbar-left{display:flex;gap:24px;align-items:center}
.topbar-left span{display:inline-flex;align-items:center;gap:8px}
.pulse{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 0 rgba(16,183,106,.6);animation:pulse 2s infinite;flex-shrink:0}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(16,183,106,.55)}
  70%{box-shadow:0 0 0 6px rgba(16,183,106,0)}
  100%{box-shadow:0 0 0 0 rgba(16,183,106,0)}
}
.topbar-right{display:flex;gap:18px;align-items:center}

/* ============ NAV ============ */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(10,10,10,.85);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;justify-content:space-between;align-items:center;padding:18px 28px;max-width:1280px;margin:0 auto}
.logo{display:flex;align-items:center;gap:12px;text-decoration:none}
.logo img{width:44px;height:44px;display:block;border-radius:50%}
.logo .wordmark{font-family:var(--display);font-size:24px;letter-spacing:.06em;color:var(--ink);line-height:1}
.logo .wordmark small{display:block;font-family:var(--mono);font-size:9px;letter-spacing:.3em;color:var(--ink-3);font-weight:500;margin-top:3px}
.nav-links{display:flex;gap:22px;font-size:13px;font-weight:500;letter-spacing:.04em;text-transform:uppercase}
.nav-links a{color:var(--ink-2);transition:color .15s;white-space:nowrap}
.nav-links a:hover,.nav-links a.active{color:var(--ink)}

/* ============ HERO ============ */
.hero{position:relative;min-height:88vh;display:flex;align-items:center;overflow:hidden;background:#000}
.hero.compact{min-height:60vh}
.hero::before{
  content:'';position:absolute;inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,46,31,.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(255,46,31,.08), transparent 60%),
    linear-gradient(180deg,#000 0%,#0a0a0a 100%);
  z-index:0;
}
.hero::after{
  content:'';position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:80px 80px;z-index:1;
  mask-image:radial-gradient(ellipse 80% 80% at center,black,transparent);
}
.hero-content{position:relative;z-index:2;width:100%;padding:80px 0}
.hero-grid{display:flex;flex-direction:column;align-items:center;gap:72px}
.hero-grid > div:first-child{text-align:center;max-width:920px;width:100%}
.hero-grid .hero-meta{justify-content:center}
.hero-grid .lede{margin-left:auto;margin-right:auto}
.hero-grid .hero-ctas{justify-content:center}
.hero-meta{display:flex;align-items:center;gap:14px;margin-bottom:28px;flex-wrap:wrap}
.hero-meta .badge{
  display:inline-flex;align-items:center;gap:8px;padding:7px 12px;
  border:1px solid var(--line-2);
  font-family:var(--mono);font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-2);
}
.hero h1{
  font-family:var(--display);
  font-size:clamp(56px,9vw,140px);
  line-height:.86;letter-spacing:.005em;margin-bottom:28px;
}
.hero h1 .strike{color:var(--red);position:relative;display:inline-block}
.hero h1 .strike::after{
  content:'';position:absolute;left:0;right:0;bottom:8%;height:5px;background:var(--red);
  transform:scaleX(0);transform-origin:left;animation:slash 1.4s ease-out .8s forwards;
}
@keyframes slash{to{transform:scaleX(1)}}
.hero p.lede{font-size:18px;color:var(--ink-2);max-width:520px;margin-bottom:40px;line-height:1.65}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap}
.hero h1.smaller{font-size:clamp(44px,7vw,96px)}

/* hero telemetry card */
.telemetry{
  background:rgba(20,20,20,.7);
  border:1px solid var(--line);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  padding:32px;position:relative;
}
.telemetry::before{content:'';position:absolute;top:-1px;left:-1px;width:32px;height:32px;border-top:2px solid var(--red);border-left:2px solid var(--red)}
.telemetry::after{content:'';position:absolute;bottom:-1px;right:-1px;width:32px;height:32px;border-bottom:2px solid var(--red);border-right:2px solid var(--red)}
.telemetry h3{font-family:var(--mono);font-size:11px;letter-spacing:.22em;color:var(--ink-3);font-weight:500;margin-bottom:24px;text-transform:uppercase}
.telemetry h3 span{color:var(--red)}
.tele-row{display:flex;justify-content:space-between;align-items:baseline;padding:14px 0;border-bottom:1px dashed var(--line)}
.tele-row:last-child{border-bottom:0}
.tele-row .k{font-family:var(--mono);font-size:11px;color:var(--ink-3);text-transform:uppercase;letter-spacing:.18em}
.tele-row .v{font-family:var(--display);font-size:28px;letter-spacing:.02em}
.tele-row .v small{font-family:var(--mono);font-size:11px;color:var(--ink-3);margin-left:4px;letter-spacing:.1em}

/* hero embedded video — racetrack frames the video, video sits centered in the loop */
.hero-video{
  position:relative;
  width:96vw;
  max-width:1500px;
  margin-left:calc(50% - 48vw);
  margin-right:calc(50% - 48vw);
  aspect-ratio:4/3;
  display:flex;align-items:center;justify-content:center;
}
.hero-track{
  position:absolute;
  inset:0;
  width:100%;height:100%;
  z-index:1;
  pointer-events:none;
}
.hero-video-frame{
  position:relative;
  z-index:2;
  width:62%;            /* video sits inside the track loop */
  aspect-ratio:16/9;
  background:#000;
  border:1px solid var(--line-2);
  overflow:hidden;
  box-shadow:0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,46,31,.2);
}
.hero-video-frame::before{content:'';position:absolute;top:-1px;left:-1px;width:24px;height:24px;border-top:2px solid var(--red);border-left:2px solid var(--red);z-index:3;pointer-events:none}
.hero-video-frame::after{content:'';position:absolute;bottom:-1px;right:-1px;width:24px;height:24px;border-bottom:2px solid var(--red);border-right:2px solid var(--red);z-index:3;pointer-events:none}
.hero-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ============ MARQUEE ============ */
.marquee{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#000;overflow:hidden;padding:18px 0}
.marquee-track{display:flex;gap:60px;animation:scroll 40s linear infinite;white-space:nowrap}
.marquee-track span{font-family:var(--display);font-size:24px;letter-spacing:.05em;color:var(--ink-3)}
.marquee-track span.r{color:var(--red)}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ============ SECTIONS ============ */
.section{padding:120px 0}
.section.tight{padding:80px 0}
.section-head{margin-bottom:64px;max-width:760px}
.section-head h2{font-family:var(--display);font-size:clamp(44px,6vw,84px);line-height:.95;letter-spacing:.005em}
.section-head p{margin-top:24px;color:var(--ink-2);font-size:17px;max-width:560px;line-height:1.65}

.section.dark{background:#000;border-top:1px solid var(--line)}
.section.surface{background:var(--bg);border-top:1px solid var(--line)}

/* ============ AUDIENCE PATHS ============ */
.paths-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line)}
.path{
  padding:48px 36px;
  border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  position:relative;transition:background .25s ease;cursor:pointer;
  display:flex;flex-direction:column;
}
.path:last-child{border-right:0}
.path:hover{background:var(--surface)}
.path .num{font-family:var(--mono);font-size:11px;color:var(--ink-3);letter-spacing:.22em;margin-bottom:36px}
.path .icon{
  width:56px;height:56px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line-2);margin-bottom:32px;transition:all .25s ease;
}
.path:hover .icon{border-color:var(--red);background:rgba(255,46,31,.05)}
.path .icon svg{width:24px;height:24px;stroke:var(--ink);fill:none;stroke-width:1.5;transition:stroke .25s}
.path:hover .icon svg{stroke:var(--red)}
.path h3{font-family:var(--display);font-size:38px;line-height:1;margin-bottom:18px;letter-spacing:.01em}
.path p{color:var(--ink-2);font-size:15px;line-height:1.65;margin-bottom:28px}
.path ul{list-style:none;margin-bottom:32px;flex:1}
.path ul li{
  font-size:13px;color:var(--ink-2);
  padding:10px 0;border-top:1px dashed var(--line);
  display:flex;align-items:center;gap:10px;
}
.path ul li::before{content:'';width:5px;height:5px;background:var(--red);flex-shrink:0}
.path .more{
  font-family:var(--mono);font-size:11px;letter-spacing:.22em;color:var(--ink);
  display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;
}
.path .more::after{content:'→';transition:transform .2s}
.path:hover .more::after{transform:translateX(4px);color:var(--red)}

/* ============ SPECS ============ */
.specs-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.specs-visual{
  aspect-ratio:1/1;
  background:var(--surface);border:1px solid var(--line);
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.specs-visual::before{
  content:'';position:absolute;inset:0;
  background:
    radial-gradient(circle at 50% 50%,rgba(255,46,31,.14),transparent 60%),
    repeating-linear-gradient(45deg,transparent 0,transparent 12px,rgba(255,255,255,.02) 12px,rgba(255,255,255,.02) 13px);
}
.specs-visual .corner{position:absolute;width:24px;height:24px;z-index:3}
.specs-visual .corner.tl{top:16px;left:16px;border-top:1px solid var(--red);border-left:1px solid var(--red)}
.specs-visual .corner.tr{top:16px;right:16px;border-top:1px solid var(--red);border-right:1px solid var(--red)}
.specs-visual .corner.bl{bottom:16px;left:16px;border-bottom:1px solid var(--red);border-left:1px solid var(--red)}
.specs-visual .corner.br{bottom:16px;right:16px;border-bottom:1px solid var(--red);border-right:1px solid var(--red)}
.specs-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
}
.specs-tag{
  position:absolute;
  bottom:24px;left:50%;transform:translateX(-50%);
  font-family:var(--mono);font-size:10px;letter-spacing:.22em;
  color:#fff;background:rgba(0,0,0,.55);
  padding:6px 12px;backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  z-index:2;
}
/* Sound toggle button — overlays the experience video, top-right corner */
.sound-toggle{
  position:absolute;
  top:14px;right:14px;
  width:36px;height:36px;
  background:rgba(0,0,0,.6);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  z-index:4;
  padding:0;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  transition:background .15s ease, border-color .15s ease, transform .15s ease;
}
.sound-toggle:hover{
  background:rgba(0,0,0,.85);
  border-color:var(--red);
  transform:scale(1.05);
}
.sound-toggle:focus-visible{
  outline:2px solid var(--red);
  outline-offset:2px;
}
.sound-toggle svg{width:18px;height:18px;display:block}
/* Default state = muted (X-speaker icon visible, waves icon hidden) */
.sound-toggle .icon-unmuted{display:none}
/* Unmuted state = waves icon visible in red */
.sound-toggle.is-unmuted .icon-muted{display:none}
.sound-toggle.is-unmuted .icon-unmuted{display:block;color:var(--red)}
.specs-list dl{display:grid;grid-template-columns:160px 1fr;gap:0;border-top:1px solid var(--line)}
.specs-list dt,.specs-list dd{padding:18px 0;border-bottom:1px solid var(--line)}
.specs-list dt{font-family:var(--mono);font-size:11px;letter-spacing:.18em;color:var(--ink-3);text-transform:uppercase;align-self:center}
.specs-list dd{font-family:var(--display);font-size:22px;letter-spacing:.02em}

/* ============ PRICING ============ */
.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.pricing-grid.three{grid-template-columns:repeat(3,1fr)}
.price-card{
  background:var(--bg);padding:36px 28px;
  transition:background .25s;position:relative;
  display:flex;flex-direction:column;
}
.price-card:hover{background:var(--surface)}
.price-card.featured{background:var(--surface-2)}
.price-card.featured::before{
  content:'MOST POPULAR';position:absolute;top:0;right:0;
  background:var(--red);color:#fff;
  font-family:var(--mono);font-size:9px;letter-spacing:.2em;padding:6px 12px;
}
.price-card .label{font-family:var(--mono);font-size:11px;letter-spacing:.22em;color:var(--ink-3);text-transform:uppercase;margin-bottom:24px}
.price-card .amount{font-family:var(--display);font-size:64px;line-height:1;letter-spacing:.005em}
.price-card .amount small{font-family:var(--mono);font-size:13px;color:var(--ink-3);letter-spacing:.06em;margin-left:4px}
.price-card .desc{margin-top:12px;font-size:13px;color:var(--ink-2);min-height:48px}
.price-card ul{list-style:none;margin-top:20px;flex:1}
.price-card ul li{font-size:13px;color:var(--ink-2);padding:8px 0;border-top:1px dashed var(--line);display:flex;gap:8px}
.price-card ul li::before{content:'+';color:var(--red);font-weight:600;flex-shrink:0}
.price-card .cta{
  margin-top:24px;display:block;text-align:center;padding:12px;
  border:1px solid var(--line-2);
  font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  transition:all .15s;
}
.price-card .cta:hover{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.price-card.featured .cta{background:var(--red);border-color:var(--red);color:#fff}
.price-card.featured .cta:hover{background:#fff;border-color:#fff;color:var(--bg)}

/* When an Acuity session card has been selected (its iframe is loaded below),
   give it a clear red outline so visitors know which session the embed is filtered to. */
/* Waiver reminder callout — sits above the Acuity booking embed.
   Designed to feel helpful, not heavy-handed. Red bar on the left,
   no big shadows or alerts — just a clean inline notice. */
.waiver-notice{
  display:flex;align-items:center;gap:24px;
  padding:24px 28px;
  background:var(--surface);
  border:1px solid var(--line);
  border-left:3px solid var(--red);
  margin-bottom:32px;
  flex-wrap:wrap;
}
.waiver-notice-text{flex:1;min-width:280px;font-size:14px;color:var(--ink-2);line-height:1.6}
.waiver-notice-text strong{color:var(--ink);display:block;margin:6px 0;font-size:16px;font-weight:600}
.waiver-notice-eyebrow{
  display:block;
  font-family:var(--mono);font-size:10px;letter-spacing:.22em;
  color:var(--red);text-transform:uppercase;
}
.waiver-notice-cta{
  flex-shrink:0;
  background:transparent;border:1px solid var(--ink);color:var(--ink);
  font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  padding:14px 22px;
  display:inline-flex;align-items:center;gap:10px;
  transition:all .15s;
}
.waiver-notice-cta:hover{background:var(--ink);color:var(--bg)}
.waiver-notice-cta .arrow{transition:transform .15s}
.waiver-notice-cta:hover .arrow{transform:translateX(3px)}

/* Embedded Smartwaiver iframe — sits where the launcher panel used to be.
   Border + dark wrapper makes the white iframe content visually framed
   to match the rest of the dark site theme. */
.waiver-embed-frame{
  background:#fff;
  border:1px solid var(--line);
  border-left:3px solid var(--red);
  overflow:hidden;
}
.waiver-embed-frame iframe{
  display:block;
  width:100%;
  background:#fff;
  border:0;
  /* Height handled per-breakpoint below */
}
@media (max-width:760px){
  .waiver-embed-frame iframe{height:1100px}
}
@media (max-width:480px){
  .waiver-embed-frame iframe{height:1300px}
}

/* Fallback link below iframe — if the embed loads correctly this is
   just a courtesy "open in new tab" option; if iframe is blocked by
   X-Frame-Options it becomes the primary path forward. */
.waiver-embed-fallback{
  margin-top:18px !important;
  font-family:var(--mono);font-size:12px;letter-spacing:.12em;
  color:var(--ink-3);text-transform:uppercase;
  text-align:center;
}
.waiver-embed-fallback a{
  color:var(--red);text-decoration:none;
  display:inline-flex;align-items:center;gap:8px;
  margin-left:6px;
}
.waiver-embed-fallback a:hover{text-decoration:underline}
.waiver-embed-fallback .arrow{transition:transform .15s}
.waiver-embed-fallback a:hover .arrow{transform:translateX(3px)}

/* Sign Digital Waiver button — used on book.html callout (waiver.html
   uses the iframe instead now). */
.btn-waiver{
  display:inline-flex;align-items:center;gap:14px;
  background:var(--red);color:#fff;
  border:1px solid var(--red);
  font-family:var(--display);
  font-size:22px;letter-spacing:.04em;
  padding:18px 36px;
  text-decoration:none;
  position:relative;
  transition:background .15s,color .15s,box-shadow .15s,transform .15s;
  box-shadow:0 0 0 0 rgba(255,46,31,.4);
}
.btn-waiver:hover{
  background:#fff;color:var(--bg);border-color:#fff;
  box-shadow:0 0 0 6px rgba(255,46,31,.15);
}
.btn-waiver .arrow{transition:transform .15s}
.btn-waiver:hover .arrow{transform:translateX(4px)}

/* Waiver status check widget — sits below the Sign button.
   Lighter visual treatment than the launcher panel above it (it's a
   secondary path: only useful for returning visitors). */
.waiver-check{
  margin-top:24px;
  background:transparent;
  border:1px solid var(--line);
  padding:36px 36px 32px;
}
.waiver-check-inner{max-width:560px;margin:0 auto;text-align:center}
.waiver-check-mark{
  font-family:var(--mono);font-size:11px;letter-spacing:.22em;
  color:var(--ink-3);text-transform:uppercase;
  margin-bottom:14px;
}
.waiver-check h3{
  font-family:var(--display);font-size:30px;line-height:1.1;
  color:var(--ink);margin-bottom:10px;letter-spacing:.01em;
}
.waiver-check p{
  color:var(--ink-2);font-size:14px;line-height:1.6;margin-bottom:20px;
}
.waiver-check-form{
  display:flex;gap:0;
  border:1px solid var(--line-2);
  background:var(--bg);
}
.waiver-check-form input[type="email"]{
  flex:1;
  background:transparent;border:0;
  color:var(--ink);font-family:var(--body);font-size:15px;
  padding:14px 18px;outline:none;
  min-width:0; /* allow flex shrink */
}
.waiver-check-form input[type="email"]::placeholder{color:var(--ink-3)}
.waiver-check-form input[type="email"]:disabled{opacity:.5}
.btn-check{
  background:var(--ink);color:var(--bg);
  border:0;
  font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  padding:14px 24px;cursor:pointer;
  display:inline-flex;align-items:center;gap:10px;
  transition:background .15s,color .15s;
  flex-shrink:0;
}
.btn-check:hover:not(:disabled){background:var(--red);color:#fff}
.btn-check:disabled{opacity:.6;cursor:wait}
.btn-check-arrow{transition:transform .15s}
.btn-check:hover:not(:disabled) .btn-check-arrow{transform:translateX(3px)}

.waiver-check-result{
  margin-top:18px;
  padding:18px 22px;
  border:1px solid var(--line);
  display:flex;align-items:flex-start;gap:14px;
  text-align:left;
  font-size:14px;line-height:1.6;color:var(--ink-2);
}
.waiver-check-result strong{color:var(--ink)}
.waiver-check-result em{color:var(--ink-2);font-style:italic}
.waiver-check-icon{
  flex-shrink:0;
  width:28px;height:28px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:18px;
}
.waiver-check-result.found{
  background:rgba(16,183,106,.06);
  border-color:rgba(16,183,106,.4);
}
.waiver-check-result.found .waiver-check-icon{
  background:var(--green);color:#0a0a0a;
}
.waiver-check-result.not-found{
  background:rgba(245,184,0,.06);
  border-color:rgba(245,184,0,.4);
}
.waiver-check-result.not-found .waiver-check-icon{
  background:var(--amber);color:#0a0a0a;
}
.waiver-check-result.error{
  background:rgba(255,46,31,.06);
  border-color:rgba(255,46,31,.4);
}
.waiver-check-result.error .waiver-check-icon{
  background:var(--red);color:#fff;
}

@media (max-width:520px){
  .waiver-check{padding:28px 22px}
  .waiver-check h3{font-size:24px}
  .waiver-check-form{flex-direction:column}
  .waiver-check-form input[type="email"]{padding:14px 16px;border-bottom:1px solid var(--line-2)}
}

.price-card.acuity-selected{
  outline:2px solid var(--red);
  outline-offset:-2px;
  background:var(--surface-2);
}
.price-card.acuity-selected .cta{
  background:var(--red);border-color:var(--red);color:#fff;
}
.price-card.acuity-selected .cta::after{
  content:' · LOADED';font-size:10px;opacity:.85;margin-left:4px;
}

/* ============ STATS / PROOF ============ */
.proof-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);margin-bottom:80px;border:1px solid var(--line)}
.stat{background:#000;padding:36px 28px;text-align:left}
.stat .num{font-family:var(--display);font-size:72px;line-height:.9;color:var(--ink);letter-spacing:.005em}
.stat .num .red{color:var(--red)}
.stat .lbl{font-family:var(--mono);font-size:11px;letter-spacing:.22em;color:var(--ink-3);text-transform:uppercase;margin-top:10px}
.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.testimonial{border:1px solid var(--line);padding:32px;background:var(--bg);position:relative}
.testimonial .stars{color:var(--amber);font-size:14px;letter-spacing:2px;margin-bottom:18px}
.testimonial blockquote{font-size:15px;line-height:1.6;color:var(--ink);margin-bottom:24px}
.testimonial blockquote::before{content:'"';font-family:var(--display);font-size:48px;color:var(--red);line-height:0;display:block;margin-bottom:12px}
.testimonial cite{font-style:normal;font-family:var(--mono);font-size:11px;letter-spacing:.18em;color:var(--ink-3);text-transform:uppercase}

/* ============ CTA STRIP ============ */
.cta-strip{
  padding:120px 0;
  background:linear-gradient(180deg,#000,#1a0805);
  border-top:1px solid var(--line);
  position:relative;overflow:hidden;text-align:center;
}
.cta-strip::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at center,rgba(255,46,31,.18),transparent 65%)}
.cta-strip .inner{position:relative;z-index:2}
.cta-strip h2{font-family:var(--display);font-size:clamp(56px,9vw,124px);line-height:.9;letter-spacing:.005em;margin-bottom:32px}
.cta-strip h2 .red{color:var(--red)}
.cta-strip p{color:var(--ink-2);max-width:520px;margin:0 auto 40px;font-size:17px}

/* ============ EDITORIAL / PROSE ============ */
.prose{max-width:680px;margin:0 auto;font-size:17px;line-height:1.75;color:var(--ink-2)}
.prose p{margin-bottom:1.4em}
.prose h2{font-family:var(--display);font-size:48px;line-height:1;color:var(--ink);margin:2em 0 .8em}
.prose h3{font-family:var(--display);font-size:32px;line-height:1.05;color:var(--ink);margin:1.6em 0 .6em}
.prose strong{color:var(--ink);font-weight:600}

.split{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}

/* ============ FORMS ============ */
.form{display:grid;gap:20px;max-width:680px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.form label{display:block;font-family:var(--mono);font-size:11px;letter-spacing:.2em;color:var(--ink-3);text-transform:uppercase;margin-bottom:8px}
.form input,.form select,.form textarea{
  width:100%;background:var(--surface);border:1px solid var(--line);
  color:var(--ink);font-family:var(--body);font-size:15px;
  padding:14px 16px;outline:none;transition:border-color .15s;
}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--red)}
.form textarea{min-height:140px;resize:vertical}

/* ============ PACKAGE ROWS (corporate) ============ */
.pkg-list{display:grid;grid-template-columns:1fr;gap:1px;background:var(--line);border:1px solid var(--line)}
.pkg{
  background:var(--bg);padding:48px 40px;
  display:grid;grid-template-columns:1fr 2fr 180px;gap:48px;align-items:center;
  transition:background .2s;
}
.pkg:hover{background:var(--surface)}
.pkg .name h3{font-family:var(--display);font-size:42px;line-height:.95;margin-bottom:8px}
.pkg .name .meta{font-family:var(--mono);font-size:11px;color:var(--red);letter-spacing:.2em;text-transform:uppercase}
.pkg .body p{color:var(--ink-2);margin-bottom:18px;font-size:15px;line-height:1.65}
.pkg .body ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:6px 24px}
.pkg .body li{font-size:13px;color:var(--ink-2);display:flex;align-items:center;gap:8px}
.pkg .body li::before{content:'';width:5px;height:5px;background:var(--red);flex-shrink:0}
.pkg .price{text-align:right}
.pkg .price .num{font-family:var(--display);font-size:48px;line-height:1;letter-spacing:.005em}
.pkg .price .num small{font-family:var(--mono);font-size:11px;color:var(--ink-3);letter-spacing:.1em;display:block;margin-top:4px}

/* ============ FAQ ============ */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line);padding:28px 0}
.faq summary{
  display:flex;justify-content:space-between;align-items:center;
  cursor:pointer;list-style:none;
  font-family:var(--display);font-size:24px;letter-spacing:.01em;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';color:var(--red);font-size:32px;transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{margin-top:18px;color:var(--ink-2);line-height:1.7;max-width:760px}

/* ============ MAP / CONTACT ============ */
.map-block{
  aspect-ratio:16/9;
  background:var(--surface);border:1px solid var(--line);
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.map-block iframe{width:100%;height:100%;border:0;filter:grayscale(.6) invert(.92) hue-rotate(180deg)}

/* ============ FOOTER ============ */
footer{background:#000;border-top:1px solid var(--line);padding:80px 0 40px}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px;margin-bottom:60px}
.foot-col h4{font-family:var(--mono);font-size:11px;letter-spacing:.22em;color:var(--ink-3);text-transform:uppercase;margin-bottom:20px;font-weight:500}
.foot-col ul{list-style:none}
.foot-col li{margin-bottom:10px;font-size:14px;color:var(--ink-2)}
.foot-col li a:hover{color:var(--red)}
.foot-col p{font-size:14px;color:var(--ink-2);line-height:1.7}
.foot-bottom{border-top:1px solid var(--line);padding-top:28px;display:flex;justify-content:space-between;align-items:center;font-family:var(--mono);font-size:11px;letter-spacing:.18em;color:var(--ink-3);text-transform:uppercase;flex-wrap:wrap;gap:16px}
.foot-bottom .socials{display:flex;gap:16px}
.foot-bottom .socials a:hover{color:var(--red)}

/* ============ RESPONSIVE ============ */
@media (max-width:980px){
  .specs-grid,.split{grid-template-columns:1fr;gap:48px}
  .hero-grid{gap:48px}
  .hero-video{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
  .paths-grid{grid-template-columns:1fr}
  .path{border-right:0}
  .pricing-grid,.pricing-grid.three,.proof-stats{grid-template-columns:repeat(2,1fr)}
  .testimonials,.foot-grid{grid-template-columns:1fr}
  .nav-links{display:none}
  .pkg{grid-template-columns:1fr;gap:24px;padding:36px 28px}
  .pkg .price{text-align:left}
  .pkg .body ul{grid-template-columns:1fr}
  .form .row{grid-template-columns:1fr}
}
@media (max-width:600px){
  .pricing-grid,.pricing-grid.three,.proof-stats{grid-template-columns:1fr}
  .topbar-left span:nth-child(2){display:none}
  .topbar-right a:nth-child(2){display:none}
  .container,.container-sm{padding:0 20px}
}

/* ============ HOLIDAY BANNER ============
   Hidden by default via the `hidden` HTML attribute.
   site.js reveals it when HOLIDAY_BANNER_ENABLED is set to true.
   Closing it via the × stores dismissal in sessionStorage so it stays
   hidden during the visitor's current browsing session. */
.holiday-banner{
  background:var(--red);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:11px 56px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  position:relative;
  line-height:1.3;
}
.holiday-banner[hidden]{ display:none; }
.holiday-banner-link{
  color:#fff;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:14px;
}
.holiday-banner-link:hover{ text-decoration:underline; }
.holiday-banner-icon{ font-size:14px; }
.holiday-banner-arrow{
  font-family:var(--display);
  font-size:18px;
  letter-spacing:0;
  margin-left:2px;
}
.holiday-banner-close{
  position:absolute;
  right:14px; top:50%;
  transform:translateY(-50%);
  background:transparent;
  border:1px solid rgba(255,255,255,.45);
  color:#fff;
  width:26px; height:26px;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  transition:background .15s, border-color .15s;
}
.holiday-banner-close:hover{
  background:rgba(255,255,255,.15);
  border-color:#fff;
}
@media (max-width:640px){
  .holiday-banner{
    padding:10px 48px;
    font-size:10.5px;
    letter-spacing:.14em;
  }
  .holiday-banner-link{ gap:10px; }
  .holiday-banner-arrow{ font-size:15px; }
}

/* ============ LEAGUE BANNER ============
   Same visual treatment as holiday banner.
   Toggle via LEAGUE_BANNER_ENABLED in site.js. */
.league-banner{
  background:var(--red);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:11px 56px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  position:relative;
  line-height:1.3;
}
.league-banner[hidden]{ display:none; }
.league-banner-link{
  color:#fff;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:14px;
}
.league-banner-link:hover{ text-decoration:underline; }
.league-banner-icon{ font-size:14px; }
.league-banner-arrow{
  font-family:var(--display);
  font-size:18px;
  letter-spacing:0;
  margin-left:2px;
}
.league-banner-close{
  position:absolute;
  right:14px; top:50%;
  transform:translateY(-50%);
  background:transparent;
  border:1px solid rgba(255,255,255,.45);
  color:#fff;
  width:26px; height:26px;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  transition:background .15s, border-color .15s;
}
.league-banner-close:hover{
  background:rgba(255,255,255,.15);
  border-color:#fff;
}
@media (max-width:640px){
  .league-banner{ padding:10px 48px; font-size:10.5px; letter-spacing:.14em; }
  .league-banner-link{ gap:10px; }
  .league-banner-arrow{ font-size:15px; }
}

/* ============ LEAGUE PAGE ============ */
.league-hero{
  background:var(--bg);
  padding:96px 0 80px;
  border-bottom:1px solid var(--line);
  position:relative;
  overflow:hidden;
}
.league-hero::before{
  /* checkered race-line accent */
  content:'';
  position:absolute;
  left:0; right:0; top:0;
  height:4px;
  background:
    linear-gradient(90deg, var(--red) 0%, var(--red) 50%, transparent 50%, transparent 100%) 0 0 / 40px 4px repeat-x;
  opacity:.7;
}
.league-hero-eyebrow{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:22px;
}
.league-hero-title{
  font-family:var(--display);
  font-size:clamp(72px, 14vw, 168px);
  line-height:.9;
  letter-spacing:.005em;
  color:var(--ink);
  margin:0 0 26px 0;
  text-transform:uppercase;
}
.league-hero-logo-h1{
  margin:0 0 28px 0;
  padding:0;
  line-height:0;
}
.league-hero-logo{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:clamp(240px, 38vw, 440px);
}
.league-hero-centered{
  text-align:center;
}
.league-hero-centered .league-hero-logo-h1{
  display:flex;
  justify-content:center;
}
.league-hero-centered .league-hero-subline{
  justify-content:center;
}
.league-hero-centered .league-hero-lede{
  margin-left:auto;
  margin-right:auto;
}
.league-hero-centered .league-hero-ctas{
  justify-content:center;
}
.league-hero-subline{
  font-family:var(--mono);
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink-muted);
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  margin-bottom:28px;
}
.league-hero-loc{ color:var(--ink); }
.league-hero-sep{ color:var(--red); }
.league-hero-lede{
  font-size:18px;
  line-height:1.55;
  color:var(--ink-muted);
  max-width:680px;
  margin:0 0 38px 0;
}
.league-hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

/* shared section styling */
.league-section{
  padding:80px 0;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.league-section-alt{
  background:var(--surface);
}
.league-h2{
  font-family:var(--display);
  font-size:clamp(42px, 7vw, 76px);
  line-height:.95;
  letter-spacing:.005em;
  text-transform:uppercase;
  color:var(--ink);
  margin:18px 0 26px 0;
}
.league-h2 .red{ color:var(--red); }
.league-section-lede{
  font-size:16px;
  line-height:1.6;
  color:var(--ink-muted);
  max-width:680px;
  margin:0 0 36px 0;
}

/* pitch grid */
.league-pitch-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:48px;
  align-items:start;
}
.league-pitch-body p{
  font-size:15px;
  line-height:1.7;
  color:var(--ink-muted);
  margin-bottom:18px;
}
.league-pitch-body p:last-child{ margin-bottom:0; }
.league-pitch-emphasis{
  color:var(--ink) !important;
  font-weight:500;
  border-left:2px solid var(--red);
  padding-left:18px;
  margin-top:24px !important;
}
.league-pitch-aside{
  background:var(--bg);
  border:1px solid var(--line);
  padding:28px 28px 8px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 22px;
}
.league-pitch-stat{
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.league-pitch-stat:nth-last-child(-n+2){ border-bottom:none; }
.league-pitch-stat-num{
  font-family:var(--display);
  font-size:42px;
  line-height:1;
  color:var(--ink);
  letter-spacing:.005em;
  text-transform:uppercase;
}
.league-pitch-stat-num .red{ color:var(--red); }
.league-pitch-stat-label{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  color:var(--ink-muted);
  text-transform:uppercase;
  margin-top:8px;
}

/* spec grid */
.league-specs{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.league-spec{
  padding:24px 22px;
  border-bottom:1px solid var(--line);
  border-right:1px solid var(--line);
  background:var(--bg);
}
.league-spec-v{
  font-family:var(--display);
  font-size:30px;
  line-height:1.05;
  color:var(--ink);
  letter-spacing:.005em;
  text-transform:uppercase;
}
.league-spec-v .red{ color:var(--red); }
.league-spec-l{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.14em;
  color:var(--ink-muted);
  text-transform:uppercase;
  margin-top:8px;
}

/* steps */
.league-steps{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}
.league-step{
  background:var(--surface);
  border:1px solid var(--line);
  padding:24px 22px;
  position:relative;
}
.league-step::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:36px; height:2px;
  background:var(--red);
}
.league-step-num{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.16em;
  color:var(--red);
  margin-bottom:14px;
}
.league-step-h{
  font-family:var(--display);
  font-size:22px;
  letter-spacing:.005em;
  text-transform:uppercase;
  color:var(--ink);
  line-height:1.05;
  margin-bottom:10px;
}
.league-step-b{
  font-size:14px;
  line-height:1.55;
  color:var(--ink-muted);
}

/* eligibility */
.league-elig-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  margin-bottom:28px;
}
.league-elig{
  background:var(--bg);
  border:1px solid var(--line);
  padding:28px 26px;
  border-top:3px solid var(--red);
}
.league-elig-v{
  font-family:var(--display);
  font-size:56px;
  line-height:1;
  color:var(--ink);
  letter-spacing:.005em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.league-elig-l{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  color:var(--ink-muted);
  text-transform:uppercase;
  margin-bottom:14px;
}
.league-elig-d{
  font-size:13px;
  line-height:1.6;
  color:var(--ink-muted);
}
.league-elig-note{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.08em;
  color:var(--ink-dim);
  line-height:1.6;
  padding-top:24px;
  border-top:1px solid var(--line);
}

/* xtremescoring widgets */
.league-xs-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:20px;
  margin-top:28px;
}
.league-xs-card{
  background:var(--bg);
  border:1px solid var(--line);
  border-top:3px solid var(--red);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.league-xs-card-head{
  padding:20px 24px;
  border-bottom:1px solid var(--line);
}
.league-xs-card-tag{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  color:var(--ink-2);
  text-transform:uppercase;
  margin-bottom:6px;
}
.league-xs-card-title{
  font-family:var(--display);
  font-size:30px;
  line-height:1;
  color:var(--ink);
  letter-spacing:.01em;
  text-transform:uppercase;
}
.league-xs-iframe{
  width:100%;
  border:0;
  display:block;
  min-height:560px;
  background:#fff;
}
.league-xs-placeholder{
  flex:1;
  min-height:560px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:48px 28px;
}
.league-xs-placeholder-inner{ max-width:340px; }
.league-xs-placeholder-h{
  font-family:var(--display);
  font-size:44px;
  line-height:.95;
  color:var(--ink);
  margin-bottom:12px;
  text-transform:uppercase;
}
.league-xs-placeholder-b{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.14em;
  color:var(--red);
  text-transform:uppercase;
  margin-bottom:18px;
}
.league-xs-placeholder-d{
  font-size:14px;
  line-height:1.6;
  color:var(--ink-2);
}

/* powered-by attribution */
.powered-by{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.powered-by-label{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--ink-3);
}
.powered-by-iracing{
  display:block;
  width:200px;
  height:auto;
  max-width:90%;
}
.powered-by-iracing.lg{ width:260px; }
.powered-by-iracing.sm{ width:140px; }
.powered-by-strip{
  padding:42px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--bg);
}
.foot-credits{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:24px 0;
  margin-bottom:24px;
  border-top:1px solid var(--line);
}

/* form */
.league-form{
  max-width:780px;
  background:var(--surface);
  border:1px solid var(--line);
  padding:36px;
  margin-top:24px;
}
.league-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:18px;
}
.league-form-field{
  display:flex;
  flex-direction:column;
}
.league-form-field-full{
  margin-bottom:24px;
}
.league-form-field label{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-muted);
  margin-bottom:8px;
}
.league-form-field input[type="text"],
.league-form-field input[type="email"],
.league-form-field input[type="number"],
.league-form-field select{
  background:var(--bg);
  border:1px solid var(--line);
  color:var(--ink);
  padding:12px 14px;
  font-family:var(--body);
  font-size:14px;
  border-radius:0;
  outline:none;
  transition:border-color .15s;
}
.league-form-field input:focus,
.league-form-field select:focus{
  border-color:var(--red);
}
.league-form-check,
.league-form-field label.league-form-check{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-family:var(--body);
  font-size:13px;
  font-weight:400;
  line-height:1.55;
  color:var(--ink-muted);
  text-transform:none;
  letter-spacing:0;
  cursor:pointer;
  margin-bottom:0;
}
.league-form-check input[type="checkbox"]{
  margin-top:3px;
  accent-color:var(--red);
  flex-shrink:0;
}
.league-form-submit{
  display:inline-block;
  margin-top:8px;
}
.league-form-note{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.08em;
  color:var(--ink-dim);
  line-height:1.6;
  margin-top:24px;
}

/* closing */
.league-closing{
  background:var(--bg);
  padding:96px 0;
  text-align:center;
  border-bottom:1px solid var(--line);
}
.league-closing-tag{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.22em;
  color:var(--red);
  text-transform:uppercase;
  margin-bottom:22px;
}
.league-closing-h{
  font-family:var(--display);
  font-size:clamp(40px, 6vw, 64px);
  line-height:1.05;
  letter-spacing:.005em;
  text-transform:uppercase;
  color:var(--ink);
  margin:0 0 36px 0;
}
.league-closing-h .red{ color:var(--red); }

/* responsive */
@media (max-width:880px){
  .league-pitch-grid{ grid-template-columns:1fr; gap:32px; }
  .league-specs{ grid-template-columns:repeat(2, 1fr); }
  .league-steps{ grid-template-columns:1fr 1fr; }
  .league-elig-grid{ grid-template-columns:1fr; }
  .league-form-row{ grid-template-columns:1fr; }
  .league-xs-grid{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  .league-hero{ padding:64px 0 52px; }
  .league-section{ padding:56px 0; }
  .league-steps{ grid-template-columns:1fr; }
  .league-pitch-aside{ grid-template-columns:1fr; }
  .league-pitch-stat:nth-last-child(-n+2){ border-bottom:1px solid var(--line); }
  .league-pitch-stat:last-child{ border-bottom:none; }
  .league-form{ padding:24px 22px; }
}

/* ============ LEAGUE — NEW ELEMENTS (schedule, pricing, form fieldsets, CoC) ============ */

/* Season schedule */
.league-schedule{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin-top:8px;
}
.league-race{
  background:var(--bg);
  border:1px solid var(--line);
  padding:22px 22px 20px;
  position:relative;
  transition:border-color .15s, transform .15s;
}
.league-race::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:36px; height:2px;
  background:var(--red);
}
.league-race:hover{
  border-color:var(--line-2);
  transform:translateY(-2px);
}
.league-race-num{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.18em;
  color:var(--red);
  text-transform:uppercase;
  margin-bottom:14px;
}
.league-race-track{
  font-family:var(--display);
  font-size:22px;
  letter-spacing:.005em;
  text-transform:uppercase;
  color:var(--ink);
  line-height:1.05;
  margin-bottom:10px;
}
.league-race-meta{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.1em;
  color:var(--ink-muted);
  text-transform:uppercase;
}

/* Prize pool block */
.league-prize-pool{
  margin-top:48px;
  padding-top:32px;
  border-top:1px solid var(--line);
}
.league-prize-eyebrow{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.18em;
  color:var(--ink-muted);
  text-transform:uppercase;
  margin-bottom:20px;
}
.league-prize-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:12px;
}
.league-prize{
  background:var(--bg);
  border:1px solid var(--line);
  padding:18px 20px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.league-prize .pl{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.15em;
  color:var(--red);
  text-transform:uppercase;
}
.league-prize .pa{
  font-family:var(--display);
  font-size:28px;
  line-height:1;
  color:var(--ink);
  letter-spacing:.005em;
  text-transform:uppercase;
}

/* Pricing cards */
.league-pricing-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:12px;
}
.league-price-card{
  background:var(--surface);
  border:1px solid var(--line);
  padding:28px 26px;
  display:flex;
  flex-direction:column;
  position:relative;
}
.league-price-card::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:36px; height:2px;
  background:var(--red);
}
.league-price-featured{
  border-top:3px solid var(--red);
  border-color:var(--line-2);
}
.league-price-featured::before{ display:none; }
.league-price-tag{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.18em;
  color:var(--red);
  text-transform:uppercase;
  margin-bottom:14px;
}
.league-price-name{
  font-family:var(--display);
  font-size:30px;
  line-height:1;
  color:var(--ink);
  letter-spacing:.005em;
  text-transform:uppercase;
  margin-bottom:18px;
}
.league-price-amount{
  font-family:var(--display);
  font-size:64px;
  line-height:1;
  color:var(--red);
  letter-spacing:.005em;
  margin-bottom:4px;
}
.league-price-sub{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.12em;
  color:var(--ink-muted);
  text-transform:uppercase;
  margin-bottom:22px;
}
.league-price-list{
  list-style:none;
  padding:0;
  margin:0 0 18px 0;
  flex:1;
}
.league-price-list li{
  font-size:13.5px;
  line-height:1.55;
  color:var(--ink-muted);
  padding:8px 0;
  padding-left:18px;
  position:relative;
  border-bottom:1px solid var(--line);
}
.league-price-list li:last-child{ border-bottom:none; }
.league-price-list li::before{
  content:'→';
  position:absolute;
  left:0; top:8px;
  color:var(--red);
  font-family:var(--mono);
  font-size:13px;
  font-weight:600;
}
.league-price-list li strong{ color:var(--ink); font-weight:500; }
.league-price-note{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.08em;
  color:var(--ink-dim);
  line-height:1.6;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.league-pricing-note{
  margin-top:32px;
  padding:22px 26px;
  background:var(--bg);
  border-left:3px solid var(--red);
  font-size:13.5px;
  line-height:1.6;
  color:var(--ink-muted);
}
.league-pricing-note strong{ color:var(--ink); font-weight:500; }

/* Conduct callout */
.league-conduct{
  margin-top:36px;
  padding:30px 32px;
  background:var(--bg);
  border:1px solid var(--line);
}
.league-conduct-eyebrow{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.18em;
  color:var(--red);
  text-transform:uppercase;
  margin-bottom:14px;
}
.league-conduct p{
  font-size:14px;
  line-height:1.6;
  color:var(--ink-muted);
  margin-bottom:20px;
  max-width:none;
}

/* Form fieldsets */
.league-form-set{
  border:none;
  padding:0 0 28px 0;
  margin:0 0 24px 0;
  border-bottom:1px solid var(--line);
}
.league-form-set:last-of-type{ border-bottom:none; padding-bottom:0; }
.league-form-set legend{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.18em;
  color:var(--red);
  text-transform:uppercase;
  margin-bottom:20px;
  padding:0;
}
.league-form-help{
  font-size:11.5px;
  color:var(--ink-dim);
  line-height:1.5;
  margin-top:8px;
}
.league-form-help-inline{
  font-family:var(--body);
  font-size:11px;
  letter-spacing:0;
  text-transform:none;
  color:var(--ink-dim);
  font-weight:400;
}
.league-form-counter{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.1em;
  color:var(--ink-dim);
  text-transform:uppercase;
  margin-top:8px;
  text-align:right;
}
.league-form-field textarea{
  background:var(--bg);
  border:1px solid var(--line);
  color:var(--ink);
  padding:12px 14px;
  font-family:var(--body);
  font-size:14px;
  line-height:1.55;
  border-radius:0;
  outline:none;
  transition:border-color .15s;
  resize:vertical;
  min-height:120px;
}
.league-form-field textarea:focus{ border-color:var(--red); }
.league-form-field input[type="file"]{
  background:var(--bg);
  border:1px solid var(--line);
  color:var(--ink);
  padding:10px 12px;
  font-family:var(--body);
  font-size:13px;
  border-radius:0;
  outline:none;
  cursor:pointer;
}
.league-form-field input[type="file"]::-webkit-file-upload-button{
  background:var(--surface);
  border:1px solid var(--line-2);
  color:var(--ink);
  padding:6px 14px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-right:14px;
  cursor:pointer;
}

/* Radio card group (location selector) */
.league-form-radiogroup{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:18px;
}
.league-radio{
  cursor:pointer;
  display:block;
}
.league-radio input[type="radio"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.league-radio-card{
  background:var(--bg);
  border:1px solid var(--line);
  padding:18px 20px;
  transition:border-color .15s, background .15s;
}
.league-radio input[type="radio"]:checked + .league-radio-card{
  border-color:var(--red);
  background:rgba(255,46,31,.05);
}
.league-radio-h{
  font-family:var(--display);
  font-size:18px;
  letter-spacing:.005em;
  text-transform:uppercase;
  color:var(--ink);
  margin-bottom:8px;
  line-height:1.1;
}
.league-radio-b{
  font-size:12.5px;
  line-height:1.5;
  color:var(--ink-muted);
}

/* Inline radio group (member yes/no) */
.league-form-radiogroup-inline{
  display:flex;
  gap:22px;
  margin-top:4px;
}
.league-radio-inline{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--body);
  font-size:14px;
  color:var(--ink);
  text-transform:none;
  letter-spacing:0;
  cursor:pointer;
}
.league-radio-inline input[type="radio"]{
  accent-color:var(--red);
  width:16px; height:16px;
}

/* Live price display */
.league-price-display{
  margin-top:20px;
  padding:22px 26px;
  background:var(--bg);
  border:1px solid var(--line-2);
  border-left:3px solid var(--red);
  display:flex;
  flex-direction:column;
  gap:8px;
}
.league-price-display-label{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.18em;
  color:var(--red);
  text-transform:uppercase;
}
.league-price-display-amount{
  font-family:var(--display);
  font-size:44px;
  line-height:1;
  color:var(--ink);
  letter-spacing:.005em;
}
.league-price-display-note{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.08em;
  color:var(--ink-muted);
  line-height:1.5;
}

/* Code of Conduct page styling */
.coc-body{
  max-width:780px;
  margin:0 auto;
}
.coc-h{
  font-family:var(--mono);
  font-size:14px;
  letter-spacing:.14em;
  color:var(--red);
  text-transform:uppercase;
  margin:36px 0 14px 0;
  font-weight:600;
}
.coc-h:first-child{ margin-top:0; }
.coc-body p{
  font-size:15px;
  line-height:1.7;
  color:var(--ink-muted);
  margin-bottom:14px;
}
.coc-body p strong{ color:var(--ink); font-weight:500; }
.coc-list{
  list-style:none;
  padding:0;
  margin:0 0 18px 0;
}
.coc-list li{
  font-size:14.5px;
  line-height:1.6;
  color:var(--ink-muted);
  padding:6px 0 6px 20px;
  position:relative;
}
.coc-list li::before{
  content:'→';
  position:absolute;
  left:0; top:6px;
  color:var(--red);
  font-family:var(--mono);
  font-size:13px;
  font-weight:600;
}
.coc-list li strong{ color:var(--ink); font-weight:500; }
.coc-footer{
  margin-top:48px;
  padding-top:28px;
  border-top:1px solid var(--line);
  font-size:13px;
  color:var(--ink-dim);
  line-height:1.6;
}
.coc-footer em{ color:var(--ink-muted); }

/* Responsive */
@media (max-width:880px){
  .league-schedule{ grid-template-columns:1fr 1fr; }
  .league-prize-grid{ grid-template-columns:repeat(5, 1fr); font-size:smaller; }
  .league-prize .pa{ font-size:22px; }
  .league-prize{ padding:14px 12px; }
  .league-pricing-grid{ grid-template-columns:1fr; }
  .league-form-radiogroup{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  .league-schedule{ grid-template-columns:1fr; }
  .league-prize-grid{ grid-template-columns:1fr 1fr; }
  .league-form-radiogroup-inline{ flex-direction:column; gap:10px; }
}

/* ============ RACE FORMAT CARDS ============ */
.league-format-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:8px;
}
.league-format-card{
  background:var(--surface);
  border:1px solid var(--line);
  padding:32px 30px;
  position:relative;
}
.league-format-card::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:48px; height:2px;
  background:var(--red);
}
.league-format-featured{
  border-top:3px solid var(--red);
}
.league-format-featured::before{ display:none; }
.league-format-tag{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.18em;
  color:var(--red);
  text-transform:uppercase;
  margin-bottom:14px;
}
.league-format-name{
  font-family:var(--display);
  font-size:36px;
  line-height:1;
  color:var(--ink);
  letter-spacing:.005em;
  text-transform:uppercase;
  margin-bottom:24px;
}
.league-format-list{
  list-style:none;
  padding:0;
  margin:0 0 22px 0;
}
.league-format-list li{
  font-size:15px;
  line-height:1.5;
  color:var(--ink);
  padding:10px 0;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:baseline;
  gap:12px;
}
.league-format-list li::before{
  content:'→';
  color:var(--red);
  font-family:var(--mono);
  font-size:13px;
  font-weight:600;
  flex-shrink:0;
}
.league-format-list li strong{
  font-family:var(--display);
  font-size:18px;
  letter-spacing:.005em;
  color:var(--ink);
  min-width:64px;
  display:inline-block;
}
.league-format-list li .muted{
  color:var(--ink-muted);
  font-size:13.5px;
}
.league-format-list li:last-child{ border-bottom:none; }
.league-format-tracks{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.14em;
  color:var(--ink-muted);
  text-transform:uppercase;
  padding-top:14px;
  border-top:1px solid var(--line);
  line-height:1.5;
}

/* ============ PRIZE CARDS (new structure) ============ */
.league-prize-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:12px;
}
.league-prize-card{
  background:var(--bg);
  border:1px solid var(--line);
  padding:32px 28px;
  position:relative;
  display:flex;
  flex-direction:column;
}
.league-prize-card::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:48px; height:2px;
  background:var(--red);
}
.league-prize-card-tag{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.18em;
  color:var(--red);
  text-transform:uppercase;
  margin-bottom:14px;
}
.league-prize-card-name{
  font-family:var(--display);
  font-size:28px;
  line-height:1.02;
  color:var(--ink);
  letter-spacing:.005em;
  text-transform:uppercase;
  margin-bottom:24px;
}
.league-prize-card-amount{
  font-family:var(--display);
  font-size:64px;
  line-height:1;
  color:var(--red);
  letter-spacing:.005em;
}
.league-prize-card-sub{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.12em;
  color:var(--ink-muted);
  text-transform:uppercase;
  margin-bottom:18px;
  margin-top:4px;
}
.league-prize-card-desc{
  font-size:13.5px;
  line-height:1.55;
  color:var(--ink-muted);
  padding-top:14px;
  border-top:1px solid var(--line);
  flex:1;
}

/* ============ TWO-PATH "WHAT HAPPENS NEXT" ============ */
.league-paths{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:8px;
}
.league-path{
  background:var(--bg);
  border:1px solid var(--line);
  padding:28px 26px;
  position:relative;
}
.league-path::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:48px; height:2px;
  background:var(--red);
}
.league-path-tag{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.18em;
  color:var(--red);
  text-transform:uppercase;
  margin-bottom:8px;
}
.league-path-h{
  font-family:var(--display);
  font-size:24px;
  line-height:1;
  color:var(--ink);
  letter-spacing:.005em;
  text-transform:uppercase;
  margin-bottom:22px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}
.league-path .league-steps{
  grid-template-columns:1fr;
  gap:14px;
}
.league-path .league-step{
  padding:14px 18px;
}

/* Responsive */
@media (max-width:880px){
  .league-format-grid{ grid-template-columns:1fr; }
  .league-prize-cards{ grid-template-columns:1fr; }
  .league-paths{ grid-template-columns:1fr; }
}
