* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f3ec;
  --text: #171717;
  --muted: #5e5a54;
  --card: #ffffff;
  --accent: #1f4d3a;
  --accent-light: #e4eee8;
  --border: #ded7cc;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

.site-header {
  padding: 24px;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-weight: 850;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-button {
  font-family: inherit;
  cursor: pointer;
}

.hero {
  max-width: 1180px;
  margin: 72px auto 56px;
  padding: 64px;
  background: linear-gradient(135deg, #ffffff 0%, #eef5f0 100%);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 760px;
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.beta-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-actions,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.center-action {
  justify-content: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  border: 1px solid var(--accent);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(31, 77, 58, 0.2);
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.button.ghost {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent-light);
}

.button.small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.button.full {
  width: 100%;
  margin-top: 14px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-lede {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-note {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro,
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.intro p,
.split p {
  font-size: 1.08rem;
  color: var(--muted);
}

.about-section {
  padding-top: 36px;
}

.about-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.about-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.credibility-grid div {
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 0.95rem;
}

.fit-section {
  padding-top: 36px;
}

.fit-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.fit-grid div,
.topic-grid div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  font-weight: 750;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.start-flow {
  text-align: center;
  background: #fffaf2;
  max-width: none;
  padding-left: calc((100% - 1180px) / 2 + 24px);
  padding-right: calc((100% - 1180px) / 2 + 24px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}

.flow-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.flow-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 900;
  margin-bottom: 16px;
}

.flow-card p {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.card.featured {
  border: 2px solid var(--accent);
  transform: translateY(-8px);
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.price {
  white-space: nowrap;
  font-weight: 900;
  color: var(--accent);
  font-size: 1.15rem;
}

.duration {
  color: var(--muted);
  font-weight: 750;
}

.community-line {
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 0.92rem;
  margin: 18px 0 0;
}

ul {
  padding-left: 20px;
  color: var(--muted);
}

li {
  margin-bottom: 8px;
}

.session-finder-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding: 28px;
  background: #fffaf2;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.session-finder-callout p {
  color: var(--muted);
  margin-bottom: 0;
}

.fit-call-card,
.access-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  background: #fffaf2;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.fit-call-card p,
.access-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.boundary-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
}

.boundary-box h3 {
  margin-bottom: 10px;
}

.accessibility {
  padding-top: 30px;
}

.pricing-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pricing-list div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.pricing-list span {
  display: block;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 6px;
}

.pricing-list p {
  margin: 0;
  font-size: 0.98rem;
}

.steps-section {
  background: #fffaf2;
  max-width: none;
  padding-left: calc((100% - 1180px) / 2 + 24px);
  padding-right: calc((100% - 1180px) / 2 + 24px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
}

.step span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 900;
  margin-bottom: 16px;
}

.step p {
  color: var(--muted);
}

.outcome-section {
  text-align: center;
}

.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}

.outcomes div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
}

.outcomes p {
  color: var(--muted);
}

.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.faq summary {
  font-weight: 850;
  cursor: pointer;
}

.faq p {
  color: var(--muted);
  margin: 12px 0 0;
}

.cta {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 32px;
  margin-bottom: 72px;
  box-shadow: var(--shadow);
}

.cta .hero-actions {
  justify-content: center;
}

.cta p {
  color: var(--muted);
}

.footer {
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.58);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 32px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.form-modal {
  width: min(980px, 100%);
}

.quiz-modal {
  width: min(860px, 100%);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal-header {
  padding-right: 48px;
}

.modal-header p,
.quiz-start p,
.quiz-result p,
.small-note {
  color: var(--muted);
}

.iframe-wrap {
  height: 68vh;
  min-height: 540px;
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
}

.iframe-wrap iframe,
.form-embed {
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-notice {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #e7c873;
  border-radius: 16px;
  background: #fff8df;
  color: #5f4a00;
  font-size: 0.95rem;
}

.embed-notice code {
  font-size: 0.88rem;
  word-break: break-word;
}

.modal-fallback {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.modal-fallback a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.quiz-form h2,
.quiz-start h2,
.quiz-result h2 {
  padding-right: 44px;
}

.quiz-question {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  margin: 18px 0;
}

.quiz-question legend {
  padding: 0 8px;
  font-weight: 900;
  color: var(--text);
}

.quiz-question label {
  display: block;
  margin: 12px 0;
  color: var(--muted);
  font-weight: 650;
  cursor: pointer;
}

.quiz-question input {
  margin-right: 8px;
  accent-color: var(--accent);
}

.quiz-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.result-details {
  margin-top: 20px;
  padding: 18px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 18px;
  font-weight: 700;
}

.small-note {
  margin-top: 18px;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .cards.three,
  .fit-grid,
  .topic-grid,
  .outcomes,
  .access-card,
  .fit-call-card,
  .flow-grid,
  .about-card,
  .credibility-grid {
    grid-template-columns: 1fr;
  }

  .card.featured {
    transform: none;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .session-finder-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    margin-top: 36px;
    padding: 36px 24px;
    border-radius: 24px;
  }

  .intro,
  .split,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 20px;
  }

  .access-card,
  .fit-call-card,
  .about-card {
    padding: 28px 22px;
  }

  .card-top {
    flex-direction: column;
  }

  .modal {
    padding: 12px;
  }

  .modal-panel {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .iframe-wrap {
    height: 72vh;
    min-height: 440px;
  }

  .hero-actions,
  .center-action,
  .quiz-actions,
  .result-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .center-action .button,
  .quiz-actions .button,
  .result-actions .button {
    width: 100%;
  }
}
