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

:root {
  --bg: #0a0e14;
  --bg-content: #0c1018;
  --accent: #66ffb2;
  --text: #ffffff;
  --text-muted: #7a8494;
  --text-label: #5a6878;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  --content-max: 960px;
  --gutter: clamp(1.5rem, 7vw, 4.5rem);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.4;
  min-height: 100dvh;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── Top bar ── */

.topbar {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #060912;
  border-bottom: 1px solid var(--border-subtle);
}

.topbar__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.75rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.topbar__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}

.topbar__item {
  display: inline-flex;
  align-items: center;
}

.topbar__label {
  color: var(--text-label);
  margin-right: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.topbar__sep {
  color: var(--text-label);
}

.topbar__perks {
  color: var(--accent);
}

.topbar__luma {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.topbar__luma:hover {
  text-decoration: underline;
}

.topbar__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(102, 255, 178, 0);
  transition:
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar__register:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(102, 255, 178, 0.28);
  transform: translateY(-1px);
}

.topbar__register:active {
  transform: translateY(0);
  transition-duration: 0.15s;
}

.hero__frame {
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.title-block__frame {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.content__frame {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ── Hero (aurora band) ── */

.hero {
  position: relative;
  height: clamp(200px, 42vw, 360px);
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% -10%, #0a1226 0%, #060912 55%, #04060d 100%);
  --mx: 50%;
  --my: 45%;
  --pan-x: 0px;
  --pan-y: 0px;
  cursor: crosshair;
  touch-action: none;
}

.hero__aurora {
  position: absolute;
  top: -80px;
  left: -10%;
  width: 120%;
  height: 720px;
  pointer-events: none;
  transform: translate3d(var(--pan-x), var(--pan-y), 0);
  will-change: transform;
}

/* soft base wash behind the streaks */
.aurora__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 70% at 18% 35%, rgba(52, 220, 150, 0.34), transparent 65%),
    radial-gradient(55% 65% at 50% 28%, rgba(56, 180, 255, 0.30), transparent 62%),
    radial-gradient(52% 62% at 82% 40%, rgba(168, 110, 255, 0.28), transparent 60%);
  filter: blur(30px);
}

/* ribbons: diagonal gradient, cut into vertical rays by mask */
.aurora__ribbon {
  position: absolute;
  mix-blend-mode: screen;
}

.aurora__ribbon--1 {
  top: 20px; left: 0; width: 100%; height: 460px;
  background: linear-gradient(
    101deg,
    transparent 4%,
    rgba(62, 242, 163, 0.85) 22%,
    rgba(56, 200, 230, 0.80) 48%,
    rgba(90, 150, 255, 0.75) 68%,
    rgba(168, 110, 255, 0.70) 86%,
    transparent 97%
  );
  -webkit-mask-image: repeating-linear-gradient(88deg, transparent 0px, #000 5px, #000 9px, transparent 46px);
          mask-image: repeating-linear-gradient(88deg, transparent 0px, #000 5px, #000 9px, transparent 46px);
  filter: blur(38px);
  animation: auroraDrift1 20s ease-in-out infinite alternate;
}

.aurora__ribbon--2 {
  top: 160px; left: -6%; width: 78%; height: 400px;
  background: linear-gradient(
    94deg,
    transparent 8%,
    rgba(62, 242, 163, 0.70) 28%,
    rgba(56, 190, 255, 0.72) 55%,
    rgba(120, 140, 255, 0.55) 78%,
    transparent 94%
  );
  -webkit-mask-image: repeating-linear-gradient(90deg, transparent 0px, #000 4px, #000 7px, transparent 58px);
          mask-image: repeating-linear-gradient(90deg, transparent 0px, #000 4px, #000 7px, transparent 58px);
  filter: blur(46px);
  animation: auroraDrift2 26s ease-in-out infinite alternate;
}

.aurora__ribbon--3 {
  top: 10px; right: -8%; width: 56%; height: 500px;
  background: linear-gradient(
    122deg,
    transparent 10%,
    rgba(90, 160, 255, 0.45) 40%,
    rgba(168, 110, 255, 0.58) 65%,
    rgba(190, 100, 255, 0.40) 85%,
    transparent 100%
  );
  -webkit-mask-image: repeating-linear-gradient(85deg, transparent 0px, #000 5px, #000 8px, transparent 50px);
          mask-image: repeating-linear-gradient(85deg, transparent 0px, #000 5px, #000 8px, transparent 50px);
  filter: blur(42px);
  animation: auroraDrift3 22s ease-in-out infinite alternate;
}

.aurora__ribbon--4 {
  top: 80px; left: 20%; width: 60%; height: 380px;
  background: linear-gradient(
    105deg,
    transparent 10%,
    rgba(56, 210, 190, 0.50) 32%,
    rgba(70, 170, 255, 0.55) 55%,
    rgba(150, 120, 255, 0.48) 78%,
    transparent 96%
  );
  -webkit-mask-image: repeating-linear-gradient(87deg, transparent 0px, #000 6px, #000 10px, transparent 52px);
          mask-image: repeating-linear-gradient(87deg, transparent 0px, #000 6px, #000 10px, transparent 52px);
  filter: blur(40px);
  animation: auroraDrift4 24s ease-in-out infinite alternate;
}

/* sparkle cursor + short trail */
.aurora__sparkles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: var(--size, 18px);
  height: var(--size, 18px);
  margin-left: calc(var(--size, 18px) / -2);
  margin-top: calc(var(--size, 18px) / -2);
  left: 0;
  top: 0;
  transform: translate(var(--x, 0px), var(--y, 0px)) scale(var(--scale, 1)) rotate(var(--rot, 0deg));
  opacity: var(--opacity, 1);
  pointer-events: none;
  will-change: transform, opacity;
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(180deg, #fff 0%, #7ef2a3 35%, #5ab4ff 70%, #a86eff 100%);
  border-radius: 2px;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.85),
    0 0 14px rgba(126, 242, 163, 0.55),
    0 0 22px rgba(168, 110, 255, 0.35);
}

/* 4-point sparkle: vertical + horizontal diamonds */
.sparkle::before {
  width: 18%;
  height: 100%;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.sparkle::after {
  width: 100%;
  height: 18%;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.sparkle--main {
  --size: 32px;
}

.sparkle--main::before,
.sparkle--main::after {
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 18px rgba(126, 242, 163, 0.7),
    0 0 32px rgba(90, 180, 255, 0.45),
    0 0 48px rgba(168, 110, 255, 0.3);
}

.sparkle--main .sparkle__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-top: -50px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(126, 242, 163, 0.22) 25%,
    rgba(90, 180, 255, 0.12) 45%,
    transparent 70%
  );
  mix-blend-mode: screen;
  animation: glowPulse 1.8s ease-in-out infinite;
}

.sparkle--trail {
  --size: 18px;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* fade curtain into dark base at lower edge */
.aurora__horizon {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(4,6,13,0.55) 78%, #04060d 100%);
  pointer-events: none;
  z-index: 1;
}

/* drift animations — different durations for organic feel */
@keyframes auroraGlowDrift {
  0%   { transform: translate3d(-3%, 1%, 0) scale(1.02); }
  100% { transform: translate3d(4%, -2%, 0) scale(1.06); }
}

@keyframes auroraDrift1 {
  0%   { transform: translate3d(-10%, 0, 0) skewX(-10deg) scaleY(1); }
  100% { transform: translate3d(12%, 0, 0) skewX(-3deg) scaleY(1.14); }
}
@keyframes auroraDrift2 {
  0%   { transform: translate3d(8%, 0, 0) skewX(8deg) scaleY(1.08); }
  100% { transform: translate3d(-12%, 0, 0) skewX(12deg) scaleY(0.92); }
}
@keyframes auroraDrift3 {
  0%   { transform: translate3d(-6%, 0, 0) skewX(4deg); opacity: 0.45; }
  100% { transform: translate3d(8%, 0, 0) skewX(-4deg); opacity: 0.9; }
}
@keyframes auroraDrift4 {
  0%   { transform: translate3d(-8%, 0, 0) skewX(-7deg) scaleY(0.96); opacity: 0.4; }
  100% { transform: translate3d(10%, 0, 0) skewX(4deg) scaleY(1.1); opacity: 0.8; }
}

.hero__frame {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: clamp(1rem, 2.5vw, 1.75rem);
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  position: relative;
  padding-bottom: 0.4rem;
  color: var(--text);
  text-decoration: none;
}

.hero__brand::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero__diamond {
  font-size: 0.55em;
  opacity: 0.9;
}

.hero__coords {
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}

.hero__tagline {
  margin-top: auto;
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Title block (clean dark bg below aurora) ── */

.title-block {
  background: var(--bg);
  padding-top: clamp(0.25rem, 0.8vw, 0.6rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.title-block__title {
  line-height: 0.86;
  letter-spacing: -0.03em;
}

.title-block__aurora {
  display: block;
  font-size: clamp(3.6rem, 14vw, 7rem);
  font-weight: 800;
  color: var(--accent);
  --aurora-x: 50%;
  background-image: linear-gradient(
    90deg,
    #a86eff 0%,
    #5ab4ff max(0%, calc(var(--aurora-x) - 28%)),
    #5ee7d4 max(0%, calc(var(--aurora-x) - 10%)),
    #7ef2a3 var(--aurora-x),
    #5ee7d4 min(100%, calc(var(--aurora-x) + 10%)),
    #5ab4ff min(100%, calc(var(--aurora-x) + 28%)),
    #a86eff 100%
  );
  background-size: 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: default;
}

.title-block__hack {
  display: block;
  font-size: clamp(3.6rem, 14vw, 7rem);
  font-weight: 800;
  color: var(--text);
}

/* ── Content ── */

.content {
  flex: 1;
  background: var(--bg-content);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
}

.content__frame {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.content__intro {
  font-size: clamp(0.875rem, 2.4vw, 1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  max-width: 34rem;
}

.content__intro strong {
  font-weight: 700;
  color: var(--text);
}

/* ── Section label ── */

.section__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--text-label);
  margin-bottom: 0.875rem;
}

/* ── Theme ── */

.theme {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.theme__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.theme__body {
  font-size: clamp(0.875rem, 2.2vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  max-width: 36rem;
}

/* ── Tracks ── */

.tracks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tracks > .section__label {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .tracks {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
}

.track {
  border: 1px solid var(--border-subtle);
  padding: clamp(1.125rem, 2.5vw, 1.35rem);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.track__header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.track__num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.track__name {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.track__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.track__brief,
.track__examples,
.track__why {
  font-size: clamp(0.75rem, 1.4vw, 0.875rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  margin-bottom: 0.625rem;
}

.track__examples em,
.track__why em {
  font-style: normal;
  color: var(--accent);
}

.track__meta {
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: clamp(0.6875rem, 1.3vw, 0.75rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 0;
}

.track__examples {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: clamp(0.625rem, 1.2vw, 0.75rem);
}

.track__meta strong {
  color: var(--text);
  font-weight: 700;
}

.track__prizes {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.track__prize {
  font-size: clamp(0.625rem, 1.2vw, 0.6875rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.track__prize-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-right: 0.4rem;
}

/* ── Track sponsor angle ── */

.track__sponsor-angle {
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.875rem;
  padding-top: 0.75rem;
  font-size: clamp(0.6875rem, 1.3vw, 0.75rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.track__sponsor-angle strong {
  color: var(--text);
  font-weight: 700;
}

/* ── Shared ── */

.shared {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.shared__title {
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
}

/* ── Eligibility ── */

.eligibility {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.eligibility__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 540px) {
  .eligibility__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.eligibility__who {
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.eligibility__text {
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.eligibility__text strong {
  color: var(--text);
  font-weight: 700;
}

/* ── Judging ── */

.judging {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.judging__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.875rem;
}

.judging__list li {
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.judging__list li strong {
  color: var(--text);
  font-weight: 700;
}

.judging__panel {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ── Sponsorship ── */

.sponsorship {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tier {
  border: 1px solid var(--border-subtle);
  padding: clamp(1rem, 2vw, 1.25rem);
  background: rgba(255, 255, 255, 0.01);
}

.tier--title {
  border-color: rgba(102, 255, 178, 0.25);
  background: rgba(102, 255, 178, 0.02);
}

.tier__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.625rem;
}

.tier__num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.tier__name {
  font-size: clamp(0.9375rem, 2.2vw, 1.125rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tier__tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.tier__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tier__list li {
  font-size: clamp(0.75rem, 1.6vw, 0.8125rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
  padding-left: 1rem;
  position: relative;
}

.tier__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-label);
}

/* ── Info grid ── */

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 540px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.info-grid__item {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.875rem;
}

.info-grid__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--text-label);
  margin-bottom: 0.625rem;
}

.info-grid__main {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.info-grid__sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.info-grid__item:nth-child(2) .info-grid__sub {
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.75);
}

/* ── CTA bar ── */

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.125rem;
  border: 1px solid rgba(102, 255, 178, 0.45);
  background: rgba(102, 255, 178, 0.03);
}

@media (max-width: 480px) {
  .cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

.cta__left {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}

.cta__right {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.cta__right:hover {
  text-decoration: underline;
}

.cta__arrow {
  color: var(--accent);
}

/* ── Footer ── */

.footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__backed {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--text-label);
}

.footer__sponsor {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-align: right;
  text-decoration: none;
}

.footer__sponsor:hover {
  text-decoration: underline;
}

.footer__arrow {
  color: var(--accent);
}

.footer__logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 540px) {
  .footer__logos {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer__logo {
  aspect-ratio: 2.4 / 1;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 6px,
    rgba(255, 255, 255, 0.025) 6px,
    rgba(255, 255, 255, 0.025) 7px
  ),
  rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-label);
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .aurora__ribbon,
  .aurora__glow {
    animation: none;
  }

  .aurora__sparkles {
    display: none;
  }

  .hero__aurora {
    transform: none;
  }
}

/* ── Responsive / mobile ── */

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

.page {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.topbar {
  padding-top: env(safe-area-inset-top);
}

.topbar__register,
.cta__right,
.footer__sponsor {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.track__examples {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 900px) {
  :root {
    --gutter: clamp(1rem, 4.5vw, 1.75rem);
    --content-max: 100%;
  }

  .tracks {
    grid-template-columns: 1fr;
  }

  .title-block__frame,
  .content__frame {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .topbar__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem var(--gutter) 0.85rem;
    gap: 0.7rem;
  }

  .topbar__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
    font-size: 0.625rem;
    text-align: left;
    width: 100%;
  }

  .topbar__sep {
    display: none;
  }

  .topbar__item {
    justify-content: flex-start;
  }

  .topbar__perks {
    grid-column: 1 / -1;
    text-align: left;
    line-height: 1.4;
  }

  .topbar__luma {
    grid-column: 1 / -1;
    text-align: left;
  }

  .topbar__register {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }

  .hero {
    height: clamp(160px, 42vw, 240px);
    cursor: default;
  }

  .hero__aurora {
    top: -40px;
    height: 420px;
  }

  .aurora__ribbon {
    filter: blur(28px);
  }

  .aurora__ribbon--3,
  .aurora__ribbon--4 {
    opacity: 0.7;
  }

  .hero__frame {
    padding-top: 0.75rem;
  }

  .hero__tagline {
    font-size: 0.5625rem;
    letter-spacing: 0.06em;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    white-space: normal;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .title-block {
    padding-top: 0.5rem;
    padding-bottom: 1.25rem;
  }

  .title-block__aurora,
  .title-block__hack {
    font-size: clamp(2.6rem, 16vw, 4rem);
    line-height: 0.9;
  }

  .content {
    padding-top: 1rem;
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom));
  }

  .content__frame {
    gap: 1.75rem;
  }

  .content__intro,
  .theme__body {
    max-width: none;
    font-size: 0.9375rem;
  }

  .theme__title {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .track {
    padding: 1rem;
  }

  .track__name {
    font-size: 1.25rem;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
  }

  .cta__right {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    background: rgba(102, 255, 178, 0.12);
    border: 1px solid rgba(102, 255, 178, 0.4);
    text-align: center;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer__sponsor {
    text-align: left;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 1rem;
  }

  .topbar__meta {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .eligibility__grid {
    grid-template-columns: 1fr;
  }

  .footer__logos {
    grid-template-columns: 1fr 1fr;
  }

  .hero__tagline {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }

  .title-block__aurora,
  .title-block__hack {
    font-size: clamp(2.4rem, 15vw, 3.25rem);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .tracks {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .track__brief,
  .track__examples {
    font-size: 0.75rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  .hero {
    cursor: default;
  }

  .topbar__register:hover {
    transform: none;
    box-shadow: none;
  }
}
