:root {
  --void: #0a0c13;
  --void-deep: #050609;
  --panel: #11141e;
  --panel-2: #151925;
  --panel-line: #252b3c;
  --blue: #2f63c9;
  --blue-glow: #4a7fe0;
  --blue-deep: #0f1e3e;
  --red: #b8202f;
  --red-glow: #d9364a;
  --red-deep: #3a0e14;
  --chrome: #edeff4;
  --chrome-dim: #9aa2b5;
  --gold: #c9a227;
  --gold-light: #e4c665;
  --ink: #0a0c13;
  --paper: #f4f5f8;
  --success: #44c57c;
  --danger: #ff7180;
  --display: "Bebas Neue", Impact, sans-serif;
  --body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 4px;
  --header-height: 79px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--void);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection,
::selection {
  background: var(--gold);
  color: var(--ink);
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--chrome);
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: 0.01em;
  font-weight: 400;
}

strong {
  color: var(--chrome);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(100%, 1264px);
  margin-inline: auto;
  padding-inline: 32px;
}

.section {
  padding-block: 88px;
}

.section--compact {
  padding-block: 64px;
}

.section--panel {
  background: var(--panel);
  border-block: 1px solid var(--panel-line);
}

.section--deep {
  background: var(--void-deep);
  border-block: 1px solid var(--panel-line);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 46px;
}

.section-heading--center {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-heading h2 {
  font-size: clamp(2.25rem, 4.8vw, 3.4rem);
  line-height: 1;
}

.lede,
.section-heading p,
.page-hero__lede {
  max-width: 65ch;
  color: var(--chrome-dim);
  font-size: 1rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.eyebrow--center::before,
.section-heading--center .eyebrow::before {
  display: none;
}

.mono {
  font-family: var(--mono);
}

.muted {
  color: var(--chrome-dim);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 9, 0.94);
  border-bottom: 1px solid var(--panel-line);
  backdrop-filter: blur(12px);
}

.navbar {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  width: min(100%, 1264px);
  margin-inline: auto;
  padding: 14px 32px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: none;
  background: #fff;
  border-radius: 7px;
  padding: 4px;
}

.brand-cipm {
  width: 92px;
  height: 44px;
  object-fit: contain;
  flex: none;
  background: #fff;
  border-radius: 7px;
  padding: 4px 8px;
}

.brand-name {
  color: var(--chrome);
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: 0.045em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name small {
  display: block;
  margin-top: 4px;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-nav a {
  padding-block: 5px;
  border-bottom: 2px solid transparent;
  color: var(--chrome-dim);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--chrome);
  border-bottom-color: var(--gold);
}

.primary-nav .nav-cta {
  padding: 11px 18px;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  color: #fff;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta[aria-current="page"] {
  border: 0;
  filter: brightness(1.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--panel-line);
  border-radius: 2px;
  background: var(--panel);
  color: var(--chrome);
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 48px;
  padding: 14px 27px;
  border: 1px solid transparent;
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.btn-primary:hover {
  filter: brightness(1.14);
}

.btn-ghost {
  border-color: var(--panel-line);
  background: transparent;
  color: var(--chrome);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.72rem;
}

.btn-block {
  width: 100%;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-glow);
  box-shadow: 0 0 10px var(--red-glow);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* Homepage hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 66px;
  background:
    radial-gradient(ellipse 620px 520px at 8% 30%, rgba(47, 99, 201, 0.35), transparent 60%),
    radial-gradient(ellipse 620px 520px at 92% 30%, rgba(184, 32, 47, 0.35), transparent 60%),
    radial-gradient(ellipse 900px 500px at 50% 100%, rgba(201, 162, 39, 0.08), transparent 65%),
    linear-gradient(180deg, var(--void-deep), var(--void));
  border-bottom: 1px solid var(--panel-line);
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  pointer-events: none;
  mask-image: radial-gradient(ellipse 950px 560px at 50% 28%, #000, transparent);
}

.podium-glow {
  position: absolute;
  bottom: 0;
  z-index: 0;
  width: 260px;
  height: 340px;
  opacity: 0.55;
  pointer-events: none;
  filter: blur(2px);
}

.podium-glow--left {
  left: 2%;
  background: linear-gradient(180deg, transparent, var(--blue-deep) 70%);
  clip-path: polygon(30% 100%, 70% 100%, 100% 0, 0 0);
}

.podium-glow--right {
  right: 2%;
  background: linear-gradient(180deg, transparent, var(--red-deep) 70%);
  clip-path: polygon(30% 100%, 70% 100%, 100% 0, 0 0);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.official-art {
  max-width: 1120px;
  margin: 0 auto 32px;
  border: 1px solid var(--panel-line);
  background: #070910;
  box-shadow: var(--shadow);
}

.official-art img {
  display: block;
  width: 100%;
}

.conference-emblem {
  display: block;
  width: 132px;
  max-width: 38vw;
  margin: 0 auto 22px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.collab-row {
  display: flex;
  margin-bottom: 32px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.logo-badge {
  display: inline-flex;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  gap: 10px;
}

.logo-badge img {
  display: block;
  width: auto;
  max-width: 120px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
}

.logo-badge__label {
  color: var(--chrome-dim);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
}

.hero-title {
  color: var(--chrome);
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 0.92;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), 0 0 40px rgba(180, 190, 220, 0.15);
}

.hero-title__hr {
  display: block;
  margin: -6px 0;
  background: linear-gradient(90deg, var(--blue-glow), var(--chrome) 46%, var(--chrome) 54%, var(--red-glow));
  color: transparent;
  font-size: clamp(4.2rem, 13vw, 8.6rem);
  background-clip: text;
  -webkit-background-clip: text;
}

.year-rule {
  display: flex;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.3em;
}

.year-rule::before,
.year-rule::after {
  width: 60px;
  height: 1px;
  background: var(--gold);
  content: "";
  opacity: 0.6;
}

.hero-tagline {
  margin-top: 26px;
  color: var(--chrome-dim);
  font-size: 1.04rem;
  font-weight: 500;
}

.venue-line {
  margin-top: 9px;
  color: var(--chrome-dim);
  font-family: var(--mono);
  font-size: 0.84rem;
}

.venue-line strong {
  color: var(--gold-light);
}

.countdown {
  display: flex;
  margin: 36px 0 29px;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.countdown__unit {
  min-width: 84px;
  padding: 14px 10px;
  border: 1px solid var(--panel-line);
  border-radius: 3px;
  background: var(--panel);
  text-align: center;
}

.countdown__number {
  color: var(--chrome);
  font-family: var(--mono);
  font-size: 1.9rem;
  font-weight: 700;
}

.countdown__label {
  margin-top: 4px;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.countdown__message {
  padding: 16px 22px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-ctas {
  display: flex;
  margin-bottom: 42px;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.partner-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.partner-pill {
  display: flex;
  min-height: 56px;
  padding: 7px 11px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  align-items: center;
  gap: 10px;
  color: var(--chrome-dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.25;
  text-align: left;
}

.partner-pill img {
  width: auto;
  max-width: 116px;
  height: 38px;
  border-radius: 4px;
  object-fit: contain;
}

.quicknav {
  border-bottom: 1px solid var(--panel-line);
  background: var(--void-deep);
}

.quicknav__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
}

.quicknav a {
  flex: none;
  padding: 16px 22px;
  border-right: 1px solid var(--panel-line);
  color: var(--chrome-dim);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.quicknav a:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--chrome);
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 82px 76px;
  background:
    radial-gradient(ellipse 480px 320px at 12% 20%, rgba(47, 99, 201, 0.28), transparent 70%),
    radial-gradient(ellipse 480px 320px at 88% 20%, rgba(184, 32, 47, 0.28), transparent 70%),
    var(--void-deep);
  border-bottom: 1px solid var(--panel-line);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 15ch;
  margin-top: 14px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.94;
}

.page-hero__lede {
  margin-top: 20px;
  font-size: 1.05rem;
}

.page-hero__actions {
  margin-top: 30px;
  margin-bottom: 0;
  justify-content: flex-start;
}

.page-hero__glow {
  position: absolute;
  top: 10%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.24;
}

.page-hero__glow--blue { left: -100px; background: var(--blue); }
.page-hero__glow--red { right: -100px; background: var(--red); }

/* Flash messages */
.flash-stack {
  position: relative;
  z-index: 20;
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.flash {
  display: flex;
  padding: 14px 16px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.flash--success { border-left: 3px solid var(--success); }
.flash--error { border-left: 3px solid var(--danger); }
.flash--info { border-left: 3px solid var(--gold); }

.flash__close {
  border: 0;
  background: transparent;
  color: var(--chrome-dim);
  font-size: 1.4rem;
  cursor: pointer;
}

/* About */
.about-grid {
  display: grid;
  margin-top: 48px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 56px;
}

.about-list {
  display: grid;
  list-style: none;
  gap: 22px;
}

.about-list li {
  display: flex;
  gap: 16px;
}

.about-list__number {
  width: 38px;
  flex: none;
  color: transparent;
  font-family: var(--display);
  font-size: 1.7rem;
  -webkit-text-stroke: 1.5px var(--gold);
}

.about-list h3 {
  margin-bottom: 4px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 800;
}

.about-list p {
  color: var(--chrome-dim);
  font-size: 0.92rem;
}

.side-card,
.content-card {
  padding: 28px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
}

.side-card__logo {
  float: right;
  width: 92px;
  margin: 0 0 14px 18px;
  border-radius: 8px;
}

.side-card__quote {
  color: var(--chrome);
  font-family: var(--display);
  font-size: 1.38rem;
  line-height: 1.24;
}

.side-card__who {
  margin-top: 16px;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.side-card__who small {
  display: block;
  margin-top: 3px;
  color: var(--chrome-dim);
}

.card-link-row {
  display: flex;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--panel-line);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.card-link-row__label {
  color: var(--chrome);
  font-size: 0.85rem;
  font-weight: 700;
}

.card-link-row__sub {
  color: var(--chrome-dim);
  font-family: var(--mono);
  font-size: 0.67rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--panel-line);
  background: var(--panel);
}

.stat {
  padding: 25px;
  border-right: 1px solid var(--panel-line);
}

.stat:last-child { border-right: 0; }
.stat__value { color: var(--chrome); font-family: var(--display); font-size: 2rem; line-height: 1; }
.stat__label { margin-top: 7px; color: var(--gold-light); font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.stat__sub { margin-top: 6px; color: var(--chrome-dim); font-size: 0.78rem; }

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.timeline::before {
  position: absolute;
  top: 17px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--panel-line);
  content: "";
}

.timeline-item {
  position: relative;
  padding-right: 14px;
}

.timeline-item__dot {
  position: relative;
  z-index: 2;
  width: 11px;
  height: 11px;
  margin-bottom: 16px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--void);
}

.timeline-item--done .timeline-item__dot {
  background: var(--gold);
}

.timeline-item__date {
  margin-bottom: 6px;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

.timeline-item__label {
  color: var(--chrome);
  font-size: 0.88rem;
  font-weight: 800;
}

/* Quick info */
.info-strip {
  background: linear-gradient(90deg, var(--blue-deep), var(--red-deep));
  border-block: 1px solid var(--panel-line);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-item {
  display: flex;
  min-height: 120px;
  padding: 25px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  gap: 14px;
}

.info-item:last-child { border-right: 0; }
.info-item__icon { display: grid; width: 48px; height: 48px; flex: none; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; place-items: center; color: var(--gold-light); font-family: var(--mono); font-size: 0.72rem; }
.info-item small { display: block; color: rgba(255,255,255,.62); font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.info-item h3 { margin-top: 3px; font-family: var(--body); font-size: .95rem; font-weight: 800; }
.info-item p { margin-top: 3px; color: rgba(255,255,255,.72); font-size: .76rem; }

/* Matches */
.live-banner {
  display: flex;
  margin: 44px 0 28px;
  padding: 22px 28px;
  border: 1px solid var(--panel-line);
  background: linear-gradient(90deg, var(--blue-deep), var(--red-deep));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.live-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-banner__motion {
  flex: 1 1 380px;
  color: var(--chrome);
  font-size: 0.92rem;
  font-weight: 700;
}

.match-filters {
  display: flex;
  margin-bottom: 24px;
  gap: 9px;
  flex-wrap: wrap;
}

.filter-button {
  padding: 9px 14px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  color: var(--chrome-dim);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--gold);
  color: var(--gold-light);
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.match-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match-card {
  display: flex;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  flex-direction: column;
}

.match-card[hidden] { display: none; }

.match-card__meta {
  display: flex;
  margin-bottom: 17px;
  justify-content: space-between;
  gap: 12px;
  color: var(--chrome-dim);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.round-tag { color: var(--gold-light); }

.versus {
  display: flex;
  margin-bottom: 17px;
  align-items: center;
  justify-content: space-between;
}

.team {
  flex: 1;
  font-size: 0.93rem;
  font-weight: 800;
  text-align: center;
}

.team--a { color: var(--blue-glow); }
.team--b { color: var(--red-glow); }
.vs { padding-inline: 10px; color: var(--chrome-dim); font-family: var(--display); font-size: 0.9rem; }

.match-card__motion {
  min-height: 62px;
  margin-bottom: 16px;
  color: var(--chrome-dim);
  font-size: 0.84rem;
  font-style: italic;
}

.match-card__venue {
  display: flex;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--panel-line);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--chrome-dim);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.status {
  display: inline-block;
  flex: none;
  padding: 4px 8px;
  border: 1px solid var(--panel-line);
  color: var(--chrome-dim);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status--live { border-color: var(--red-glow); color: var(--red-glow); }
.status--upcoming { border-color: var(--blue-glow); color: var(--blue-glow); }
.status--completed { border-color: var(--success); color: var(--success); }

/* Teams */
.team-grid {
  display: grid;
  margin-top: 46px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  padding: 25px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.55);
}

.team-card__logo {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--red));
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-size: 1.2rem;
}

.team-card__name {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 800;
}

.team-card__org {
  margin-top: 4px;
  color: var(--chrome-dim);
  font-family: var(--mono);
  font-size: 0.67rem;
}

/* Fees */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fee-card {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 28px 23px 23px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  flex-direction: column;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.fee-card:hover { transform: translateY(-5px); border-color: rgba(201,162,39,.45); }
.fee-card--featured { border: 2px solid var(--gold); }

.fee-card__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 11px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fee-card__tag { color: var(--gold-light); font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.fee-card h3 { margin-top: 11px; font-family: var(--body); font-size: 1rem; font-weight: 800; }
.fee-card__price { margin-top: 16px; color: var(--chrome); font-family: var(--display); font-size: 2.55rem; line-height: 1; }
.fee-card__price small { color: var(--gold-light); font-family: var(--mono); font-size: .65rem; }
.fee-card__description { min-height: 64px; margin-top: 13px; color: var(--chrome-dim); font-size: .82rem; }
.fee-card__benefits { display: grid; margin: 18px 0 22px; padding-top: 16px; border-top: 1px solid var(--panel-line); list-style: none; gap: 8px; }
.fee-card__benefits li { position: relative; padding-left: 18px; color: var(--chrome-dim); font-size: .78rem; }
.fee-card__benefits li::before { position: absolute; left: 0; color: var(--gold-light); content: "✓"; }
.fee-card .btn { margin-top: auto; }

.registration-note {
  display: flex;
  margin-top: 22px;
  padding: 24px 27px;
  border: 1px solid var(--panel-line);
  background: linear-gradient(90deg, var(--blue-deep), var(--red-deep));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.registration-note h3 { font-family: var(--body); font-size: .95rem; font-weight: 800; }
.registration-note p { margin-top: 6px; color: var(--chrome-dim); font-size: .82rem; }

/* Sponsors */
.sponsor-tier {
  margin-top: 40px;
}

.sponsor-tier__label {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.sponsor-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sponsor-card {
  display: grid;
  min-width: 220px;
  min-height: 116px;
  padding: 14px 20px;
  border: 1px solid var(--panel-line);
  background: var(--paper);
  place-items: center;
}

.sponsor-card img {
  width: 100%;
  max-width: 230px;
  max-height: 88px;
  object-fit: contain;
}

/* Gallery */
.gallery-grid {
  display: grid;
  margin-top: 46px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-card {
  position: relative;
  display: flex;
  min-height: 245px;
  overflow: hidden;
  padding: 15px;
  border: 1px solid var(--panel-line);
  background: linear-gradient(160deg, var(--blue-deep), var(--void));
  align-items: flex-end;
  isolation: isolate;
}

.gallery-card:nth-child(even) { background: linear-gradient(160deg, var(--red-deep), var(--void)); }
.gallery-card:nth-child(3n) { background: linear-gradient(160deg, #2a2410, var(--void)); }
.gallery-card__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-card::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.08) 65%); content: ""; }
.gallery-card:hover .gallery-card__image { transform: scale(1.035); }
.gallery-card__category { color: var(--gold-light); font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.gallery-card h3 { margin-top: 4px; font-family: var(--body); font-size: .86rem; font-weight: 800; }
.gallery-card--wide { grid-column: span 2; }
.gallery-card--portrait { min-height: 360px; }

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  margin-top: 34px;
  padding-bottom: 56.25%;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  background: #000;
  box-shadow: var(--shadow);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contacts and map */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 26px 20px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  text-align: center;
}

.contact-card__avatar {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 15px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-deep), var(--red-deep));
  place-items: center;
  color: var(--chrome);
  font-family: var(--display);
  font-size: 1.45rem;
}

.contact-card h3 { font-family: var(--body); font-size: .98rem; font-weight: 800; }
.contact-card__role { margin-top: 4px; color: var(--gold-light); font-family: var(--mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; }
.contact-card__links { display: grid; margin-top: 18px; gap: 8px; }
.contact-card__links a { color: var(--chrome-dim); font-size: .78rem; overflow-wrap: anywhere; }
.contact-card__links a:hover { color: var(--chrome); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr);
  gap: 28px;
  align-items: start;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--panel-line);
  background: var(--panel);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(.2) contrast(1.05);
}

.map-card__caption { padding: 20px; }
.map-card__caption h3 { font-family: var(--body); font-size: .96rem; font-weight: 800; }
.map-card__caption p { margin-top: 5px; color: var(--chrome-dim); font-size: .82rem; }

/* Forms */
.form-card {
  padding: 30px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .18);
}

.form-card h2 { font-size: 2rem; }
.form-card__intro { margin-top: 8px; color: var(--chrome-dim); font-size: .88rem; }

.form-grid {
  display: grid;
  margin-top: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--full { grid-column: 1 / -1; }
.form-field[hidden] { display: none; }

.form-field label,
.field-label {
  color: var(--chrome);
  font-size: .78rem;
  font-weight: 800;
}

.required-mark { color: var(--red-glow); }

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--panel-line);
  border-radius: 2px;
  background: var(--void-deep);
  color: var(--chrome);
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea.form-control { min-height: 140px; resize: vertical; }
.form-control::placeholder { color: #737b8e; }
.form-control:hover { border-color: #3a4258; }
.form-control:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201,162,39,.12); }
.form-control[aria-invalid="true"] { border-color: var(--danger); }

.field-help { color: var(--chrome-dim); font-size: .7rem; }
.field-error { color: var(--danger); font-size: .72rem; }
.form-summary { margin-bottom: 20px; padding: 14px 16px; border: 1px solid var(--danger); background: rgba(217,54,74,.08); color: var(--chrome); font-size: .82rem; }
.form-actions { display: flex; margin-top: 24px; align-items: center; gap: 16px; flex-wrap: wrap; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.checkbox-field label { color: var(--chrome-dim); font-size: .76rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.form-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 16px;
}

.check-list {
  display: grid;
  list-style: none;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--chrome-dim);
  font-size: .8rem;
}

.check-list li::before { position: absolute; left: 0; color: var(--gold-light); content: "✓"; }

/* Rules/content */
.prose {
  max-width: 820px;
}

.prose h2 { margin-top: 42px; font-size: 2rem; }
.prose h3 { margin-top: 28px; font-family: var(--body); font-size: 1rem; font-weight: 800; }
.prose p { margin-top: 12px; color: var(--chrome-dim); }
.prose ul,
.prose ol { display: grid; margin: 14px 0 0 20px; color: var(--chrome-dim); gap: 8px; }
.prose a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.notice {
  padding: 18px 20px;
  border: 1px solid var(--gold);
  background: rgba(201, 162, 39, .07);
  color: var(--chrome-dim);
}
.notice strong { display: block; margin-bottom: 4px; color: var(--gold-light); }

/* CTA */
.cta-section {
  padding-block: 96px;
  border-top: 1px solid var(--panel-line);
  background: radial-gradient(ellipse 700px 400px at 50% 0, rgba(201, 162, 39, .1), transparent 70%), var(--void);
  text-align: center;
}

.cta-section h2 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1; }
.cta-section p { max-width: 56ch; margin: 16px auto 32px; color: var(--chrome-dim); }
.cta-section .hero-ctas { margin-bottom: 0; }

/* Footer */
.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--panel-line);
  background: var(--void-deep);
}

.footer-grid {
  display: grid;
  margin-bottom: 40px;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-grid h2 {
  margin-bottom: 16px;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: var(--chrome-dim);
  font-size: .82rem;
}

.footer-grid a:hover { color: var(--chrome); }
.footer-logo-row { display: flex; margin-top: 8px; align-items: center; gap: 9px; flex-wrap: wrap; }
.footer-logo-row img { width: auto; max-width: 104px; height: 42px; padding: 3px; border-radius: 4px; background: #fff; object-fit: contain; }
.footer-bottom { display: flex; padding-top: 22px; border-top: 1px solid var(--panel-line); justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--chrome-dim); font-family: var(--mono); font-size: .66rem; }
.footer-bottom a:hover { color: var(--chrome); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Error page */
.error-page { display: grid; min-height: calc(100vh - var(--header-height) - 280px); padding-block: 90px; place-items: center; text-align: center; }
.error-page__code { color: transparent; font-family: var(--display); font-size: clamp(6rem, 20vw, 13rem); line-height: .8; -webkit-text-stroke: 2px var(--gold); }
.error-page h1 { margin-top: 20px; font-size: 3rem; }
.error-page p { max-width: 50ch; margin: 12px auto 28px; color: var(--chrome-dim); }

@media (max-width: 1120px) {
  .primary-nav { gap: 15px; }
  .primary-nav a:not(.nav-cta) { font-size: .69rem; }
  .match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    display: none;
    padding: 16px;
    border: 1px solid var(--panel-line);
    background: rgba(5, 6, 9, .98);
    box-shadow: var(--shadow);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 11px 10px; border-bottom: 0; }
  .primary-nav a:hover,
  .primary-nav a[aria-current="page"] { background: var(--panel); border-bottom: 0; }
  .primary-nav .nav-cta { margin-top: 6px; text-align: center; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about-grid,
  .contact-layout,
  .registration-layout { grid-template-columns: 1fr; }
  .form-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .timeline { grid-template-columns: 1fr; gap: 27px; }
  .timeline::before { display: none; }
  .timeline-item { display: grid; grid-template-columns: 24px 74px 1fr; align-items: center; gap: 10px; }
  .timeline-item__dot { margin: 0; }
  .timeline-item__date { margin: 0; }
  .stats-grid,
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2), .info-item:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2), .info-item:nth-child(-n+2) { border-bottom: 1px solid var(--panel-line); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --header-height: 70px; }
  .wrap { padding-inline: 20px; }
  .section { padding-block: 68px; }
  .navbar { padding: 12px 20px; }
  .brand-name { display: none; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-cipm { width: 72px; height: 40px; }
  .primary-nav { right: 14px; left: 14px; }
  .hero { padding-top: 38px; }
  .official-art { margin-inline: -20px; border-right: 0; border-left: 0; }
  .podium-glow { display: none; }
  .logo-badge { width: 100%; justify-content: center; }
  .hero-title { font-size: clamp(2.9rem, 15vw, 4.8rem); }
  .hero-title__hr { font-size: clamp(4rem, 22vw, 6.5rem); }
  .hero-tagline { font-size: .93rem; }
  .countdown { gap: 8px; }
  .countdown__unit { min-width: 70px; padding: 11px 8px; }
  .countdown__number { font-size: 1.55rem; }
  .partner-pill { width: 100%; }
  .page-hero { padding-block: 64px 58px; }
  .page-hero h1 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .match-grid,
  .match-grid--two,
  .fee-grid,
  .contact-grid,
  .form-sidebar { grid-template-columns: 1fr; }
  .live-banner { align-items: flex-start; flex-direction: column; }
  .match-card__meta { flex-direction: column; gap: 4px; }
  .fee-card__description { min-height: auto; }
  .registration-note { align-items: stretch; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .form-card { padding: 23px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-card--wide { grid-column: auto; }
  .gallery-card--portrait { min-height: 245px; }
}

@media (max-width: 520px) {
  .stats-grid,
  .info-grid,
  .team-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .stat,
  .info-item { border-right: 0; border-bottom: 1px solid var(--panel-line); }
  .stat:last-child,
  .info-item:last-child { border-bottom: 0; }
  .hero-ctas .btn { width: 100%; }
  .page-hero__actions .btn { width: 100%; }
  .versus { align-items: stretch; flex-direction: column; gap: 7px; }
  .vs { padding: 0; }
  .match-card__motion { min-height: auto; }
  .match-card__venue { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .site-footer,
  .quicknav,
  .hero-ctas,
  .nav-toggle,
  .flash-stack { display: none !important; }
  body { background: #fff; color: #111; }
  h1,h2,h3,h4,strong { color: #111; }
  .page-hero,
  .section,
  .section--panel,
  .section--deep { padding: 20px 0; background: #fff; border: 0; }
  .wrap { max-width: none; padding: 0; }
  .prose p,
  .prose ul,
  .prose ol,
  .muted { color: #333; }
}

/* Gallery lightbox, progressively enhanced by main.js */
.gallery-dialog {
  width: min(92vw, 1100px);
  max-height: 92vh;
  padding: 18px;
  border: 1px solid var(--panel-line);
  background: var(--void-deep);
  color: var(--chrome);
  box-shadow: var(--shadow);
}
.gallery-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(4px); }
.gallery-dialog img { display: block; max-width: 100%; max-height: 78vh; margin-inline: auto; object-fit: contain; }
.gallery-dialog p { margin-top: 12px; color: var(--chrome-dim); text-align: center; }
.gallery-dialog__close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 42px; height: 42px; border: 1px solid var(--panel-line); background: rgba(5,6,9,.9); color: var(--chrome); font-size: 1.5rem; cursor: pointer; }

/* Reusable feature and schedule components */
.feature-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.feature-grid--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.feature-card { padding:25px; border:1px solid var(--panel-line); background:var(--panel); }
.feature-card__number { display:block; margin-bottom:18px; color:transparent; font-family:var(--display); font-size:2rem; line-height:1; -webkit-text-stroke:1.5px var(--gold); }
.feature-card h3 { font-family:var(--body); font-size:.95rem; font-weight:800; }
.feature-card p { margin-top:8px; color:var(--chrome-dim); font-size:.8rem; }
.schedule-list { display:grid; border-top:1px solid var(--panel-line); }
.schedule-row { display:grid; padding:22px 0; border-bottom:1px solid var(--panel-line); grid-template-columns:150px minmax(0,1fr) 250px; align-items:center; gap:24px; }
.schedule-row__date strong { display:block; color:var(--gold-light); font-family:var(--mono); font-size:.72rem; }
.schedule-row__date span { color:var(--chrome-dim); font-family:var(--mono); font-size:.66rem; }
.schedule-row__main h3 { margin-top:5px; font-family:var(--body); font-size:.94rem; font-weight:800; }
.schedule-row__main h3 span { padding-inline:5px; color:var(--chrome-dim); font-family:var(--display); font-weight:400; }
.schedule-row__main p { margin-top:5px; color:var(--chrome-dim); font-size:.78rem; }
.schedule-row__venue { display:flex; align-items:center; justify-content:flex-end; gap:12px; color:var(--chrome-dim); font-family:var(--mono); font-size:.63rem; text-align:right; }
code { padding:.1em .35em; background:rgba(255,255,255,.06); color:var(--gold-light); font-family:var(--mono); font-size:.9em; }
@media (max-width:960px) { .feature-grid,.feature-grid--three { grid-template-columns:repeat(2,minmax(0,1fr)); } .schedule-row { grid-template-columns:110px minmax(0,1fr); } .schedule-row__venue { grid-column:2; justify-content:flex-start; text-align:left; } }
@media (max-width:620px) { .feature-grid,.feature-grid--three { grid-template-columns:1fr; } .schedule-row { grid-template-columns:1fr; gap:11px; } .schedule-row__venue { grid-column:auto; align-items:flex-start; flex-direction:column; } }

/* Production page utilities */
.section-title-inline { margin-top: 8px; font-size: clamp(2.25rem, 4.8vw, 3.4rem); }
.section-lede-inline { margin-top: 10px; }
.about-list--spaced { margin-top: 36px; }
.notice--spaced { margin-top: 28px; }
.feature-grid--spaced { margin-top: 34px; }
.team-grid--flush,
.gallery-grid--flush { margin-top: 0; }
.content-card__emblem { display: block; width: 160px; margin: 0 auto 24px; border-radius: 8px; }
.content-card__art { display: block; width: 100%; border: 1px solid var(--panel-line); }
.content-card__heading { font-family: var(--body); font-size: 1rem; font-weight: 800; }
.content-card__heading--spaced { margin-top: 20px; }
.content-card__copy { margin-top: 9px; font-size: .84rem; }
.content-card__button { margin-top: 20px; }
.content-card__list { margin-top: 20px; }
.gallery-card small { display: block; margin-top: 8px; color: var(--chrome-dim); font-family: var(--mono); font-size: .58rem; letter-spacing: .04em; text-transform: uppercase; }

/* Legal and participation pages */
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }
.legal-content { max-width: 820px; }
.legal-content h2 { margin-top: 42px; font-size: clamp(1.8rem, 3.4vw, 2.35rem); }
.legal-content h2:first-of-type { margin-top: 16px; }
.legal-content h3 { font-family: var(--body); font-size: .96rem; font-weight: 800; }
.legal-content p { margin-top: 12px; color: var(--chrome-dim); }
.legal-content a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { margin-top: 0 !important; color: var(--gold-light) !important; font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.legal-sidebar { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 16px; }
.legal-steps { display: grid; margin-top: 24px; border-top: 1px solid var(--panel-line); }
.legal-steps section { display: grid; padding: 20px 0; border-bottom: 1px solid var(--panel-line); grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
.legal-steps section > span { color: transparent; font-family: var(--display); font-size: 1.8rem; line-height: 1; -webkit-text-stroke: 1.5px var(--gold); }
.legal-steps p { margin-top: 5px; font-size: .86rem; }
.rules-grid { display: grid; margin-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rules-grid section { padding: 20px; border: 1px solid var(--panel-line); background: var(--panel); }
.rules-grid p { margin-top: 7px; font-size: .82rem; }
.detail-list { display: grid; margin: 20px 0; }
.detail-list > div { display: flex; padding: 11px 0; border-bottom: 1px solid var(--panel-line); justify-content: space-between; gap: 15px; }
.detail-list dt { color: var(--chrome-dim); font-size: .72rem; }
.detail-list dd { color: var(--gold-light); font-family: var(--mono); font-size: .66rem; text-align: right; }

.error-page { position: relative; overflow: hidden; }
.error-page__inner { position: relative; z-index: 2; }
.error-page h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .rules-grid,
  .legal-sidebar { grid-template-columns: 1fr; }
  .legal-steps section { grid-template-columns: 38px minmax(0, 1fr); }
}

@media print {
  .legal-layout { display: block; }
  .legal-sidebar { display: none; }
  .legal-content { max-width: none; }
  .legal-content p,
  .legal-steps p,
  .rules-grid p { color: #333; }
  .rules-grid section { break-inside: avoid; background: #fff; }
}
