:root {
  --teal-950: #0a2b2c;
  --teal-900: #0f3d3e;
  --teal-700: #1a5c5d;
  --teal-100: #e3f0ef;
  --maroon-700: #8c2f39;
  --maroon-600: #a63845;
  --maroon-100: #f7e6e8;
  --cream: #faf7f2;
  --ink: #1c2524;
  --ink-soft: #4a5857;
  --line: #dde5e3;
  --white: #ffffff;

  --radius: 14px;
  --shadow: 0 8px 24px rgba(10, 43, 44, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; color: var(--teal-950); }
h1 { font-size: clamp(1.8rem, 5vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--maroon-700); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--maroon-600);
}
.logo-word {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--teal-950);
  letter-spacing: -0.01em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--maroon-700); }
.nav-cta {
  background: var(--maroon-700);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--maroon-600); }

@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* Hero */
.hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 15% 20%, rgba(15, 61, 62, 0.06), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(140, 47, 57, 0.07), transparent 40%);
}
.hero-inner { text-align: center; max-width: 760px; }
.eyebrow {
  display: inline-block;
  background: var(--teal-100);
  color: var(--teal-900);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lede {
  font-size: 1.1rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 20px;
}
.tagline {
  font-weight: 700;
  color: var(--maroon-700);
  letter-spacing: 0.02em;
  margin-top: 8px;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--maroon-700);
  color: var(--white);
}
.btn-primary:hover { background: var(--maroon-600); }
.btn-secondary {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--teal-900);
}
.btn-secondary:hover { background: var(--teal-100); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Stats */
.stats { padding: 8px 0 56px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: left;
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--maroon-700);
  margin-bottom: 6px;
}
.stat-label { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* Why */
.why { padding: 40px 0 56px; }
.section-lede { max-width: 560px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow);
}
.why-card h3 { color: var(--teal-900); }
.why-card p { margin: 0; font-size: 0.95rem; }

/* How it works */
.how { padding: 40px 0 56px; background: var(--teal-100); }
.how-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.how-steps li { position: relative; padding-left: 4px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 12px;
}
.how-steps p { margin: 0; font-size: 0.95rem; }

/* Instructors */
.instructors { padding: 56px 0; background: var(--teal-950); }
.instructors-inner { max-width: 640px; }
.instructors h2, .instructors p { color: var(--white); }
.instructors p { color: rgba(255,255,255,0.82); }

/* Waitlist */
.waitlist { padding: 56px 0 80px; }
.waitlist-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.waitlist-form {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-top: 24px;
}
.field-group { margin-bottom: 18px; }
.field-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-950);
  margin-bottom: 8px;
}
.role-toggle {
  display: flex;
  gap: 8px;
}
.role-btn {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.role-btn.is-active {
  border-color: var(--maroon-700);
  background: var(--maroon-100);
  color: var(--maroon-700);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal-950);
  margin-bottom: 6px;
}
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border-color: var(--teal-700);
  background: var(--white);
}
.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}
.form-status[data-state="success"] { color: var(--teal-700); font-weight: 700; }
.form-status[data-state="error"] { color: var(--maroon-700); font-weight: 700; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { text-align: center; }
.footer-inner .logo { justify-content: center; margin-bottom: 8px; }
.footer-tagline { color: var(--maroon-700); font-weight: 700; margin-bottom: 4px; }
.footer-note { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #0d1615;
    --ink: #eef2f1;
    --ink-soft: #a9b8b6;
    --line: #223231;
    --white: #142322;
    --teal-100: #16302f;
    --maroon-100: #2a1518;
  }
  .site-header { background: rgba(13, 22, 21, 0.9); }
  .hero { background: radial-gradient(circle at 15% 20%, rgba(26, 92, 93, 0.15), transparent 45%), radial-gradient(circle at 85% 0%, rgba(166, 56, 69, 0.15), transparent 40%); }
  h1, h2, .logo-word { color: #f4faf9; }
  .why-card h3 { color: #cfe6e4; }
  .step-num { background: var(--teal-700); }
}
