/* Kidz Eye Care: warm cream, sunny yellow, teal and coral. Baloo 2 for headings, Nunito for text. A centred, stacked
   header, bubbly shapes and a centred hero. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFF8E7; --surface: #FFFFFF; --soft: #FFEFC2; --ink: #2A2350; --muted: #5C5683;
  --line: #F4E2AE; --line-strong: #E6C877;
  --brand: #0E9AA7; --brand-hover: #0A7E89; --brand-ink: #FFFFFF; --brand-text: #087B87; --eyebrow: #D9485B;
  --badge-bg: #FF6B6B; --badge-ink: #FFFFFF;
  --out-bg: #2A2350; --out-ink: #FFF8E7; --out-accent: #FFC93C; --out-btn: #FFC93C; --out-btn-ink: #2A2350;
  --head: "Baloo 2", system-ui, sans-serif; --body: "Nunito", system-ui, sans-serif;
  --radius: 16px; --radius-lg: 28px; --btn-radius: 999px; --wrap: 1140px; --gap: 22px;
  --hero-bg: #FFE9A6; --cta-bg: #2A2350; --cta-btn: #FFC93C; --cta-btn-ink: #2A2350;
  --footer-bg: #2A2350; --footer-ink: #D5D0F0; --footer-link: #FFC93C;
  --band-bg: #FFEFC2; --numbers-bg: #0E9AA7; --head-bg: #FFE9A6;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.btn { font-weight: 800; }
.ic { color: var(--brand); }
body { font-size: 1.03rem; }

/* header: logo in the middle on top, links under it */
.h-stack > .wrap { flex-wrap: wrap; justify-content: center; row-gap: 4px; padding-block: 12px 8px; gap: 8px 20px; }
.h-stack .logo { margin-right: 0; }
.h-stack .nav { order: 3; flex-basis: 100%; justify-content: center; margin: 0; }
.h-stack .header-cta { position: absolute; right: max(16px, calc((100% - 1140px) / 2)); top: 18px; }
.h-stack .nav a { font-weight: 800; font-size: 1.02rem; }
.h-stack .nav a[aria-current="page"] { background: #FFC93C; color: #2A2350; border-radius: 999px; }
@media (max-width: 960px) { .h-stack > .wrap { flex-wrap: nowrap; justify-content: flex-start; } .h-stack .nav { flex-basis: auto; } .h-stack .header-cta { position: static; } }

/* hero: centred, with a wide picture on yellow and wavy edges */
.hero-center { position: relative; padding-bottom: clamp(60px, 8vw, 110px); }
.hero-center h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); max-width: 16ch; }
.hero-center .eyebrow { background: #fff; padding: 4px 14px; border-radius: 999px; color: #D9485B; }
.hero-center::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 42px; background: radial-gradient(circle at 20px -6px, transparent 22px, var(--bg) 23px) 0 0 / 40px 42px repeat-x; }
.hero-center .hero-card.wide { background: #FFC93C; border-radius: 48px; border: 6px solid #fff; box-shadow: 0 24px 40px -26px rgba(42, 35, 80, .6); max-width: 760px; margin-inline: auto; }
.hero-center .hero-card.wide svg { height: clamp(220px, 40vw, 420px); }
.trust { border: 0; background: transparent; gap: 12px; }
.trust li { border: 0; border-radius: 999px; background: #fff; margin: 0; box-shadow: 0 8px 20px -14px rgba(42, 35, 80, .5); }
.how li:nth-child(1) .n { background: #FF6B6B; } .how li:nth-child(2) .n { background: #0E9AA7; } .how li:nth-child(3) .n { background: #E5A800; color: #2A2350; } .how li:nth-child(4) .n { background: #7B61FF; }
.c-card { border: 3px solid var(--ink); border-radius: 30px; }
.c-img { border-bottom: 3px solid var(--ink); }
.c-filters button[aria-pressed="true"] { background: #FFC93C; border-color: #2A2350; color: #2A2350; }
.page-head { border-radius: 0 0 48px 48px; border-bottom: 0; }
.numbers-band { border-radius: 40px; margin-inline: 16px; }
.redflags legend { color: #C0394B; font-weight: 800; }
.redflags .checklist input { accent-color: #FF6B6B; }
.redflags .checklist input:checked + span { text-decoration: none; opacity: 1; font-weight: 800; color: #C0394B; }
.tool-out .meter { background: rgba(255, 255, 255, .2); height: 14px; }
.tool-out .meter i { background: #FFC93C; }
@media print { .header, .footer, .wa-float, .tool-out, .cta-band, .page-head, [data-print], .announce { display: none !important; } .tool { display: block; } .tool-in { box-shadow: none; border: 0; } }
