:root {
  --ink: #18232b;
  --muted: #5b6672;
  --paper: #fff7e8;
  --paper-soft: #fff1d6;
  --white: #ffffff;
  --line: #ead9bc;
  --teal: #0f7c83;
  --teal-dark: #07545c;
  --coral: #ef714f;
  --coral-dark: #ba452d;
  --gold: #f6bd3f;
  --green: #6ab36b;
  --blue: #3e76c9;
  --plum: #7651b7;
  --shadow: 0 18px 55px rgba(24, 35, 43, 0.15);
  --soft-shadow: 0 12px 34px rgba(24, 35, 43, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 58px);
  border-bottom: 3px solid rgba(24, 35, 43, 0.08);
  background: rgba(255, 247, 232, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 950;
  box-shadow: 5px 5px 0 var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: rgba(24, 35, 43, 0.72);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a,
.header-cta,
.button {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.nav-links a:hover,
.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
  box-shadow: 4px 4px 0 var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 742px;
  overflow: hidden;
  background: #ffe9b7;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34px;
  background: var(--paper);
  border-top: 3px solid rgba(24, 35, 43, 0.09);
  content: "";
}

.hero-content {
  width: min(560px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 92px);
  padding: 86px 0 120px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--ink);
  font-size: 6.7rem;
  line-height: 0.84;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 520px;
  margin: 24px 0 0;
  color: #303d46;
  font-size: 1.34rem;
  font-weight: 650;
  line-height: 1.44;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
}

.button-primary {
  background: var(--coral);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(24, 35, 43, 0.34);
}

.button-light {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-badges span,
.cta-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 2px solid rgba(24, 35, 43, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.kid-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 3px solid rgba(24, 35, 43, 0.08);
  border-bottom: 3px solid rgba(24, 35, 43, 0.08);
  background: rgba(24, 35, 43, 0.14);
}

.kid-strip article {
  min-height: 230px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--paper);
}

.mini-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--gold);
  font-weight: 950;
  box-shadow: 4px 4px 0 var(--ink);
}

.kid-strip article:nth-child(2) .mini-icon {
  background: #80d6dc;
}

.kid-strip article:nth-child(3) .mini-icon {
  background: #9adf8f;
}

.kid-strip h2,
.quest-card h3,
.map-steps h3,
.grade-grid h3,
.proof-lanes h3 {
  margin: 12px 0 8px;
  line-height: 1.08;
  letter-spacing: 0;
}

.kid-strip h2 {
  max-width: 330px;
  font-size: 1.95rem;
}

.kid-strip p,
.quest-card p,
.family-copy p,
.path-copy p,
.map-steps p,
.grade-grid p,
.proof-lanes p,
.final-cta p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: clamp(66px, 9vw, 118px) clamp(18px, 4vw, 62px);
}

.adventure-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: start;
}

.section-copy h2,
.family-copy h2,
.path-copy h2,
.proof-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-copy p,
.family-copy p,
.path-copy p {
  max-width: 680px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.section-copy.centered {
  max-width: 840px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-copy.centered p {
  margin-right: auto;
  margin-left: auto;
}

.quest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quest-card,
.family-panel,
.map-panel,
.grade-grid article,
.proof-lanes article {
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 7px 7px 0 rgba(24, 35, 43, 0.88);
}

.quest-card {
  min-height: 230px;
  padding: 26px;
}

.quest-card span,
.grade-grid span,
.map-top span,
.panel-header span,
.next-card span {
  color: rgba(24, 35, 43, 0.72);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quest-card h3 {
  font-size: 1.45rem;
}

.quest-card.coral {
  background: #ffd3c3;
}

.quest-card.teal {
  background: #c8f0f2;
}

.quest-card.gold {
  background: #ffe8a8;
}

.quest-card.green {
  background: #d8f2ce;
}

.family-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  background: #e9f7f3;
}

.family-panel {
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
}

.panel-header,
.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.panel-header {
  padding-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.panel-header strong {
  font-size: 1.08rem;
}

.signal-row {
  min-height: 62px;
  border-bottom: 2px solid #f0e2ca;
}

.signal-row div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.signal-row p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.signal-row strong {
  color: var(--ink);
}

.signal-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.secure .signal-dot {
  background: var(--green);
}

.growing .signal-dot {
  background: var(--gold);
}

.strong .signal-dot {
  background: var(--blue);
}

.next-card {
  margin-top: 22px;
  padding: 18px;
  border: 2px dashed rgba(24, 35, 43, 0.42);
  border-radius: 8px;
  background: #fff7e8;
}

.next-card p {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 750;
}

.path-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  background: #fff0c8;
}

.map-panel {
  justify-self: end;
  width: min(100%, 650px);
  padding: clamp(22px, 4vw, 34px);
  background: #fdfdf7;
}

.map-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.map-top strong {
  font-size: 1.2rem;
}

.map-steps {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.map-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 2px solid #eeddbb;
  border-radius: 8px;
  background: #fff8e6;
}

.map-steps li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-soft);
  font-weight: 950;
}

.map-steps .done > span {
  background: var(--green);
}

.map-steps .current {
  border-color: var(--ink);
  background: #ffdfcc;
  box-shadow: 5px 5px 0 var(--ink);
}

.map-steps .current > span {
  background: var(--coral);
}

.map-steps h3 {
  font-size: 1.08rem;
}

.map-steps p {
  font-size: 0.94rem;
}

.hint-bubble {
  margin-top: 18px;
  padding: 18px;
  border: 2px solid var(--teal-dark);
  border-radius: 8px;
  background: #d7f7f2;
}

.hint-bubble span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hint-bubble p {
  margin: 6px 0 0;
  color: var(--teal-dark);
  font-size: 1.08rem;
  font-weight: 850;
}

.curriculum-section {
  background: #fff7e8;
}

.grade-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grade-grid article {
  min-height: 262px;
  padding: 24px;
  background: var(--white);
}

.grade-grid article:nth-child(1) {
  background: #fff0c8;
}

.grade-grid article:nth-child(2) {
  background: #d9f5d0;
}

.grade-grid article:nth-child(3) {
  background: #cceef4;
}

.grade-grid article:nth-child(4) {
  background: #eadffd;
}

.grade-grid h3 {
  font-size: 1.35rem;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
  background: #eaf3ff;
}

.proof-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.proof-lanes article {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(24, 35, 43, 0.82);
}

.proof-lanes h3 {
  font-size: 1.28rem;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin: clamp(18px, 4vw, 58px);
  padding: clamp(36px, 7vw, 72px);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  box-shadow: 9px 9px 0 var(--ink);
}

.final-cta div {
  max-width: 760px;
}

.final-cta .eyebrow {
  color: #ffe8a8;
}

.final-cta p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta-points span {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  .adventure-section,
  .family-section,
  .path-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .map-panel {
    justify-self: stretch;
  }

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

  .hero h1 {
    font-size: 5.55rem;
  }

  .hero-copy {
    font-size: 1.18rem;
  }

  .section-copy h2,
  .family-copy h2,
  .path-copy h2,
  .proof-copy h2,
  .final-cta h2 {
    font-size: 3.15rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .header-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.84rem;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .hero {
    min-height: 690px;
  }

  .hero-image {
    opacity: 0.78;
    object-position: 57% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 50px 0 76px;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kid-strip {
    grid-template-columns: 1fr;
  }

  .kid-strip article {
    min-height: auto;
  }

  .kid-strip h2 {
    font-size: 1.55rem;
  }

  .section {
    padding: 58px 16px;
  }

  .quest-grid,
  .grade-grid,
  .proof-lanes {
    grid-template-columns: 1fr;
  }

  .section-copy h2,
  .family-copy h2,
  .path-copy h2,
  .proof-copy h2,
  .final-cta h2 {
    font-size: 2.35rem;
  }

  .map-steps li {
    grid-template-columns: 38px 1fr;
  }

  .map-steps li > span {
    width: 38px;
    height: 38px;
  }

  .final-cta {
    flex-direction: column;
    align-items: stretch;
    margin: 16px;
    padding: 30px 20px;
  }
}
