/* =====================================================
   LIMUN — Design tokens
   ===================================================== */
:root {
  --cherry-void:   #0b0405;
  --cherry-panel:  #170a0c;
  --cherry-deep:   #3a0b16;
  --cherry-core:   #9b1b30;
  --cherry-bright: #e2233f;
  --cherry-glow:   rgba(226, 35, 63, 0.55);
  --brass:         #c9a24b;
  --ivory:         #f4ece6;
  --ivory-dim:     #cdb9b4;
  --line:          rgba(244, 236, 230, 0.12);
  --line-strong:   rgba(244, 236, 230, 0.22);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cherry-void);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cherry-bright);
  color: var(--ivory);
  padding: 12px 18px;
  z-index: 999;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

code {
  font-family: var(--font-mono);
  background: rgba(244,236,230,0.08);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

/* =====================================================
   Ambient glow orbs — decorative, aria-hidden, slow drift
   ===================================================== */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}
.glow-orb-a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(226,35,63,0.45), transparent 70%);
  top: -120px; right: -100px;
  animation: driftA 22s ease-in-out infinite;
}
.glow-orb-b {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(155,27,48,0.4), transparent 70%);
  bottom: -140px; left: -80px;
  animation: driftB 26s ease-in-out infinite;
}
.glow-orb-c {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(201,162,75,0.14), transparent 70%);
  top: 10%; left: 60%;
  animation: driftA 30s ease-in-out infinite;
}
.glow-orb-d {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(226,35,63,0.22), transparent 70%);
  bottom: 0; right: 8%;
  animation: driftB 24s ease-in-out infinite;
}
@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 24px) scale(1.06); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(26px, -20px) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .glow-orb { animation: none; }
}

/* =====================================================
   Scroll reveal
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================
   Navigation
   ===================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(11,4,5,0.92), rgba(11,4,5,0));
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(11,4,5,0.88);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-mark-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.nav-mark-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ivory);
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--ivory-dim);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a span { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--cherry-bright);
  transition: right 0.28s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--ivory); }
.nav-links a.active::after { right: 0; background: var(--cherry-bright); }

.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 9px 20px;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  border-color: var(--cherry-bright);
  background: rgba(226,35,63,0.08);
  box-shadow: 0 0 20px rgba(226,35,63,0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@supports (height: 100svh) {
  .hero { min-height: 100svh; }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 30s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11,4,5,0.97) 0%, rgba(11,4,5,0.65) 42%, rgba(11,4,5,0.35) 68%, rgba(11,4,5,0.55) 100%),
    radial-gradient(ellipse at 20% 100%, rgba(155,27,48,0.35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px 88px;
  width: 100%;
  animation: heroRise 1.1s var(--ease) both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin: 0 0 22px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cherry-bright);
  box-shadow: 0 0 8px 2px var(--cherry-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  max-width: 16ch;
  text-shadow: 0 0 60px rgba(226,35,63,0.25);
}

.hero-sub {
  font-size: 17px;
  color: var(--ivory-dim);
  max-width: 52ch;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--cherry-core);
  color: var(--ivory);
  box-shadow: 0 0 0 rgba(226,35,63,0);
}
.btn-primary:hover {
  background: var(--cherry-bright);
  box-shadow: 0 0 32px var(--cherry-glow);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ivory);
}
.btn-ghost:hover {
  border-color: var(--ivory-dim);
  background: rgba(244,236,230,0.05);
  transform: translateY(-1px);
}
.btn-wide { width: 100%; padding: 16px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Countdown — styled like a chamber speaking-timer / vote board */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  border: 1px solid var(--line-strong);
  background: rgba(23, 10, 12, 0.6);
  border-radius: 3px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.countdown:hover {
  border-color: rgba(226,35,63,0.4);
  box-shadow: 0 0 40px rgba(226,35,63,0.12);
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 46px;
}
.countdown-value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
  color: var(--cherry-bright);
  text-shadow: 0 0 18px var(--cherry-glow), 0 0 2px rgba(226,35,63,0.8);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.countdown-value.tick {
  animation: tickPulse 0.4s var(--ease);
}
@keyframes tickPulse {
  0% { transform: translateY(-6px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .countdown-value.tick { animation: none; }
}
.countdown-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-top: 2px;
}
.countdown-sep {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--line-strong);
  transform: translateY(-6px);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 20px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}
.scroll-cue span {
  display: block;
  width: 3px;
  height: 7px;
  background: var(--cherry-bright);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
}

/* =====================================================
   Sections — shared
   ===================================================== */
.section {
  position: relative;
  padding: 120px 32px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.section-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cherry-bright);
  margin: 0 0 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  margin: 0 0 22px;
  max-width: 18ch;
}
.section-lead {
  font-size: 16px;
  color: var(--ivory-dim);
  max-width: 62ch;
  margin: 0 0 48px;
}

/* About / stats */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--cherry-void);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s ease;
}
.stat:hover { background: var(--cherry-panel); }
.stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  color: var(--ivory-dim);
}
.stat-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ivory-dim);
  font-style: italic;
}

/* Committees */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.committee-card {
  position: relative;
  background: var(--cherry-void);
  padding: 34px 28px;
  transition: background 0.3s ease, transform 0.3s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}
.committee-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.committee-card:hover {
  background: var(--cherry-panel);
  transform: translateY(-4px);
}
.committee-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}
.committee-card:hover::before {
  border-color: rgba(226,35,63,0.35);
  box-shadow: inset 0 0 40px rgba(226,35,63,0.06);
}
.committee-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--brass);
  border: 1px solid rgba(201,162,75,0.35);
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.committee-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
}
.committee-topic {
  font-size: 14px;
  color: var(--ivory-dim);
  margin: 0 0 18px;
}
.committee-level {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cherry-bright);
}

/* Registration teaser (homepage) */
.register-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.register-teaser-inner .btn { flex-shrink: 0; }

/* Registration form */
.reg-form {
  border: 1px solid var(--line);
  padding: 44px;
  background: rgba(23,10,12,0.4);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px 28px;
}
.field-wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ivory-dim);
}
.optional { color: var(--ivory-dim); font-weight: 400; opacity: 0.7; }

.field input, .field select, .field textarea {
  background: var(--cherry-void);
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cherry-bright);
  box-shadow: 0 0 0 3px rgba(226,35,63,0.15);
  outline: none;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ivory-dim) 50%), linear-gradient(135deg, var(--ivory-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-footer {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.fee-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.fee-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.fee-value {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--cherry-bright);
}
.form-hint {
  font-size: 12px;
  color: var(--ivory-dim);
  max-width: 46ch;
  margin: 0;
}
.form-hint.error { color: var(--cherry-bright); }

/* Spinner shown inside submit button while processing */
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(244,236,230,0.35);
  border-top-color: var(--ivory);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: -2px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================
   Registration page
   ===================================================== */
.reg-hero {
  position: relative;
  padding: 156px 32px 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.reg-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}
.reg-hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 0 0 20px;
  max-width: 18ch;
}

.reg-section { padding-top: 64px; }

/* Tabs */
.reg-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 56px;
}
.reg-tab {
  background: var(--cherry-void);
  border: none;
  color: var(--ivory-dim);
  padding: 22px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-body);
  transition: background 0.25s ease, color 0.25s ease;
  position: relative;
}
.reg-tab-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brass);
}
.reg-tab-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: inherit;
}
.reg-tab:hover { background: var(--cherry-panel); color: var(--ivory); }
.reg-tab.is-active {
  background: var(--cherry-panel);
  color: var(--ivory);
}
.reg-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cherry-bright);
  box-shadow: 0 0 12px var(--cherry-glow);
}

/* Panels */
.reg-panel { display: none; }
.reg-panel.is-active {
  display: block;
  animation: panelIn 0.5s var(--ease) both;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reg-panel.is-active { animation: none; }
}
.reg-panel-head { margin-bottom: 32px; }
.reg-panel-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  margin: 0 0 12px;
}
.reg-panel-sub {
  color: var(--ivory-dim);
  max-width: 62ch;
  margin: 0 0 16px;
}
.reg-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid rgba(201,162,75,0.35);
  padding: 5px 10px;
  border-radius: 2px;
}

/* Delegation dynamic rows */
.delegate-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 32px;
}
.delegate-row {
  background: var(--cherry-void);
  padding: 22px;
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 20px;
  align-items: end;
}
.delegate-row-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
  align-self: center;
}

@media (max-width: 860px) {
  .reg-tabs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .delegate-row { grid-template-columns: 1fr; }
  .delegate-row-index { align-self: start; }
}
@media (max-width: 480px) {
  .reg-tabs { grid-template-columns: 1fr; }
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 80px 32px 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 56px;
}
.footer-mark p {
  color: var(--ivory-dim);
  font-size: 14px;
  margin-top: 12px;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin: 0 0 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ivory-dim);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--ivory); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--ivory-dim);
  margin: 0;
}

/* =====================================================
   Legal pages (Terms, Privacy, Refund)
   ===================================================== */
.legal-hero {
  padding: 156px 32px 48px;
  border-bottom: 1px solid var(--line);
}
.legal-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ivory-dim);
  margin: 0;
}
.legal-section {
  padding: 64px 32px 100px;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ivory-dim);
  font-size: 15.5px;
  line-height: 1.75;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ivory);
  margin: 44px 0 16px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ivory);
  margin: 28px 0 10px;
}
.legal-content p { margin: 0 0 16px; }
.legal-content ul, .legal-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--cherry-bright); text-decoration: underline; text-decoration-color: rgba(226,35,63,0.35); }
.legal-content a:hover { text-decoration-color: var(--cherry-bright); }
.legal-content strong { color: var(--ivory); }
.legal-notice {
  border: 1px solid rgba(201,162,75,0.35);
  background: rgba(201,162,75,0.06);
  padding: 18px 20px;
  margin: 0 0 36px;
  font-size: 13.5px;
  color: var(--ivory-dim);
}
.legal-notice strong { color: var(--brass); }
.legal-toc {
  border: 1px solid var(--line);
  padding: 20px 24px;
  margin: 0 0 40px;
}
.legal-toc p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin: 0 0 12px;
}
.legal-toc ol {
  columns: 2;
  gap: 24px;
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}
.legal-toc li { margin-bottom: 6px; }
.legal-toc a { color: var(--ivory-dim); }
.legal-toc a:hover { color: var(--ivory); }

@media (max-width: 600px) {
  .legal-hero { padding: 132px 20px 40px; }
  .legal-section { padding: 48px 20px 72px; }
  .legal-toc ol { columns: 1; }
}
.status-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.status-card {
  max-width: 480px;
}
.status-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cherry-bright);
  margin-bottom: 18px;
  display: block;
}
.status-title {
  font-family: var(--font-display);
  font-size: 36px;
  margin: 0 0 16px;
}
.status-body {
  color: var(--ivory-dim);
  margin: 0 0 32px;
}
.status-legal-links {
  margin-top: 24px;
  font-size: 12px;
  color: var(--ivory-dim);
}
.status-legal-links a {
  color: var(--ivory-dim);
  transition: color 0.2s ease;
}
.status-legal-links a:hover { color: var(--ivory); }

/* =====================================================
   Responsive
   ===================================================== */

/* Tablet and below — nav collapses, sections/hero tighten.
   Grids above (.stat-row, .committee-grid, .form-grid) are already
   fluid via auto-fit/minmax, so they don't need column overrides here
   — they reflow continuously as width shrinks. */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 84px 22px; }
  .hero-content { padding: 0 22px 64px; }
  .countdown { gap: 10px; padding: 14px 16px; }
  .countdown-value { font-size: 22px; }
  .countdown-unit { min-width: 36px; }
  .glow-orb { display: none; }
  .reg-form { padding: 32px 24px; }
  .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Large phones / small tablets in portrait */
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-sub { font-size: 15px; }
  .section-lead { font-size: 15px; }
  .nav-inner { padding: 16px 20px; }
  .reg-hero { padding: 132px 20px 56px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; flex-wrap: wrap; }
}

/* Small phones — the width most likely to feel cramped otherwise */
@media (max-width: 420px) {
  .hero-title { font-size: 34px; }
  .eyebrow { font-size: 11px; }
  .countdown {
    gap: 6px;
    padding: 10px 8px;
    width: 100%;
    justify-content: space-between;
  }
  .countdown-unit { min-width: 0; }
  .countdown-value { font-size: 18px; }
  .countdown-label { font-size: 9px; }
  .countdown-sep { font-size: 16px; }
  .btn { padding: 13px 20px; font-size: 13px; }
  .section { padding: 64px 16px; }
  .section-title { font-size: 26px; }
  .reg-tab { padding: 16px 14px; }
  .reg-tab-label { font-size: 13px; }
  .field-wide { grid-column: 1 / -1; }
  .committee-card { padding: 26px 20px; }
  .stat { padding: 22px 18px; }
  .stat-value { font-size: 32px; }
  .nav-mark-eyebrow { display: none; }
  .nav-cta { padding: 7px 14px; font-size: 12px; }
  .status-title { font-size: 28px; }
}

