/* ==========================================================================
   Leverrs — AI & Tech Learning for Teens in the UK
   Design system + page styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --ink:        #0B0B0F;
  --ink-2:      #16161D;
  --ink-3:      #23232D;
  --paper:      #FBFAF7;
  --white:      #FFFFFF;
  --muted:      #6B6B78;
  --muted-dark: #A3A3B0;
  --accent:     #FF5C29;   /* Leverrs orange */
  --accent-ink: #E8410F;
  --lime:       #C8FF3D;   /* AI/tech energy */
  --line:       rgba(11, 11, 15, 0.12);
  --line-soft:  rgba(11, 11, 15, 0.07);
  --line-dark:  rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Space Grotesk", "SF Pro Display", -apple-system,
                  BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont,
                  "Segoe UI", system-ui, sans-serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + 0.8vw, 2.05rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4:  clamp(2.15rem, 1.7rem + 2.1vw, 3.4rem);
  --step-5:  clamp(2.5rem, 1.85rem + 2.3vw, 3.6rem);

  /* Space */
  --gutter: clamp(1.15rem, 0.8rem + 1.8vw, 2.5rem);
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --wrap: 1180px;

  /* Radius + shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(11, 11, 15, 0.06),
               0 4px 14px rgba(11, 11, 15, 0.05);
  --shadow-md: 0 2px 6px rgba(11, 11, 15, 0.07),
               0 18px 44px rgba(11, 11, 15, 0.10);
  --shadow-lg: 0 4px 12px rgba(11, 11, 15, 0.08),
               0 34px 80px rgba(11, 11, 15, 0.16);
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.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;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }

.section--ink {
  background: var(--ink);
  color: var(--paper);
}
.section--ink .eyebrow { color: var(--lime); }
.section--ink .section-lede { color: var(--muted-dark); }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-title { font-size: var(--step-3); }
.section-lede {
  margin-top: 1.15rem;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   4. Buttons + pills
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1),
              box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--white); }
.btn--lime   { --btn-bg: var(--lime);   --btn-fg: var(--ink); }
.btn--light  { --btn-bg: var(--white);  --btn-fg: var(--ink); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: var(--line-dark);
}
.btn--ghost-light:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.btn--lg { padding: 1.15rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform 0.18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.pill--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
  color: var(--paper);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(200, 255, 61, 0.25);
  flex: none;
}
.dot--pulse { animation: pulse 2.2s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(200, 255, 61, 0.25); }
  50%      { box-shadow: 0 0 0 7px rgba(200, 255, 61, 0.05); }
}

/* --------------------------------------------------------------------------
   5. Announcement bar
   -------------------------------------------------------------------------- */
.announce {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--line-dark);
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  text-align: center;
  flex-wrap: wrap;
}
.announce strong { font-weight: 700; }
.announce__sep { color: var(--muted-dark); }
@media (max-width: 620px) {
  .announce__sep { display: none; }
  .announce__inner { gap: 0.35rem 0.7rem; }
}
.announce__link {
  color: var(--lime);
  font-weight: 600;
  border-bottom: 1px solid rgba(200, 255, 61, 0.4);
  padding-bottom: 1px;
}
.announce__link:hover { border-bottom-color: var(--lime); }

/* --------------------------------------------------------------------------
   6. Header / nav
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.header.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px rgba(11, 11, 15, 0.05);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.045em;
  flex: none;
}
.logo__mark {
  width: 30px;
  height: 30px;
  color: var(--ink);
  flex: none;
}
.logo__text { line-height: 1; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}
.nav__link {
  padding: 0.55rem 0.85rem;
  border-radius: 100px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.16s ease, color 0.16s ease;
}
.nav__link:hover { background: rgba(11, 11, 15, 0.06); }

.header__cta { flex: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 17px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.16s ease;
}
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after  { transform: translateY(4px); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: rotate(-45deg) translateY(0); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.85rem 0.9rem; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav .btn { margin-top: 0.65rem; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem) clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 38%, transparent 84%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 38%, transparent 84%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: center;
}
@media (min-width: 1080px) {
  .hero__grid { grid-template-columns: 1.12fr 0.88fr; }
}

.hero__title {
  font-size: var(--step-5);
  letter-spacing: -0.045em;
  margin-top: 1.35rem;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__title .u {
  background-image: linear-gradient(rgba(200, 255, 61, 0.32), rgba(200, 255, 61, 0.32));
  background-size: 100% 0.3em;
  background-position: 0 0.6em;
  background-repeat: no-repeat;
}

.hero__lede {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted-dark);
  max-width: 34rem;
}
.hero__lede strong { color: var(--paper); font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.15rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.88rem;
  color: var(--muted-dark);
}
.hero__meta-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta-item svg { color: var(--lime); flex: none; }

/* Hero card — cohort snapshot */
.cohort-card {
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  box-shadow: var(--shadow-lg);
}
.cohort-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line-dark);
}
.cohort-card__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.cohort-card__dates {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 0.3rem;
}
.cohort-card__year { color: var(--muted-dark); font-weight: 500; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1.35rem 0;
}
.countdown__unit {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 0.75rem 0.4rem;
  text-align: center;
}
.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.slots { display: grid; gap: 1.1rem; }
.slots__row + .slots__row { padding-top: 1.1rem; border-top: 1px solid var(--line-dark); }
.slots__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}
.slots__name { font-weight: 600; font-size: 0.95rem; }
.slots__name span { color: var(--muted-dark); font-weight: 400; }
.slots__count {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.slots__count--vip { color: var(--accent); }

.bar {
  height: 7px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.bar__fill {
  height: 100%;
  border-radius: 100px;
  background: var(--lime);
  width: 0;
  transition: width 1s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.bar__fill--vip { background: var(--accent); }

.cohort-card__foot {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted-dark);
}

/* --------------------------------------------------------------------------
   8. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--lime);
  color: var(--ink);
  padding: 0.85rem 0;
  overflow: hidden;
  border-block: 1px solid var(--ink);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee__group span { display: inline-flex; align-items: center; gap: 2.25rem; }
.marquee__group span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.45;
}

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   9. Promise / stats strip
   -------------------------------------------------------------------------- */
.promises {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 780px) {
  .promises { grid-template-columns: repeat(3, 1fr); }
}
.promise {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1.2rem + 0.7vw, 1.9rem);
  box-shadow: var(--shadow-sm);
}
.promise__tick {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  margin-bottom: 1rem;
}
.promise__num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.promise__text {
  margin-top: 0.65rem;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. Video
   -------------------------------------------------------------------------- */
.video-grid {
  display: grid;
  gap: clamp(2rem, 1.6rem + 2vw, 3.25rem);
  align-items: center;
}
@media (min-width: 940px) {
  .video-grid { grid-template-columns: 1fr 1.15fr; }
}

.video-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-load facade (keeps the page fast, loads YouTube only on click) */
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background:
    linear-gradient(150deg, rgba(255, 92, 41, 0.22), rgba(11, 11, 15, 0.85) 62%),
    var(--ink-2);
  display: grid;
  place-items: center;
  color: var(--paper);
  text-align: center;
}
.video-facade__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.video-facade__body { position: relative; z-index: 1; display: block; padding: 1.5rem; }
.video-facade__play {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(255, 92, 41, 0.42);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.video-facade:hover .video-facade__play { transform: scale(1.09); }
.video-facade__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.video-facade__sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted-dark);
}

.video-points { display: grid; gap: 1.5rem; margin-top: 2rem; }
.video-point { display: flex; gap: 1rem; }
.video-point__icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-dark);
  color: var(--lime);
}
.video-point h3 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.video-point p { font-size: 0.93rem; color: var(--muted-dark); line-height: 1.55; }

/* --------------------------------------------------------------------------
   11. Audience cards
   -------------------------------------------------------------------------- */
.audience {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .audience { grid-template-columns: repeat(4, 1fr); } }

.aud-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.3rem + 0.7vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.3, 1),
              box-shadow 0.22s ease, border-color 0.22s ease;
}
.aud-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.aud-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.aud-card:hover::before { transform: scaleX(1); }

.aud-card__age {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.85rem;
}
.aud-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  margin-bottom: 1.1rem;
  color: var(--ink);
}
.aud-card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.aud-card p { font-size: 0.93rem; color: var(--muted); line-height: 1.6; }
.aud-card__tag {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.aud-card__tag svg { color: var(--accent); flex: none; }

/* --------------------------------------------------------------------------
   12. Curriculum
   -------------------------------------------------------------------------- */
.weeks { display: grid; gap: 1.15rem; }
@media (min-width: 700px)  { .weeks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .weeks { grid-template-columns: repeat(4, 1fr); } }

.week {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.3rem + 0.7vw, 1.85rem);
  display: flex;
  flex-direction: column;
  transition: background 0.22s ease, transform 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.week:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-4px); }

.week__no {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.week__no::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-dark);
}
.week h3 { font-size: 1.22rem; margin-bottom: 0.7rem; }
.week p { font-size: 0.92rem; color: var(--muted-dark); line-height: 1.6; }

.week__list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--muted-dark);
}
.week__list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  line-height: 1.45;
}
.week__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* --------------------------------------------------------------------------
   13. Pricing
   -------------------------------------------------------------------------- */
.plans {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.plan--vip {
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-lg);
}
.plan--vip .plan__desc,
.plan--vip .plan__note { color: var(--muted-dark); }
.plan--vip .plan__features li { color: var(--paper); }

.plan__flag {
  position: absolute;
  top: -13px;
  right: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan__flag--lime { background: var(--lime); color: var(--ink); }

.plan__name {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.plan__desc {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  min-height: 2.9em;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1.5rem 0 0.35rem;
}
.plan__amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2.1rem + 2.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.plan__per { font-size: 0.9rem; color: var(--muted); }
.plan--vip .plan__per { color: var(--muted-dark); }

.plan__note { font-size: 0.85rem; color: var(--muted); }

.plan__slots {
  margin: 1.5rem 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
}
.plan--vip .plan__slots {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
}
.plan__slots svg { color: var(--accent); flex: none; }

.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.8rem;
  font-size: 0.94rem;
}
.plan__features li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  line-height: 1.5;
}
.plan__features svg {
  flex: none;
  margin-top: 0.28rem;
  color: var(--accent);
}
.plan--vip .plan__features svg { color: var(--lime); }
.plan__features strong { font-weight: 600; }

.plan__inherit {
  font-size: 0.86rem;
  font-weight: 600;
  padding-bottom: 0.9rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--lime);
}

.plan__cta { margin-top: auto; }
.plan__fine {
  margin-top: 0.95rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.plan--vip .plan__fine { color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 46rem;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq__q:hover { color: var(--accent-ink); }
.faq__icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.faq__q[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.faq__a[data-open="true"] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding-bottom: 1.4rem;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 42rem;
}
.faq__a a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 1.8rem + 2.6vw, 4rem);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.22), transparent 42%),
    radial-gradient(circle at 85% 78%, rgba(200, 255, 61, 0.3), transparent 45%);
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: var(--step-3);
  max-width: 22ch;
  margin-inline: auto;
}
.cta-band p {
  margin: 1.1rem auto 0;
  max-width: 44ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2rem;
}
.cta-band__fine {
  max-width: none;
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding-block: clamp(3rem, 2.4rem + 2.5vw, 4.5rem) 2rem;
  font-size: 0.92rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 780px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
}
.footer .logo { color: var(--paper); margin-bottom: 1rem; }
.footer .logo__mark { color: var(--paper); }
.footer__blurb { max-width: 32ch; line-height: 1.6; }

.footer__title {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.1rem;
}
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer__links a { transition: color 0.16s ease; }
.footer__links a:hover { color: var(--lime); }

.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: var(--paper);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.social:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: translateY(-2px);
}

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
}
.footer__legal { max-width: 62ch; line-height: 1.55; }

/* --------------------------------------------------------------------------
   17. Waitlist page
   -------------------------------------------------------------------------- */
.wl-hero {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(2.75rem, 2.2rem + 2.6vw, 4.25rem) clamp(2.5rem, 2rem + 2vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.wl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 75%);
}
.wl-hero__inner { position: relative; z-index: 1; max-width: 44rem; }
.wl-hero h1 { font-size: var(--step-4); margin-top: 1.2rem; }
.wl-hero p {
  margin-top: 1.15rem;
  font-size: 1.08rem;
  color: var(--muted-dark);
  line-height: 1.6;
}

.wl-layout {
  display: grid;
  gap: clamp(2rem, 1.6rem + 2vw, 3rem);
  align-items: start;
}
@media (min-width: 980px) {
  .wl-layout { grid-template-columns: 1.35fr 0.85fr; }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1.25rem + 1.4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.tier-picker {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 560px) {
  .tier-picker { grid-template-columns: repeat(2, 1fr); }
}
.tier {
  position: relative;
  display: block;
  cursor: pointer;
}
.tier input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.tier__body {
  display: block;
  height: 100%;
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.15rem 1.25rem;
  background: var(--white);
  transition: border-color 0.18s ease, background 0.18s ease,
              box-shadow 0.18s ease, transform 0.18s ease;
}
.tier:hover .tier__body { border-color: var(--muted); }
.tier input:checked + .tier__body {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.tier input:focus-visible + .tier__body {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.tier__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-right: 1.6rem; /* clear the checked badge */
  margin-bottom: 0.35rem;
}
.tier__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.tier__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.tier__meta { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.tier__check {
  position: absolute;
  top: 0.8rem;
  right: 0.85rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: none;
  place-items: center;
}
.tier input:checked ~ .tier__check { display: grid; }

.field { margin-bottom: 1.25rem; }
.field__label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.field__label .req { color: var(--accent-ink); }
.field__hint {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}
.field__control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  font-size: 0.98rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field__control:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 11, 15, 0.08);
}
.field__control::placeholder { color: #A8A8B4; }
textarea.field__control { resize: vertical; min-height: 110px; }
select.field__control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%230B0B0F' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.check input {
  flex: none;
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
}
.form-status[data-state="error"] {
  display: block;
  background: #FFF1EC;
  border: 1px solid #FFC9B5;
  color: #A32C08;
}
.form-status[data-state="success"] {
  display: block;
  background: #F2FCE3;
  border: 1px solid #CDEB9B;
  color: #3F6410;
}
.form-status[data-state="pending"] {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
}

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Waitlist sidebar */
.wl-side { display: grid; gap: 1.25rem; }
.side-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.side-card--ink {
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  border-color: var(--ink);
  color: var(--paper);
}
.side-card--ink .side-card__list li { color: var(--muted-dark); }
.side-card h3 {
  font-size: 1.08rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.side-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.side-card__list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.side-card__list svg { flex: none; margin-top: 0.25rem; color: var(--accent); }
.side-card--ink .side-card__list svg { color: var(--lime); }

.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.step { display: flex; gap: 0.9rem; align-items: flex-start; }
.step__no {
  counter-increment: step;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}
.step__no::before { content: counter(step); }
.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.step strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 0.15rem; }

/* Success panel */
.wl-success {
  display: none;
  text-align: center;
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem) 0;
}
.wl-success[data-visible="true"] { display: block; }
.wl-success__badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.wl-success h2 { font-size: var(--step-2); margin-bottom: 0.85rem; }
.wl-success p {
  color: var(--muted);
  max-width: 40ch;
  margin: 0 auto 0.75rem;
  line-height: 1.6;
}
.wl-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   18. Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.3, 1),
              transform 0.65s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
