﻿/* Core site palette and shared presentation. */
/* Core site palette. */
:root {
  --ink: #112f4d;
  --blue: #17456f;
  --orange: #ef6b32;
  --gold: #f5b942;
  --soft: #f3f6f8;
  --line: #d7e0e7;
  --muted: #637586;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    1.125rem "DM Sans",
    sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
main {
  display: flex;
  flex-direction: column;
}
.announcement {
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  background: #0a253e;
  color: #dce7ef;
  font-size: 0.875rem;
}
.announcement span {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.site-header {
  height: 116px;
  padding: 0 max(calc((100vw - var(--max)) / 2), 24px);
  display: flex;
  align-items: center;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  margin-right: auto;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: auto;
  height: 96px;
  object-fit: contain;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 600;
}
.main-nav a:hover {
  color: var(--orange);
}
.button {
  border: 0;
  border-radius: 2px;
  padding: 14px 20px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.button-small {
  padding: 10px 14px;
  font-size: 0.875rem;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
}
.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
}
.hero {
  order: 1;
  padding: 94px max(calc((100vw - var(--max)) / 2), 28px);
  background: var(--blue);
  color: #fff;
}
.hero-copy {
  max-width: 820px;
}
.eyebrow,
.kicker {
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--gold);
}
h1,
.section-heading h2,
.method h2,
.trial h2 {
  font-family: Manrope, sans-serif;
}
.hero h1 {
  margin: 17px 0 23px;
  font-size: clamp(48px, 5.5vw, 73px);
  line-height: 1.04;
  letter-spacing: -3px;
}
.highlight {
  color: var(--gold);
}
.hero-lead {
  max-width: 720px;
  color: #d4e0e9;
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}
.text-link {
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid #9eb3c4;
}
.hero-visual,
.trust-row {
  display: none;
}
.stats {
  order: 2;
  height: 84px;
  padding: 0 max(calc((100vw - var(--max)) / 2), 24px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.stats div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-right: 1px solid var(--line);
}
.stats div:last-child {
  border: 0;
}
.stats strong {
  color: var(--orange);
  font-size: 19px;
}
.stats span {
  color: var(--muted);
  font-size: 0.875rem;
}
.section {
  padding: 84px max(calc((100vw - var(--max)) / 2), 28px);
}
.programs {
  order: 3;
}
.method {
  order: 4;
  background: var(--soft);
}
.bookstore {
  order: 5;
}
.stories {
  order: 6;
  background: var(--soft);
}
.trial {
  order: 7;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}
.section-heading h2,
.method h2,
.trial h2 {
  margin: 8px 0;
  font-size: clamp(33px, 3.6vw, 47px);
  line-height: 1.13;
  letter-spacing: -1.6px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.program-card {
  --accent: var(--orange);
  padding: 29px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
}
.program-card.yellow {
  --accent: var(--gold);
}
.program-card.blue {
  --accent: #398eb9;
}
.program-card.navy {
  --accent: #434f92;
}
.program-icon {
  display: none;
}
.grade,
.book-level {
  margin: 0;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 1.1px;
}
.program-card h3,
.book-info h3 {
  font: 700 21px Manrope;
  margin: 9px 0;
}
.program-card > p:not(.grade),
.book-info > p:not(.book-level) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.program-card ul {
  padding: 16px 0;
  margin: 18px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.program-card li {
  font-size: 0.875rem;
}
.program-card li:before {
  content: "— ";
  color: var(--accent);
}
.program-card > a {
  font-size: 0.875rem;
  font-weight: 800;
}
.method-panel {
  background: var(--blue);
  color: #fff;
}
.method-copy {
  max-width: 950px;
  padding: 60px;
}
.method-copy > p {
  max-width: 720px;
  color: #cbd9e5;
  line-height: 1.7;
}
.method-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 35px;
}
.method-list > div {
  padding-top: 16px;
  border-top: 1px solid #ffffff35;
}
.method-list b,
.method-list strong,
.method-list small {
  display: block;
}
.method-list b {
  color: var(--gold);
  margin-bottom: 10px;
}
.method-list small {
  color: #adc0cf;
  margin-top: 6px;
}
.formula-board {
  display: none;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.book-card {
  border: 1px solid var(--line);
}
.book-cover {
  aspect-ratio: 3/4;
  margin: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  color: #fff;
  box-shadow: 6px 6px #dfe6eb;
}
.book-cover span,
.book-cover small {
  font-size: 0.875rem;
  letter-spacing: 1px;
}
.book-cover strong {
  font: 800 26px Manrope;
  margin-top: 25px;
}
.book-cover small {
  margin-top: auto;
}
.book-cover b {
  font-size: 40px;
  opacity: 0.25;
  text-align: right;
}
.cover-orange {
  background: #d85b2d;
}
.cover-blue {
  background: #287ca7;
}
.cover-navy {
  background: #183958;
}
.cover-gold {
  background: #b58426;
}
.book-info {
  padding: 20px;
}
.book-buy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.store-note {
  color: var(--muted);
  font-size: 0.875rem;
  text-align: right;
}
.section-heading.centered {
  display: block;
  text-align: left;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.story-grid blockquote {
  margin: 0;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
}
.stars {
  color: #d99b28;
}
.story-grid blockquote p {
  font-size: 1rem;
  line-height: 1.7;
}
.story-grid footer {
  display: flex;
  gap: 10px;
}
.parent-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #7892a6;
  color: #fff;
}
.story-grid footer strong,
.story-grid footer small {
  display: block;
  font-size: 0.875rem;
}
.trial {
  padding: 82px max(calc((100vw - var(--max)) / 2), 28px);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  background: #eaf0f4;
}
.trial-copy > p {
  color: var(--muted);
  line-height: 1.7;
}
.trial-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trial-points span {
  padding: 8px;
  background: #dae6ed;
  font-size: 0.875rem;
}
.trial-form {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
}
.trial-form label {
  display: block;
  margin: 13px 0;
  font-size: 0.875rem;
  font-weight: 700;
}
.trial-form input,
.trial-form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px;
  border: 1px solid #c8d3dc;
}
.trial-form .button {
  width: 100%;
}
.form-note {
  display: block;
  margin-top: 9px;
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer {
  padding: 50px max(calc((100vw - var(--max)) / 2), 28px) 22px;
  background: #0a253e;
  color: #fff;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 50px;
}
.brand-footer {
  display: block;
  width: max-content;
  padding: 8px;
  background: #fff;
}
.brand-footer .brand-logo {
  width: 165px;
  height: auto;
}
.footer-main > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: #9db0bf;
  font-size: 0.875rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 17px;
  border-top: 1px solid #ffffff18;
  color: #7890a2;
  font-size: 0.875rem;
}
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  opacity: 0;
}
.toast.show {
  opacity: 1;
}
.reveal {
  opacity: 1 !important;
  transform: none !important;
}
@media (max-width: 950px) {
  .menu-toggle {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #fff;
    transform: translateY(-140%);
    z-index: -1;
  }
  .main-nav.open {
    transform: none;
  }
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .method-list {
    grid-template-columns: 1fr;
  }
  .trial {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .announcement span {
    display: none;
  }
  .site-header {
    height: 100px;
    padding: 0 18px;
    gap: 8px;
  }
  .brand-logo {
    height: 80px;
  }
  .hero {
    padding: 58px 22px;
  }
  .hero h1 {
    font-size: 41px;
  }
  .hero-lead {
    font-size: 1.125rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
  }
  .stats div {
    display: block;
    text-align: center;
    padding: 13px;
  }
  .section,
  .trial {
    padding: 58px 22px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .program-grid,
  .book-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }
  .program-card ul {
    grid-template-columns: 1fr;
  }
  .method-copy {
    padding: 40px 22px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    display: block;
  }
}

/* Readable text rhythm and flexible controls across the site. */
body {
  line-height: 1.6;
}
textarea {
  font: inherit;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
}
.announcement {
  height: auto;
  min-height: 36px;
  padding: 7px 18px;
  flex-wrap: wrap;
  gap: 6px 18px;
  text-align: center;
}
.site-header {
  line-height: 1.3;
}
.stats {
  height: auto;
  min-height: 84px;
}
.stats div {
  padding: 16px 10px;
  flex-wrap: wrap;
}
.book-buy {
  gap: 12px;
  flex-wrap: wrap;
}
.program-card,
.book-card,
.story-grid blockquote {
  min-width: 0;
}
