/* ------------------------------------------------------------------ */
/* Self-hosted fonts */
/* ------------------------------------------------------------------ */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/bebas-neue.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter.woff2") format("woff2");
}

/* ------------------------------------------------------------------ */
/* Theme tokens - electric cyan accent on dark cinematic base */
/* ------------------------------------------------------------------ */
:root {
  --color-bg-deep: #050507;
  --color-bg-mid: #0d0d11;
  --color-bg-elev: #15151a;
  --color-text: #ececec;
  --color-text-strong: #ffffff;
  --color-text-mute: rgba(236, 236, 236, 0.6);

  --color-accent: #22d3ee;
  --color-accent-bright: #67e8f9;
  --color-accent-deep: #06b6d4;
  --color-accent-glow: rgba(34, 211, 238, 0.35);
  --color-divider: rgba(34, 211, 238, 0.18);

  --font-display: "Bebas Neue", "Oswald", "Impact", -apple-system, sans-serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:
    ui-monospace, "JetBrains Mono", "SF Mono", "Cascadia Code", Menlo, Consolas,
    monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --max-w: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg-deep);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

button {
  font: inherit;
}

blockquote,
figure {
  margin: 0;
}

cite {
  font-style: normal;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.18);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--color-accent-bright);
}

/* ------------------------------------------------------------------ */
/* Layout */
/* ------------------------------------------------------------------ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* ------------------------------------------------------------------ */
/* Typography */
/* ------------------------------------------------------------------ */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--color-text-strong);
  line-height: 1.05;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-3) 0;
}

.section-heading {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 var(--space-6) 0;
}

.section-heading em {
  color: var(--color-accent);
  font-style: normal;
}

/* ------------------------------------------------------------------ */
/* Buttons */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.btn--primary {
  background: linear-gradient(
    180deg,
    var(--color-accent-bright) 0%,
    var(--color-accent-deep) 100%
  );
  color: var(--color-bg-deep);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.28);
}

.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.4);
}

.btn--large {
  padding: 18px 36px;
  font-size: 17px;
}

.cta-cluster {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cta-cluster--center {
  justify-content: center;
  margin-top: var(--space-5);
}

.price-anchor {
  font-size: 14px;
  color: var(--color-text-mute);
}

.price-anchor s {
  opacity: 0.85;
}

/* ------------------------------------------------------------------ */
/* Section spacing */
/* ------------------------------------------------------------------ */
section {
  padding: var(--space-8) 0;
}

@media (max-width: 720px) {
  section {
    padding: var(--space-7) 0;
  }
}

/* ------------------------------------------------------------------ */
/* Reduced motion */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ------------------------------------------------------------------ */
/* HERO */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
 /* legibility gradients - cool dark cast pulls the warm down */
    linear-gradient(
      180deg,
      rgba(3, 14, 24, 0.55) 0%,
      transparent 28%,
      transparent 65%,
      rgba(2, 10, 18, 0.95) 100%
    ),
    linear-gradient(
      90deg,
      rgba(3, 14, 24, 0.92) 0%,
      rgba(3, 14, 24, 0.78) 30%,
      rgba(3, 14, 24, 0.3) 60%,
      transparent 100%
    ),
    /* electric cyan glow from bottom-left, sits behind the figure */
    radial-gradient(
        ellipse at 15% 95%,
        rgba(34, 211, 238, 0.18) 0%,
        rgba(34, 211, 238, 0.06) 30%,
        transparent 55%
      ),
    /* global cool teal wash neutralizes the gold without killing the image */
    linear-gradient(rgba(6, 30, 48, 0.34), rgba(6, 30, 48, 0.34));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-7) var(--space-4);
  text-align: left;
}

.hero__headline {
  font-size: clamp(48px, 8vw, 96px);
  max-width: 14ch;
  margin: 0 0 var(--space-4) 0;
  letter-spacing: 1px;
}

.hero__headline em {
  color: var(--color-accent);
  font-style: normal;
}

.hero__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  max-width: 56ch;
  color: var(--color-text);
  margin: 0 0 var(--space-5) 0;
}

.hero__sub em {
  font-style: italic;
  color: var(--color-text-strong);
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero__overlay {
  z-index: 0;
}
.hero__inner {
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero__particles {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 14, 24, 0.55) 0%,
        rgba(3, 14, 24, 0.5) 50%,
        rgba(2, 10, 18, 0.95) 100%
      ),
      radial-gradient(
        ellipse at 50% 100%,
        rgba(34, 211, 238, 0.14) 0%,
        transparent 60%
      ),
      linear-gradient(rgba(6, 30, 48, 0.4), rgba(6, 30, 48, 0.4));
  }
  .hero__particles {
    opacity: 0.4;
  }
}

/* ------------------------------------------------------------------ */
/* COUNTDOWN */
/* ------------------------------------------------------------------ */
.countdown {
  margin: var(--space-5) 0;
  max-width: 520px;
}

.countdown--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.countdown__label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-2) 0;
}

.countdown__clock {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  flex-wrap: nowrap;
  font-variant-numeric: tabular-nums;
}

.countdown--center .countdown__clock {
  justify-content: center;
}

.countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 10px 12px 8px;
  background: rgba(5, 5, 7, 0.55);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.countdown__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  line-height: 1;
  color: var(--color-text-strong);
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.6);
  letter-spacing: 0.5px;
}

.countdown__unit {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-mute);
  margin-top: 6px;
}

.countdown__sep {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--color-accent-deep);
  align-self: center;
  margin-bottom: 22px;
}

.countdown__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-mute);
  margin: var(--space-3) 0 0 0;
  max-width: 56ch;
}

.countdown--center .countdown__note {
  margin-left: auto;
  margin-right: auto;
}

.countdown__note strong {
  color: var(--color-text-strong);
  font-weight: 600;
}

.countdown.is-done .countdown__clock,
.countdown.is-done .countdown__label,
.countdown.is-done .countdown__note {
  display: none;
}

@media (max-width: 480px) {
  .countdown__cell {
    min-width: 52px;
    padding: 8px 8px 6px;
  }
  .countdown__num {
    font-size: 26px;
  }
  .countdown__sep {
    font-size: 24px;
    margin-bottom: 18px;
  }
  .countdown__unit {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
}

/* ------------------------------------------------------------------ */
/* LESSONS BANNER */
/* ------------------------------------------------------------------ */
.lessons-banner {
  background: var(--color-bg-mid);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.lessons-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  text-align: left;
}

.lessons-banner__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: 1px;
  flex-shrink: 0;
  text-shadow: 0 0 28px rgba(34, 211, 238, 0.35);
}

.lessons-banner__divider {
  display: block;
  width: 1px;
  align-self: stretch;
  background: var(--color-divider);
  flex-shrink: 0;
}

.lessons-banner__text {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: var(--color-text-mute);
  max-width: 50ch;
}

.lessons-banner__text strong {
  color: var(--color-text-strong);
  font-weight: 600;
}

@media (max-width: 600px) {
  .lessons-banner__inner {
    justify-content: center;
    text-align: center;
    gap: var(--space-3);
  }
  .lessons-banner__divider {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* VIMEO VIDEO SECTION */
/* ------------------------------------------------------------------ */
.vimeo-section {
  background: linear-gradient(
    180deg,
    var(--color-bg-deep) 0%,
    var(--color-bg-mid) 100%
  );
  text-align: center;
}

.vimeo-section .section-heading {
  text-align: center;
  margin-bottom: var(--space-6);
}

.video-wrap {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--color-divider);
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ------------------------------------------------------------------ */
/* CURRICULUM */
/* ------------------------------------------------------------------ */
.curriculum {
  text-align: center;
}

.curriculum .section-heading {
  text-align: center;
  margin-bottom: var(--space-6);
}

.curriculum__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  text-align: left;
  margin-bottom: var(--space-5);
}

.card {
  background: var(--color-bg-mid);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(34, 211, 238, 0.12) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover {
  border-color: rgba(34, 211, 238, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.card:hover::after {
  opacity: 1;
}

.card__eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-2) 0;
}

.card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0 0 var(--space-3) 0;
  color: var(--color-text-strong);
  font-family: var(--font-display);
}

.card p {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
}

.card p em {
  font-style: italic;
  color: var(--color-text-strong);
}

.card p strong {
  color: var(--color-text-strong);
  font-weight: 600;
}

@media (max-width: 720px) {
  .curriculum__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/* CARD - UPCOMING (next module, scheduled drop) */
/* ------------------------------------------------------------------ */
.card--upcoming {
  grid-column: 1 / -1;
  border-color: rgba(34, 211, 238, 0.32);
  background:
    radial-gradient(
      circle at 0% 50%,
      rgba(34, 211, 238, 0.06) 0%,
      transparent 55%
    ),
    var(--color-bg-mid);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.06);
}

.card--upcoming:hover {
  border-color: rgba(34, 211, 238, 0.55);
}

.card--upcoming.is-unlocked {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.45);
}

.card__eyebrow--upcoming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card__eyebrow-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  margin-bottom: 1px;
}

.card__eyebrow--upcoming [data-bonus-status] {
  color: var(--color-accent-bright);
  font-weight: 700;
}

.card--upcoming.is-unlocked [data-bonus-status] {
  color: var(--color-accent);
}

.card__note {
  margin-top: var(--space-3) !important;
  font-size: 14px;
  font-style: italic;
  color: var(--color-text-mute) !important;
  line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* PAIN POINTS / WHY THIS MATTERS NOW */
/* ------------------------------------------------------------------ */
.pain {
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(34, 211, 238, 0.06) 0%,
      transparent 60%
    ),
    var(--color-bg-mid);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  text-align: center;
}

.pain .section-heading {
  text-align: center;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.pain__copy {
  max-width: 64ch;
  margin: 0 auto;
  text-align: left;
}

.pain__copy p {
  margin: 0 0 var(--space-3) 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
}

.pain__copy p:last-child {
  margin-bottom: 0;
}

.pain__copy p strong {
  color: var(--color-text-strong);
  font-weight: 600;
}

.pain__close {
  text-align: center !important;
  margin-top: var(--space-5) !important;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  color: var(--color-accent-bright) !important;
  font-size: 18px !important;
}

.pain__close em {
  font-style: italic;
  color: var(--color-accent-bright);
}

/* ------------------------------------------------------------------ */
/* COMMITMENT (early-access disclaimer) */
/* ------------------------------------------------------------------ */
.commitment {
  background: var(--color-bg-deep);
  text-align: center;
}

.commitment .section-heading {
  text-align: center;
}

.commitment__copy {
  max-width: 64ch;
  margin: 0 auto;
  text-align: left;
}

.commitment__copy p {
  margin: 0 0 var(--space-3) 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
}

.commitment__copy p:last-child {
  margin-bottom: 0;
}

.commitment__copy p strong {
  color: var(--color-text-strong);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* INSTRUCTOR BIO */
/* ------------------------------------------------------------------ */
.bio {
  background: linear-gradient(
    180deg,
    var(--color-bg-deep) 0%,
    var(--color-bg-mid) 100%
  );
}

.bio__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-6);
  align-items: center;
}

.bio__photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-divider);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.bio__copy .section-heading {
  margin-bottom: var(--space-2);
  font-size: 12px;
  color: var(--color-accent);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.bio__name {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 var(--space-3) 0;
  letter-spacing: 2px;
}

.bio__copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

.bio__copy p em {
  font-style: italic;
  color: var(--color-text-strong);
}

@media (max-width: 820px) {
  .bio__inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    text-align: center;
  }
  .bio__photo {
    max-width: 240px;
    margin: 0 auto;
  }
}

/* ------------------------------------------------------------------ */
/* FINAL CTA */
/* ------------------------------------------------------------------ */
.final-cta {
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(34, 211, 238, 0.14) 0%,
      transparent 60%
    ),
    var(--color-bg-mid);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  text-align: center;
  padding: var(--space-8) var(--space-3);
}

.final-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  margin: 0 0 var(--space-5) 0;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.final-cta__heading em {
  color: var(--color-accent);
  font-style: normal;
}

.final-cta__pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-2) 0 var(--space-5) 0;
}

.final-cta__lead {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-mute);
  margin: 0;
  max-width: 50ch;
  line-height: 1.5;
}

.final-cta__now {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 120px);
  line-height: 0.9;
  color: var(--color-accent);
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 0 4px 32px rgba(34, 211, 238, 0.35);
}

/* ------------------------------------------------------------------ */
/* CROSS-PROMO */
/* ------------------------------------------------------------------ */
.crosspromo {
  background: var(--color-bg-deep);
  text-align: center;
  padding: var(--space-7) 0;
  border-top: 1px solid var(--color-divider);
}

.crosspromo__heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 1px;
  color: var(--color-text-strong);
  margin: 0 0 var(--space-2) 0;
}

.crosspromo__sub {
  font-size: 14px;
  color: var(--color-text-mute);
  max-width: 50ch;
  margin: 0 auto var(--space-4);
  line-height: 1.6;
}

.crosspromo__link {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  border-bottom: 1px solid var(--color-divider);
  padding-bottom: 4px;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.crosspromo__link:hover,
.crosspromo__link:focus-visible {
  color: var(--color-text-strong);
  border-bottom-color: var(--color-accent);
}

/* ------------------------------------------------------------------ */
/* FOOTER */
/* ------------------------------------------------------------------ */
.footer {
  padding: var(--space-5) 0;
  background: var(--color-bg-deep);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-mute);
  letter-spacing: 0.4px;
}

.footer__links {
  margin-top: var(--space-2);
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-mute);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer__link {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--color-text-mute);
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--color-accent);
}

/* ------------------------------------------------------------------ */
/* CTA NOTE */
/* ------------------------------------------------------------------ */
.cta-note {
  font-size: 13px;
  font-style: italic;
  color: var(--color-text-mute);
  margin: var(--space-2) 0 0 0;
  max-width: 56ch;
  line-height: 1.5;
}

.cta-cluster--center ~ .cta-note {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .cta-note {
    font-size: 12px;
  }
}

/* ------------------------------------------------------------------ */
/* STICKY MOBILE CTA */
/* ------------------------------------------------------------------ */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: linear-gradient(
    180deg,
    var(--color-accent-bright) 0%,
    var(--color-accent-deep) 100%
  );
  color: var(--color-bg-deep);
  text-align: center;
  padding: 14px 20px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-md);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(34, 211, 238, 0.35) inset;
  z-index: 50;
  display: none;
  text-decoration: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.sticky-cta.is-hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

@media (max-width: 720px) {
  .sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 80px;
  }
}

/* ------------------------------------------------------------------ */
/* A11y */
/* ------------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------------ */
/* MOTION */
/* ------------------------------------------------------------------ */
.hero__inner > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero__inner .eyebrow {
  animation-delay: 0.15s;
}
.hero__inner .hero__headline {
  animation-delay: 0.3s;
}
.hero__inner .hero__sub {
  animation-delay: 0.5s;
}
.hero__inner .countdown {
  animation-delay: 0.65s;
}
.hero__inner .cta-cluster {
  animation-delay: 0.8s;
}
.hero__inner .cta-note {
  animation-delay: 0.95s;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero__inner > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ------------------------------------------------------------------ */
/* MODAL */
/* ------------------------------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--space-3);
  animation: modalIn 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal[hidden] {
  display: none;
}

@keyframes modalIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - var(--space-5));
  background: var(--color-bg-mid);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalPanelIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modalPanelIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--color-text-mute);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.modal__close:hover,
.modal__close:focus-visible {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
}

.modal__body {
  padding: var(--space-6) var(--space-5) var(--space-5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal__body h2 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: 1px;
  margin: 0 0 var(--space-3) 0;
}

.modal__body h3 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: var(--space-5) 0 var(--space-2) 0;
}

.modal__body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 var(--space-3) 0;
}

.modal__body a {
  color: var(--color-accent);
  border-bottom: 1px solid rgba(34, 211, 238, 0.4);
}

.modal__body a:hover {
  border-bottom-color: var(--color-accent);
}

.modal__body code {
  font-size: 0.85em;
}

.modal__lead {
  color: var(--color-text-mute) !important;
  font-style: italic;
}

.modal__small {
  font-size: 12px !important;
  color: var(--color-text-mute) !important;
  margin-top: var(--space-5) !important;
}

@media (max-width: 720px) {
  .modal__body {
    padding: var(--space-5) var(--space-4) var(--space-4);
  }
  .modal__body h2 {
    margin-top: var(--space-2);
  }
}

body.modal-open {
  overflow: hidden;
}
