:root {
  --canvas: #fafaf7;
  --surface: #ffffff;
  --primary: #0f6e56;
  --text: #1a1a1a;
  --muted: #76746c;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.15);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--canvas);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Logo */
.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 8px;
}

.logo__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.logo__dot--1 {
  opacity: 1;
}
.logo__dot--2 {
  opacity: 0.7;
}
.logo__dot--3 {
  opacity: 0.4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 11px 22px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 120ms ease, background-color 120ms ease;
}

.btn--primary {
  background: var(--primary);
  color: #ffffff;
}

.btn--primary:hover {
  opacity: 0.92;
}

.btn--primary:disabled {
  cursor: default;
  opacity: 0.7;
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 0.5px solid var(--border-strong);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav__wordmark {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.2px;
}

.nav__links {
  display: inline-flex;
  gap: 28px;
  justify-content: center;
}

.nav__links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

.nav__links a:hover {
  color: var(--primary);
}

.nav__cta {
  justify-self: end;
}

/* Hero */
.hero {
  padding: 96px 0 64px;
}

.hero__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 0.5px solid var(--border-strong);
  background: var(--surface);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero__headline {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero__subhead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 36px;
}

/* Capture form */
.capture {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.capture__input {
  flex: 1;
  font-family: inherit;
  font-size: 14px;
  padding: 11px 14px;
  background: var(--surface);
  color: var(--text);
  border: 0.5px solid var(--border-strong);
  border-radius: 6px;
  outline: none;
  transition: border-color 120ms ease;
}

.capture__input:focus {
  border-color: var(--primary);
}

.capture__input:disabled {
  background: var(--canvas);
  color: var(--muted);
}

.capture .btn {
  white-space: nowrap;
}

.eo-form {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  min-height: 88px;
}

.eo-form a {
  color: var(--primary);
}

.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  max-width: 460px;
  margin: 14px auto 0;
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.consent input[type='checkbox'] {
  flex-shrink: 0;
  margin: 2px 0 0;
  width: 14px;
  height: 14px;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 2px;
}

.consent a:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

.micro {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* Product preview */
.preview {
  padding: 48px 0 96px;
}

.window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}

.window__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--canvas);
}

.window__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}

.window__url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--muted);
}

.window__body {
  padding: 32px;
}

.curriculum__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.curriculum__eyebrow {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 4px;
}

.curriculum__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0;
}

.curriculum__progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 160px;
}

.curriculum__pct {
  font-size: 13px;
  color: var(--muted);
}

.curriculum__bar {
  display: block;
  width: 160px;
  height: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.curriculum__bar > span {
  display: block;
  height: 100%;
  background: var(--primary);
}

.modules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.module {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.module__index {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.module__title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.module__meta {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.module__status {
  font-size: 14px;
  color: var(--muted);
  width: 20px;
  text-align: center;
}

.module--complete .module__status {
  color: var(--primary);
}

.module--active {
  border-color: rgba(15, 110, 86, 0.35);
}

.module--active .module__status {
  color: var(--primary);
}

.module--locked {
  opacity: 0.55;
}

/* How it works */
.how {
  padding: 64px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step__index {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
  font-variant-numeric: tabular-nums;
}

.step__title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.step__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Differentiator */
.differentiator {
  padding: 96px 0;
}

.differentiator__inner {
  max-width: 540px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

.differentiator__lead {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
  line-height: 1.35;
  margin: 0 0 18px;
}

.differentiator__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Footer CTA */
.footer-cta {
  padding: 96px 0;
  background: var(--canvas);
  border-top: 1px solid var(--border);
}

.footer-cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-cta__headline {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.footer-cta__subhead {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 32px;
}

/* Footer */
.footer {
  padding: 48px 0 64px;
  background: var(--canvas);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer__wordmark {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.2px;
  margin-top: 4px;
}

.footer__tagline {
  font-size: 13px;
  color: var(--muted);
}

/* Legal pages (privacy policy, terms) */
.legal {
  padding: 64px 0 96px;
}

.legal__inner {
  max-width: 740px;
}

.legal__title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.legal__meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin: 48px 0 16px;
  scroll-margin-top: 80px;
}

.legal h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin: 28px 0 12px;
  scroll-margin-top: 80px;
}

.legal p,
.legal address {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 16px;
}

.legal address {
  font-style: normal;
  color: var(--muted);
}

.legal ul,
.legal ol {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(15, 110, 86, 0.35);
  text-underline-offset: 2px;
  word-break: break-word;
}

.legal a:hover {
  text-decoration-color: var(--primary);
}

.legal .toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 20px 20px 40px;
  margin: 16px 0 32px;
}

.legal .toc li {
  margin-bottom: 6px;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13px;
  line-height: 1.55;
}

.legal__table th,
.legal__table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}

.legal__table th {
  background: var(--canvas);
  font-weight: 500;
}

.legal__table td:last-child {
  text-align: center;
  white-space: nowrap;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .nav__inner {
    grid-template-columns: auto auto;
  }
  .nav__links {
    display: none;
  }
  .hero {
    padding: 64px 0 48px;
  }
  .hero__headline {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .hero__subhead {
    font-size: 15px;
  }
  .capture {
    flex-direction: column;
  }
  .capture .btn {
    width: 100%;
  }
  .preview {
    padding: 32px 0 64px;
  }
  .window__body {
    padding: 20px;
  }
  .curriculum__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .curriculum__progress {
    align-items: flex-start;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step__title {
    font-size: 24px;
  }
  .differentiator,
  .footer-cta {
    padding: 64px 0;
  }
  .footer-cta__headline {
    font-size: 28px;
  }
}
