/* Little Steps Children's Clinic: white, leaf green, peach, sky and navy. Fredoka for headings, Atkinson
   Hyperlegible for text. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F0F8F4;
  --ink: #17304D;
  --muted: #4D6178;
  --line: #DCEBE3;
  --line-strong: #BFD9CB;
  --brand: #2E9E6A;
  --brand-hover: #248457;
  --brand-ink: #FFFFFF;
  --brand-text: #1F7D52;
  --peach: #FFB48A;
  --eyebrow: #D2643A;
  --announce-bg: #FFD866;
  --announce-ink: #17304D;
  --head: "Fredoka", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --fs-body: 1.05rem;
  --radius: 16px;
  --radius-lg: 26px;
  --btn-radius: 999px;
  --wrap: 1180px;
  --gap: 22px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--brand); }
.btn { font-weight: 700; }

/* header */
.header { background: #fff; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 700 1.4rem var(--head); color: var(--ink); }
.logo small { color: var(--brand-text); font-size: .8rem; font-weight: 700; }
.nav a { font-weight: 700; }
.nav a[aria-current="page"] { background: var(--soft); color: var(--brand-text); }

/* hero: footsteps walking up to a bubble */
.hero { padding-block: clamp(32px, 5vw, 72px); background: radial-gradient(circle at 90% 10%, #DDF1FF 0 180px, transparent 181px), radial-gradient(circle at 5% 95%, #FFF1C2 0 140px, transparent 141px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; margin: 14px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.steps-art { position: relative; height: 320px; }
.foot { position: absolute; width: 34px; height: 52px; border-radius: 50% 50% 46% 46%; background: var(--peach); opacity: 0; animation: step .5s ease-out forwards; }
.foot::before { content: ""; position: absolute; top: -14px; left: 2px; width: 30px; height: 12px; background: radial-gradient(circle at 4px 6px, currentColor 4px, transparent 5px), radial-gradient(circle at 15px 4px, currentColor 4px, transparent 5px), radial-gradient(circle at 26px 6px, currentColor 4px, transparent 5px); color: var(--peach); }
.f0 { left: 4%; bottom: 6%; transform: rotate(-12deg); animation-delay: .1s; }
.f1 { left: 20%; bottom: 22%; transform: rotate(8deg); background: #9FD3F5; animation-delay: .4s; }
.f1::before { color: #9FD3F5; }
.f2 { left: 34%; bottom: 40%; transform: rotate(-10deg); animation-delay: .7s; }
.f3 { left: 50%; bottom: 56%; transform: rotate(10deg); background: #9FD3F5; animation-delay: 1s; }
.f3::before { color: #9FD3F5; }
.f4 { left: 64%; bottom: 72%; transform: rotate(-8deg); animation-delay: 1.3s; }
@keyframes step { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .foot { animation: none; opacity: 1; } }
.bubble { position: absolute; right: 0; bottom: 10%; display: grid; gap: 4px; padding: 16px 20px; border-radius: 22px 22px 22px 6px; background: var(--brand); color: #fff; box-shadow: 0 18px 30px -20px rgba(23,48,77,.5); }
.bubble b { font: 600 1.3rem var(--head); }
.kid-perks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .kid-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kid-perks li { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius); }
.kid-perks b { font: 600 1.25rem var(--head); }
.kid-perks span { color: var(--muted); }

/* vaccine planner */
.vp { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .vp { grid-template-columns: minmax(0, 1fr); } }
.vp-in { display: grid; gap: 16px; position: sticky; top: 96px; }
@media (max-width: 900px) { .vp-in { position: static; } }
.vp-legend { display: flex; flex-wrap: wrap; gap: 6px; }
.badge.past { background: #EEF1F4; color: var(--muted); }
.badge.soon { background: #FFE1CF; border-color: var(--peach); color: #8A3A12; }
.badge.later { background: #D9F2E6; border-color: #9BD5B9; color: #1F7D52; }
.vp-title { font-size: 1.6rem; }
.vp-list { list-style: none; display: grid; gap: 10px; }
.vp-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 16px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
@media (max-width: 520px) { .vp-list li { grid-template-columns: minmax(0, 1fr); } }
.vp-list .vp-when { font: 600 1.05rem var(--head); }
.vp-list .vp-when small { display: block; font: 400 .85rem var(--body); color: var(--muted); }
.vp-list ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.vp-list ul li { display: inline; padding: 3px 10px; border: 0; border-radius: 999px; background: var(--soft); font-size: .88rem; }
.vp-list li.past { opacity: .6; }
.vp-list li.soon { border: 2px solid var(--peach); background: #FFF6F0; }

/* inner pages */
.page-head { margin-bottom: clamp(24px, 4vw, 40px); background: var(--soft); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--brand); color: #E2F5EB; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: #fff; }
.cta-band p { margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #FFD866; color: var(--ink); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.footer { background: var(--ink); color: #B4C2D3; --footer-line: rgba(255,255,255,.14); }
.footer .logo b { color: #fff; }
.footer .logo small { color: #9BD5B9; }
.footer h2 { color: #fff; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #fff; }
