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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  height: 100%;
  /* Fix for mobile height jumps */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.55;
  background: radial-gradient(900px 600px at 15% 10%, rgba(100, 190, 204, 0.18), transparent 60%),
    radial-gradient(900px 600px at 80% 0%, rgba(9, 129, 145, 0.22), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  /* Removed display: flex from here */
  overflow-x: hidden;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

/* Animated blurred background blobs */
.bg-blur {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Ensure it doesn't push flex items */
  contain: strict;
}

.bg-blur {
  /* Tweakables */
  --bg-blob-speed: 0.5; /* lower = faster. 0.5 ~= 2x speed */
  --bg-blob-travel: 1.6; /* higher = more movement */
}

.bg-blur__blob {
  position: absolute;
  width: 85vmax;
  height: 85vmax;
  border-radius: 999px;
  filter: blur(110px) saturate(1.25);
  opacity: 0.55;
  will-change: transform;
  /* Tvinger GPU-akselerasjon for jevnere blur og bedre ytelse */
  transform: translateZ(0);
}

.bg-blur__blob--a {
  left: -25vmax;
  top: -30vmax;
  background: radial-gradient(
    circle at 30% 30%,
    color-mix(in oklab, var(--primary) 75%, transparent),
    transparent 60%
  );
  animation: bgBlobA calc(22s * var(--bg-blob-speed)) ease-in-out infinite alternate;
}

.bg-blur__blob--b {
  right: -30vmax;
  top: -20vmax;
  background: radial-gradient(
    circle at 55% 35%,
    color-mix(in oklab, var(--primary-2) 70%, transparent),
    transparent 62%
  );
  animation: bgBlobB calc(28s * var(--bg-blob-speed)) ease-in-out infinite alternate;
}

.bg-blur__blob--c {
  left: -15vmax;
  bottom: -40vmax;
  width: 95vmax;
  height: 95vmax;
  opacity: 0.42;
  background: radial-gradient(
    circle at 45% 55%,
    color-mix(in oklab, var(--primary) 55%, var(--primary-2)),
    transparent 64%
  );
  animation: bgBlobC calc(34s * var(--bg-blob-speed)) ease-in-out infinite alternate;
}

@keyframes bgBlobA {
  from {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  to {
    transform: translate(
        calc(22vmax * var(--bg-blob-travel)),
        calc(10vmax * var(--bg-blob-travel))
      )
      scale(1.08)
      rotate(12deg);
  }
}

@keyframes bgBlobB {
  from {
    transform: translate(0, 0) scale(1.05) rotate(0deg);
  }
  to {
    transform: translate(
        calc(-18vmax * var(--bg-blob-travel)),
        calc(16vmax * var(--bg-blob-travel))
      )
      scale(0.98)
      rotate(-10deg);
  }
}

@keyframes bgBlobC {
  from {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  to {
    transform: translate(
        calc(26vmax * var(--bg-blob-travel)),
        calc(-14vmax * var(--bg-blob-travel))
      )
      scale(1.12)
      rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-blur__blob {
    animation: none !important;
  }
}

main {
  flex: 1;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

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

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.container {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.skip-link:focus {
  left: 12px;
  z-index: 9999;
}

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

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 68%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
}

.topbar--minimal {
  position: sticky;
  top: 0; /* Explicitly lock to top */
}

.topbar__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__inner--minimal {
  height: 62px;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 14px;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 18%, transparent);
}

.brand__text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav__toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
}

.nav__toggleLabel {
  font-weight: 650;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.nav__links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.btn--primary {
  border-color: color-mix(in oklab, var(--primary) 55%, var(--border));
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: rgba(0, 0, 0, 0.86);
}

.btn--ghost {
  background: transparent;
}

.btn--small {
  padding: 10px 12px;
  font-size: 14px;
}

/* Hero */
.hero {
  padding: 70px 0 32px;
}

.hero--minimal {
  padding: 100px 0 60px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.hero__inner--minimal {
  display: block;
}

.hero__content--center {
  text-align: center;
  margin: 0 auto;
  max-width: 74ch;
}

.hero__title--center {
  margin-top: 0;
}

.hero__subtitle--center {
  margin-left: auto;
  margin-right: auto;
}

.partners {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.partners--topbar {
  margin-top: 0;
  gap: 10px;
}

.partners__item {
  display: grid;
  place-items: center;
  height: 40px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
}

.partners__item--driv {
  /* DRIV logo has black text — give it a light pill in dark mode for contrast */
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.25);
}

.partners__item--stolav {
  /* St. Olavs logo is dark — give it a light pill in dark mode for contrast */
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.25);
}

.partners__logo {
  height: 34px;
  width: auto;
  max-width: 180px;
  opacity: 0.92;
  filter: saturate(0.95) contrast(1.02);
}

.partners__logo--driv {
  height: 24px;
  opacity: 1;
  filter: none;
}

.partners__logo--elsys {
  height: 28px;
  border-radius: 8px;
}

.partners__logo--stolav {
  height: 26px;
  display: block;
  transform: translateY(-1px);
}

html[data-theme="light"] .partners__logo {
  opacity: 0.95;
  filter: saturate(0.95) contrast(1.02);
}

html[data-theme="light"] .partners__item--driv {
  /* In light theme, the normal surface works fine */
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  border-color: color-mix(in oklab, var(--border) 70%, transparent);
}

html[data-theme="light"] .partners__item--stolav {
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  border-color: color-mix(in oklab, var(--border) 70%, transparent);
}

.footerStrip {
  padding: 18px 0 22px;
  border-top: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  margin-top: auto; /* Dytter footeren til bunnen av skjermen */
}

.footerStrip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footerStrip__item {
  display: grid;
  place-items: center;
  height: 44px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

.footerStrip__logo {
  height: 34px;
  width: auto;
  opacity: 1;
  filter: none;
}

html[data-theme="light"] .footerStrip__item {
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  border-color: color-mix(in oklab, var(--border) 70%, transparent);
}

.kicker {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid color-mix(in oklab, var(--primary) 20%, var(--border));
  background: color-mix(in oklab, var(--surface) 55%, transparent);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.kicker--center {
  justify-content: center;
}

.hero__title {
  margin: 14px 0 10px;
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero__title--center {
  margin-top: 14px;
  font-weight: 700;
  letter-spacing: -0.05em;
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--text) 92%, white),
    color-mix(in oklab, var(--primary) 65%, var(--text))
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 22px color-mix(in oklab, var(--primary) 22%, transparent),
    0 0 44px color-mix(in oklab, var(--primary-2) 16%, transparent);
}

/* Glitch title (brief bursts every few seconds) */
.glitch {
  font-family: var(--font-title);
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  will-change: transform, opacity, clip-path;
}

.glitch::before {
  text-shadow:
    -2px 0 color-mix(in oklab, var(--primary) 92%, transparent),
    0 0 16px color-mix(in oklab, var(--primary) 40%, transparent);
}

.glitch::after {
  text-shadow:
    2px 0 color-mix(in oklab, var(--primary-2) 92%, transparent),
    0 0 16px color-mix(in oklab, var(--primary-2) 40%, transparent);
}

@keyframes glitchBurst {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  2% {
    opacity: 1;
    transform: translate3d(-2px, 0, 0);
  }
  5% {
    transform: translate3d(2px, 0, 0);
  }
  8% {
    transform: translate3d(-1px, 0, 0);
  }
  11% {
    transform: translate3d(1px, 0, 0);
  }
  14% {
    transform: translate3d(0, 0, 0);
  }
  15% {
    opacity: 0;
  }
}

@keyframes glitchClip {
  0%,
  100% {
    clip-path: inset(0 0 0 0);
  }
  2% {
    clip-path: inset(8% 0 72% 0);
  }
  5% {
    clip-path: inset(44% 0 36% 0);
  }
  8% {
    clip-path: inset(72% 0 8% 0);
  }
  11% {
    clip-path: inset(18% 0 58% 0);
  }
  14% {
    clip-path: inset(0 0 0 0);
  }
}

.glitch::before,
.glitch::after {
  animation:
    glitchBurst 6s infinite steps(1, end),
    glitchClip 6s infinite steps(1, end);
}

.glitch::before {
  animation-delay: 0ms, 0ms;
}

.glitch::after {
  animation-delay: 40ms, 40ms;
}

@media (prefers-reduced-motion: reduce) {
  .glitch::before,
  .glitch::after {
    animation: none;
    opacity: 0;
  }
}

.hero__subtitle {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  letter-spacing: -0.01em;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.facts__item {
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 65%, transparent);
}

.facts dt {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.facts dd {
  margin: 4px 0 0;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.hero__visual {
  position: relative;
  min-height: 380px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: 0.9;
}

.orb--a {
  width: 240px;
  height: 240px;
  top: 18px;
  left: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 50%),
    linear-gradient(135deg, rgba(100, 190, 204, 0.8), rgba(9, 129, 145, 0.25));
  box-shadow: var(--shadow);
}

.orb--b {
  width: 160px;
  height: 160px;
  right: 22px;
  top: 90px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 52%),
    linear-gradient(135deg, rgba(9, 129, 145, 0.75), rgba(100, 190, 204, 0.22));
  box-shadow: var(--shadow);
}

.gridCard {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--primary) 18%, var(--border));
  background: color-mix(in oklab, var(--surface-2) 65%, transparent);
  box-shadow: var(--shadow);
}

.gridCard__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.gridCard__body {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.gridCard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  color: color-mix(in oklab, var(--text) 82%, var(--muted));
}

/* Sections */
.section {
  padding: 64px 0;
}

/* Word Rotator */
.rotator {
  display: inline-grid;
  justify-items: center;
  align-items: center;
  vertical-align: middle;
  height: 1.5em;
  overflow: hidden;
  color: var(--primary);
  font-weight: 700;
  margin-left: 0.1ch;
  transition: width 0.3s ease;
  position: relative;
  top: -0.1em; /* Nudge up to align with surrounding text */
}

.rotator__word {
  grid-area: 1 / 1;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s ease;
  white-space: nowrap;
}

.rotator__word.is-entering {
  transform: translateY(100%);
  opacity: 0;
}

.rotator__word.is-exiting {
  transform: translateY(-100%);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .rotator__word {
    transition: none !important;
  }
}

.section--tight {
  padding: 18px 0 40px;
}

.section__header h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.03em;
}

.section__header p {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

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

.benefit {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
}

.benefit__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(100, 190, 204, 0.75), rgba(9, 129, 145, 0.28));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 12%, transparent);
  margin-bottom: 10px;
}

.benefit__icon--alt {
  background: linear-gradient(135deg, rgba(9, 129, 145, 0.75), rgba(100, 190, 204, 0.28));
}

.benefit__icon--soft {
  background: linear-gradient(135deg, rgba(100, 190, 204, 0.55), rgba(255, 255, 255, 0.06));
}

.benefit__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.benefit__text {
  color: var(--muted);
  font-size: 14px;
}

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

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

.card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 72%, transparent);
}

.card h3 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card--hover {
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.card--hover:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--primary) 28%, var(--border));
  background: color-mix(in oklab, var(--surface-2) 70%, transparent);
}

.list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin: 8px 0;
}

.callout {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--primary) 22%, var(--border));
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--primary) 14%, transparent),
    color-mix(in oklab, var(--primary-2) 10%, transparent)
  );
}

.callout__title {
  font-weight: 850;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.callout__text {
  color: var(--muted);
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.timeline__item {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 72%, transparent);
}

.timeline__time {
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.timeline__title {
  font-weight: 900;
  margin: 6px 0 6px;
  letter-spacing: -0.02em;
}

.timeline__text {
  color: var(--muted);
}

/* Accordion */
.accordion {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.accordion__item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 72%, transparent);
  padding: 14px 16px;
}

.accordion__item summary {
  cursor: pointer;
  font-weight: 850;
  letter-spacing: -0.02em;
  list-style: none;
}

.accordion__item summary::-webkit-details-marker {
  display: none;
}

.accordion__body {
  color: var(--muted);
  margin-top: 10px;
}

/* CTA */
.section--cta {
  padding: 68px 0;
}

.cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  padding: 20px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid color-mix(in oklab, var(--primary) 28%, var(--border));
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--surface-2) 70%, transparent),
    color-mix(in oklab, var(--primary) 10%, transparent)
  );
  box-shadow: var(--shadow);
}

.cta__content h2 {
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.cta__content p {
  margin: 0;
  color: var(--muted);
}

.cta__form {
  display: grid;
  gap: 10px;
  align-content: start;
}

.cta__form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 72%, transparent);
  color: var(--text);
  outline: none;
}

.cta__form input:focus {
  border-color: color-mix(in oklab, var(--primary) 55%, var(--border));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 18%, transparent);
}

.formNote {
  color: var(--muted);
  font-size: 12px;
}

/* Sponsors */
.sponsorRow {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sponsorLogo {
  height: 74px;
  border-radius: var(--radius);
  border: 1px dashed color-mix(in oklab, var(--border) 80%, transparent);
  background: color-mix(in oklab, var(--surface) 55%, transparent);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

/* Footer */
.footer {
  padding: 28px 0;
  border-top: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.brand--footer .brand__text {
  font-weight: 850;
}

.footer__meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.footer__right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__right a {
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

.footer__right a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 320px;
  }

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

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

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

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

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

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

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: color-mix(in oklab, var(--bg) 80%, transparent);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    box-shadow: var(--shadow);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav {
    position: relative;
  }
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  padding: 20px;
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface-2) 40%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 20%, var(--border));
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px color-mix(in oklab, var(--primary) 10%, transparent);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown__item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 0 30px color-mix(in oklab, var(--primary) 20%, transparent);
}

.countdown__value {
  font-family: var(--font-title);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 15px color-mix(in oklab, var(--primary) 50%, transparent);
  line-height: 1;
}

.countdown__label {
  margin-top: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 600px) {
  .countdown {
    gap: 12px;
  }
  .countdown__item {
    min-width: 80px;
    padding: 15px;
  }
}
