/* Vickids Early Learning — site styles
   Layout concept: a tidy playroom. White and cream bands carry the page; each band
   leads with ONE brand block colour; the three blocks meet only in the logo and hero.
   Tokens come from the Vickids design system (single light theme, by design). */
:root {
  --coral: #F26B5B;
  --coral-700: #C2493B;
  --coral-100: #FDE5E1;
  --teal: #2BA39A;
  --teal-700: #1F7A73;
  --teal-100: #DDF2EF;
  --yellow: #F5B83D;
  --yellow-100: #FEF3D9;
  --ink: #2D3142;
  --ink-muted: #5C6175;
  --surface: #FFFFFF;
  --surface-soft: #FFF8EC;
  --border: #E6E2DA;
  /* Soft card tints, one per card. */
  --green: #4CB0B3;
  --green-700: #2B7F7E;
  --green-100: #E3F3F3;
  --green-200: #C4E5E5;
  --coral-200: #F8CFC8;
  --yellow-200: #F6E0A6;
  /* Soft block tones for the hero tower */
  --coral-soft: #F8B9B0;
  --green-soft: #A8DADB;
  --yellow-soft: #FAD98E;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9CCD8;

  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-2: 8px; --space-4: 16px; --space-6: 24px; --space-10: 40px; --space-16: 64px;
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px; --radius-pill: 999px;
  --measure: 66ch;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-700); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin: 0; text-wrap: balance; }
.display { font-size: clamp(40px, 6vw, 64px); line-height: 1.06; letter-spacing: -0.01em; }
h1, .h1 { font-size: clamp(34px, 4.6vw, 44px); line-height: 1.14; }
h2, .h2 { font-size: clamp(26px, 3.4vw, 32px); line-height: 1.2; }
h3, .h3 { font-size: 22px; line-height: 1.3; font-weight: 500; }
p { margin: 0; }
.lead { font-size: 18px; line-height: 28px; color: var(--ink-muted); max-width: 56ch; }
.eyebrow {
  font-size: 14px; line-height: 20px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--coral-700);
}
.eyebrow.teal { color: var(--green-700); }
.muted { color: var(--ink-muted); }
.small { font-size: 13px; line-height: 18px; }

.wrap {
  max-width: calc(var(--wrap) + 2 * 16px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(48px, 7vw, var(--space-16)); }
.band.soft { background: var(--surface-soft); }
.band.teal { background: var(--green-100); }
.band.coral { background: var(--coral-100); }
.band.yellow { background: var(--yellow-100); }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.stack-lg { display: flex; flex-direction: column; gap: var(--space-10); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans); font-weight: 800; font-size: 16px; line-height: 1;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral-700); color: var(--on-dark); }
.btn-primary:hover { background: #A93D31; color: var(--on-dark); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* Header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { width: 172px; height: auto; }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px;
  border: 2px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface); color: var(--ink);
  font: 800 15px/1 var(--font-sans); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a.top, .site-nav button.top {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font: 700 15px/1 var(--font-sans); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.site-nav a.top:hover, .site-nav .has-menu:hover > .top, .site-nav .has-menu:focus-within > .top { background: var(--surface-soft); color: var(--ink); }
.site-nav a.top[aria-current="page"], .site-nav .current > .top { color: var(--coral-700); }
.site-nav .chev { width: 14px; height: 14px; }
.has-menu { position: relative; }
.submenu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(45, 49, 66, 0.12);
  display: none;
}
.has-menu:hover > .submenu, .has-menu:focus-within > .submenu { display: block; }
.has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.submenu a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 20px;
}
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--surface-soft); color: var(--coral-700); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(45, 49, 66, 0.10);
    max-height: calc(100vh - 76px); overflow-y: auto;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a.top, .site-nav button.top { width: 100%; padding: 14px 8px; font-size: 17px; justify-content: space-between; }
  .site-nav .chev { display: none; }
  .has-menu::after { display: none; }
  .submenu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .submenu a { padding: 10px 8px; }
}

/* Hero */
.hero { background: var(--surface-soft); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center; gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(48px, 7vw, 88px);
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero-copy .display .vic { color: var(--coral); }
.tower { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.tower-blocks { display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; width: 100%; max-width: 380px; }
.blk {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.2;
  box-shadow: inset 0 -4px 0 rgba(45, 49, 66, 0.07);
}
.blk .n {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.9); color: var(--ink);
  font: 800 14px/1 var(--font-sans);
}
.blk.c { background: var(--coral-soft); color: var(--ink); }
.blk.t { background: var(--green-soft); color: var(--ink); }
.blk.y { background: var(--yellow-soft); color: var(--ink); }
.blk.w1 { width: 100%; } .blk.w2 { width: 92%; } .blk.w3 { width: 84%; } .blk.w4 { width: 76%; } .blk.w5 { width: 68%; }
.blk.tilt { transform: rotate(-6deg) translateX(10px); }
.tower figcaption { font-size: 13px; line-height: 18px; color: var(--ink-muted); text-align: center; max-width: 34ch; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.card {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-6);
}
a.card { color: var(--ink); text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-3px); border-color: var(--ink-muted); color: var(--ink); }
.card .more { margin-top: auto; padding-top: 4px; font-weight: 800; color: var(--coral-700); display: inline-flex; align-items: center; gap: 6px; }
.card p { color: var(--ink-muted); }
.icon-blk {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none;
}
.icon-blk svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-blk.c { background: var(--coral-100); color: var(--coral-700); }
.icon-blk.t { background: var(--green-100); color: var(--green-700); }
.icon-blk.y { background: var(--yellow-100); color: #8A5A00; }
.card.dashed { background: transparent; border: 2px dashed var(--border); }

/* Frameworks band */
.fw-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 860px) { .fw-grid { grid-template-columns: minmax(0, 1fr); } }
.outcomes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.outcomes li { display: flex; gap: 14px; align-items: flex-start; }
.outcomes .num {
  flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--green-200); color: var(--green-700);
  display: grid; place-items: center; font: 800 15px/1 var(--font-sans);
}
.outcomes strong { display: block; font-weight: 700; }
.outcomes span.d { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.fw-side { display: flex; flex-direction: column; gap: var(--space-4); }
.rating-scale { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rating-scale li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 20px; }
.rating-scale .bar { flex: none; height: 10px; border-radius: 5px; background: var(--coral-soft); }

/* Programs list */
.prog-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-10); }
@media (max-width: 720px) { .prog-list { grid-template-columns: minmax(0, 1fr); } }
.prog-list li { display: flex; gap: 16px; padding-block: 20px; border-top: 1px solid var(--border); min-width: 0; }
.prog-list h3 { font-size: 20px; margin-bottom: 4px; }
.prog-list p { color: var(--ink-muted); }

/* Play by age */
.age-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 860px) { .age-grid { grid-template-columns: minmax(0, 1fr); } }
.age-card { background: var(--surface); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--border); min-width: 0; }
.age-card.feature { transform: rotate(-2deg); border: 2px solid var(--yellow); }
@media (max-width: 860px) { .age-card.feature { transform: none; } }
.age-tag { align-self: flex-start; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 14px; line-height: 20px; }
.toy-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.toy-list li { padding-left: 18px; position: relative; }
.toy-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 3px; background: var(--yellow); }
.toy-list strong { font-weight: 700; }
.toy-list span { color: var(--ink-muted); }

/* CTA strip */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.strip > div { min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { text-decoration: underline; color: var(--on-dark); } }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--space-10); padding-block: 56px 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid .f-brand { grid-column: 1 / -1; } }
.f-brand { display: flex; flex-direction: column; gap: 16px; }
.f-brand img { width: 180px; }
.f-col h4 { font-family: var(--font-sans); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--on-dark); margin-bottom: 12px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 22px; }
.acknowledge { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 21px; }
.acknowledge p { max-width: 70ch; }

/* Article pages */
.crumbs { font-size: 14px; line-height: 20px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-muted); }
.page-hero { background: var(--coral-100); }
.page-hero .wrap { padding-block: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.page-hero .intro { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.facts { background: var(--surface); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: 14px; min-width: 0; }
.facts h2 { font-size: 18px; font-family: var(--font-sans); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-700); }
.facts dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; }
.facts dt { font-weight: 700; font-size: 15px; }
.facts dd { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 22px; }

.article { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .article { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 20px; }
.toc p { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-muted); }
.toc a { color: var(--ink); text-decoration: none; padding-left: 12px; border-left: 2px solid var(--border); }
.toc a:hover { color: var(--coral-700); border-left-color: var(--coral); }
.prose { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.prose section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 100px; }
.prose p, .prose li { max-width: var(--measure); }
.prose p + p { margin-top: 0; }
.prose ul.dots { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.prose ul.dots li::marker { color: var(--coral); }
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.area { background: var(--surface-soft); border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.area h3 { font-size: 19px; }
.area p { font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.callout { background: var(--yellow-100); border-radius: var(--radius-md); padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.callout strong { font-weight: 800; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--green-700); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.link-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.link-table th, .link-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.link-table th { font-weight: 800; background: var(--green-100); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
.next-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .next-links { grid-template-columns: minmax(0, 1fr); } }

/* Stub pages (build in progress) */
.stub { min-height: 40vh; display: flex; align-items: center; }
.stub .card { max-width: 640px; }

/* Tinted cards: soft colour, one per card, rotating coral / green / yellow */
.tint-c { background: var(--coral-100); border-color: var(--coral-200); }
.tint-g { background: var(--green-100); border-color: var(--green-200); }
.tint-y { background: var(--yellow-100); border-color: var(--yellow-200); }
a.card.tint-c:hover { border-color: var(--coral); }
a.card.tint-g:hover { border-color: var(--green); }
a.card.tint-y:hover { border-color: var(--yellow); }
.card[class*="tint-"] p, .age-card[class*="tint-"] .toy-list span, .area[class*="tint-"] p { color: var(--ink-muted); }
[class*="tint-"] .icon-blk { background: var(--surface); }
.tint-g .more { color: var(--green-700); }
.age-card.tint-c .toy-list li::before { background: var(--coral); }
.age-card.tint-g .toy-list li::before { background: var(--green); }
.age-card.tint-c .age-tag { background: var(--coral-200); }
.age-card.tint-g .age-tag { background: var(--green-200); }
.age-card.feature.tint-y { border-color: var(--yellow); }
.prog-list.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 900px) { .prog-list.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .prog-list.tiles { grid-template-columns: minmax(0, 1fr); } }
.prog-list.tiles li { border-width: 1px; border-style: solid; border-radius: var(--radius-md); padding: var(--space-6); flex-direction: column; gap: 12px; }
.strip.card { flex-direction: row; align-items: center; padding: clamp(24px, 4vw, 40px); }

/* Child safety page */
.page-hero.safety-hero { background: var(--green-100); }
.help-box { border: 2px solid var(--green); }
.help-box h2 { color: var(--green-700); }
.help-box strong { color: var(--ink); font-weight: 800; white-space: nowrap; }
.help-box a { color: var(--green-700); font-weight: 700; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding-block: 18px; border-top: 1px solid var(--border); }
.timeline .when { font-weight: 800; color: var(--coral-700); font-size: 15px; line-height: 22px; }
.timeline strong { display: block; font-weight: 800; margin-bottom: 4px; }
.timeline p { color: var(--ink-muted); }
@media (max-width: 560px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.safety-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-10); align-items: center; }
@media (max-width: 860px) { .safety-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--green-100); border-radius: var(--radius-sm); }
.contact-list b { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }

.page-hero.hero-g { background: var(--green-100); }
.page-hero.hero-y { background: var(--yellow-100); }
.link-table.compare { min-width: 860px; }
.link-table.compare thead th { background: var(--surface-soft); font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.link-table.compare thead th a { color: var(--ink); text-decoration: none; }
.link-table.compare thead th a:hover { color: var(--coral-700); }
.link-table.compare tbody th { background: var(--surface-soft); font-weight: 800; white-space: nowrap; }
.link-table.compare td { color: var(--ink-muted); }
.link-table.compare tbody tr:nth-child(odd) td { background: var(--surface); }
.link-table.compare tbody tr:nth-child(even) td { background: #FCFBF8; }

/* Compact home cards */
.card.compact { padding: 20px; gap: 8px; }
.card.compact .card-top { display: flex; align-items: center; gap: 12px; }
.card.compact .card-top h3 { font-size: 20px; }
.card.compact .icon-blk { width: 40px; height: 40px; border-radius: 10px; }
.card.compact .icon-blk svg { width: 22px; height: 22px; }
.hero-grid { padding-block: clamp(40px, 5vw, 64px); }
#home-trim .band, main > .band { padding-block: clamp(40px, 5vw, 56px); }
.card.dashed.tint-y { background: var(--yellow-100); border-color: var(--yellow); }

.timeline.ratings li { grid-template-columns: 230px minmax(0, 1fr); }
.timeline.ratings .when { color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 18px; }
@media (max-width: 560px) { .timeline.ratings li { grid-template-columns: minmax(0, 1fr); } }
.age-card h3 { font-size: 20px; }
.prose .card .dots { padding-left: 18px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-email { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 4vw, 34px); line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.contact-card { gap: 16px; padding: clamp(24px, 4vw, 40px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-10); align-items: center; }
@media (max-width: 760px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.about-grid p { max-width: var(--measure); }
.about-logo { margin: 0; justify-self: center; }
.about-logo img { width: min(280px, 70vw); height: auto; }
.prose .btn { text-decoration: none; }

/* About: one child, one plan */
.plan-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .plan-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plan-steps { grid-template-columns: minmax(0, 1fr); } }
.plan-steps li { border-width: 1px; border-style: solid; border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.plan-steps .step { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); font: 800 15px/1 var(--font-sans); color: var(--ink); }
.plan-steps h3 { font-size: 19px; }
.plan-steps p { color: var(--ink-muted); font-size: 15px; line-height: 23px; }

/* About: three values */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 860px) { .values { grid-template-columns: minmax(0, 1fr); } }
.value { border-width: 1px; border-style: solid; border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.value p { color: var(--ink-muted); }
.vblock { width: 44px; height: 44px; border-radius: 12px; box-shadow: inset 0 -4px 0 rgba(45, 49, 66, 0.07); }
.vblock.c { background: var(--coral-soft); } .vblock.g { background: var(--green-soft); } .vblock.y { background: var(--yellow-soft); }
.vblock.tilt { transform: rotate(8deg); }

/* Phones and tablets: the side table of contents is hidden (it must come after .toc's own rule) */
@media (max-width: 900px) { .toc { display: none; } }

/* Very narrow screens such as a folded phone's cover screen */
@media (max-width: 360px) {
  .brand img { width: 136px; }
  .header-inner { gap: 8px; min-height: 64px; }
  .nav-toggle { padding: 8px 10px; }
  .nav-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-nav { max-height: calc(100vh - 64px); }
  .display { font-size: 34px; }
  .btn { padding: 12px 16px; }
  .facts dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .facts dd { margin-bottom: 8px; }
  .contact-list li { flex-direction: column; gap: 2px; }
}
@media (max-width: 400px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Hero on unfolded foldables, small tablets and phones: stack copy above the tower */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .tower { justify-self: center; width: 100%; }
}
@media (max-width: 420px) {
  .blk { font-size: 16px; padding: 12px 14px; gap: 10px; }
  .blk .n { width: 26px; height: 26px; font-size: 13px; }
  .blk.w4 { width: 82%; } .blk.w5 { width: 78%; }
  .blk.tilt { transform: rotate(-5deg); }
}

.site-footer a { display: inline-block; padding-block: 4px; -webkit-tap-highlight-color: rgba(255, 255, 255, 0.15); touch-action: manipulation; }

/* Phones: everything about a third smaller (body text kept readable at 14px) */
@media (max-width: 600px) {
  body { font-size: 14px; line-height: 22px; }
  .lead { font-size: 15px; line-height: 23px; }
  .display { font-size: 28px; line-height: 1.12; }
  h1, .h1 { font-size: 25px; line-height: 1.2; }
  h2, .h2 { font-size: 20px; line-height: 1.25; }
  h3, .h3 { font-size: 16px; }
  .card.compact .card-top h3, .area h3, .plan-steps h3, .age-card h3, .prog-list h3 { font-size: 16px; }
  .eyebrow, .toc p, .f-col h4, .facts h2 { font-size: 12px; line-height: 17px; }
  .small, .crumbs, .tower figcaption { font-size: 12px; line-height: 17px; }
  .area p, .plan-steps p, .facts dt, .facts dd, .link-table, .outcomes span.d, .rating-scale li, .timeline .when, .contact-list li { font-size: 13px; line-height: 19px; }

  .header-inner { min-height: 58px; }
  .brand img { width: 120px; }
  .nav-toggle { min-height: 36px; padding: 6px 10px; font-size: 13px; }
  .nav-toggle svg { width: 16px; height: 16px; }
  .site-nav { max-height: calc(100vh - 58px); }
  .site-nav a.top, .site-nav button.top { padding: 10px 6px; font-size: 15px; }
  .submenu a { padding: 7px 6px; font-size: 14px; }

  .band { padding-block: 30px; }
  .hero-grid { padding-block: 26px; gap: 22px; }
  .page-hero .wrap { padding-block: 26px; gap: 18px; }
  .stack-lg { gap: 22px; }
  .section-head { gap: 6px; }
  .hero-copy, .page-hero .intro { gap: 12px; }
  .prose { gap: 34px; }
  .prose section { gap: 10px; }
  .grid-3, .grid-2, .age-grid, .values, .areas, .two-col, .next-links, .plan-steps, .fw-grid, .contact-grid, .about-grid { gap: 12px; }
  .card, .age-card, .value, .facts, .contact-card { padding: 16px; gap: 8px; border-radius: 12px; }
  .card.compact { padding: 14px; }
  .area, .plan-steps li { padding: 14px; border-radius: 12px; }
  .callout { padding: 14px 16px; }
  .icon-blk, .card.compact .icon-blk { width: 32px; height: 32px; border-radius: 8px; }
  .icon-blk svg, .card.compact .icon-blk svg { width: 18px; height: 18px; }
  .plan-steps .step, .outcomes .num { width: 26px; height: 26px; font-size: 12px; }
  .vblock { width: 30px; height: 30px; border-radius: 8px; }
  .check-list { gap: 8px; } .check-list svg { width: 18px; height: 18px; }

  .btn { min-height: 40px; padding: 9px 16px; font-size: 14px; border-radius: 12px; }
  .btn-row { gap: 8px; }

  .tower-blocks { max-width: 260px; gap: 6px; }
  .blk { font-size: 13px; padding: 8px 10px; gap: 8px; border-radius: 11px; }
  .blk .n { width: 20px; height: 20px; font-size: 11px; }

  .footer-grid { padding-block: 32px 20px; gap: 22px; }
  .f-brand img { width: 130px; }
  .f-col ul { gap: 4px; font-size: 13px; line-height: 19px; }
  .acknowledge { font-size: 12px; line-height: 18px; padding-block: 16px; }
  .about-logo img { width: min(180px, 50vw); }
  .contact-email { font-size: 22px; }
}
