/* Chalk & Heron: ink blue on paper, a chalk hand, highlighter yellow, and a term of progress you can slide through. */
:root {
  --paper: #FBFAF5;
  --ink: #16325C;
  --ink-2: #234B86;
  --board: #20332C;
  --chalk: #F4F1E6;
  --hl: #FFE45C;
  --soft: #4F5D72;
  --line: #DCE1E8;
  --heron: #8C98A6;
  --hand: "kalam", "Comic Sans MS", cursive;
  --sans: "source-sans-3", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 19px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--ink-2); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.1; margin: 0 0 .45em; letter-spacing: -.015em; }
h2 { font-size: clamp(32px, 4vw, 50px); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chalk { font-family: var(--hand); }
.hl { background: linear-gradient(transparent 55%, var(--hl) 55%, var(--hl) 92%, transparent 92%); padding: 0 .1em; }
.js .hl { background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 1s ease .3s; }
.js .in .hl, .js .hl.in { background-size: 100% 100%; }
.note, .small { font-size: 15px; color: var(--soft); }
.btn { display: inline-block; font: 700 17px var(--sans); background: var(--ink); color: #fff; padding: 15px 24px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--ink-2); }
.link { font-weight: 600; text-underline-offset: 5px; }

/* Header */
.top { position: sticky; top: var(--bar); z-index: 40; background: rgba(251,250,245,.96); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 26px; min-height: 66px; }
.brand { font: 700 26px var(--hand); color: var(--ink); text-decoration: none; }
.brand span { color: var(--heron); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--ink-2); text-decoration: underline; }
.cta-top { background: var(--hl); color: var(--ink); text-decoration: none; font-weight: 700; padding: 9px 16px; border-radius: 8px; }

/* Hero */
.hero { padding: 70px 0 90px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.eyebrow { color: var(--soft); font-weight: 600; margin: 0 0 14px; font-size: 16px; }
.hero h1 { font-size: clamp(50px, 6.6vw, 92px); }
.lede { color: var(--soft); margin: 0 0 26px; max-width: 520px; }
.actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 0; }
.board-fig { margin: 0; background: var(--board); padding: 14px 14px 22px; border-radius: 10px; box-shadow: 0 0 0 10px #8A6A45; transform: rotate(1.5deg); }
.board-fig img { border-radius: 4px; }
.board-fig figcaption { color: var(--chalk); font-size: 26px; margin-top: 14px; text-align: center; }

/* Problem */
.problem { padding: 100px 0; background: var(--ink); color: #fff; }
.problem .hl, .js .problem .hl { color: var(--hl); background: none; padding: 0; }
.problem p { color: #D3DCEA; font-size: 21px; }

/* Progress chart */
.progress { padding: 110px 0; }
.prog-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.prog-in > div > p { color: var(--soft); }
.slider label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.slider output { font-family: var(--hand); font-size: 28px; }
input[type=range] { width: 100%; accent-color: var(--ink); height: 28px; }
.week-note { font-size: 24px; color: var(--ink) !important; min-height: 2.6em; }
.chart { background: var(--board); color: var(--chalk); border-radius: 14px; padding: 30px; box-shadow: 0 0 0 10px #8A6A45; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 56px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed rgba(244,241,230,.25); }
.bar-row:last-child { border-bottom: 0; }
.t { font: 400 20px/1.1 var(--hand); }
.t small { display: block; font-size: 14px; opacity: .8; }
.track { height: 16px; border-radius: 8px; background: rgba(244,241,230,.15); overflow: hidden; }
.fill { display: block; height: 100%; width: var(--w, 20%); background: var(--chalk); border-radius: 8px; transition: width .6s ease; }
.bar-row:nth-child(2) .fill { background: var(--hl); }
.v { font: 700 18px var(--hand); text-align: right; }

/* How */
.how { padding: 100px 0; background: #EEF2F7; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { background: #fff; border-radius: 16px; padding: 24px; }
.n { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--board); color: var(--chalk); font-size: 28px; margin-bottom: 12px; }
.steps h3 { font-size: 22px; }
.steps p { margin: 0; color: var(--soft); font-size: 17px; }

/* Ways */
.ways { padding: 100px 0 40px; }
.ways-in { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ways figure { margin: 0; }
.ways img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ways figcaption { margin-top: 12px; color: var(--soft); }
.ways b { display: block; color: var(--ink); font-size: 22px; }

/* Prices */
.prices { padding: 80px 0 100px; }
.plist { margin: 18px 0 14px; border-top: 2px solid var(--ink); max-width: 760px; }
.plist div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plist dt { font-weight: 600; }
.plist dd { margin: 0; font: 700 22px var(--hand); }

/* Heron */
.heron { position: relative; }
.heron img { width: 100%; height: min(70vh, 640px); object-fit: cover; }
.heron-card { position: absolute; left: max(20px, calc((100vw - 1160px) / 2)); bottom: 50px; max-width: 440px; background: var(--paper); padding: 28px; border-radius: 16px; }
.heron-card p { margin: 0; color: var(--soft); }

/* Reviews */
.reviews { padding: 100px 0; }
.revs { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.k-review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.k-review-label { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.k-review blockquote { margin: 0; font: 400 25px/1.3 var(--hand); }
.k-review blockquote p { margin: 0; }
.k-review figcaption { margin-top: 10px; color: var(--soft); font-size: 15px; }

/* Assessment */
.assess { padding: 100px 0; background: var(--hl); }
.assess-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.af { background: #fff; border-radius: 18px; padding: 30px; }
.form-warn { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend, label { display: block; font-weight: 700; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: 600 16px var(--sans); padding: 9px 14px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; min-width: 48px; }
.chips button[aria-pressed=true] { background: var(--ink); color: #fff; }
.af p { margin: 0 0 16px; }
input[type=text] { width: 100%; font: 400 17px var(--sans); padding: 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); }
.summary { font-size: 24px; }

/* Footer */
.foot { background: var(--ink); color: #C9D3E2; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 46px 0; font-size: 15px; }
.foot-brand { font: 700 28px var(--hand); color: #fff; margin: 0; }
.foot-brand span { color: var(--hl); }
.foot p { margin: 0; }
.foot a { color: #fff; }

@media (max-width: 900px) {
  .nav { display: none; }
  .cta-top { margin-left: auto; }
  .hero-in, .prog-in, .assess-in, .revs, .ways-in { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .heron img { height: 50vh; }
  .heron-card { position: relative; left: auto; bottom: auto; margin: -60px 16px 0; }
  .hero, .problem, .progress, .how, .reviews, .assess { padding: 70px 0; }
}
@media (max-width: 560px) {
  .cta-top { font-size: 14px; padding: 8px 10px; }
  .steps { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr 48px; }
  .track { grid-column: 1 / -1; grid-row: 2; }
  .af { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hl { background-size: 100% 100%; transition: none; }
  .fill { transition: none; }
}
