/* Impulse FNTSY - site styles
   Layout idea: race-night dark, real app screens on diagonal violet slashes (from the sponsor deck),
   full-bleed race photography between sections, gold/orange reserved for numbers and winners. */

@font-face { font-family: "Revoir Nuvo"; src: url("fonts/RevoirNuvo-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Revoir Nuvo"; src: url("fonts/RevoirNuvo-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --night: #120a1f;
  --night-2: #1c1130;
  --panel: #241638;
  --shield: #542c80;
  --violet: #7b3fe4;
  --violet-hi: #a77bf3;
  --lilac: #b994f7;
  --gold: #fab81f;
  --orange: #f7941d;
  --dust: #ddd3ec;
  --mute: #a99cc0;
  --white: #ffffff;
  --line: rgba(221, 211, 236, 0.14);
  --font: "Revoir Nuvo", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--dust);
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.7;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: var(--lilac); }
a:hover { color: var(--white); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font); font-weight: 700; color: var(--white); line-height: 1.12; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.12rem; line-height: 1.3; }
.hl { display: block; color: var(--lilac); }
p { margin: 0 0 1em; max-width: 60ch; }
.lead { font-size: 1.12rem; color: var(--dust); max-width: 46ch; }
.small { font-size: 0.9rem; color: var(--mute); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(18, 10, 31, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 36px; height: auto; }
.brand span { font-weight: 700; font-size: 1.02rem; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--dust); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--white); border-radius: 8px; padding: 8px 12px; font: 700 0.95rem var(--font); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 10px; font: 700 0.98rem var(--font); text-decoration: none; background: var(--violet); color: var(--white); border: 0; cursor: pointer; }
.btn:hover { background: var(--violet-hi); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.nav .btn { padding: 10px 16px; font-size: 0.92rem; color: var(--white); }
.app-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--white); color: var(--night); text-decoration: none; padding: 10px 20px 10px 16px; border-radius: 12px; line-height: 1.15; }
.app-badge:hover { background: var(--dust); color: var(--night); }
.app-badge svg { width: 26px; height: 26px; flex: none; }
.app-badge small { display: block; font-size: 0.72rem; }
.app-badge strong { display: block; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 80% 20%, #23125a 0%, var(--night) 60%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: 24px; padding-block: clamp(40px, 6vw, 72px) clamp(48px, 6vw, 80px); position: relative; z-index: 1; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { margin-bottom: 1.6em; }
.hero-art { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter))); }
.hero-art img { width: 100%; max-width: 760px; }
.presented { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.presented span { font-size: 0.82rem; color: var(--mute); }
.presented img { width: 190px; }

/* ---------- Stat strip ---------- */
.strip { background: var(--violet); position: relative; z-index: 2; clip-path: polygon(0 18%, 100% 0, 100% 82%, 0 100%); margin-top: -36px; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 52px; }
.stat b { display: block; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; color: var(--gold); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--white); font-size: 0.95rem; line-height: 1.4; display: block; max-width: 22ch; }

/* ---------- Phone stage on a diagonal slash ---------- */
.stage { position: relative; display: grid; place-items: center; min-height: 420px; }
.stage::before { content: ""; position: absolute; inset: 4% 4% 4% 10%; background: var(--violet); clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%); z-index: 0; }
.stage.alt::before { clip-path: polygon(0 0, 62% 0, 100% 100%, 38% 100%); }
.stage.gold::before { background: linear-gradient(160deg, var(--shield), var(--violet)); }
.stage img { position: relative; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }

/* ---------- Alternating rows ---------- */
.rows { display: grid; gap: clamp(56px, 8vw, 96px); margin-top: 48px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.row.flip .stage { order: 2; }
.row .copy { min-width: 0; }
.stepnum { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--night); font-weight: 700; font-size: 1.3rem; margin-bottom: 18px; }
.row h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* ---------- Check list (deck style) ---------- */
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.checks li::before { content: ""; width: 32px; height: 32px; border-radius: 50%; background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 18px no-repeat; }
.checks strong { display: block; color: var(--white); }

/* ---------- Full-bleed photo band ---------- */
.photo-band { position: relative; min-height: clamp(380px, 48vw, 560px); display: grid; align-items: end; overflow: hidden; clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%); }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 10, 31, 0.1) 0%, rgba(18, 10, 31, 0.55) 45%, rgba(18, 10, 31, 0.95) 100%); }
.photo-band .wrap { position: relative; z-index: 1; padding-block: 90px 96px; }
.photo-band h2 { max-width: 18ch; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; list-style: none; padding: 0; }
.tags li { padding: 8px 14px; border-radius: 999px; background: rgba(123, 63, 228, 0.85); color: var(--white); font-size: 0.88rem; font-weight: 700; }

/* ---------- Sponsor teaser / split with photo ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.slash-photo { position: relative; aspect-ratio: 4 / 4.4; max-width: 100%; }
.slash-photo img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); }
.slash-photo::before { content: ""; position: absolute; inset: 6% -4% -4% 10%; background: var(--violet); clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); z-index: -1; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.cta h2 { margin-bottom: 0.3em; }
.cta-logo { position: relative; width: min(300px, 62vw); }
.cta-logo::before { content: ""; position: absolute; inset: -30%; background: url("img/burst.webp") center / contain no-repeat; opacity: 0.55; }
.cta-logo img { position: relative; }

/* ---------- Inner page header ---------- */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.page-head h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); }
.page-head .slash-photo { aspect-ratio: 4 / 3.6; }

/* ---------- Rules (How to play) ---------- */
.rules { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding-block: 44px; border-bottom: 1px solid var(--line); }
.rules:last-child { border-bottom: 0; }
.rules h2 { font-size: 1.45rem; margin: 0; }
.rules ul { padding-left: 1.2em; margin: 0 0 1em; }
.rules li { margin-bottom: 0.5em; max-width: 60ch; }
.rules .with-phone { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; }
.rules .with-phone img { filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); }
.callout { border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; color: var(--white); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 700; color: var(--white); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--lilac); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; }

/* ---------- Sponsors: audience numbers ---------- */
.ages { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 24px 0 8px; }
.ages b { display: block; font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: var(--orange); line-height: 1; font-variant-numeric: tabular-nums; }
.ages span { color: var(--white); font-size: 0.92rem; }

/* ---------- Sponsors: package rows (deck style) ---------- */
.packages { margin-top: 36px; display: grid; gap: 10px; }
.pkg { display: grid; grid-template-columns: minmax(0, 280px) 140px minmax(0, 1fr); align-items: stretch; background: var(--night-2); border-radius: 0 12px 12px 0; overflow: hidden; }
.pkg-name { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 10px; background: var(--violet); color: var(--white); font-weight: 700; border-radius: 999px 0 0 999px; }
.pkg-name i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--violet); }
.pkg-name i svg { width: 22px; height: 22px; }
.pkg:nth-child(2) .pkg-name { background: #8650e8; }
.pkg:nth-child(3) .pkg-name { background: #9160ec; }
.pkg:nth-child(4) .pkg-name { background: #9d73ef; }
.pkg:nth-child(5) .pkg-name { background: #ab88f2; }
.pkg-price { display: grid; place-items: center; background: #1a1026; color: var(--white); font-weight: 700; font-size: 1.35rem; font-variant-numeric: tabular-nums; padding: 10px; }
.pkg-desc { padding: 14px 20px; font-size: 0.92rem; line-height: 1.55; display: flex; align-items: center; }
.addons { margin-top: 32px; }

/* ---------- Form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.people { display: grid; gap: 4px; margin-top: 18px; }
.people strong { color: var(--white); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 700; color: var(--white); margin-bottom: 6px; font-size: 0.92rem; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--night-2); color: var(--white); font: 400 0.98rem var(--font); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--violet-hi); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 700; }
.notice.ok { background: rgba(250, 184, 31, 0.14); color: var(--white); border: 1px solid var(--gold); }
.notice.err { background: rgba(255, 90, 90, 0.12); color: var(--white); border: 1px solid #ff6b6b; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: 0.92rem; color: var(--mute); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--dust); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer p { margin: 8px 0 0; }
.site-footer .rd { width: 150px; margin-top: 14px; opacity: 0.9; }

/* ---------- Load moment: the buggy launches out of the phone ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: launch 1.1s cubic-bezier(.16,.9,.24,1) both 0.1s; }
  @keyframes launch { from { opacity: 0; transform: translateX(-40px) scale(0.94) rotate(-2deg); } to { opacity: 1; transform: none; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .row, .split, .page-head .wrap, .contact-grid, .cta .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-art { margin-right: calc(-1 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); }
  .row.flip .stage { order: 0; }
  .strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rules .with-phone { grid-template-columns: minmax(0, 1fr); }
  .rules .with-phone img { max-width: 240px; }
  .pkg { grid-template-columns: minmax(0, 1fr) auto; border-radius: 12px; }
  .pkg-name { border-radius: 12px 0 0 0; }
  .pkg-price { border-radius: 0 12px 0 0; }
  .pkg-desc { grid-column: 1 / -1; }
  .stage { min-height: 0; }
  .page-head .slash-photo { max-width: 460px; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--gold); }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .strip { clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%); }
  .strip .wrap { padding-block: 48px; }
  .stage img { max-width: 78%; }
  .presented img { width: 150px; }
}
@media (max-width: 960px) {
  .hero-art img { width: 112%; max-width: none; margin-left: -4%; }
  .hero .wrap { gap: 8px; }
}

/* ---------- Sponsor wall: logos on white plates like decals ---------- */
.sponsor-wall { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 28px; }
.plate { position: relative; background: #ffffff; border-radius: 14px; display: grid; place-items: center; padding: 44px 32px 32px; min-height: 170px; }
.plate img { width: 100%; max-width: 300px; height: auto; }
.plate-title { box-shadow: 0 0 0 3px var(--gold), 0 24px 60px -24px rgba(250, 184, 31, 0.5); }
.plate-title img { max-width: 520px; }
.plate-label { position: absolute; top: 14px; left: 18px; font-size: 0.74rem; font-weight: 700; color: #5a4a73; letter-spacing: 0.04em; }
.plate-title .plate-label { color: var(--night); background: var(--gold); padding: 3px 10px; border-radius: 999px; top: 12px; }
@media (max-width: 760px) {
  .sponsor-wall { grid-template-columns: minmax(0, 1fr); }
  .plate { min-height: 130px; padding: 40px 22px 24px; }
  .plate:not(.plate-title) img { max-width: 220px; }
}

/* ---------- Photo hero (home) ---------- */
.hero-photo { background: #0d0716; min-height: clamp(600px, calc(100svh - 72px), 860px); display: grid; grid-template-rows: 1fr auto; isolation: isolate; }
.hero-bg { position: absolute; inset: 0 0 0 30%; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 18% 50%, rgba(123, 63, 228, 0.28), transparent 70%),
    linear-gradient(90deg, rgba(13, 7, 22, 0.9) 0%, rgba(13, 7, 22, 0.55) 40%, rgba(13, 7, 22, 0) 62%),
    linear-gradient(180deg, rgba(13, 7, 22, 0) 70%, rgba(13, 7, 22, 0.9) 100%); }
.hero-photo .hero-copy { display: block; align-self: center; padding-block: clamp(48px, 7vw, 96px) 36px; }
.kicker { display: inline-block; font-weight: 700; color: var(--night); background: var(--gold); padding: 6px 14px; border-radius: 6px; font-size: 0.86rem; margin: 0 0 22px; transform: skewX(-10deg); }
.mega { font-size: clamp(2.7rem, 6.4vw, 5.8rem); line-height: 0.98; letter-spacing: -0.025em; max-width: 9ch; margin-bottom: 0.32em; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.hero-photo .lead { color: #f1ecf7; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); margin-bottom: 1.6em; max-width: 42ch; }
.hero-sponsors { position: relative; background: rgba(13, 7, 22, 0.82); backdrop-filter: blur(8px); border-top: 3px solid var(--gold); }
.hero-sponsors .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; padding-block: 16px 52px; }
.hs-label { color: var(--dust); font-size: 0.82rem; font-weight: 700; }
.hs-plate { background: #fff; border-radius: 10px; padding: 10px 18px; display: flex; align-items: center; justify-content: center; height: 64px; }
.hs-plate img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.hs-title { height: 76px; padding: 10px 22px; box-shadow: 0 0 0 2px var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { animation: dolly 14s ease-out both; }
  @keyframes dolly { from { transform: scale(1.12); } to { transform: scale(1); } }
}
@media (max-width: 760px) {
  .hero-photo { min-height: 0; }
  .hero-bg { inset: 0 0 auto 0; height: 340px; }
  .hero-bg img { object-position: 52% 45%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .hero-photo::before { background: linear-gradient(180deg, rgba(13, 7, 22, 0.1) 0%, rgba(13, 7, 22, 0.25) 50%, rgba(13, 7, 22, 0) 100%); }
  .hero-photo .hero-copy { padding-block: 250px 28px; }
  .hero-sponsors .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 14px 44px; }
  .hs-label:nth-of-type(2) { display: none; }
  .hs-title { height: 66px; padding: 8px 14px; }
  .hs-plate:not(.hs-title) { height: 54px; justify-self: start; }
}

/* Closing CTA art */
.cta-art { width: min(520px, 92vw); }
@media (max-width: 960px) { .cta-art { margin-inline: auto; } }

/* ---------- Leaderboard page ---------- */
.lb-head .wrap { grid-template-columns: minmax(0, 1fr) auto; }
.lb-presented { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.lb-presented span { font-size: 0.82rem; font-weight: 700; color: var(--mute); }
.lb-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--night-2); border-radius: 14px; width: fit-content; max-width: 100%; }
.lb-tabs button { font: 700 0.95rem var(--font); color: var(--dust); background: transparent; border: 0; padding: 12px 18px; border-radius: 10px; cursor: pointer; }
.lb-tabs button:hover { color: var(--white); }
.lb-tabs button[aria-selected="true"] { background: var(--violet); color: var(--white); }
.lb-title { margin: 36px 0 20px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.podium { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; align-items: end; }
.pod { border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; background: var(--violet); color: var(--white); min-width: 0; }
.pod-1 { background: var(--gold); color: var(--night); padding-block: 34px; }
.pod-place { font-weight: 700; font-size: 0.9rem; opacity: 0.85; }
.pod .lb-name { font-weight: 700; font-size: 1.35rem; line-height: 1.2; overflow-wrap: anywhere; }
.pod-1 .lb-name { font-size: 1.8rem; }
.pod .lb-handle { color: inherit; opacity: 0.8; }
.pod-pts { font-weight: 700; font-size: 1.6rem; margin-top: 8px; font-variant-numeric: tabular-nums; }
.pod-1 .pod-pts { font-size: 2.2rem; }
.pod-pts small { font-size: 0.9rem; }
.lb-table-wrap { margin-top: 14px; overflow-x: auto; }
.lb-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lb-table th { text-align: left; font-size: 0.8rem; color: var(--mute); font-weight: 700; padding: 10px 18px; }
.lb-table td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: middle; }
.lb-table tbody tr:nth-child(odd) td { background: rgba(255, 255, 255, 0.025); }
.lb-place { width: 70px; font-weight: 700; color: var(--lilac); font-size: 1.1rem; }
.lb-pts { text-align: right; font-weight: 700; color: var(--white); white-space: nowrap; }
.lb-table .lb-name { display: block; color: var(--white); font-weight: 700; }
.lb-handle { display: block; font-size: 0.86rem; color: var(--mute); }
.champ-band { background: radial-gradient(90% 80% at 85% 30%, #2a1468 0%, var(--night-2) 70%); }
.champ { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 32px; align-items: center; }
.champ .kicker { margin-bottom: 18px; }
.champ-name { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; margin-bottom: 0.25em; }
.champ-meta { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
.champ-meta .lb-handle { display: inline; color: var(--lilac); font-weight: 700; font-size: 1.1rem; }
.champ-pts { color: var(--gold); font-weight: 700; font-size: 1.4rem; }
.champ-prize { font-size: 1.25rem; color: var(--white); font-weight: 700; background: var(--violet); display: inline-block; padding: 12px 18px; border-radius: 12px; }
.champ-ru { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.champ-ru li { display: flex; gap: 10px; align-items: baseline; }
.champ-ru .lb-name { color: var(--white); }
.champ-ru .lb-handle { display: none; }
.champ-art { width: 100%; }
@media (max-width: 760px) {
  .lb-head .wrap, .champ { grid-template-columns: minmax(0, 1fr); }
  .podium { grid-template-columns: minmax(0, 1fr); }
  .pod-1 { order: -1; }
  .lb-tabs { width: 100%; }
  .lb-tabs button { flex: 1 1 auto; padding: 10px 12px; font-size: 0.88rem; }
  .lb-table td, .lb-table th { padding-inline: 12px; }
  .lb-place { width: 48px; }
}
.lb-table th.lb-pts { text-align: right; }

/* ---------- Facts block (home) ---------- */
.facts { background: var(--night-2); }
.facts-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.facts-list { margin: 0; display: grid; gap: 0; }
.facts-list > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts-list > div:first-child { border-top: 0; padding-top: 4px; }
.facts-list dt { font-weight: 700; color: var(--gold); }
.facts-list dd { margin: 0; color: var(--dust); }
@media (max-width: 760px) {
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- Email signup popup ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(8, 4, 16, 0.72); backdrop-filter: blur(4px); }
.signup-card { position: relative; width: min(460px, 100%); background: var(--night-2); border: 2px solid var(--gold); border-radius: 18px; padding: 34px 28px 24px; box-shadow: 0 30px 80px -20px rgba(123, 63, 228, 0.6); }
.signup-card img { width: 52px; height: auto; margin-bottom: 14px; }
.signup-card h2 { font-size: 1.55rem; margin-bottom: 0.4em; }
.signup-card > p { margin: 0 0 18px; }
.signup-close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--dust); font-size: 1.8rem; line-height: 1; cursor: pointer; border-radius: 10px; }
.signup-close:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.signup-form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-form input[type="email"] { flex: 1 1 200px; min-width: 0; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--night); color: var(--white); font: 400 1rem var(--font); }
.signup-form input[type="email"]:focus { outline: none; border-color: var(--violet-hi); }
.signup-form .btn { flex: 0 0 auto; }
.signup-msg { min-height: 1.2em; margin: 12px 0 0; font-weight: 700; font-size: 0.95rem; }
.signup-msg.ok { color: var(--gold); }
.signup-msg.err { color: #ff8a8a; }
.signup-fine { font-size: 0.78rem; color: var(--mute); margin: 10px 0 0; }
body.signup-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .signup:not([hidden]) .signup-card { animation: pop 0.35s cubic-bezier(.2,.9,.3,1.2) both; }
  @keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
}

/* Brand lockup: name + what it is */
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name small { font-size: 0.68rem; font-weight: 700; color: var(--gold); letter-spacing: 0.02em; margin-top: 2px; }
.facts-lead { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-bottom: 0.6em; }
