:root {
  --bg: #0c0d0a;
  --bg-alt: #131510;
  --ink: #f3f2ec;
  --ink-dim: #a9ab9f;
  --teal: #2dd4bf;
  --orange: #ff5a1f;
  --line: rgba(243, 242, 236, 0.1);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
p a { color: var(--teal); border-bottom: 1px solid rgba(45,212,191,0.4); }
p a:hover { border-bottom-color: var(--teal); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* film-grain texture overlay so it doesn't read as a flat template */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 13, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.brand span { color: var(--teal); }

.main-nav {
  display: flex;
  gap: 28px;
  margin-right: auto;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
  max-width: 100%;
}
.btn:hover { transform: translateY(-2px); }

.btn-solid {
  background: var(--teal);
  color: #0c0d0a;
}
.btn-solid:hover { background: #5eead4; }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink-dim); }

.btn-small { padding: 10px 20px; font-size: 12px; }
.btn-large { padding: 18px 36px; font-size: 15px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(45, 212, 191, 0.16), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(255, 90, 31, 0.14), transparent 40%),
    linear-gradient(180deg, #0c0d0a 0%, #101208 100%);
  z-index: -1;
}

.hero-inner { position: relative; }

.eyebrow {
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero-title {
  font-size: clamp(64px, 13vw, 156px);
  line-height: 0.88;
  margin-bottom: 28px;
}

.hero-sub {
  max-width: 560px;
  color: var(--ink-dim);
  font-size: 18px;
  margin: 0 0 40px;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 110px;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
}

.stat-value {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: var(--teal);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- generic sections ---------- */
.section { padding: 96px 0; }
.section-dark { background: var(--bg-alt); }

.section-kicker {
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 28px;
  max-width: 720px;
}

.lede {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 620px;
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-grid > * { min-width: 0; }

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  display: block;
}

.about-copy p { color: var(--ink-dim); }
.about-copy p.lede { color: var(--ink); }

.about-facts {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-facts div { display: flex; flex-direction: column; gap: 4px; }
.about-facts strong {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  color: var(--teal);
}
.about-facts span {
  font-size: 12px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- watch ---------- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 900px;
  margin-top: 32px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- lessons ---------- */
.lessons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.lessons-grid > * { min-width: 0; }

.lessons-copy p:not(.lede) {
  color: var(--ink-dim);
  font-size: 15px;
  margin: -12px 0 28px;
}

.lessons-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-row {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; padding-bottom: 0; }

.feature-num {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: var(--teal);
  min-width: 44px;
}

.feature-row h3 { font-size: 18px; margin-bottom: 8px; }
.feature-row p { color: var(--ink-dim); margin: 0; font-size: 15px; }

/* ---------- faq ---------- */
.faq-list {
  max-width: 760px;
  margin-top: 32px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  color: var(--ink-dim);
  font-size: 15px;
  margin: 0 0 12px;
  max-width: 620px;
}

/* ---------- contact ---------- */
.contact-section { text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.contact-inner .lede { max-width: 480px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink-dim);
  font-size: 13px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { padding: 10px 0; }
.footer-links a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .lessons-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-facts { flex-wrap: wrap; row-gap: 20px; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 12px; }
  .header-inner .btn-small { padding: 10px 16px; font-size: 11px; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  .main-nav.open a {
    padding: 12px 0;
    font-size: 16px;
  }

  .hero { padding: 100px 0 64px; }
  .stat-pill { min-width: 84px; padding: 12px 16px; }
}
