
/* ==========================================================================
   Mirabilis Design Global Hackathon
   Brand foundation: Mirabilis Design System tokens, adapted for the public web.
   ========================================================================== */

:root {
  --ink: #262626;
  --ink-true: #000000;
  --paper: #ffffff;
  --mirabilis-blue: #1e3fc8;
  --brand-red: #ff0000;
  --brand-blue: #147bd1;
  --brand-green: #00a376;
  --brand-amber: #ffb81c;

  --teal-700: #00778b;
  --cyan-400: #2cccd3;
  --cyan-300: #00d4ff;
  --blue-500: #147bd1;

  --acc-teal: #00778b;
  --acc-green: #00a376;
  --acc-amber: #ffb81c;
  --acc-orange: #ff8200;
  --acc-magenta: #ce0058;
  --acc-red: #ff0000;
  --acc-blue: #147bd1;
  --acc-violet: #6e4cc4;

  --n-0: #ffffff;
  --n-50: #f4f7fc;
  --n-100: #ecf1f7;
  --n-200: #dce3ec;
  --n-300: #c4ccd6;
  --n-400: #9aa6b4;
  --n-500: #6b7888;
  --n-600: #4b5663;
  --n-700: #333c47;
  --n-800: #20262e;
  --n-900: #141a21;
  --n-950: #0c1220;

  --success: #41d984;
  --error: #ff6262;
  --warning: #ffc14d;
  --info: #4d9fff;

  --primary: var(--cyan-400);
  --primary-bright: var(--cyan-300);
  --primary-deep: var(--teal-700);
  --highlight: var(--brand-amber);

  --bg-app: var(--n-950);
  --bg-panel: #121a2a;
  --bg-elev: #182235;
  --bg-row: #0f1726;
  --bg-hover: #202c41;
  --bg-sunken: #090f1b;
  --text-hi: #edf5ff;
  --text-mid: #aab9cc;
  --text-dim: #718198;
  --text-inv: #0c1722;
  --border-hair: rgba(214, 232, 255, 0.1);
  --border-mid: rgba(214, 232, 255, 0.17);
  --border-strong: rgba(214, 232, 255, 0.3);
  --focus-ring: rgba(44, 204, 211, 0.42);
  --canvas-grid: rgba(138, 165, 199, 0.07);
  --vibrancy: rgba(12, 18, 32, 0.72);

  --font-ui:
    "SF Pro Text", Inter, Assistant, system-ui, -apple-system, "Segoe UI",
    sans-serif;
  --font-display:
    "SF Pro Display", Inter, Assistant, system-ui, -apple-system, "Segoe UI",
    sans-serif;
  --font-mono:
    "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --font-tech: "Chakra Petch", var(--font-display);

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-30: 120px;

  --r-control: 6px;
  --r-panel: 10px;
  --r-pill: 999px;
  --r-dense: 3px;

  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.38);
  --sh-2: 0 2px 12px rgba(0, 0, 0, 0.42), 0 1px 3px rgba(0, 0, 0, 0.3);
  --sh-3: 0 12px 34px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.34);
  --sh-pop: 0 20px 60px rgba(0, 0, 0, 0.58), 0 4px 14px rgba(0, 0, 0, 0.4);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --dur-slow: 260ms;

  --page-width: 1180px;
  --header-height: 72px;
}

:root[data-theme="light"] {
  --primary: var(--teal-700);
  --primary-bright: var(--blue-500);
  --primary-deep: #005c6c;
  --success: #1a8a4a;
  --error: #c92424;
  --warning: #9d6100;
  --info: #147bd1;
  --bg-app: var(--n-50);
  --bg-panel: var(--n-0);
  --bg-elev: var(--n-0);
  --bg-row: #f8fafd;
  --bg-hover: var(--n-100);
  --bg-sunken: var(--n-100);
  --text-hi: #16202b;
  --text-mid: #4b5663;
  --text-dim: #748091;
  --text-inv: var(--n-0);
  --border-hair: rgba(20, 35, 60, 0.11);
  --border-mid: rgba(20, 35, 60, 0.19);
  --border-strong: rgba(20, 35, 60, 0.32);
  --focus-ring: rgba(0, 119, 139, 0.35);
  --canvas-grid: rgba(20, 35, 60, 0.06);
  --vibrancy: rgba(255, 255, 255, 0.78);
  --sh-1: 0 1px 2px rgba(16, 32, 55, 0.08), 0 1px 1px rgba(16, 32, 55, 0.04);
  --sh-2: 0 3px 12px rgba(16, 32, 55, 0.1), 0 1px 3px rgba(16, 32, 55, 0.06);
  --sh-3: 0 12px 34px rgba(16, 32, 55, 0.15), 0 2px 8px rgba(16, 32, 55, 0.08);
  --sh-pop: 0 20px 60px rgba(16, 32, 55, 0.2), 0 4px 14px rgba(16, 32, 55, 0.1);
}

/* Reset and global behavior ------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg-app);
  color: var(--text-hi);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition:
    background-color var(--dur-base) var(--ease),
    color var(--dur-base) var(--ease);
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text-hi);
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

p {
  color: var(--text-mid);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

::selection {
  background: color-mix(in srgb, var(--primary) 28%, transparent);
  color: var(--text-hi);
}

:focus-visible {
  border-radius: var(--r-control);
  outline: 2px solid var(--primary);
  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;
  z-index: 1000;
  top: var(--sp-3);
  left: var(--sp-3);
  padding: 10px 14px;
  border-radius: var(--r-control);
  background: var(--primary);
  color: var(--text-inv);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(var(--page-width), calc(100% - 48px));
  margin-inline: auto;
}

.label,
.eyebrow {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: var(--sp-5);
}

.eyebrow-on-dark {
  color: var(--cyan-400);
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    filter var(--dur-fast) var(--ease),
    opacity var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.44;
  transform: none;
}

.button-primary {
  background: var(--primary);
  color: var(--text-inv);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 22%, transparent);
}

:root[data-theme="dark"] .button-primary {
  color: var(--n-950);
}

.button-primary:hover {
  filter: brightness(1.08);
}

.button-secondary {
  border-color: var(--border-mid);
  background: var(--bg-panel);
  color: var(--text-hi);
}

.button-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button-highlight {
  background: var(--highlight);
  color: var(--n-950);
  box-shadow: 0 12px 30px rgba(255, 184, 28, 0.14);
}

.button-highlight:hover {
  filter: brightness(1.06);
}

.button-glass {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--n-0);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.button-glass:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.button-quiet {
  min-height: 38px;
  padding: 8px 12px;
  border-color: var(--border-mid);
  background: transparent;
  color: var(--text-mid);
}

.button-quiet:hover {
  border-color: var(--border-strong);
  color: var(--text-hi);
}

.button-large {
  min-height: 50px;
  padding: 14px 20px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.text-link svg {
  transition: transform var(--dur-fast) var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.text-link-on-dark {
  color: var(--cyan-400);
}

/* Navigation --------------------------------------------------------------- */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--border-hair);
  background: var(--vibrancy);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
}

.nav-shell {
  width: min(var(--page-width), calc(100% - 48px));
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  margin-inline: auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--sp-4);
}

.brand-logo-frame {
  position: relative;
  width: 116px;
  height: 34px;
}

.brand-logo {
  position: absolute;
  inset: 50% auto auto 0;
  width: 116px;
  height: auto;
  transform: translateY(-50%);
}

.logo-on-light {
  display: none;
}

.logo-on-dark {
  display: block;
}

:root[data-theme="light"] .logo-on-light {
  display: block;
}

:root[data-theme="light"] .logo-on-dark {
  display: none;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--border-mid);
}

.event-mark {
  display: grid;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: var(--sp-6);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 600;
  transition: color var(--dur-fast) var(--ease);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--text-hi);
}

.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-control);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease);
}

.icon-button:hover {
  border-color: var(--border-strong);
  background: var(--bg-hover);
  color: var(--primary);
}

.nav-register {
  min-height: 42px;
}

.menu-button,
.mobile-nav {
  display: none;
}

/* Hero --------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  background: #071126;
  color: var(--n-0);
  isolation: isolate;
}

.shader-canvas {
  position: absolute;
  z-index: -5;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.94;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 38, 0.26), rgba(7, 17, 38, 0.04) 52%, rgba(7, 17, 38, 0.28)),
    linear-gradient(180deg, rgba(7, 17, 38, 0.08), #071126 100%);
  pointer-events: none;
}

.hero-grid,
.page-hero-grid,
.final-cta-grid,
.confirmation-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(134, 167, 207, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 167, 207, 0.065) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.8) 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.8) 52%, transparent 100%);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.16;
  pointer-events: none;
}

.hero-orb-one {
  top: -160px;
  right: 6%;
  background: var(--cyan-300);
}

.hero-orb-two {
  bottom: -220px;
  left: 24%;
  background: var(--acc-violet);
}

.hero-layout {
  min-height: calc(100svh - var(--header-height) - 46px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(56px, 7vw, 104px);
  padding-block: clamp(72px, 9vw, 118px);
}

.hero-copy {
  max-width: 690px;
}

.hero-status {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.055);
  color: #b9c8dd;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.status-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(44, 204, 211, 0.1), 0 0 12px rgba(44, 204, 211, 0.6);
}

.status-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.17);
}

.hero h1 {
  max-width: 780px;
  color: var(--n-0);
  font-size: clamp(54px, 6.2vw, 88px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero h1 span {
  color: var(--highlight);
}

.hero-lede {
  max-width: 600px;
  margin-top: var(--sp-8);
  color: #b9c8dd;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.hero-facts {
  display: flex;
  gap: var(--sp-10);
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-facts div {
  min-width: 92px;
}

.hero-facts strong {
  display: block;
  color: var(--n-0);
  font-family: var(--font-mono);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 7px;
  color: #7f91aa;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-system {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(167, 203, 239, 0.16);
  border-radius: var(--r-panel);
  background: rgba(8, 19, 40, 0.56);
  box-shadow: var(--sh-pop), inset 0 1px rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.hero-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 72% 42%, rgba(44, 204, 211, 0.08), transparent 35%),
    linear-gradient(rgba(140, 174, 214, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 174, 214, 0.055) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  pointer-events: none;
}

.system-topline,
.system-readout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7587a1;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.system-topline {
  height: 48px;
  padding-inline: var(--sp-5);
  border-bottom: 1px solid rgba(167, 203, 239, 0.12);
}

.system-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan-400);
}

.system-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 10px var(--cyan-400);
}

.system-stage {
  position: relative;
  z-index: 1;
  min-height: 398px;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: center;
  padding: var(--sp-8);
}

.system-tracks {
  display: grid;
  gap: var(--sp-4);
}

.system-node {
  position: relative;
  width: 188px;
  min-height: 76px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid rgba(214, 232, 255, 0.13);
  border-left: 2px solid var(--node-tone);
  border-radius: var(--r-control);
  background: rgba(17, 32, 55, 0.85);
  box-shadow: var(--sh-2);
}

.system-node > span {
  color: var(--node-tone);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.system-node strong,
.system-node small {
  grid-column: 2;
}

.system-node strong {
  color: #ecf5ff;
  font-family: var(--font-tech);
  font-size: 15px;
  letter-spacing: 0.1em;
}

.system-node small {
  color: #798ba5;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.system-node-cyan {
  --node-tone: var(--cyan-300);
}

.system-node-amber {
  --node-tone: var(--acc-amber);
}

.system-node-green {
  --node-tone: var(--acc-green);
}

.system-connectors {
  position: absolute;
  top: 50%;
  left: 198px;
  width: 166px;
  height: 230px;
  transform: translateY(-50%);
}

.connector {
  position: absolute;
  right: 0;
  width: 100%;
  height: 46%;
  border-right: 1px solid var(--line-tone);
  opacity: 0.55;
}

.connector::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-tone);
  box-shadow: 0 0 10px var(--line-tone);
  right: -2px;
}

.connector-one {
  top: 0;
  border-top: 1px solid var(--cyan-300);
  border-top-right-radius: 90px;
  --line-tone: var(--cyan-300);
}

.connector-one::before {
  top: -3px;
}

.connector-two {
  top: 50%;
  height: 1px;
  border: 0;
  border-top: 1px solid var(--acc-amber);
  --line-tone: var(--acc-amber);
}

.connector-two::before {
  top: -3px;
}

.connector-three {
  bottom: 0;
  border-right-color: var(--acc-green);
  border-bottom: 1px solid var(--acc-green);
  border-bottom-right-radius: 90px;
  --line-tone: var(--acc-green);
}

.connector-three::before {
  bottom: -3px;
}

.system-core {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-content: center;
  justify-self: end;
  border: 1px solid rgba(44, 204, 211, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 204, 211, 0.18), rgba(8, 24, 48, 0.92) 68%);
  box-shadow: 0 0 48px rgba(44, 204, 211, 0.16), inset 0 0 24px rgba(44, 204, 211, 0.08);
  text-align: center;
}

.core-rings,
.core-rings::before,
.core-rings::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(44, 204, 211, 0.16);
  border-radius: 50%;
  content: "";
}

.core-rings::before {
  inset: 10px;
}

.core-rings::after {
  inset: 22px;
}

.system-core strong {
  position: relative;
  z-index: 1;
  color: var(--highlight);
  font-family: var(--font-tech);
  font-size: 29px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.system-core small {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: #8192aa;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-readout {
  min-height: 74px;
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid rgba(167, 203, 239, 0.12);
  background: rgba(5, 13, 28, 0.42);
}

.system-readout div {
  display: grid;
  gap: var(--sp-1);
}

.system-readout strong {
  color: #b8c9dd;
  font-size: 9px;
}

.hero-marquee {
  height: 46px;
  overflow: hidden;
  border-top: 1px solid rgba(188, 217, 247, 0.11);
  background: rgba(6, 15, 31, 0.7);
}

.hero-marquee div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  padding-inline: var(--sp-6);
}

.hero-marquee span {
  color: #778ba4;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-marquee i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan-400);
}

/* Shared sections ---------------------------------------------------------- */

.section {
  padding-block: var(--sp-24);
}

.section-heading {
  max-width: 720px;
  margin-bottom: var(--sp-12);
}

.section-heading h2 {
  font-size: clamp(34px, 4.2vw, 50px);
}

.section-heading > p:last-child {
  margin-top: var(--sp-5);
  font-size: 17px;
  line-height: 1.65;
}

.heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: var(--sp-16);
}

.heading-split > p {
  padding-bottom: 4px;
  font-size: 16px;
  line-height: 1.65;
}

.section-tracks {
  background:
    radial-gradient(circle at 8% 15%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 28%),
    var(--bg-app);
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}

.track-card {
  --tone: var(--primary);
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  overflow: hidden;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-1);
  transition:
    transform var(--dur-slow) var(--ease-out),
    border-color var(--dur-base) var(--ease),
    box-shadow var(--dur-slow) var(--ease-out);
}

.track-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--tone);
}

.track-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tone) 10%, transparent);
  filter: blur(25px);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
}

.track-card:hover {
  border-color: color-mix(in srgb, var(--tone) 42%, var(--border-mid));
  box-shadow: var(--sh-3);
  transform: translateY(-6px);
}

.track-card:hover::after {
  opacity: 1;
}

.tone-cyan {
  --tone: var(--cyan-400);
}

.tone-amber {
  --tone: var(--acc-amber);
}

.tone-green {
  --tone: var(--acc-green);
}

.tone-violet {
  --tone: var(--acc-violet);
}

.track-card-head,
.award-card-top,
.criterion-top,
.rule-card > div:first-child {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.track-number,
.track-label,
.track-output span {
  color: var(--tone);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.track-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent);
  border-radius: var(--r-control);
  background: color-mix(in srgb, var(--tone) 9%, transparent);
  color: var(--tone);
}

.track-label {
  margin-top: var(--sp-10);
}

.track-card h3 {
  margin-top: var(--sp-3);
  font-size: 27px;
}

.track-description {
  margin-top: var(--sp-4);
  font-size: 15px;
  line-height: 1.65;
}

.track-output {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border-hair);
}

.track-output strong {
  color: var(--text-hi);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.track-card > a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  color: var(--text-hi);
  font-size: 13px;
  font-weight: 700;
}

.track-card > a svg {
  color: var(--tone);
  transition: transform var(--dur-fast) var(--ease);
}

.track-card > a:hover svg {
  transform: translateX(3px);
}

.process-section {
  position: relative;
  overflow: hidden;
  background: #091326;
  color: var(--n-0);
}

.process-section::after {
  content: "";
  position: absolute;
  top: -240px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(30, 63, 200, 0.16);
  filter: blur(60px);
  pointer-events: none;
}

.process-section h2 {
  color: var(--n-0);
}

.process-section .heading-split > p {
  color: #98a9be;
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  position: relative;
  min-height: 220px;
  padding-right: var(--sp-6);
}

.process-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(44, 204, 211, 0.5);
  border-radius: 50%;
  background: #0d1b32;
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(44, 204, 211, 0.04);
}

.process-line {
  position: absolute;
  top: 18px;
  left: 48px;
  width: calc(100% - 60px);
  border-top: 1px dashed rgba(140, 171, 208, 0.26);
}

.process-grid h3 {
  margin-top: var(--sp-8);
  color: var(--n-0);
  font-size: 20px;
}

.process-grid p {
  max-width: 180px;
  margin-top: var(--sp-3);
  color: #8293aa;
  font-size: 13px;
  line-height: 1.65;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
}

.criterion-card {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-1);
}

.criterion-top {
  color: var(--primary);
}

.criterion-top span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.criterion-card h3 {
  margin-top: var(--sp-10);
  font-size: 21px;
}

.criterion-card p {
  margin-top: var(--sp-3);
  font-size: 14px;
  line-height: 1.65;
}

.criterion-meter {
  height: 3px;
  margin-top: auto;
  border-radius: var(--r-pill);
  background: var(--bg-sunken);
}

.criterion-meter span {
  width: 72%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary-bright));
}

.onboarding-section {
  border-top: 1px solid var(--border-hair);
  background: var(--bg-panel);
}

.onboarding-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(60px, 9vw, 128px);
}

.onboarding-copy h2 {
  max-width: 580px;
  font-size: clamp(34px, 4.2vw, 49px);
}

.onboarding-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin-top: var(--sp-5);
  font-size: 16px;
  line-height: 1.7;
}

.check-list,
.compact-check-list {
  display: grid;
  gap: var(--sp-3);
  padding: 0;
  list-style: none;
}

.check-list {
  margin: var(--sp-8) 0;
}

.check-list li,
.compact-check-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--text-hi);
  font-size: 14px;
}

.check-list svg,
.compact-check-list svg {
  flex: 0 0 auto;
  color: var(--success);
}

.onboarding-panel {
  overflow: hidden;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-app);
  box-shadow: var(--sh-2);
}

.onboarding-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border-hair);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.onboarding-step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  min-height: 104px;
  padding: var(--sp-5);
  border-bottom: 1px solid var(--border-hair);
  background: var(--bg-row);
}

.onboarding-step:last-child {
  border-bottom: 0;
}

.onboarding-step.is-active {
  background: color-mix(in srgb, var(--primary) 7%, var(--bg-row));
}

.onboarding-step.is-active::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--primary);
}

.onboarding-step > span {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.onboarding-step div {
  display: grid;
  gap: 4px;
}

.onboarding-step strong {
  color: var(--text-hi);
  font-size: 15px;
}

.onboarding-step small {
  color: var(--text-dim);
  font-size: 12px;
}

.onboarding-step i {
  padding: 4px 7px;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-pill);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.onboarding-step.is-active i {
  border-color: color-mix(in srgb, var(--primary) 38%, transparent);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-24);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(44, 204, 211, 0.14), transparent 46%),
    radial-gradient(ellipse at 85% 110%, rgba(110, 76, 196, 0.2), transparent 48%),
    #071126;
  text-align: center;
  isolation: isolate;
}

.final-cta-grid {
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 78%);
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.final-cta h2 {
  color: var(--n-0);
  font-size: clamp(39px, 5.2vw, 61px);
}

.final-cta p:not(.eyebrow) {
  max-width: 640px;
  margin: var(--sp-5) auto 0;
  color: #9fb0c5;
  font-size: 17px;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

/* Shared interior-page hero ----------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(74px, 9vw, 112px);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(44, 204, 211, 0.15), transparent 38%),
    radial-gradient(ellipse at 10% 110%, rgba(30, 63, 200, 0.22), transparent 42%),
    #08142a;
  isolation: isolate;
}

.page-hero-grid {
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 820px;
  color: var(--n-0);
  font-size: clamp(46px, 6.4vw, 74px);
  letter-spacing: -0.045em;
}

.page-hero-description {
  max-width: 720px;
  margin-top: var(--sp-5);
  color: #aebed2;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.055);
  color: #b9c8dc;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero-meta svg {
  color: var(--cyan-400);
}

/* Forms -------------------------------------------------------------------- */

.form-page {
  padding-block: var(--sp-20) var(--sp-24);
  background:
    linear-gradient(var(--canvas-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--canvas-grid) 1px, transparent 1px),
    var(--bg-app);
  background-size: 48px 48px;
}

.form-page-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 780px);
  align-items: start;
  justify-content: center;
  gap: var(--sp-10);
}

.form-aside,
.submission-aside {
  position: sticky;
  top: calc(var(--header-height) + var(--sp-8));
}

.form-aside h2,
.submission-aside h2 {
  margin-top: var(--sp-3);
  font-size: 25px;
  line-height: 1.18;
}

.form-aside > ol {
  display: grid;
  gap: var(--sp-5);
  margin: var(--sp-8) 0 0;
  padding: 0;
  list-style: none;
}

.form-aside li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: var(--sp-3);
}

.form-aside li > span,
.submission-check > span {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.form-aside li p {
  font-size: 13px;
  line-height: 1.55;
}

.form-aside li strong,
.submission-check strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-hi);
  font-size: 13px;
}

.aside-help {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  padding: var(--sp-4);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-control);
  background: var(--bg-panel);
}

.aside-help svg {
  flex: 0 0 auto;
  color: var(--primary);
}

.aside-help div {
  display: grid;
  gap: 3px;
}

.aside-help strong {
  color: var(--text-hi);
  font-size: 12px;
}

.aside-help a {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 9px;
}

.registration-form,
.submission-form,
.unlock-card,
.form-success {
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-3);
}

.registration-form,
.submission-form {
  overflow: hidden;
}

.form-progress {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-8);
  border-bottom: 1px solid var(--border-hair);
  background: var(--bg-row);
}

.form-progress > div {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.form-progress > div > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.form-progress .is-current > span,
.form-progress .is-complete > span {
  border-color: color-mix(in srgb, var(--primary) 46%, transparent);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
}

.form-progress > div > div {
  display: grid;
  gap: 2px;
}

.form-progress strong {
  color: var(--text-hi);
  font-size: 11px;
  white-space: nowrap;
}

.form-progress small {
  color: var(--text-dim);
  font-size: 9px;
  white-space: nowrap;
}

.form-progress > i {
  border-top: 1px dashed var(--border-mid);
}

.form-notice {
  display: flex;
  gap: var(--sp-3);
  margin: var(--sp-6) var(--sp-8) 0;
  padding: var(--sp-4);
  border: 1px solid color-mix(in srgb, var(--info) 22%, var(--border-hair));
  border-left: 2px solid var(--info);
  border-radius: var(--r-control);
  background: color-mix(in srgb, var(--info) 7%, var(--bg-row));
}

.form-notice > svg {
  flex: 0 0 auto;
  color: var(--info);
}

.form-notice div {
  display: grid;
  gap: 4px;
}

.form-notice strong {
  color: var(--text-hi);
  font-size: 13px;
}

.form-notice p {
  font-size: 12px;
  line-height: 1.55;
}

.form-section {
  padding: var(--sp-8);
  border-bottom: 1px solid var(--border-hair);
}

.form-section-heading {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.form-section-heading > span {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 24px;
}

.form-section-heading h2 {
  font-size: 20px;
  letter-spacing: -0.015em;
}

.form-section-heading p {
  margin-top: 4px;
  font-size: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

.field-full {
  grid-column: 1 / -1;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-hi);
  font-size: 12px;
  font-weight: 650;
}

.field label span {
  margin-left: 5px;
  color: var(--text-dim);
  font-weight: 500;
}

.field input,
.field select,
.field textarea,
.registration-form input:not([type="radio"]):not([type="checkbox"]),
.registration-form select,
.submission-form input,
.submission-form select,
.submission-form textarea,
.unlock-card input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-control);
  outline: 0;
  background: var(--bg-app);
  color: var(--text-hi);
  font-size: 14px;
  transition:
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease);
}

.field textarea,
.submission-form textarea {
  min-height: 154px;
  resize: vertical;
  line-height: 1.55;
}

.field input::placeholder,
.field textarea::placeholder,
.unlock-card input::placeholder {
  color: var(--text-dim);
  opacity: 0.8;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.unlock-card input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.field small,
.field-meta {
  display: block;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 10px;
  line-height: 1.45;
}

.member-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-pill);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
}

.member-list {
  display: grid;
  gap: var(--sp-3);
}

.member-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 0.8fr) minmax(0, 1.1fr) 40px;
  align-items: end;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--border-hair);
  border-radius: var(--r-control);
  background: var(--bg-row);
}

.member-index {
  align-self: center;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.member-row .field label {
  font-size: 10px;
}

.member-row input {
  min-height: 42px !important;
  background: var(--bg-panel) !important;
  font-size: 13px !important;
}

.member-remove {
  width: 40px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-control);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease);
}

.member-remove:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--error) 36%, transparent);
  background: color-mix(in srgb, var(--error) 7%, transparent);
  color: var(--error);
}

.member-remove:disabled {
  cursor: not-allowed;
  opacity: 0.25;
}

.add-member {
  margin-top: var(--sp-3);
}

.add-member > span {
  margin-left: var(--sp-2);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.track-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  padding: 0;
  border: 0;
}

.track-option {
  --tone: var(--primary);
  position: relative;
  min-height: 110px;
  display: grid;
  grid-template-columns: 28px 1fr 22px;
  align-items: start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-control);
  background: var(--bg-row);
  cursor: pointer;
  transition:
    border-color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.track-option:hover {
  border-color: color-mix(in srgb, var(--tone) 38%, var(--border-mid));
  transform: translateY(-1px);
}

.track-option.is-selected {
  border-color: color-mix(in srgb, var(--tone) 60%, transparent);
  background: color-mix(in srgb, var(--tone) 8%, var(--bg-row));
  box-shadow: inset 2px 0 var(--tone);
}

.track-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.track-option-number {
  color: var(--tone);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 24px;
}

.track-option-copy {
  display: grid;
  gap: 5px;
}

.track-option-copy strong {
  color: var(--text-hi);
  font-size: 13px;
}

.track-option-copy small {
  color: var(--text-dim);
  font-size: 10px;
  line-height: 1.45;
}

.radio-mark {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  color: transparent;
  transition:
    color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.track-option.is-selected .radio-mark {
  border-color: var(--tone);
  background: var(--tone);
  color: var(--n-950);
}

.form-consent {
  display: grid;
  gap: var(--sp-5);
}

.checkbox-field {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: var(--sp-3);
  color: var(--text-mid);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.55;
}

.checkbox-field input {
  position: absolute;
  opacity: 0;
}

.checkbox-mark {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  color: transparent;
  transition:
    color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.checkbox-field input:focus-visible + .checkbox-mark {
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.checkbox-field input:checked + .checkbox-mark {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--text-inv);
}

.checkbox-field a {
  color: var(--primary);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.captcha-slot {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px dashed var(--border-mid);
  border-radius: var(--r-control);
  background: var(--bg-row);
}

.captcha-slot > svg {
  color: var(--text-dim);
}

.captcha-slot > div {
  display: grid;
  gap: 3px;
}

.captcha-slot strong {
  color: var(--text-hi);
  font-size: 11px;
}

.captcha-slot small {
  color: var(--text-dim);
  font-size: 9px;
}

.captcha-slot > span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-6) var(--sp-8);
  background: var(--bg-row);
}

.form-submit-row > div {
  display: grid;
  gap: 4px;
}

.form-submit-row strong {
  color: var(--text-hi);
  font-size: 12px;
}

.form-submit-row span {
  color: var(--text-dim);
  font-size: 10px;
}

.form-success {
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
}

.success-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto var(--sp-6);
  border: 1px solid color-mix(in srgb, var(--success) 36%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 9%, transparent);
  color: var(--success);
}

.form-success h2 {
  font-size: clamp(31px, 5vw, 43px);
}

.form-success > p:not(.eyebrow) {
  max-width: 590px;
  margin: var(--sp-4) auto 0;
  font-size: 15px;
  line-height: 1.65;
}

.success-next {
  max-width: 590px;
  margin: var(--sp-8) auto 0;
  padding: var(--sp-5);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-control);
  background: var(--bg-row);
  text-align: left;
}

.success-next > span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.success-next ol {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding: 0;
  list-style: none;
}

.success-next li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--text-mid);
  font-size: 12px;
}

.success-next strong {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 10px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

/* Submission --------------------------------------------------------------- */

.submit-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 780px);
  align-items: start;
  justify-content: center;
  gap: var(--sp-10);
}

.submission-aside > .label {
  display: block;
}

.submission-check {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.submission-check p {
  font-size: 12px;
  line-height: 1.55;
}

.submission-aside > .text-link {
  margin-top: var(--sp-8);
}

.unlock-card {
  max-width: 570px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 48px);
}

.unlock-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-8);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: var(--r-control);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
}

.unlock-card h2 {
  font-size: 34px;
}

.unlock-card > p:not(.eyebrow) {
  margin: var(--sp-3) 0 var(--sp-8);
  font-size: 14px;
  line-height: 1.6;
}

.unlock-card .field {
  margin-top: var(--sp-4);
}

.unlock-card .input-code {
  font-family: var(--font-mono);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.unlock-card > .button {
  width: 100%;
  margin-top: var(--sp-6);
}

.prototype-hint {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  color: var(--text-dim);
  font-size: 9px;
  line-height: 1.5;
}

.prototype-hint svg {
  flex: 0 0 auto;
  color: var(--warning);
}

.submission-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-5);
  border-bottom: 1px solid var(--border-hair);
  background: var(--bg-sunken);
}

.verified-team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--success) 32%, transparent);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--success) 7%, transparent);
  color: var(--success);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.submission-progress {
  border-top: 0;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
}

.field-meta small {
  margin: 0;
}

.field-meta span {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.link-field {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.link-field:first-of-type {
  margin-top: 0;
}

.link-field > svg {
  margin-top: 31px;
  color: var(--primary);
}

.submission-receipt {
  max-width: 460px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-3) var(--sp-6);
  margin: var(--sp-8) auto 0;
  padding: var(--sp-5);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-control);
  background: var(--bg-row);
  text-align: left;
}

.submission-receipt span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.submission-receipt strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-hi);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.submission-receipt i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

/* Schedule ----------------------------------------------------------------- */

.schedule-section {
  background: var(--bg-app);
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: var(--sp-16);
}

.schedule-main .section-heading {
  margin-bottom: var(--sp-10);
}

.schedule-timeline {
  padding: 0;
  list-style: none;
}

.schedule-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
}

.schedule-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 42px;
  bottom: -6px;
  left: 19px;
  border-left: 1px dashed var(--border-mid);
}

.schedule-marker {
  position: relative;
  z-index: 1;
}

.schedule-marker span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 42%, transparent);
  border-radius: 50%;
  background: var(--bg-app);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.schedule-card {
  min-height: 150px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-6);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-1);
}

.schedule-card h3 {
  margin-top: var(--sp-3);
  font-size: 21px;
}

.schedule-card p {
  max-width: 610px;
  margin-top: var(--sp-2);
  font-size: 13px;
  line-height: 1.6;
}

.schedule-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--warning);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.schedule-card > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
}

.schedule-aside {
  position: sticky;
  top: calc(var(--header-height) + var(--sp-8));
  display: grid;
  gap: var(--sp-4);
}

.schedule-aside-card {
  padding: var(--sp-5);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-1);
}

.calendar-readout {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  border-radius: var(--r-control);
  background: color-mix(in srgb, var(--warning) 7%, var(--bg-row));
  color: var(--warning);
}

.calendar-readout div {
  display: grid;
  gap: 2px;
}

.calendar-readout strong {
  color: var(--text-hi);
  font-size: 12px;
}

.calendar-readout span {
  color: var(--text-dim);
  font-size: 9px;
}

.schedule-aside-card > p:not(.label) {
  margin-top: var(--sp-4);
  font-size: 12px;
  line-height: 1.6;
}

.schedule-aside .compact-check-list {
  margin-top: var(--sp-5);
}

.schedule-aside .compact-check-list li {
  font-size: 12px;
}

/* Rules -------------------------------------------------------------------- */

.rules-section {
  background: var(--bg-app);
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
}

.rule-card {
  min-height: 260px;
  padding: var(--sp-6);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-1);
}

.rule-card > div:first-child {
  color: var(--primary);
}

.rule-card > div:first-child span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.rule-card h3 {
  margin-top: var(--sp-10);
  font-size: 20px;
}

.rule-card p {
  margin-top: var(--sp-3);
  font-size: 13px;
  line-height: 1.65;
}

.code-of-conduct {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: var(--sp-16);
  margin-top: var(--sp-12);
  padding: var(--sp-10);
  border: 1px solid rgba(44, 204, 211, 0.16);
  border-radius: var(--r-panel);
  background:
    radial-gradient(circle at 0% 100%, rgba(30, 63, 200, 0.18), transparent 45%),
    #091326;
  box-shadow: var(--sh-3);
}

.code-of-conduct h2 {
  color: var(--n-0);
  font-size: 34px;
}

.conduct-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}

.conduct-points p {
  color: #8496ad;
  font-size: 12px;
  line-height: 1.6;
}

.conduct-points strong {
  display: block;
  margin-bottom: var(--sp-2);
  color: var(--n-0);
  font-size: 13px;
}

.faq-section {
  border-top: 1px solid var(--border-hair);
  background: var(--bg-panel);
}

.faq-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  gap: var(--sp-16);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + var(--sp-8));
}

.faq-intro h2 {
  font-size: 34px;
}

.faq-intro > p:not(.eyebrow) {
  margin-top: var(--sp-4);
  font-size: 13px;
  line-height: 1.65;
}

.faq-intro .button {
  margin-top: var(--sp-6);
}

.faq-list {
  border-top: 1px solid var(--border-mid);
}

.faq-list details {
  border-bottom: 1px solid var(--border-mid);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  gap: var(--sp-3);
  min-height: 78px;
  padding: var(--sp-4) 0;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.faq-list summary strong {
  color: var(--text-hi);
  font-size: 15px;
}

.faq-list summary i {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 2px;
  width: 14px;
  height: 1px;
  background: var(--primary);
  transition: transform var(--dur-base) var(--ease);
}

.faq-list summary i::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 760px;
  padding: 0 44px var(--sp-6) 48px;
  font-size: 13px;
  line-height: 1.7;
}

/* Prizes ------------------------------------------------------------------- */

.awards-section {
  background: var(--bg-app);
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}

.award-card {
  --tone: var(--primary);
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  border: 1px solid var(--border-mid);
  border-top: 2px solid var(--tone);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-1);
}

.award-card-top {
  color: var(--tone);
}

.award-card-top span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.award-card h3 {
  margin-top: var(--sp-10);
  font-size: 24px;
}

.award-card > p {
  margin-top: var(--sp-3);
  font-size: 13px;
  line-height: 1.65;
}

.award-value {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-hair);
}

.award-value span,
.grand-award-status span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.award-value strong {
  color: var(--tone);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.grand-award {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: var(--sp-6);
  margin-top: var(--sp-6);
  padding: var(--sp-8);
  border: 1px solid rgba(255, 184, 28, 0.26);
  border-radius: var(--r-panel);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 184, 28, 0.11), transparent 33%),
    #091326;
  box-shadow: var(--sh-3);
}

.grand-award-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 184, 28, 0.3);
  border-radius: 50%;
  background: rgba(255, 184, 28, 0.08);
  color: var(--highlight);
}

.grand-award h2 {
  color: var(--n-0);
  font-size: 30px;
}

.grand-award p:not(.eyebrow) {
  max-width: 620px;
  margin-top: var(--sp-2);
  color: #8fa1b9;
  font-size: 13px;
}

.grand-award-status {
  display: grid;
  gap: var(--sp-2);
  text-align: right;
}

.grand-award-status strong {
  color: var(--highlight);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.recognition-section {
  border-top: 1px solid var(--border-hair);
  background: var(--bg-panel);
}

.recognition-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: var(--sp-16);
}

.recognition-grid h2 {
  max-width: 430px;
  font-size: 40px;
}

.recognition-list {
  display: grid;
  border-top: 1px solid var(--border-mid);
}

.recognition-list > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--border-mid);
}

.recognition-list > div > span {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.recognition-list p {
  font-size: 13px;
  line-height: 1.6;
}

.recognition-list strong {
  display: block;
  margin-bottom: var(--sp-1);
  color: var(--text-hi);
  font-size: 14px;
}

.partners-section {
  padding-block: var(--sp-16);
  background: var(--bg-app);
}

.partners-inner {
  display: grid;
  grid-template-columns: 0.55fr 1fr auto;
  align-items: center;
  gap: var(--sp-10);
}

.partners-inner h2 {
  font-size: 25px;
}

.partner-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}

.partner-placeholder span {
  min-height: 72px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--border-mid);
  border-radius: var(--r-control);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

/* Confirmation ------------------------------------------------------------- */

.confirmation-page {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: var(--sp-20);
  background:
    radial-gradient(circle at 15% 20%, rgba(44, 204, 211, 0.12), transparent 34%),
    radial-gradient(circle at 90% 85%, rgba(110, 76, 196, 0.18), transparent 35%),
    #071126;
  isolation: isolate;
}

.confirmation-grid {
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 90%);
  mask-image: radial-gradient(circle at center, black, transparent 90%);
}

.confirmation-layout {
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(300px, 390px);
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
}

.confirmation-card {
  position: relative;
  padding: clamp(32px, 6vw, 60px);
  border: 1px solid rgba(196, 222, 248, 0.16);
  border-radius: var(--r-panel);
  background: rgba(14, 28, 51, 0.78);
  box-shadow: var(--sh-pop);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
}

.confirmation-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-8);
  border: 1px solid color-mix(in srgb, var(--status-tone) 38%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--status-tone) 9%, transparent);
  color: var(--status-tone);
}

.status-pending {
  --status-tone: var(--cyan-400);
}

.status-success {
  --status-tone: var(--success);
}

.status-expired {
  --status-tone: var(--warning);
}

.confirmation-card .eyebrow {
  color: var(--status-tone);
}

.confirmation-card h1 {
  color: var(--n-0);
  font-size: clamp(38px, 6vw, 54px);
}

.confirmation-description {
  margin-top: var(--sp-4);
  color: #a1b3c9;
  font-size: 15px;
  line-height: 1.7;
}

.confirmation-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.confirmation-details > div {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid rgba(199, 222, 247, 0.11);
  border-radius: var(--r-control);
  background: rgba(255, 255, 255, 0.035);
}

.confirmation-details svg {
  flex: 0 0 auto;
  color: var(--status-tone);
}

.confirmation-details span {
  color: #8193aa;
  font-size: 10px;
  line-height: 1.55;
}

.confirmation-details strong {
  display: block;
  margin-bottom: 3px;
  color: #dce8f7;
  font-size: 11px;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.confirmation-card .button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #d9e5f3;
}

.status-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(199, 222, 247, 0.11);
}

.status-preview > span {
  margin-right: var(--sp-2);
  color: #647890;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.status-preview button {
  padding: 5px 8px;
  border: 1px solid rgba(199, 222, 247, 0.13);
  border-radius: var(--r-pill);
  background: transparent;
  color: #778ba4;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.status-preview button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--status-tone) 44%, transparent);
  background: color-mix(in srgb, var(--status-tone) 9%, transparent);
  color: var(--status-tone);
}

.confirmation-aside {
  color: var(--n-0);
}

.confirmation-aside .label {
  color: var(--cyan-400);
}

.confirmation-aside h2 {
  margin-top: var(--sp-4);
  color: var(--n-0);
  font-size: 32px;
}

.confirmation-aside > p {
  margin-top: var(--sp-4);
  color: #899bb1;
  font-size: 13px;
  line-height: 1.65;
}

.confirmation-flow {
  margin-top: var(--sp-8);
}

.confirmation-flow > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--sp-3);
}

.confirmation-flow > div > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(44, 204, 211, 0.3);
  border-radius: 50%;
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: 9px;
}

.confirmation-flow p {
  color: #71849c;
  font-size: 10px;
}

.confirmation-flow strong {
  display: block;
  color: #d9e5f3;
  font-size: 11px;
}

.confirmation-flow > i {
  display: block;
  height: 24px;
  margin-left: 14px;
  border-left: 1px dashed rgba(44, 204, 211, 0.25);
}

/* Results ------------------------------------------------------------------ */

.results-section {
  background: var(--bg-app);
}

.results-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-control);
  background: var(--bg-panel);
}

.results-status > div {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.results-status strong {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.results-status p {
  font-size: 11px;
}

.result-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}

.result-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-1);
}

.result-card.is-featured {
  border-color: color-mix(in srgb, var(--highlight) 48%, var(--border-mid));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--highlight) 20%, transparent), var(--sh-3);
}

.result-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  border-radius: var(--r-control);
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  color: var(--primary);
}

.result-card.is-featured .result-icon {
  border-color: color-mix(in srgb, var(--highlight) 30%, transparent);
  background: color-mix(in srgb, var(--highlight) 8%, transparent);
  color: var(--highlight);
}

.result-card > p {
  margin-top: var(--sp-8);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.result-card h2 {
  margin-top: var(--sp-3);
  font-size: 27px;
}

.result-card > span {
  margin-top: var(--sp-3);
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.6;
}

.pending-line {
  display: flex;
  gap: 5px;
  margin-top: auto;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border-hair);
}

.pending-line i {
  height: 4px;
  flex: 1;
  border-radius: var(--r-pill);
  background: var(--bg-sunken);
}

.pending-line i:first-child {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-sunken));
}

.standings-panel {
  overflow: hidden;
  margin-top: var(--sp-12);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-2);
}

.standings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-6) var(--sp-8);
  border-bottom: 1px solid var(--border-hair);
}

.standings-head .eyebrow {
  margin-bottom: var(--sp-2);
}

.standings-head h2 {
  font-size: 25px;
}

.standings-head > span {
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--warning) 7%, transparent);
  color: var(--warning);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.standings-empty {
  display: grid;
  justify-items: center;
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
}

.empty-radar {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: var(--sp-6);
  border: 1px solid var(--border-mid);
  border-radius: 50%;
}

.empty-radar span {
  position: absolute;
  inset: 15px;
  border: 1px solid var(--border-hair);
  border-radius: 50%;
}

.empty-radar span:nth-child(2) {
  inset: 30px;
}

.empty-radar span:nth-child(3) {
  inset: 45px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

.empty-radar i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform-origin: left center;
  transform: rotate(28deg);
}

.standings-empty h3 {
  font-size: 20px;
}

.standings-empty p {
  max-width: 460px;
  margin-top: var(--sp-2);
  font-size: 12px;
}

.standings-columns {
  display: grid;
  grid-template-columns: 70px 1fr 160px 90px;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-8);
  border-top: 1px solid var(--border-hair);
  background: var(--bg-row);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.standings-columns span:last-child {
  text-align: right;
}

.results-cta {
  padding-block: var(--sp-16);
  background: #091326;
}

.results-cta > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.results-cta h2 {
  color: var(--n-0);
  font-size: 34px;
}

.results-cta > div > div:last-child {
  display: flex;
  gap: var(--sp-3);
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
  padding-top: var(--sp-16);
  border-top: 1px solid var(--border-hair);
  background: var(--bg-sunken);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 180px 220px;
  gap: var(--sp-16);
  padding-bottom: var(--sp-12);
}

.footer-kicker {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-brand h2 {
  margin-top: var(--sp-3);
  font-size: 30px;
}

.footer-brand p {
  max-width: 440px;
  margin-top: var(--sp-3);
  font-size: 13px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
}

.footer-links .label {
  margin-bottom: var(--sp-2);
}

.footer-links a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-mid);
  font-size: 12px;
  transition: color var(--dur-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-base {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-5);
  border-top: 1px solid var(--border-hair);
}

.footer-logo {
  position: relative;
  width: 100px;
  height: 30px;
}

.footer-logo img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100px;
  transform: translateY(-50%);
}

.footer-base p {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.footer-status {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  text-transform: uppercase;
}

.footer-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warning);
}

/* Light appearance: all primary reading and hero surfaces have a true variant. */

:root[data-theme="light"] .hero {
  background: var(--n-50);
  color: var(--text-hi);
}

:root[data-theme="light"] .hero::after {
  background:
    linear-gradient(90deg, rgba(244, 247, 252, 0.3), rgba(244, 247, 252, 0.04) 52%, rgba(244, 247, 252, 0.42)),
    linear-gradient(180deg, rgba(244, 247, 252, 0.06), var(--n-50) 100%);
}

:root[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(20, 35, 60, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 60, 0.055) 1px, transparent 1px);
}

:root[data-theme="light"] .hero .eyebrow {
  color: var(--primary-deep);
}

:root[data-theme="light"] .hero-status {
  border-color: var(--border-mid);
  background: rgba(255, 255, 255, 0.58);
  color: var(--text-mid);
}

:root[data-theme="light"] .hero-status .status-divider {
  background: var(--border-mid);
}

:root[data-theme="light"] .hero h1 {
  color: var(--text-hi);
}

:root[data-theme="light"] .hero-lede {
  color: var(--text-mid);
}

:root[data-theme="light"] .hero .button-glass {
  border-color: var(--border-mid);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text-hi);
}

:root[data-theme="light"] .hero .button-glass:hover {
  border-color: var(--primary);
  background: var(--n-0);
}

:root[data-theme="light"] .hero-facts {
  border-color: var(--border-mid);
}

:root[data-theme="light"] .hero-facts strong {
  color: var(--text-hi);
}

:root[data-theme="light"] .hero-facts span {
  color: var(--text-dim);
}

:root[data-theme="light"] .hero-system {
  border-color: var(--border-mid);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--sh-pop), inset 0 1px rgba(255, 255, 255, 0.7);
}

:root[data-theme="light"] .hero-system::before {
  background-image:
    radial-gradient(circle at 72% 42%, rgba(0, 119, 139, 0.065), transparent 35%),
    linear-gradient(rgba(20, 35, 60, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 60, 0.045) 1px, transparent 1px);
}

:root[data-theme="light"] .system-topline,
:root[data-theme="light"] .system-readout {
  color: var(--text-dim);
}

:root[data-theme="light"] .system-topline {
  border-color: var(--border-hair);
}

:root[data-theme="light"] .system-node {
  border-color: var(--border-mid);
  border-left-color: var(--node-tone);
  background: rgba(255, 255, 255, 0.88);
}

:root[data-theme="light"] .system-node strong {
  color: var(--text-hi);
}

:root[data-theme="light"] .system-node small {
  color: var(--text-dim);
}

:root[data-theme="light"] .system-core {
  background: radial-gradient(circle, rgba(0, 119, 139, 0.09), rgba(255, 255, 255, 0.92) 68%);
  box-shadow: 0 0 38px rgba(0, 119, 139, 0.09), inset 0 0 24px rgba(0, 119, 139, 0.05);
}

:root[data-theme="light"] .system-core small {
  color: var(--text-dim);
}

:root[data-theme="light"] .system-readout {
  border-color: var(--border-hair);
  background: rgba(244, 247, 252, 0.62);
}

:root[data-theme="light"] .system-readout strong {
  color: var(--text-mid);
}

:root[data-theme="light"] .hero-marquee {
  border-color: var(--border-hair);
  background: rgba(255, 255, 255, 0.62);
}

:root[data-theme="light"] .hero-marquee span {
  color: var(--text-dim);
}

:root[data-theme="light"] .page-hero {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(0, 119, 139, 0.1), transparent 38%),
    radial-gradient(ellipse at 10% 110%, rgba(30, 63, 200, 0.08), transparent 42%),
    var(--n-50);
}

:root[data-theme="light"] .page-hero-grid {
  background-image:
    linear-gradient(rgba(20, 35, 60, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 60, 0.05) 1px, transparent 1px);
}

:root[data-theme="light"] .page-hero h1 {
  color: var(--text-hi);
}

:root[data-theme="light"] .page-hero .eyebrow {
  color: var(--primary-deep);
}

:root[data-theme="light"] .page-hero-description {
  color: var(--text-mid);
}

:root[data-theme="light"] .page-hero-meta span {
  border-color: var(--border-mid);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text-mid);
}

/* Enter-once motion uses only opacity and transform. */

.motion-ready .section-heading,
.motion-ready .track-card,
.motion-ready .criterion-card,
.motion-ready .onboarding-copy,
.motion-ready .onboarding-panel,
.motion-ready .process-grid > li,
.motion-ready .rule-card,
.motion-ready .award-card,
.motion-ready .result-card,
.motion-ready .schedule-timeline > li,
.motion-ready .recognition-list > div {
  opacity: 0;
  transform: translateY(14px);
}

.motion-ready .is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--reveal-order, 0) * 45ms);
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1120px) {
  .desktop-nav {
    gap: var(--sp-4);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: var(--sp-10);
  }

  .hero h1 {
    font-size: clamp(52px, 6vw, 72px);
  }

  .system-stage {
    padding-inline: var(--sp-5);
  }

  .system-node {
    width: 162px;
  }

  .system-connectors {
    left: 170px;
    width: 128px;
  }

  .track-card {
    padding: var(--sp-6);
  }

  .onboarding-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: var(--sp-12);
  }

  .rule-grid,
  .criteria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

  .page-shell,
  .nav-shell {
    width: min(var(--page-width), calc(100% - 32px));
  }

  .desktop-nav,
  .nav-register {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .menu-button {
    display: inline-grid;
  }

  .mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    overflow: auto;
    padding: var(--sp-6) 16px;
    border-top: 1px solid var(--border-hair);
    background: color-mix(in srgb, var(--bg-sunken) 96%, transparent);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity var(--dur-base) var(--ease),
      transform var(--dur-slow) var(--ease-out);
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav nav {
    width: min(560px, 100%);
    display: grid;
    margin-inline: auto;
    border-top: 1px solid var(--border-mid);
  }

  .mobile-nav nav > a:not(.mobile-register) {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: var(--sp-3);
    min-height: 68px;
    border-bottom: 1px solid var(--border-mid);
    color: var(--text-hi);
    font-size: 18px;
    font-weight: 650;
  }

  .mobile-nav-index {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 9px;
  }

  .mobile-nav .mobile-register {
    margin-top: var(--sp-6);
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: var(--sp-16);
    padding-block: var(--sp-20);
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-system {
    width: min(560px, 100%);
    min-height: 500px;
    margin-inline: auto;
  }

  .system-node {
    width: 190px;
  }

  .system-connectors {
    left: 202px;
    width: 190px;
  }

  .heading-split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--sp-5);
  }

  .heading-split > p {
    max-width: 680px;
  }

  .track-grid,
  .award-grid,
  .result-cards {
    grid-template-columns: 1fr;
  }

  .track-card {
    min-height: 360px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-8) var(--sp-4);
  }

  .process-grid li {
    min-height: 180px;
  }

  .process-line {
    display: none;
  }

  .onboarding-grid {
    grid-template-columns: 1fr;
  }

  .form-page-layout,
  .submit-layout {
    grid-template-columns: 1fr;
    max-width: 780px;
  }

  .form-aside,
  .submission-aside,
  .schedule-aside,
  .faq-intro {
    position: static;
  }

  .form-aside {
    display: none;
  }

  .submission-aside {
    padding: var(--sp-5);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-panel);
    background: var(--bg-panel);
  }

  .schedule-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .schedule-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-aside > .button {
    grid-column: 1 / -1;
  }

  .code-of-conduct,
  .recognition-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .partners-inner {
    grid-template-columns: 1fr;
  }

  .confirmation-layout {
    grid-template-columns: minmax(0, 650px);
  }

  .confirmation-aside {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .nav-shell {
    width: min(var(--page-width), calc(100% - 24px));
  }

  .section {
    padding-block: var(--sp-16);
  }

  .brand-logo-frame,
  .brand-logo {
    width: 94px;
  }

  .brand-divider,
  .event-mark {
    display: none;
  }

  .hero-layout {
    padding-block: var(--sp-16);
  }

  .hero-status {
    margin-bottom: var(--sp-8);
  }

  .hero h1 {
    font-size: clamp(47px, 14vw, 62px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions,
  .final-cta-actions {
    display: grid;
  }

  .hero-actions .button,
  .final-cta-actions .button {
    width: 100%;
  }

  .hero-facts {
    gap: var(--sp-5);
  }

  .hero-facts div {
    min-width: 0;
    flex: 1;
  }

  .hero-facts strong {
    font-size: 19px;
  }

  .hero-facts span {
    font-size: 8px;
  }

  .hero-system {
    min-height: 450px;
  }

  .system-topline {
    padding-inline: var(--sp-4);
  }

  .system-stage {
    min-height: 334px;
    grid-template-columns: 1fr 90px;
    padding: var(--sp-4);
  }

  .system-node {
    width: 154px;
    min-height: 66px;
    grid-template-columns: 28px 1fr;
    padding: var(--sp-2) var(--sp-3);
  }

  .system-node strong {
    font-size: 12px;
  }

  .system-connectors {
    left: 158px;
    width: calc(100% - 236px);
    min-width: 54px;
  }

  .system-core {
    width: 88px;
    height: 88px;
  }

  .system-core strong {
    font-size: 21px;
  }

  .system-readout {
    min-height: 68px;
    gap: var(--sp-4);
    padding-inline: var(--sp-4);
  }

  .system-readout strong {
    max-width: 120px;
    font-size: 8px;
  }

  .section-heading h2,
  .onboarding-copy h2 {
    font-size: 34px;
  }

  .track-card {
    min-height: 390px;
  }

  .process-grid,
  .criteria-grid,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .process-grid li {
    min-height: 0;
    display: grid;
    grid-template-columns: 44px 1fr;
    padding: 0;
  }

  .process-grid h3,
  .process-grid p {
    grid-column: 2;
    margin-top: 0;
  }

  .process-grid p {
    margin-top: 4px;
    padding-bottom: var(--sp-5);
  }

  .criterion-card,
  .rule-card {
    min-height: 235px;
  }

  .onboarding-panel {
    margin-inline: -4px;
  }

  .onboarding-step {
    grid-template-columns: 34px 1fr;
  }

  .onboarding-step i {
    display: none;
  }

  .page-hero {
    padding-block: var(--sp-16);
  }

  .page-hero h1 {
    font-size: 45px;
  }

  .page-hero-description {
    font-size: 16px;
  }

  .page-hero-meta {
    gap: var(--sp-2);
  }

  .page-hero-meta span {
    font-size: 8px;
  }

  .form-page {
    padding-block: var(--sp-8) var(--sp-16);
  }

  .form-progress {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-2);
    padding: var(--sp-4);
  }

  .form-progress > i {
    display: none;
  }

  .form-progress > div {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .form-progress small {
    display: none;
  }

  .form-notice,
  .form-section {
    margin-inline: 0;
  }

  .form-notice {
    margin: var(--sp-4);
  }

  .form-section {
    padding: var(--sp-5) var(--sp-4);
  }

  .field-grid,
  .track-picker {
    grid-template-columns: 1fr;
  }

  .member-row {
    grid-template-columns: 24px 1fr 40px;
  }

  .member-row .field {
    grid-column: 2;
  }

  .member-remove {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .form-submit-row {
    display: grid;
    padding: var(--sp-5) var(--sp-4);
  }

  .form-submit-row .button {
    width: 100%;
  }

  .captcha-slot {
    grid-template-columns: 24px 1fr;
  }

  .captcha-slot > span {
    display: none;
  }

  .submission-toolbar {
    padding-inline: var(--sp-4);
  }

  .schedule-card {
    display: block;
  }

  .schedule-card > a {
    margin-top: var(--sp-4);
  }

  .schedule-aside {
    grid-template-columns: 1fr;
  }

  .code-of-conduct {
    padding: var(--sp-6);
  }

  .conduct-points {
    grid-template-columns: 1fr;
  }

  .faq-list summary {
    grid-template-columns: 28px 1fr 20px;
  }

  .faq-list details > p {
    padding-left: 40px;
  }

  .grand-award {
    grid-template-columns: 54px 1fr;
    padding: var(--sp-6);
  }

  .grand-award-mark {
    width: 52px;
    height: 52px;
  }

  .grand-award-status {
    grid-column: 2;
    text-align: left;
  }

  .partner-placeholder {
    grid-template-columns: 1fr;
  }

  .confirmation-page {
    padding-block: var(--sp-8);
  }

  .confirmation-card {
    padding: var(--sp-6);
  }

  .confirmation-details {
    grid-template-columns: 1fr;
  }

  .confirmation-actions {
    display: grid;
  }

  .result-cards {
    gap: var(--sp-4);
  }

  .results-status,
  .standings-head,
  .results-cta > div {
    display: grid;
  }

  .standings-columns {
    grid-template-columns: 46px 1fr 70px;
  }

  .standings-columns span:nth-child(3) {
    display: none;
  }

  .results-cta > div > div:last-child {
    display: grid;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-base {
    grid-template-columns: 1fr auto;
  }

  .footer-base > p:not(.footer-status) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .shader-canvas,
  .hero-marquee {
    display: none !important;
  }

  body,
  .section,
  .page-hero,
  .process-section,
  .final-cta {
    background: var(--n-0) !important;
    color: var(--ink) !important;
  }
}

/* ============================================================================
   Mirabilis royal-blue scheme (light default) - overrides on the ported
   Codex component system. Keeps the structures; swaps the palette to the
   management royal-blue (#062b66) + gold (#f8c400), with royal-blue feature
   panels for the hero, process band, page hero, and final CTA.
   ============================================================================ */
:root { --royal-900:#062b66; --royal-700:#0a3f8f; --highlight:#f8c400; }
:root[data-theme="light"] {
  --primary:#062b66;
  --primary-bright:#147bd1;
  --primary-deep:#041d47;
}
.hero { background:#062b66; }
.process-section { background:#062b66; }
.page-hero {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(20,123,209,.20), transparent 40%),
    radial-gradient(ellipse at 10% 110%, rgba(6,43,102,.5), transparent 44%),
    #07306b;
}
.final-cta {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(20,123,209,.20), transparent 46%),
    radial-gradient(ellipse at 85% 110%, rgba(6,43,102,.55), transparent 48%),
    #062b66;
}
/* Dark theme: royal-blue accents (brighter blue reads better on dark). */
:root { --primary:#5b9bf0; --primary-bright:#8fbdff; --primary-deep:#1e3fc8; }
/* 3-up judging grid for the three judging criteria. */
.criteria-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ============================================================================
   Admin panel + judge scoring chrome (built on the same tokens).
   ============================================================================ */
.admin-body { background: var(--bg-app); }
.admin-topbar { position: sticky; top: 0; z-index: 100; background: var(--bg-panel);
  border-bottom: 1px solid var(--border-hair); }
.admin-topbar-in { display: flex; align-items: center; gap: var(--sp-6);
  width: min(1280px, calc(100% - 48px)); margin-inline: auto; height: 62px; }
.admin-brand { display: flex; align-items: center; gap: var(--sp-3); flex: 0 0 auto; }
.admin-brand img { height: 22px; width: auto; }
.admin-brand span { font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim);
  padding-left: var(--sp-3); border-left: 1px solid var(--border-mid); }
.admin-nav { display: flex; gap: var(--sp-5); }
.admin-nav a { color: var(--text-mid); font-size: 13px; font-weight: 600; }
.admin-nav a:hover { color: var(--text-hi); }
.admin-nav a.is-current { color: var(--primary); }
.admin-topbar-actions { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }
.admin-who { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.admin-main { padding-block: var(--sp-10) var(--sp-16); }
.admin-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: var(--sp-8); }
.admin-card { background: var(--bg-panel); border: 1px solid var(--border-mid);
  border-radius: var(--r-panel); padding: var(--sp-6); box-shadow: var(--sh-1); margin-bottom: var(--sp-6); }
.admin-card > h2, .admin-card-head h2 { font-size: 18px; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.admin-card-head p { font-size: 13px; margin-top: 3px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-mid);
  color: var(--text-dim); font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--border-hair);
  color: var(--text-hi); vertical-align: top; }
.admin-table tbody tr:hover { background: var(--bg-row); }
.admin-table .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pill);
  border: 1px solid transparent; font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tag-ok { color: var(--success); border-color: color-mix(in srgb, var(--success) 42%, transparent);
  background: color-mix(in srgb, var(--success) 12%, transparent); }
.tag-warn { color: var(--warning); border-color: color-mix(in srgb, var(--warning) 42%, transparent);
  background: color-mix(in srgb, var(--warning) 12%, transparent); }
.tag-err { color: var(--error); border-color: color-mix(in srgb, var(--error) 42%, transparent);
  background: color-mix(in srgb, var(--error) 12%, transparent); }
.tag-mute { color: var(--text-dim); border-color: var(--border-mid); }
.admin-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.admin-empty { padding: var(--sp-10); text-align: center; color: var(--text-mid); }
.admin-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-4); margin-bottom: var(--sp-6); }
.admin-stat { background: var(--bg-panel); border: 1px solid var(--border-mid); border-radius: var(--r-panel);
  padding: var(--sp-5); }
.admin-stat strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--text-hi); line-height: 1; }
.admin-stat span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.admin-login { min-height: 74vh; display: grid; place-items: center; padding: var(--sp-8); }
.admin-login-card { width: min(420px, 100%); background: var(--bg-panel); border: 1px solid var(--border-mid);
  border-radius: var(--r-panel); padding: clamp(28px, 5vw, 44px); box-shadow: var(--sh-3); }
.admin-login-card h1 { font-size: 24px; margin-bottom: var(--sp-2); }
.admin-login-card p.sub { font-size: 13px; margin-bottom: var(--sp-6); }
.admin-inline-form { display: grid; gap: var(--sp-3); }
input.admin-input, .admin-input { width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--border-mid); border-radius: var(--r-control); background: var(--bg-app);
  color: var(--text-hi); font-size: 14px; }
input.admin-input:focus, .admin-input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px var(--focus-ring); }
select.admin-input { min-height: 40px; }
.admin-score-input { width: 64px; text-align: center; }
@media (max-width: 820px) {
  .admin-nav { display: none; }
  .admin-topbar-actions .button-quiet { display: none; }
}

/* Why Join - four benefit cards (reuses .criterion-card). */
.benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

/* Light-mode text legibility: deepen body + secondary text and keep type crisp. */
:root[data-theme="light"] { --text-mid: #39424e; --text-dim: #5b6572; }
:root[data-theme="light"] body { -webkit-font-smoothing: auto; }
:root[data-theme="light"] .section:not(.process-section) .section-heading > p:last-child,
:root[data-theme="light"] .track-description,
:root[data-theme="light"] .criterion-card p { color: #2f3945; }

/* ============================================================================
   Royal-blue consistency pass.
   The ported component system shipped Codex's near-black navy (#071126 /
   #091326) and cyan/violet accents on its feature bands, and made the hero
   pale in light mode. This block settles the whole site on the Mirabilis
   royal blue (#062b66) + gold (#f8c400), in BOTH themes, and restores the
   placeholder marker that identifies unconfirmed event content.
   ============================================================================ */

/* -- Placeholder marker (restored) ---------------------------------------- */
.ph {
  color: #8a6a00;
  background: rgba(248, 196, 0, 0.16);
  border-bottom: 1px dashed rgba(138, 106, 0, 0.5);
  border-radius: 3px;
  padding: 0 4px;
  font-style: normal;
  /* must wrap: long placeholders otherwise overflow their column */
  white-space: normal;
  overflow-wrap: anywhere;
}
:root[data-theme="dark"] .ph {
  color: #ffd75e;
  background: rgba(248, 196, 0, 0.14);
  border-bottom-color: rgba(255, 215, 94, 0.45);
}
/* On dark feature bands the marker sits on navy, so lift it there too. */
.hero .ph, .process-section .ph, .final-cta .ph, .page-hero .ph,
.code-of-conduct .ph, .grand-award .ph, .results-cta .ph, .confirmation-page .ph {
  color: #ffd75e;
  background: rgba(248, 196, 0, 0.15);
  border-bottom-color: rgba(255, 215, 94, 0.45);
}

/* -- Hero: royal blue in both themes -------------------------------------- */
.hero,
:root[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse at 82% 12%, rgba(20, 123, 209, 0.30), transparent 42%),
    radial-gradient(ellipse at 8% 100%, rgba(4, 29, 71, 0.55), transparent 46%),
    #062b66;
  color: var(--n-0);
}
:root[data-theme="light"] .hero::after {
  background:
    linear-gradient(90deg, rgba(6, 43, 102, 0.26), rgba(6, 43, 102, 0.04) 52%, rgba(6, 43, 102, 0.28)),
    linear-gradient(180deg, rgba(6, 43, 102, 0.06), #062b66 100%);
}
:root[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}
:root[data-theme="light"] .hero h1 { color: var(--n-0); }
:root[data-theme="light"] .hero .eyebrow { color: #bcd4ff; }
:root[data-theme="light"] .hero-lede { color: #d7e3fb; }
:root[data-theme="light"] .hero-status {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #c3d4ea;
}
:root[data-theme="light"] .hero-status .status-divider { background: rgba(255, 255, 255, 0.2); }
:root[data-theme="light"] .hero-facts { border-color: rgba(255, 255, 255, 0.14); }
:root[data-theme="light"] .hero-facts strong { color: var(--n-0); }
:root[data-theme="light"] .hero-facts span { color: #93a8c4; }
:root[data-theme="light"] .hero .button-glass {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--n-0);
}
:root[data-theme="light"] .hero .button-glass:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
}
:root[data-theme="light"] .hero-system {
  border-color: rgba(167, 203, 239, 0.18);
  background: rgba(8, 25, 56, 0.55);
}
:root[data-theme="light"] .hero-marquee {
  border-top-color: rgba(188, 217, 247, 0.12);
  background: rgba(5, 24, 56, 0.6);
}

/* -- Every remaining feature band onto royal blue -------------------------- */
.process-section { background: #062b66; }
.page-hero,
.final-cta,
.code-of-conduct,
.grand-award,
.results-cta,
.confirmation-page {
  background:
    radial-gradient(ellipse at 84% 10%, rgba(20, 123, 209, 0.26), transparent 40%),
    radial-gradient(ellipse at 10% 106%, rgba(4, 29, 71, 0.5), transparent 44%),
    #062b66;
}
/* Keep the people's-choice band gold-tinted, still on royal. */
.grand-award {
  background:
    radial-gradient(circle at 14% 22%, rgba(248, 196, 0, 0.16), transparent 34%),
    radial-gradient(ellipse at 88% 90%, rgba(20, 123, 209, 0.22), transparent 42%),
    #062b66;
}

/* -- Track cards: content-sized, no dead space ---------------------------- */
.track-card { min-height: 0; }
.track-card > a { margin-top: var(--sp-6); }

/* -- Hero challenge panel: keep the dark-panel treatment in both themes ----
   The hero is royal blue in light mode too, so the panel internals must not
   fall back to their light-surface variants (white cards on navy). The WIN
   core is retuned from Codex cyan to the brand gold it represents.          */
:root[data-theme="light"] .hero-system::before {
  background-image:
    radial-gradient(circle at 72% 42%, rgba(248, 196, 0, 0.07), transparent 35%),
    linear-gradient(rgba(140, 174, 214, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 174, 214, 0.055) 1px, transparent 1px);
}
:root[data-theme="light"] .system-topline,
:root[data-theme="light"] .system-readout { color: #8fa3c0; }
:root[data-theme="light"] .system-topline { border-bottom-color: rgba(167, 203, 239, 0.14); }
:root[data-theme="light"] .system-readout {
  border-top-color: rgba(167, 203, 239, 0.14);
  background: rgba(4, 20, 46, 0.42);
}
:root[data-theme="light"] .system-readout strong { color: #cddcef; }
:root[data-theme="light"] .system-node {
  border-color: rgba(214, 232, 255, 0.14);
  background: rgba(12, 34, 72, 0.9);
}
:root[data-theme="light"] .system-node strong { color: #ecf5ff; }
:root[data-theme="light"] .system-node small { color: #93a8c4; }

/* WIN core: gold ring + glow on navy, in both themes. */
.system-core,
:root[data-theme="light"] .system-core {
  border: 1px solid rgba(248, 196, 0, 0.5);
  background: radial-gradient(circle, rgba(248, 196, 0, 0.2), rgba(6, 30, 68, 0.94) 68%);
  box-shadow: 0 0 46px rgba(248, 196, 0, 0.16), inset 0 0 24px rgba(248, 196, 0, 0.09);
}
.core-rings, .core-rings::before, .core-rings::after { border-color: rgba(248, 196, 0, 0.2); }
.system-core strong { color: var(--highlight); }
:root[data-theme="light"] .system-core small { color: #93a8c4; }
/* Track LEDs stay on the three track tones; keep them readable on navy. */
:root[data-theme="light"] .system-live,
:root[data-theme="light"] .system-live i { color: #4fc3ff; }
:root[data-theme="light"] .system-live i { background: #4fc3ff; box-shadow: 0 0 10px #4fc3ff; }

/* Score inputs must stay compact: the element+class selector above (input.admin-input)
   outranks a bare class, so match that specificity here. */
input.admin-score-input {
  width: 78px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Admin table row actions: keep buttons on one line where they fit. */
.admin-table td form { display: inline-block; margin: 0 4px 0 0; }
.admin-table td .button { margin: 2px 4px 2px 0; }
.admin-table td:last-child { white-space: nowrap; }

/* -- Built-in human check -------------------------------------------------- */
.human-check {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-4);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-control);
  background: var(--bg-row);
}
.human-check label {
  color: var(--text-hi);
  font-size: 13px;
  font-weight: 650;
}
.human-check label strong { color: var(--primary); }
input.human-check-input { max-width: 160px; }
.human-check-hint {
  margin: 0;
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.5;
}
/* Honeypot: removed from view and from the accessibility tree, but still
   present in the DOM so automated form fillers trip on it. Not display:none,
   which some bots detect and skip. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* -- Share page ------------------------------------------------------------ */
.share-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.share-code {
  position: sticky;
  top: calc(var(--header-height) + var(--sp-6));
  padding: var(--sp-6);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-2);
  text-align: center;
}
.share-code img {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
}
.share-code-url {
  margin-top: var(--sp-4);
  color: var(--text-hi);
  font-size: 15px;
  font-weight: 650;
  word-break: break-all;
}
.share-code-note {
  margin-top: var(--sp-2);
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.5;
}
.share-panel h2 { font-size: 20px; }
.share-lede { margin-top: 4px; color: var(--text-mid); font-size: 14px; }
.share-copy {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  flex-wrap: wrap;
}
.share-copy input { flex: 1 1 240px; font-family: var(--font-mono); font-size: 13px; }
.share-copied { min-height: 18px; margin-top: 6px; color: var(--success); font-size: 12px; }
.share-actions, .share-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.share-downloads .button {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 58px;
  padding: 10px 16px;
}
.share-downloads .button span {
  color: inherit;
  opacity: .72;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .share-layout { grid-template-columns: 1fr; }
  .share-code { position: static; }
}

/* Mobile drawer stacking: it lives outside <header> (whose backdrop-filter
   would otherwise trap position:fixed), so it needs its own z-index to sit
   above page content but below the sticky header. */
.mobile-nav { z-index: 90; }

/* -- Official QR cards ----------------------------------------------------- */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: var(--sp-5);
}
.qr-card {
  display: grid;
  justify-items: center;
  gap: var(--sp-3);
  padding: var(--sp-6);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-1);
  text-align: center;
}
.qr-card.is-primary {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border-mid));
  box-shadow: var(--sh-2);
}
.qr-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.qr-card h3 { font-size: 19px; }
.qr-card img {
  width: 100%;
  max-width: 230px;
  height: auto;
  padding: 10px;
  border-radius: 10px;
  background: #fff;   /* codes must sit on white in both themes */
}
.qr-dest {
  color: var(--primary);
  font-size: 12px;
  font-weight: 650;
  word-break: break-all;
}
.qr-note { color: var(--text-dim); font-size: 12px; line-height: 1.5; }
.qr-card .button { width: 100%; justify-content: center; }
.qr-card .button span {
  margin-left: 6px; opacity: .7;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .05em;
}
@media (max-width: 640px) { .qr-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   Legibility on the royal-blue feature bands.
   Codex's greys were chosen for a near-black panel; on #062b66 they fall below
   a comfortable contrast ratio. These lift the secondary text in both themes.
   ============================================================================ */
.process-section .heading-split > p,
.final-cta p:not(.eyebrow),
.page-hero-description,
.code-of-conduct p,
.grand-award p:not(.eyebrow),
.results-cta p:not(.eyebrow) { color: #d3e0f5; }

.process-grid p,
.code-of-conduct .conduct-points p,
.grand-award .grand-award-status span { color: #c2d2ea; }

.process-grid h3,
.process-section h2,
.code-of-conduct h2,
.grand-award h2 { color: #ffffff; }

.process-number { color: #7fd4ff; border-color: rgba(127, 212, 255, .55); }
.process-line { border-top-color: rgba(190, 214, 245, .38); }
.process-section .eyebrow,
.final-cta .eyebrow,
.page-hero .eyebrow,
.eyebrow-on-dark { color: #7fd4ff; }
.text-link-on-dark { color: #7fd4ff; }

/* ============================================================================
   Registration form: selected track, field validation, and submit gating.
   ============================================================================ */

/* Selected track. :has() covers modern browsers with no JS; the .is-selected
   class is also toggled in script so older engines behave identically. */
.track-option:has(input:checked),
.track-option.is-selected {
  border-color: color-mix(in srgb, var(--tone) 60%, transparent);
  background: color-mix(in srgb, var(--tone) 10%, var(--bg-row));
  box-shadow: inset 3px 0 var(--tone);
}
.track-option:has(input:checked) .radio-mark,
.track-option.is-selected .radio-mark {
  border-color: var(--tone);
  background: var(--tone);
  color: #ffffff;
}
.track-option:focus-within {
  border-color: var(--tone);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* Per-field error message and invalid state. */
.field-error {
  display: block;
  margin-top: 6px;
  color: var(--error);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
input.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 18%, transparent);
}
.fieldset-error {
  margin: var(--sp-3) 0 0;
  color: var(--error);
  font-size: 12px;
  font-weight: 600;
}

/* What is still missing, shown beside the submit button. */
.form-blockers {
  display: grid;
  gap: 4px;
  margin-top: var(--sp-2);
}
.form-blockers li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.5;
}
.form-blockers li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--warning);
}
.form-ready {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-2);
  color: var(--success);
  font-size: 11px;
  font-weight: 650;
}
.button[disabled], .button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .45;
  filter: grayscale(.35);
  box-shadow: none;
}

/* Share action in the header: sits left of Register, hidden with it on mobile
   where the drawer carries the same link. */
.nav-share { min-height: 42px; }
@media (max-width: 900px) { .nav-share { display: none; } }

/* ============================================================================
   Share page (participant facing)
   ============================================================================ */
.share-simple {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.share-card {
  padding: var(--sp-8);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-1);
}
.share-card h2 { font-size: 21px; }
.share-networks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.share-net { min-height: 46px; }
/* Brand tints on hover, so the row reads as real network buttons. */
.share-whatsapp:hover { border-color: #25d366; color: #128c4a; }
.share-linkedin:hover { border-color: #0a66c2; color: #0a66c2; }
.share-x:hover        { border-color: var(--text-hi); color: var(--text-hi); }
.share-reddit:hover   { border-color: #ff4500; color: #d93a00; }
:root[data-theme="dark"] .share-whatsapp:hover { color: #25d366; }
:root[data-theme="dark"] .share-reddit:hover   { color: #ff6a33; }
.share-native { min-height: 46px; }

.share-copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.share-status { min-height: 20px; margin-top: var(--sp-3); font-size: 12px; font-weight: 650; }
.share-status.is-ok { color: var(--success); }
.share-status.is-warn { color: var(--warning); }

.share-preview {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  border: 1px dashed var(--border-mid);
  border-radius: var(--r-control);
  background: var(--bg-row);
}
.share-preview-text {
  margin-top: 6px;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
}

.share-qr {
  position: sticky;
  top: calc(var(--header-height) + var(--sp-6));
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: var(--sp-6);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  box-shadow: var(--sh-1);
  text-align: center;
}
.share-qr img {
  width: 100%;
  max-width: 220px;
  height: auto;
  padding: 10px;
  border-radius: 10px;
  background: #fff;      /* codes need a white quiet zone in both themes */
}
.share-qr-cap { color: var(--text-hi); font-size: 13px; font-weight: 650; margin-top: var(--sp-2); }
.share-qr-url { color: var(--primary); font-size: 12px; font-weight: 650; word-break: break-all; }

/* Share row on the registration success card. */
.success-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-hair);
}
.success-share-label {
  flex: 1 0 100%;
  margin-bottom: 2px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .share-simple { grid-template-columns: 1fr; }
  .share-qr { position: static; order: -1; }
}

/* -- Voting (one-time code + ballot) --------------------------------------- */
input.otp-input {
  max-width: 220px;
  font-family: var(--font-mono);
  font-size: 26px;
  letter-spacing: 10px;
  text-align: center;
}
.vote-picker { grid-template-columns: 1fr; }
.vote-picker .track-option { min-height: 84px; }
.vote-picker .track-option-number {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--tone) 14%, transparent);
  font-size: 11px;
}
