:root {
  color-scheme: light;
  --bg: #fff8ec;
  --fg: #2d2a3e;
  --muted: #655f78;
  --line: #f0e3cb;
  --card: #ffffff;
  --sun: #ffc83d;
  --coral: #ff7a66;
  --coral-ink: #c8402d;
  --sky: #bfe6f7;
  --mint: #c9f0da;
  --lilac: #e3d9fb;
  --peach: #ffd9c9;
  --warm: #ffefc2;
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 "Nunito", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* Header */
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 20px 14px; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav nav a:hover { color: var(--coral-ink); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Fredoka", ui-rounded, sans-serif; font-weight: 600; font-size: clamp(26px, 4vw, 36px); line-height: 1;
  color: var(--fg); text-decoration: none; letter-spacing: -0.02em;
}
.dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sun); box-shadow: 11px 0 0 -4px var(--coral); margin-right: 8px; }

/* Stage bar: fills the full width on desktop, scrolls on phones */
.stagebar { padding-bottom: 14px; }
.stagebar ol {
  list-style: none; margin: 0; padding: 4px 0 6px;
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin;
}
.stagebar li { flex: 1 0 auto; display: flex; }
.chip {
  flex: 1; display: flex; flex-direction: column; gap: 1px;
  padding: 10px 18px; border-radius: 18px; color: var(--fg);
  text-decoration: none; border: 2px solid transparent;
}
.chip b { font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.chip small { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
a.chip { transition: transform .12s ease; }
a.chip:hover { transform: translateY(-2px); }
.c1 { background: var(--peach); }
.c2 { background: var(--sun); }
.chip.soon { background: transparent; border: 2px dashed var(--line); }
.chip.soon b { color: var(--muted); }
.chip.soon.c3 { border-color: #bfe8cf; }
.chip.soon.c4 { border-color: var(--sky); }
.chip.soon.c5 { border-color: var(--lilac); }
.chip.soon.c6 { border-color: var(--peach); }
.chip.soon.c7 { border-color: var(--sun); }

/* Type */
h1, h2, h3 {
  font-family: "Fredoka", ui-rounded, sans-serif; font-weight: 600;
  line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(36px, 5.6vw, 68px); max-width: 14ch; }
h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 28px; }
h3 { font-size: 23px; margin-bottom: 12px; }
h3 small { display: block; font-family: "Nunito", ui-rounded, sans-serif; font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 3px; }

/* Hero */
.hero { overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  padding-block: 56px 72px; min-height: 460px;
}
.lead { font-size: clamp(21px, 2.6vw, 28px); font-weight: 700; color: var(--coral-ink); margin: 20px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 999px;
  border: 2px solid var(--fg); background: var(--card); color: var(--fg);
  text-decoration: none; font-weight: 700; transition: transform .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--sun); }

/* Hero art: overlapping soft circles that grow, left to right */
.art { position: relative; height: 380px; }
.o { position: absolute; border-radius: 50%; }
.o1 { width: 90px;  height: 90px;  background: var(--peach); left: 2%;  bottom: 6%; }
.o2 { width: 150px; height: 150px; background: var(--sun);   left: 22%; bottom: 20%; }
.o3 { width: 230px; height: 230px; background: var(--mint);  left: 42%; bottom: 8%; }
.o4 { width: 300px; height: 300px; background: var(--sky);   right: -4%; top: 0; }
.o4::after { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; background: var(--coral); right: 28px; bottom: 28px; }

/* Bands: colour runs edge to edge */
.band { padding-block: 72px; }
.band.white { background: #fff; }
.band.warm { background: var(--warm); }

.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.five { grid-template-columns: repeat(5, 1fr); gap: 16px; }

.card { border-radius: var(--radius); padding: 32px; min-width: 0; }
.card.mint { background: var(--mint); }
.card.sky { background: var(--sky); }
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.topics li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 2px dashed rgba(45, 42, 62, .18); }
.topics strong { font-weight: 700; }
.topics span { color: var(--muted); font-size: 15px; font-weight: 600; }

.next { background: var(--card); border: 2px dashed #e6d6b6; border-radius: var(--radius); padding: 24px; }
.next h3 { font-size: 21px; margin-bottom: 8px; }
.next p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 600; }

.step { background: var(--card); border-radius: var(--radius); padding: 28px; }
.step span {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font-family: "Fredoka", ui-rounded, sans-serif; font-weight: 600;
}
.s1 span { background: var(--sun); }
.s2 span { background: var(--lilac); }
.s3 span { background: var(--peach); }
.step p { margin: 16px 0 4px; font-weight: 700; font-size: 20px; }
.step small { display: block; font-size: 15px; font-weight: 600; color: var(--muted); }

/* Footer */
.foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-block: 32px; color: var(--muted); font-size: 14px; font-weight: 600;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 40px 24px; min-height: 0; }
  .art { height: 240px; }
  .o1 { width: 60px; height: 60px; }
  .o2 { width: 100px; height: 100px; }
  .o3 { width: 150px; height: 150px; }
  .o4 { width: 200px; height: 200px; right: 0; }
  .o4::after { width: 64px; height: 64px; right: 18px; bottom: 18px; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .grid.four, .grid.five { grid-template-columns: 1fr 1fr; }
  .band { padding-block: 48px; }
}

@media (max-width: 560px) {
  .topics { grid-template-columns: 1fr; }
  .grid.four, .grid.five { grid-template-columns: 1fr; }
  .nav nav { gap: 16px; }
  .card { padding: 24px; }
}

/* Week by week: one week at a time */
.sub { margin: -12px 0 32px; color: var(--muted); font-weight: 600; max-width: 62ch; }
h2 small.inline { display: inline; margin-left: 8px; font-size: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; list-style: none; }

.weekly { --tint: #fff6d6; --orb: var(--sun); border-radius: 32px; padding: 28px 20px 24px; background: var(--tint); outline-offset: 4px; transition: background .3s ease; }
.weekly.t1 { --tint: #fff1ea; --orb: var(--peach); }
.weekly.t2 { --tint: #fff6d6; --orb: var(--sun); }
.weekly.t3 { --tint: #e8f8ef; --orb: #a8e6c3; }

.stage { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 8px; }
.arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--fg); background: #fff; color: var(--fg);
  font: 600 28px/1 "Fredoka", ui-rounded, sans-serif; cursor: pointer; padding: 0 0 4px; transition: transform .12s ease;
}
.arrow:hover:not(:disabled) { transform: scale(1.06); }
.arrow:disabled { opacity: .3; cursor: default; }

.focus { text-align: center; min-width: 0; }
.orbwrap { height: 250px; display: grid; place-items: end center; padding-bottom: 6px; }
.orb { width: var(--d, 120px); height: var(--d, 120px); transition: width .35s ease, height .35s ease; filter: drop-shadow(0 10px 0 rgba(45,42,62,.08)); }
.orb svg { display: block; width: 100%; height: 100%; }
.wk-label { margin: 12px 0 0; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wk-fruit { margin: 2px 0 0; font-family: "Fredoka", ui-rounded, sans-serif; font-weight: 600; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
.wk-tri { margin: 6px 0 0; font-weight: 700; font-size: 15px; color: var(--muted); }

.scrub { position: relative; display: flex; align-items: center; gap: 6px; overflow-x: auto; margin-top: 24px; padding: 6px 4px 8px; scrollbar-width: none; }
.scrub::-webkit-scrollbar { display: none; }
.mark { flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 8px 0 10px; }
.pick {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 2px solid transparent;
  background: rgba(255,255,255,.7); color: var(--fg); font: 700 15px/1 "Nunito", ui-rounded, sans-serif; cursor: pointer;
}
.pick:hover { background: #fff; }
.pick.on { background: var(--coral); border-color: var(--fg); color: var(--fg); }

@media (max-width: 560px) {
  .stage { grid-template-columns: 44px 1fr 44px; gap: 4px; }
  .arrow { width: 44px; height: 44px; font-size: 24px; }
  .orbwrap { height: 210px; }
  .weekly { border-radius: 26px; padding: 22px 12px 18px; }
}

/* Weight percentiles */
.wts { margin-top: 22px; }
.wts-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wts-note { margin: 0; color: var(--muted); font-weight: 600; font-size: 15px; }
.wts ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 150px)); gap: 10px; justify-content: center; }
.wts li { background: rgba(255,255,255,.75); border-radius: 16px; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.wts li small { font-size: 12px; font-weight: 700; color: var(--muted); }
.wts li strong { font-family: "Fredoka", ui-rounded, sans-serif; font-weight: 600; font-size: 20px; }

/* Weight checker */
.check { margin-top: 28px; background: var(--bg); border-radius: 28px; padding: 28px; }
.check h3 { margin-bottom: 6px; }
.sub2 { margin: 0 0 18px; color: var(--muted); font-weight: 600; }
.cf { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.cf label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.cf select, .cf input {
  font: 600 17px "Nunito", ui-rounded, sans-serif; color: var(--fg); background: #fff;
  border: 2px solid var(--fg); border-radius: 14px; padding: 11px 14px; min-width: 150px;
}
.cf .btn { cursor: pointer; font: 700 17px "Nunito", ui-rounded, sans-serif; padding: 13px 28px; }
.result { margin-top: 22px; border-radius: 20px; padding: 20px 22px; background: #fff; border: 2px solid transparent; }
.result p { margin: 0 0 10px; }
.result .r-head { font-size: 20px; font-family: "Fredoka", ui-rounded, sans-serif; }
.result .r-sub { margin: 14px 0 4px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.result ul { margin: 0 0 12px; padding-left: 20px; }
.result li { margin: 4px 0; }
.result .r-urgent { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: #ffe6e1; font-size: 15px; }
.r-ok { border-color: #8fd3a6; }
.r-small, .r-big { border-color: var(--sun); }
.r-low, .r-high { border-color: var(--coral); }
.fine { margin: 18px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; max-width: 80ch; }

@media (max-width: 560px) {
  .wts ul { grid-template-columns: 1fr 1fr; }
  .check { padding: 20px; }
  .cf label, .cf select, .cf input { width: 100%; }
}

/* Compact fruit view: picture on the left, details on the right */
.weekly { padding: 22px 18px 18px; }
.focus { display: grid; grid-template-columns: 170px 1fr; column-gap: 28px; align-items: center; text-align: left; max-width: 760px; margin: 0 auto; }
.orbwrap { grid-row: 1 / span 4; height: 160px; place-items: center; padding: 0; }
.wk-label { margin-top: 0; }
.wk-fruit { font-size: clamp(28px, 4vw, 38px); }
.wts { margin-top: 12px; grid-column: 2; }
.wts ul { margin: 0; justify-content: start; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wts li { padding: 8px 8px; }
.wts li strong { font-size: 17px; }
.scrub { margin-top: 14px; }
.stage { grid-template-columns: 48px 1fr 48px; }
.arrow { width: 44px; height: 44px; font-size: 24px; }
@media (max-width: 720px) {
  .focus { grid-template-columns: 1fr; text-align: center; row-gap: 2px; }
  .orbwrap { grid-row: auto; height: 120px; }
  .wts { grid-column: 1; }
  .wts ul { grid-template-columns: 1fr 1fr; }
}

/* New parents tools */
.grid.two.tools, .band .grid.two { }
.tool {
  text-align: left; cursor: pointer; border: 2px solid var(--fg); border-radius: var(--radius);
  padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; font: inherit; color: var(--fg);
  position: relative; transition: transform .12s ease;
}
.tool:hover { transform: translateY(-2px); }
.tool strong { font-family: "Fredoka", ui-rounded, sans-serif; font-size: 22px; font-weight: 600; }
.tool span:not(.tdot) { color: var(--muted); font-weight: 600; font-size: 15px; }
.tool::after { content: "+"; position: absolute; right: 22px; top: 18px; font: 600 28px/1 "Fredoka", ui-rounded, sans-serif; }
.tool[aria-expanded="true"]::after { content: "\2212"; }
.t-nanny { background: var(--mint); }
.t-pp { background: var(--lilac); }
.tdot { width: 14px; height: 14px; border-radius: 50%; background: var(--fg); opacity: .0; }

.panel { margin-top: 22px; background: #fff; border-radius: 28px; padding: 32px; border: 2px solid var(--line); }
.panel[hidden] { display: none; }
.panel h3 { font-size: 26px; margin-bottom: 8px; }
.panel h4 { font-family: "Fredoka", ui-rounded, sans-serif; font-size: 19px; margin: 26px 0 10px; font-weight: 600; }
.panel .sub2 { margin: 0 0 20px; }

.nform fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.nform legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.nform .row { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); border: 2px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 700; cursor: pointer; }
.opt small { font-weight: 600; color: var(--muted); }
.opt input { accent-color: var(--coral); }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; margin-bottom: 18px; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; min-width: 0; }
.fields label.wide { grid-column: 1 / -1; }
.fields label.check-inline { flex-direction: row; align-items: center; gap: 8px; align-self: end; padding-bottom: 12px; }
.fields input:not([type=checkbox]), .fields select, .fields textarea, .brief textarea {
  font: 600 16px "Nunito", ui-rounded, sans-serif; color: var(--fg); background: #fff;
  border: 2px solid var(--fg); border-radius: 14px; padding: 10px 14px; width: 100%; min-width: 0;
}
.fields textarea, .brief textarea { resize: vertical; }
.nform .btn, .brief-actions .btn, .epds .btn { cursor: pointer; font: 700 17px "Nunito", ui-rounded, sans-serif; text-align: center; }
.brief { margin-top: 24px; display: grid; gap: 10px; }
.brief label { font-weight: 700; font-size: 14px; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 12px; }
.tick { list-style: none; margin: 0; padding: 0; }
.tick li { position: relative; padding: 9px 0 9px 30px; border-top: 2px dashed var(--line); font-size: 15.5px; }
.tick li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--fg); background: var(--mint); }

.notice { background: #ffe6e1; border: 2px solid var(--coral); border-radius: 18px; padding: 14px 18px; margin: 0 0 22px; }
.pp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pp-card { background: var(--bg); border-radius: 20px; padding: 18px; }
.pp-card h4 { margin: 0 0 6px; font-size: 18px; }
.pp-card p { margin: 0; font-size: 15px; color: var(--muted); font-weight: 600; }
.pp-card.alert { background: #ffe6e1; }
.signs { margin: 0 0 14px; padding-left: 22px; columns: 2; column-gap: 32px; }
.signs li { margin: 4px 0; break-inside: avoid; }
.nudge { background: var(--lilac); border-radius: 22px; padding: 22px 24px; margin: 24px 0; }
.nudge h4 { margin-top: 0; }
.nudge ul { margin: 0 0 14px; padding-left: 20px; }
.nudge li { margin: 4px 0; }
.nudge p { margin: 0 0 10px; }

.epds .q { border: 0; padding: 14px 0; margin: 0; border-top: 2px dashed var(--line); min-width: 0; }
.epds legend { font-weight: 700; padding: 0 0 8px; }
.epds .q label { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; font-size: 15.5px; cursor: pointer; }
.epds input { accent-color: var(--coral); margin-top: 5px; }
.epds .brief-actions { margin-top: 14px; }
.r-note { border-color: var(--line); }

@media (max-width: 900px) {
  .pp-grid { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .panel { padding: 22px 18px; border-radius: 22px; }
  .fields, .lists, .pp-grid { grid-template-columns: 1fr; }
  .signs { columns: 1; }
  .tool { padding: 20px; }
}

/* Sticky top bar with section highlight */
header.top { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .2s ease; }
header.top.scrolled { box-shadow: 0 4px 14px rgba(45, 42, 62, .12); }
header.top.scrolled .nav { padding-block: 10px 6px; }
header.top.scrolled .stagebar { padding-bottom: 8px; }
header.top.scrolled .chip { padding-block: 6px; }
header.top.scrolled .chip small { display: none; }
section[id] { scroll-margin-top: 130px; }
.nav nav a { padding-block: 4px; border-bottom: 3px solid transparent; }
.nav nav a.on { color: var(--coral-ink); border-bottom-color: var(--coral); }
a.chip.on { border-color: var(--fg); box-shadow: 0 3px 0 var(--fg); transform: translateY(-2px); }

/* Stage bar: once a section is in view, only its chip keeps colour */
.stagebar.has-stage a.chip:not(.on) { background: #ece7dc; color: var(--muted); opacity: .8; }
.stagebar.has-stage a.chip:not(.on) small { color: var(--muted); }
.stagebar.has-stage a.chip.on b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--fg); vertical-align: middle; }

.soon-tag { display: inline-block; margin: 2px 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--warm); color: var(--coral-ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.next { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.next.sel { border-style: solid; border-color: var(--fg); }
.stagebar ol { padding-top: 14px; }
.chip.soon { position: relative; cursor: pointer; }
.chip.soon::after {
  content: "Coming soon"; position: absolute; top: -9px; right: 10px;
  padding: 1px 8px; border-radius: 999px; background: var(--fg); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.soon-panel { margin: 0 0 24px; padding: 22px 26px; border-radius: var(--radius); background: var(--warm); border: 2px solid var(--fg); }
.soon-panel h3 { margin: 0 0 6px; font-size: 24px; }
.soon-panel p { margin: 0; font-weight: 700; }
.soon-panel .fine { margin-top: 8px; color: var(--muted); font-weight: 600; }
.chip.soon { padding-top: 15px; }
header.top.scrolled .chip.soon { padding-top: 13px; }

/* Voices: word cloud and feedback */
.voices { margin-top: 48px; padding: 28px; border-radius: var(--radius); background: var(--card); border: 2px solid var(--fg); }
.voices h3 { margin: 0 0 6px; font-size: 24px; }
.cloud { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; min-height: 120px; padding: 18px 8px; font-family: "Fredoka", ui-rounded, sans-serif; font-weight: 600; line-height: 1.1; }
.cw { transition: transform .15s ease; cursor: default; }
.cw:hover { transform: scale(1.12); }
.cloud-empty { margin: 0; color: var(--muted); font: 700 16px "Nunito", ui-rounded, sans-serif; text-align: center; }
.vform { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 8px; }
.vform label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; min-width: 0; }
.vform label.grow { flex: 1 1 240px; }
.vform input, .vform select { padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); font: 600 16px "Nunito", ui-rounded, sans-serif; color: var(--fg); min-width: 0; }
.vform .btn { cursor: pointer; font: 700 17px "Nunito", ui-rounded, sans-serif; }
.soon-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.soon-form input { flex: 1 1 220px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font: 600 16px "Nunito", ui-rounded, sans-serif; color: var(--fg); min-width: 0; }
.soon-form .btn { cursor: pointer; font: 700 17px "Nunito", ui-rounded, sans-serif; }

/* Growth progression strip */
.stagebar li { flex-direction: column; justify-content: flex-end; }
.stagebar .chip { flex: 0 0 auto; }
.fig { display: flex; justify-content: center; align-items: flex-end; height: 78px; margin-bottom: 4px; border-bottom: 3px dotted var(--line); cursor: pointer; transition: height .2s ease, opacity .2s ease; }
.fig svg { height: 100%; width: auto; max-width: 100%; }
header.top.scrolled .fig { height: 34px; margin-bottom: 2px; border-bottom-width: 2px; }
.stagebar.has-stage li:not(:has(a.chip.on)) .fig { filter: grayscale(1); opacity: .45; }
.fig { margin-bottom: 12px; }
header.top.scrolled .fig { height: 46px; margin-bottom: 12px; }

/* Ask strip at the end of every stage */
.ask { margin-top: 40px; padding: 22px 24px; border-radius: var(--radius); background: var(--card); border: 2px dashed var(--fg); }
.ask h3 { margin: 0 0 4px; font-size: 22px; }
.ask .cloud.mini { min-height: 64px; padding: 10px 4px; gap: 4px 14px; }
.ask-form { display: flex; flex-wrap: wrap; gap: 10px; }
.ask-form input { flex: 1 1 220px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); font: 600 16px "Nunito", ui-rounded, sans-serif; color: var(--fg); min-width: 0; }
.ask-form .btn { cursor: pointer; font: 700 17px "Nunito", ui-rounded, sans-serif; }

/* Articles */
.nav nav a.on { color: var(--fg); }
.acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-block: 8px 28px; }
.acard { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); color: var(--fg); text-decoration: none; border: 2px solid transparent; min-width: 0; transition: transform .12s ease, border-color .12s ease; }
.acard:hover { transform: translateY(-3px); border-color: var(--fg); }
.acard h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.acard p { margin: 0; color: var(--fg); font-size: 15px; font-weight: 600; opacity: .85; }
.acard.peach, .acat.peach { background: var(--peach); }
.acard.mint, .acat.mint { background: var(--mint); }
.acard.sky, .acat.sky { background: var(--sky); }
.acard.lilac, .acat.lilac { background: var(--lilac); }
.acat { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.7); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ameta { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--muted); }
.views:empty { display: none; }
.post-wrap { max-width: 760px; }
.post h1 { max-width: none; font-size: clamp(30px, 4.4vw, 46px); margin: 6px 0 14px; }
.post .hub-h1 { font-size: clamp(36px, 5vw, 56px); }
.crumbs { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.crumbs a { color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 28px; font-size: 14px; font-weight: 700; color: var(--muted); }
.post-meta .acat { color: var(--fg); }
.post-body h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 34px 0 10px; }
.post-body p, .post-body li { font-size: 18px; line-height: 1.7; }
.post-body ul { padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-body a, .post .fine a { color: var(--coral-ink); font-weight: 700; }
.callout { margin: 24px 0; padding: 16px 20px; border-radius: 16px; background: var(--warm); border: 2px solid var(--fg); font-size: 16px; font-weight: 600; }
.cta-row { margin: 28px 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--fg); color: #fff; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }
.soon-panel .fast { margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--sun); border: 2px solid var(--fg); font-weight: 700; }

/* Phones: compact header */
@media (max-width: 640px) {
  header.top .nav { flex-direction: column; align-items: stretch; gap: 6px; padding-block: 10px 6px; }
  header.top .brand { font-size: 24px; }
  header.top .dot { width: 18px; height: 18px; box-shadow: 9px 0 0 -3px var(--coral); }
  header.top .nav nav { gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
  header.top .nav nav::-webkit-scrollbar { display: none; }
  header.top .nav nav a { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-size: 14px; }
  header.top .nav nav a.on { border-color: var(--fg); color: var(--fg); background: var(--warm); text-decoration: none; }
  header.top.scrolled .brand { display: none; }
  header.top .stagebar { padding-bottom: 8px; }
  header.top .fig { display: none; }
  header.top .stagebar ol { padding-top: 12px; gap: 8px; }
  header.top .chip small { display: none; }
  header.top .chip { padding: 8px 14px; }
  header.top .chip.soon { padding-top: 10px; }
  section[id] { scroll-margin-top: 130px; }
}

@media (max-width: 640px) {
  header.top .nav nav a { padding: 9px 14px; }
  .art { height: 190px; }
  .o3 { width: 120px; height: 120px; }
  .o4 { width: 160px; height: 160px; }
  .o4::after { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .hero-grid { padding-block: 28px 8px; }
  .voices, .ask { padding: 18px; }
  .vform .btn, .ask-form .btn, .soon-form .btn { width: 100%; }
  .vform label, .vform select, .vform input { width: 100%; }
  .post-body p, .post-body li { font-size: 17px; }
  .acards { grid-template-columns: 1fr; }
  .band { padding-block: 40px; }
}
@media (max-width: 360px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .card { padding: 20px; }
}

/* Tagline lives in the header */
.brandwrap { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tagline { font-family: "Fredoka", ui-rounded, sans-serif; font-weight: 500; font-size: clamp(14px, 1.6vw, 17px); color: var(--coral-ink); line-height: 1.1; padding-left: 40px; transition: opacity .2s ease, max-height .2s ease; max-height: 24px; overflow: hidden; }
header.top.scrolled .tagline { opacity: 0; max-height: 0; }
@media (max-width: 640px) {
  header.top .tagline { padding-left: 28px; font-size: 14px; }
  header.top.scrolled .brandwrap { display: none; }
}

.footnav { display: flex; flex-wrap: wrap; gap: 8px 20px; width: 100%; }
.footnav a { color: var(--fg); font-weight: 700; text-decoration: none; }
.footnav a:hover { color: var(--coral-ink); }
@media (min-width: 641px) { .footnav { display: none; } }
@media (max-width: 640px) {
  header.top .nav nav { display: none; }
  header.top .nav { padding-block: 10px 4px; }
  header.top.scrolled .nav { display: none; }
}

/* Locked weight percentiles */
.wts.locked { display: grid; justify-items: center; }
.wts.locked > ul, .wts.locked > .gate { grid-area: 2 / 1; }
.wts.locked > .wts-title { grid-area: 1 / 1; justify-self: start; }
.wts ul.blurred { filter: blur(7px); user-select: none; pointer-events: none; }
.wts.locked .gate { align-self: center; width: min(100%, 360px); z-index: 2; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.96); border: 2px solid var(--fg); box-shadow: 0 8px 0 rgba(45,42,62,.1); }
.gate p { margin: 0; }
.gate-s { font-size: 14px; font-weight: 600; color: var(--muted); }
.gate input:not([type=checkbox]) { padding: 11px 13px; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); font: 600 16px "Nunito", ui-rounded, sans-serif; color: var(--fg); min-width: 0; }
.gate .hp { position: absolute; left: -9999px; }
.gate-c { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--muted); }
.gate-c input { margin-top: 2px; flex: none; }
.gate-c a { color: var(--coral-ink); }
.gate .btn { cursor: pointer; font: 700 17px "Nunito", ui-rounded, sans-serif; }
.gate .gate-msg { min-height: 1em; }

/* Weight check result, locked until the visitor shares name and phone */
.result.r-locked { background: var(--bg); border-color: var(--line); }
.locked-wrap { display: grid; justify-items: center; }
.locked-wrap > .blurred, .locked-wrap > .gate { grid-area: 1 / 1; }
.locked-wrap > .blurred { filter: blur(7px); user-select: none; pointer-events: none; width: 100%; }
.locked-wrap > .gate { align-self: center; width: min(100%, 360px); z-index: 2; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.96); border: 2px solid var(--fg); box-shadow: 0 8px 0 rgba(45,42,62,.1); }

/* Lead form: scroll offset under the sticky header, city suggestions, skip */
html { scroll-padding-top: 140px; }
@media (max-width: 640px) { html { scroll-padding-top: 90px; } }
.result, .wts { scroll-margin-top: 140px; }
@media (max-width: 640px) { .result, .wts { scroll-margin-top: 90px; } }
.cityw { position: relative; display: flex; flex-direction: column; }
.cityw input { width: 100%; box-sizing: border-box; }
.city-sug { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; margin: 0; padding: 4px; list-style: none; background: #fff; border: 2px solid var(--fg); border-radius: 12px; box-shadow: 0 6px 0 rgba(45,42,62,.1); }
.city-sug li { padding: 8px 10px; border-radius: 8px; font: 700 15px "Nunito", ui-rounded, sans-serif; cursor: pointer; }
.city-sug li small { font-weight: 600; color: var(--muted); margin-left: 6px; }
.city-sug li[aria-selected="true"], .city-sug li:hover { background: var(--sun); }
.gate-skip { background: none; border: 0; padding: 6px; font: 700 14px "Nunito", ui-rounded, sans-serif; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* Locked checker result: plain message and form, no blurred placeholder */
.result.r-locked .gate { display: flex; flex-direction: column; gap: 8px; max-width: 420px; padding: 4px 0 12px; }

/* Locked checker card: green = typical, grey = a little away, red = well away */
.result.r-locked.tone-good { background: #e8f7ee; border-color: #6cc48b; }
.result.r-locked.tone-neutral { background: #efeef2; border-color: #b9b6c4; }
.result.r-locked.tone-bad { background: #ffe9e5; border-color: var(--coral); }
.tone-good .gate-h { color: #1d6b3a; }
.tone-neutral .gate-h { color: #4a4660; }
.tone-bad .gate-h { color: var(--coral-ink); }
.tone-good .gate-s, .tone-neutral .gate-s, .tone-bad .gate-s { color: var(--fg); }
.tone-bad .r-urgent { background: #fff; }

/* Infant weight check */
.t-wt { background: var(--sky); }
#infform { align-items: flex-end; }
#infform fieldset.row { border: 0; margin: 0; padding: 0; display: flex; gap: 14px; align-items: center; }
#infform fieldset.row legend { padding: 0; margin: 0 0 6px; font-weight: 700; font-size: 14px; float: left; width: 100%; }
#infform .opt { flex-direction: row; align-items: center; gap: 6px; }
#infform .opt input { width: auto; padding: 0; border: 0; }

/* Infant panel: reliable, visible selection */
#infform .opt input { min-width: 0; width: 18px; height: 18px; margin: 0; flex: none; }
#infform .opt { width: auto; min-width: 0; user-select: none; -webkit-tap-highlight-color: transparent; }
.opt:has(input:checked) { background: var(--sun); border-color: var(--fg); }
.opt:has(input:focus-visible) { outline: 3px solid var(--coral); outline-offset: 2px; }
/* A card that moves on hover can slip out from under the pointer mid-click, so lift it with a shadow instead. */
.tool:hover { transform: none; box-shadow: 0 4px 0 var(--fg); }
.tool, .opt, .btn, select { touch-action: manipulation; }
@media (max-width: 560px) { #infform fieldset.row, #infform .opt { width: auto; } #infform fieldset.row { flex-wrap: wrap; } }

/* Stage colours: one per life stage, used on the chip, the section and the Next up cards */
:root {
  --pink: #ffcfe0;  --pink-bg: #fff0f5;
  --yellow: var(--sun); --yellow-bg: #fff6d6;
  --c-toddler: #b9ecc9;  --c-toddler-bg: #effaf3;
  --c-pre: #bfe6f7;      --c-pre-bg: #eef8fd;
  --c-school: #dccffa;   --c-school-bg: #f6f2fe;
  --c-teen: #ffb3a7;     --c-teen-bg: #fff0ed;
  --c-able: #d9f0a0;     --c-able-bg: #f7fbe8;
}
.c1 { --st: var(--pink); }
.c2 { --st: var(--yellow); }
.c3 { --st: var(--c-toddler); }
.c4 { --st: var(--c-pre); }
.c5 { --st: var(--c-school); }
.c6 { --st: var(--c-teen); }
.c7 { --st: var(--c-able); }
.c1, .c2 { background: var(--st); }
.chip.soon { background: color-mix(in srgb, var(--st) 45%, transparent); border-color: var(--st); }
.chip.soon.c3, .chip.soon.c4, .chip.soon.c5, .chip.soon.c6, .chip.soon.c7 { border-color: var(--st); }
.stagebar.has-stage .chip.soon { opacity: .85; }

#expecting { background: var(--pink-bg); }
#newparent { background: var(--yellow-bg); }
#expecting h2, #newparent h2 { display: inline-block; padding: 4px 18px; border-radius: 999px; }
#expecting h2 { background: var(--pink); }
#newparent h2 { background: var(--yellow); }

.next.n-toddlers { background: var(--c-toddler-bg); border-color: var(--c-toddler); }
.next.n-preschool { background: var(--c-pre-bg); border-color: var(--c-pre); }
.next.n-school { background: var(--c-school-bg); border-color: var(--c-school); }
.next.n-teens { background: var(--c-teen-bg); border-color: var(--c-teen); }
.next.sel { border-color: var(--fg); }
.next h3 small { background: rgba(255,255,255,.7); padding: 2px 8px; border-radius: 999px; }
.soon-panel[data-stage="Toddlers"] { background: var(--c-toddler-bg); }
.soon-panel[data-stage="Preschool"] { background: var(--c-pre-bg); }
.soon-panel[data-stage="School"] { background: var(--c-school-bg); }
.soon-panel[data-stage="Teens"] { background: var(--c-teen-bg); }
.soon-panel[data-stage="Able"] { background: var(--c-able-bg); }

/* Mother's body notes under the week picker */
.bodynote { margin: 18px auto 6px; max-width: 640px; padding: 14px 20px; border-radius: 18px; background: rgba(255,255,255,.75); border: 2px solid var(--fg); text-align: left; }
.bodynote .bn-h { margin: 0 0 4px; font: 600 13px "Nunito", ui-rounded, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink); }
.bodynote .bn-t { margin: 0; font-weight: 600; font-size: 16px; line-height: 1.5; min-height: 3em; }
.bn-more { margin-top: 10px; }
.bn-more summary { cursor: pointer; display: inline-block; font-weight: 800; color: var(--coral-ink); padding: 4px 0; list-style: none; }
.bn-more summary::-webkit-details-marker { display: none; }
.bn-more summary::after { content: " +"; }
.bn-more[open] summary::after { content: " \2212"; }
.bn-more[open] summary { }
.bn-more div p { margin: 10px 0 0; font-weight: 600; font-size: 15.5px; line-height: 1.55; }
.bn-more .bn-note { color: var(--muted); font-size: 13.5px; }

/* "We move fast" note and panel edge follow the stage colour */
.soon-panel[data-stage="Toddlers"] { --st: var(--c-toddler); }
.soon-panel[data-stage="Preschool"] { --st: var(--c-pre); }
.soon-panel[data-stage="School"] { --st: var(--c-school); }
.soon-panel[data-stage="Teens"] { --st: var(--c-teen); }
.soon-panel[data-stage="Able"] { --st: var(--c-able); }
.soon-panel .fast { background: var(--st, var(--sun)); }

/* Section accent: buttons, picks and highlights follow the stage colour instead of defaulting to yellow */
#expecting { --accent: #ff9ec1; }
#newparent { --accent: var(--sun); }
.soon-panel { --accent: var(--st, var(--sun)); }
.btn.primary { background: var(--accent, var(--sun)); }
.city-sug li[aria-selected="true"], .city-sug li:hover { background: var(--accent, var(--sun)); }
.opt:has(input:checked) { background: var(--accent, var(--sun)); }
/* Week card tints stay in the pink family so Expecting reads as one theme; trimesters differ by shade */
.weekly, .weekly.t2 { --tint: #ffe3ee; --orb: #ffb3cf; }
.weekly.t1 { --tint: #ffeadf; --orb: var(--peach); }
.weekly.t3 { --tint: #f3e3f8; --orb: #e3b9f0; }
.weekly.t1 { --tint: #ffe8f0; --orb: #ffcfe0; }
