/* ============================================
   TeeGether — Landing Page
   Type: Newsreader (serif display) + Manrope (sans)
   Palette: deep greens, warm cream, muted gold
   ============================================ */

:root {
  --green-night: #0b1f17;
  --green-deepest: #112a1f;
  --green-deep: #163d2a;
  --green: #235c3d;
  --green-soft: #3f7a55;
  --green-mist: #d6e2d8;
  --cream: #f3ecdc;
  --cream-light: #faf6ea;
  --paper: #ffffff;
  --gold: #c9a35a;
  --gold-soft: #d9bc7e;
  --ink: #0e1f17;
  --ink-soft: #28342c;
  --muted: #6d7a72;
  --line: rgba(14, 31, 23, 0.12);
  --line-soft: rgba(14, 31, 23, 0.06);

  --shadow-card: 0 1px 2px rgba(11, 31, 23, 0.04), 0 8px 24px -8px rgba(11, 31, 23, 0.12);
  --shadow-lift: 0 2px 6px rgba(11, 31, 23, 0.06), 0 24px 48px -16px rgba(11, 31, 23, 0.2);

  --font-display: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --font-sans: "Manrope", "Manrope Fallback", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream-light);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; }

input { font-family: inherit; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--green); color: var(--cream-light); }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 0.98;
}

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  background: var(--green-night);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
}

/* Strong-left, fade-right dark green overlay — protects copy, keeps golfers visible on the right */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(8, 26, 18, 0.92) 0%,
      rgba(8, 26, 18, 0.78) 22%,
      rgba(11, 31, 23, 0.5) 42%,
      rgba(11, 31, 23, 0.18) 60%,
      rgba(11, 31, 23, 0) 78%
    ),
    linear-gradient(
      180deg,
      rgba(8, 26, 18, 0.0) 0%,
      rgba(8, 26, 18, 0.0) 60%,
      rgba(8, 26, 18, 0.35) 100%
    );
  pointer-events: none;
}

/* ---------- Floating navbar ---------- */
.floating-nav {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 14px 10px 22px;
  background: rgba(250, 246, 234, 0.86);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 40px -16px rgba(8, 26, 18, 0.4);
  width: min(1180px, calc(100% - 48px));
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--green-deepest);
  white-space: nowrap;
}

.nav-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--green-soft), var(--green-deep) 70%);
  color: var(--cream-light);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: background 160ms ease, color 160ms ease;
}
.nav-link:hover { background: rgba(11, 31, 23, 0.07); color: var(--green-deepest); }

.nav-cta {
  margin-left: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream-light);
  background: var(--green-deep);
  border-radius: var(--radius-pill);
  transition: transform 160ms ease, background 160ms ease;
}
.nav-cta:hover { background: var(--green); transform: translateY(-1px); }

.nav-burger { display: none; }

/* ---------- Hero content ---------- */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-top: 80px; /* keep content below nav */
}

.hero-copy { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 163, 90, 0.18);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.8vw, 96px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.96;
  margin: 0 0 28px;
  color: #fff;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cream-light);
  color: var(--green-deepest);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); background: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }

.btn-dark {
  background: var(--green-deep);
  color: var(--cream-light);
}
.btn-dark:hover { background: var(--green); transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--green-deepest);
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }

.hero-foot {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-foot .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.4); }

.hero-meta {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 72px));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
}

/* ============================================
   GENERIC SECTION
   ============================================ */
.section {
  padding: 120px 0;
}
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 0.98;
  margin: 12px 0 0;
  text-wrap: balance;
}
.section-head h2 em { font-style: italic; }
.section-head p {
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 6px;
  line-height: 1.55;
}

/* ============================================
   MARQUEE — scrolling banner below hero
   ============================================ */
.marquee {
  background: var(--green-deepest);
  color: var(--cream-light);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
  padding: 22px 0;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  pointer-events: none;
  z-index: 2;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--green-deepest), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--green-deepest), transparent);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  animation: marquee-scroll 48s linear infinite;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--cream-light);
}

.marquee-text {
  color: var(--cream-light);
}

.marquee-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 163, 90, 0.14);
  flex-shrink: 0;
}

/* Make every second item gold for visual rhythm */
.marquee-item:nth-child(odd) .marquee-text {
  color: var(--gold-soft);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
  background: var(--cream-light);
  color: var(--ink);
  position: relative;
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.problem-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 16px 0 28px;
  text-wrap: balance;
}
.problem-copy h2 em { font-style: italic; color: var(--green); }

.problem-copy p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 460px;
  line-height: 1.6;
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.problem-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.problem-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  padding-top: 4px;
  letter-spacing: 0.06em;
}
.problem-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.problem-text .accent { color: var(--green); font-style: italic; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  background: var(--green-deepest);
  color: var(--cream-light);
  position: relative;
  overflow: hidden;
}

.how::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 100% 0%, rgba(63, 122, 85, 0.25), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(201, 163, 90, 0.08), transparent 60%);
  pointer-events: none;
}

.how .section-head h2 { color: var(--cream-light); }
.how .section-head h2 em { color: var(--gold-soft); }
.how .section-head p { color: rgba(243, 236, 220, 0.7); }
.how .eyebrow { color: var(--gold-soft); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.step {
  position: relative;
  padding: 32px 28px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 0.9;
  font-style: italic;
  color: var(--gold-soft);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.step-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--cream-light);
}
.step-body {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(243, 236, 220, 0.7);
  margin: 0 0 24px;
}

.step-visual {
  margin-top: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(243, 236, 220, 0.7);
}

/* mini profile preview */
.mini-profile { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; }
.mini-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--green-soft), var(--green-deep)); display: grid; place-items: center; color: var(--cream-light); font-family: var(--font-display); font-size: 18px; }
.mini-name { color: var(--cream-light); font-family: var(--font-sans); font-size: 13px; font-weight: 600; }
.mini-meta { font-size: 11px; color: rgba(243, 236, 220, 0.55); }
.mini-tag { font-size: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(201, 163, 90, 0.18); color: var(--gold-soft); }

/* mini match list */
.mini-match { display: flex; flex-direction: column; gap: 8px; }
.mini-match-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: rgba(255,255,255,0.04); border-radius: 8px; font-size: 12px; }
.mini-match-row .name { color: var(--cream-light); font-family: var(--font-sans); font-weight: 500; }
.mini-match-row .score { color: var(--gold-soft); font-family: var(--font-mono); font-size: 11px; }

/* mini chat */
.mini-chat { display: flex; flex-direction: column; gap: 6px; }
.mini-bubble { padding: 8px 12px; border-radius: 12px; font-size: 12px; max-width: 80%; line-height: 1.4; }
.mini-bubble.you { align-self: flex-end; background: var(--green-soft); color: var(--cream-light); border-bottom-right-radius: 4px; }
.mini-bubble.them { align-self: flex-start; background: rgba(255,255,255,0.08); color: var(--cream-light); border-bottom-left-radius: 4px; }

/* ============================================
   FEATURES
   ============================================ */
.features {
  background: var(--cream-light);
}

/* Features section header: copy on left, photo on right */
.features-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.features-head-copy { padding-bottom: 8px; }
.features-head-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 0.98;
  margin: 12px 0 20px;
  text-wrap: balance;
}
.features-head-copy h2 em { font-style: italic; color: var(--green); }
.features-head-copy p {
  font-size: 17px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.55;
  margin: 0;
}

.features-head-photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-lift);
}
.features-head-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.features-head-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(11, 31, 23, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream-light);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.features-head-photo .cap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 163, 90, 0.25);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
  overflow: hidden;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-deepest);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.15;
  margin: 0;
}
.feature p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.feature-spec {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature.span-6 { grid-column: span 6; }
.feature.span-4 { grid-column: span 4; }
.feature.span-8 { grid-column: span 8; }
.feature.span-12 { grid-column: span 12; }

/* The "find nearby" wide card — small map mock */
.mock-map {
  margin-top: 8px;
  position: relative;
  height: 140px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 60%, rgba(35, 92, 61, 0.25), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(201, 163, 90, 0.18), transparent 60%),
    linear-gradient(135deg, #eef3ea, #e3ebe0);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.mock-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 92, 61, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 92, 61, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(35, 92, 61, 0.2), 0 1px 4px rgba(0,0,0,0.2);
}
.pin.gold { background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 163, 90, 0.28), 0 1px 4px rgba(0,0,0,0.2); }

/* skill bars */
.skill-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.skill-row { display: grid; grid-template-columns: 80px 1fr 36px; gap: 12px; align-items: center; font-size: 12px; color: var(--ink-soft); }
.skill-row .label { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; font-size: 10px; color: var(--muted); }
.skill-row .bar { height: 6px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.skill-row .bar .fill { height: 100%; background: var(--green); border-radius: inherit; }
.skill-row .val { font-family: var(--font-mono); font-size: 11px; text-align: right; color: var(--green); }

/* availability grid */
.avail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 8px; }
.avail .cell { aspect-ratio: 1.6 / 1; border-radius: 6px; background: var(--line-soft); position: relative; }
.avail .cell.on { background: var(--green); }
.avail .cell.peak { background: var(--gold); }

/* course chips */
.course-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.course-chip {
  font-size: 12px;
  padding: 6px 12px;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
}
.course-chip.active { background: var(--green-deep); color: var(--cream-light); border-color: var(--green-deep); }

/* group avatars */
.group-stack { display: flex; align-items: center; margin-top: 8px; }
.group-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--green-soft), var(--green-deep)); border: 3px solid #fff; margin-left: -10px; display: grid; place-items: center; color: var(--cream-light); font-family: var(--font-display); font-size: 16px; }
.group-avatar:first-child { margin-left: 0; }
.group-avatar.gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--green-deepest); }
.group-avatar.plus { background: var(--cream); color: var(--green); border: 1px dashed var(--green); }

/* chat preview inside feature */
.chat-preview { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

/* ============================================
   WAITLIST CTA
   ============================================ */
.waitlist {
  background: var(--green-night);
  color: var(--cream-light);
  position: relative;
  overflow: hidden;
}
.waitlist::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 80% 0%, rgba(63, 122, 85, 0.35), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(201, 163, 90, 0.1), transparent 60%);
  pointer-events: none;
}
.waitlist-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.waitlist h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 16px 0 24px;
  color: var(--cream-light);
  text-wrap: balance;
}
.waitlist h2 em { font-style: italic; color: var(--gold-soft); }
.waitlist p.lead {
  font-size: 17px;
  color: rgba(243, 236, 220, 0.74);
  max-width: 480px;
  line-height: 1.6;
  margin: 0 0 28px;
}
.waitlist .eyebrow { color: var(--gold-soft); }

.waitlist-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.waitlist-bullets li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: rgba(243, 236, 220, 0.86); font-size: 15px; }
.waitlist-bullets li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 7px; }

/* form card */
.form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.form-card .form-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--cream-light);
}
.form-card .form-sub {
  font-size: 14px;
  color: rgba(243, 236, 220, 0.6);
  margin: 0 0 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 236, 220, 0.55);
}
.field input, .field select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--cream-light);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}
.field input::placeholder { color: rgba(243, 236, 220, 0.4); }
.field input:focus, .field select:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}
.field input.error { border-color: #e07a5f; }
.field .err { color: #f0a08e; font-size: 12px; margin-top: 2px; }

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-pill {
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cream-light);
  cursor: pointer;
  transition: all 160ms ease;
}
.skill-pill:hover { border-color: rgba(255, 255, 255, 0.25); }
.skill-pill.active { background: var(--gold); border-color: var(--gold); color: var(--green-deepest); }

.form-submit {
  margin-top: 18px;
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--green-deepest);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 160ms ease, transform 160ms ease;
}
.form-submit:hover { background: var(--gold-soft); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-foot {
  font-size: 12px;
  color: rgba(243, 236, 220, 0.5);
  margin-top: 14px;
  text-align: center;
}

/* success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 0;
}
.form-success .checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 163, 90, 0.18);
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--cream-light);
}
.form-success p {
  font-size: 14px;
  color: rgba(243, 236, 220, 0.7);
  max-width: 320px;
}
.form-success .position {
  margin-top: 18px;
  padding: 12px 18px;
  background: rgba(201, 163, 90, 0.1);
  border: 1px solid rgba(201, 163, 90, 0.3);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-success .position strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-night);
  color: rgba(243, 236, 220, 0.6);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--cream-light);
  margin-bottom: 8px;
}
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: rgba(243, 236, 220, 0.6);
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 236, 220, 0.4);
  text-align: right;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-content { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section-inner { padding: 0 24px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .features-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .problem-layout { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature.span-6, .feature.span-4, .feature.span-8 { grid-column: span 1; }
  .waitlist-inner { grid-template-columns: 1fr; padding: 0 24px; }
  .floating-nav { width: calc(100% - 24px); padding: 8px 8px 8px 18px; gap: 8px; }
  .nav-links { display: none; }
  .nav-brand { font-size: 18px; }
  .nav-mark { width: 30px; height: 30px; font-size: 15px; }
  .hero-meta { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  #root {
    width: 100%;
    overflow-x: clip;
  }

  .hero {
    height: 100svh;
    min-height: 700px;
  }

  .hero-image {
    object-position: 64% 42%;
  }

  .floating-nav {
    top: 16px;
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    padding: 8px 8px 8px 12px;
    gap: 8px;
  }

  .nav-brand {
    min-width: 0;
    gap: 9px;
    font-size: 17px;
  }

  .nav-mark {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    font-size: 15px;
  }

  .nav-cta {
    margin-left: auto;
    padding: 9px 13px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero-content {
    padding: 0 20px;
    justify-content: flex-end;
    padding-bottom: max(46px, env(safe-area-inset-bottom));
  }

  .hero-grid {
    gap: 0;
    padding-top: 92px;
  }

  .hero-copy {
    max-width: 520px;
  }

  .hero-badge {
    max-width: 100%;
    margin-bottom: 18px;
    padding: 7px 11px;
    font-size: 9px;
    letter-spacing: 0.1em;
    white-space: normal;
  }

  .hero-title {
    font-size: clamp(42px, 11vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.018em;
    margin-bottom: 18px;
  }

  .hero-sub {
    max-width: 96%;
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-ctas {
    gap: 10px;
  }

  .btn {
    padding: 13px 18px;
    font-size: 14px;
  }

  .hero-foot {
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 12.5px;
  }

  .section {
    padding: 68px 0;
  }

  .section-inner,
  .waitlist-inner,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-head h2,
  .problem-copy h2,
  .features-head-copy h2,
  .waitlist h2 {
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.02;
  }

  .section-head p,
  .problem-copy p,
  .features-head-copy p,
  .waitlist p.lead {
    font-size: 16px;
  }

  .problem-layout,
  .features-head,
  .waitlist-inner {
    gap: 34px;
  }

  .problem-item {
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding: 18px 0;
  }

  .problem-text {
    font-size: 20px;
  }

  .marquee {
    padding: 16px 0;
  }

  .marquee::before,
  .marquee::after {
    width: 48px;
  }

  .marquee-track {
    gap: 34px;
  }

  .marquee-item {
    gap: 20px;
    font-size: 22px;
  }

  .step,
  .feature,
  .form-card {
    border-radius: var(--radius);
  }

  .step,
  .feature {
    padding: 24px;
    min-height: auto;
  }

  .feature.span-12 {
    grid-column: span 1;
  }

  .features-head-photo {
    border-radius: var(--radius);
  }

  .features-head-photo figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .skill-row {
    grid-template-columns: 68px minmax(0, 1fr) 32px;
    gap: 9px;
  }

  .chat-preview .mini-bubble {
    max-width: 92%;
  }

  .waitlist-bullets li {
    font-size: 14.5px;
  }

  .form-card {
    padding: 24px;
  }

  .field input,
  .field select,
  .form-submit {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 660px;
  }

  .hero-image {
    object-position: 68% 42%;
  }

  .floating-nav {
    top: 14px;
    padding: 7px 7px 7px 10px;
  }

  .nav-brand {
    gap: 8px;
    font-size: 16px;
  }

  .nav-mark {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 14px;
  }

  .nav-cta {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: max(34px, env(safe-area-inset-bottom));
  }

  .hero-grid {
    padding-top: 86px;
  }

  .hero-title {
    font-size: clamp(38px, 12vw, 50px);
    margin-bottom: 16px;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 15.5px;
    margin-bottom: 20px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 340px);
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
  }

  .hero-foot {
    max-width: 310px;
  }

  .hero-foot .dot {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .section-inner,
  .waitlist-inner,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-head,
  .features-head {
    margin-bottom: 32px;
  }

  .section-head h2,
  .problem-copy h2,
  .features-head-copy h2,
  .waitlist h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .problem-text {
    font-size: 18px;
  }

  .step,
  .feature,
  .form-card {
    padding: 20px;
  }

  .mini-profile {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .mini-profile .mini-tag {
    grid-column: 2;
    justify-self: start;
  }

  .skill-row {
    grid-template-columns: 1fr;
  }

  .skill-row .val {
    text-align: left;
  }

  .course-chip,
  .skill-pill {
    font-size: 12px;
  }

  .waitlist-bullets {
    gap: 12px;
  }

  .form-card h3,
  .form-success h3 {
    font-size: 24px;
  }

  .field input,
  .field select {
    font-size: 16px;
  }

  .footer {
    padding: 44px 0 34px;
  }
}
