:root {
  color-scheme: light;
  --ink: #171918;
  --paper: #f6f7f2;
  --white: #fcfdf8;
  --muted: #5b615d;
  --line: #cbd0c9;
  --accent: #d9f53b;
  --accent-dark: #384100;
  --teal: #164e49;
  --radius: 14px;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(24, 36, 30, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #38665e; outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; padding: .7rem 1rem; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 1rem; }
.announcement {
  padding: .55rem 1rem;
  background: var(--accent);
  color: var(--accent-dark);
  text-align: center;
  font-weight: 750;
  font-size: .82rem;
  letter-spacing: .03em;
}
.site-header {
  max-width: var(--max);
  min-height: 72px;
  margin: auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 780; text-decoration: none; line-height: 1.1; }
.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  font-size: .65rem;
  letter-spacing: -.03em;
}
.site-nav { display: flex; align-items: center; gap: 1.6rem; font-size: .92rem; font-weight: 650; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta):hover, .site-nav [aria-current="page"] { text-decoration: underline; }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease;
}
.button:hover, .nav-cta:hover { background: var(--teal); }
.button:active, .nav-cta:active { transform: translateY(1px); }
.button-disabled,
.nav-cta-disabled {
  cursor: default;
  opacity: .72;
  background: #51606d;
  border-color: #51606d;
  color: var(--white);
  pointer-events: none;
}
.button-disabled:hover,
.nav-cta-disabled:hover {
  background: #51606d;
  transform: none;
}
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--white); }
.nav-toggle { display: none; border: 1px solid var(--ink); border-radius: 999px; background: transparent; padding: .6rem .85rem; font: inherit; font-weight: 700; }
.hero, .page-hero, .section, .legal, .resource { max-width: var(--max); margin: auto; padding-inline: 1.5rem; }
.hero {
  min-height: min(750px, calc(100dvh - 106px));
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.eyebrow { margin: 0 0 1.1rem; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.03; letter-spacing: -.045em; }
h1 { max-width: 12ch; margin: 0; font-size: clamp(3.4rem, 7vw, 6.7rem); font-weight: 790; }
h2 { max-width: 15ch; margin: 0 0 1.4rem; font-size: clamp(2.3rem, 5vw, 4.5rem); }
h3 { margin: 0 0 .6rem; font-size: 1.45rem; }
.hero-copy > p:not(.eyebrow) { max-width: 40ch; margin: 1.5rem 0 0; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.system-map {
  position: relative;
  min-height: 500px;
  padding: 2rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.system-map::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: var(--accent);
}
.map-title { position: relative; max-width: 12ch; margin: 0; font-size: 1.7rem; line-height: 1.1; font-weight: 780; }
.map-path { position: absolute; inset: 9rem 2rem 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.map-node { position: relative; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(252,253,248,.94); }
.map-node strong { display: block; font-size: 1.5rem; }
.map-node span { color: var(--muted); font-size: .82rem; }
.proof-strip { border-block: 1px solid var(--line); background: var(--white); }
.proof-inner { max-width: var(--max); margin: auto; padding: 1.3rem 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.proof-inner p { margin: 0; font-size: .9rem; font-weight: 700; }
.section { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.section-intro { max-width: 680px; margin-bottom: 3rem; }
.section-intro p { max-width: 58ch; color: var(--muted); }
.story-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.2rem; align-items: stretch; }
.story-main { padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius); background: var(--teal); color: var(--white); }
.story-main blockquote { max-width: 16ch; margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 720; }
.story-side { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; justify-content: space-between; }
.story-side .big { margin: 0; font-size: 4rem; line-height: 1; font-weight: 800; }
.curriculum { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1rem; }
.module-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.module { min-height: 185px; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.module:nth-child(3n) { background: var(--accent); color: var(--accent-dark); }
.module p { margin-bottom: 0; color: inherit; font-size: .95rem; }
.curriculum-aside { padding: 2rem; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.curriculum-aside ul { padding-left: 1.1rem; }
.sequence-rail { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; }
.message-card { min-height: 280px; padding: 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); scroll-snap-align: start; }
.message-card:nth-child(2), .message-card:nth-child(5) { background: #dfe9e6; }
.message-card strong { display: block; margin-bottom: 3rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; }
.message-card p { color: var(--muted); }
.price-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.price-copy, .price-box { padding: clamp(2rem, 6vw, 5rem); }
.price-box { background: var(--accent); color: var(--accent-dark); display: flex; flex-direction: column; justify-content: center; }
.price { margin: 0; font-size: clamp(4rem, 9vw, 7rem); line-height: .9; font-weight: 800; letter-spacing: -.07em; }
.standard { margin: .8rem 0 1.7rem; font-weight: 700; }
.plain-list { padding: 0; list-style: none; }
.plain-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { max-width: 68ch; color: var(--muted); }
.closing { margin-top: 5rem; padding: clamp(2rem, 6vw, 5rem); border-radius: var(--radius); background: var(--teal); color: var(--white); text-align: center; }
.closing h2 { max-width: 14ch; margin-inline: auto; }
.closing .button { background: var(--accent); color: var(--accent-dark); border-color: var(--accent); }
.page-hero { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: 4rem; }
.page-hero h1 { max-width: 14ch; font-size: clamp(3rem, 7vw, 6rem); }
.page-hero > p { max-width: 58ch; font-size: 1.2rem; color: var(--muted); }
.resource { padding-bottom: 8rem; }
.checklist-box { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.check-group { margin-top: 2.5rem; }
.check-group label { display: grid; grid-template-columns: 1.4rem 1fr; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.check-group input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--teal); }
.legal { max-width: 860px; padding-top: 4rem; padding-bottom: 7rem; }
.legal h1 { max-width: none; font-size: clamp(2.7rem, 6vw, 5rem); }
.legal h2 { margin-top: 3rem; font-size: 2rem; }
.legal p, .legal li { color: #3e4541; }
.site-footer { max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem 2rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.5fr .8fr; gap: 2rem; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1rem; }
.footer-brand { margin-bottom: 1rem; }
.fine-print { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.notice { padding: 1rem; border-left: 4px solid var(--teal); background: #e7efec; }
@media (max-width: 850px) {
  .site-header { min-height: 66px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; z-index: 5; top: 106px; left: 1rem; right: 1rem; padding: 1rem; flex-direction: column; align-items: stretch; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 3.5rem; }
  .system-map { min-height: 430px; }
  .proof-inner { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .curriculum, .price-panel { grid-template-columns: 1fr; }
  .module-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header, .hero, .page-hero, .section, .legal, .resource, .site-footer { padding-inline: 1rem; }
  .brand > span:last-child { max-width: 11rem; }
  .hero { gap: 2.5rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .system-map { min-height: 520px; padding: 1.2rem; }
  .map-path { inset: 7.5rem 1.2rem 1.2rem; grid-template-columns: 1fr; }
  .proof-inner, .module-list, .site-footer, .site-footer nav { grid-template-columns: 1fr; }
  .story-main blockquote { font-size: 2.35rem; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media print {
  .announcement, .site-header, .site-footer, .print-hide { display: none !important; }
  body { background: white; color: black; }
  .page-hero, .resource { max-width: none; padding: 1rem; }
  .checklist-box { border: 0; padding: 0; }
  .check-group { break-inside: avoid; }
}
