/* Tinker Tots: cream, navy, coral, sunshine yellow, sky blue and leaf green. Fredoka for headings, Nunito Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFBF0;
  --surface: #FFFFFF;
  --soft: #FFF3D6;
  --ink: #1D1B3A;
  --muted: #565470;
  --line: #EFE6CF;
  --line-strong: #D9CDAE;
  --brand: #E8474C;
  --brand-hover: #CC3439;
  --brand-ink: #FFFFFF;
  --brand-text: #C93338;
  --yellow: #FFC93C;
  --blue: #3D8BFD;
  --green: #2BB673;
  --eyebrow: #2768D6;
  --badge-bg: #FFC93C;
  --badge-ink: #1D1B3A;
  --announce-bg: #1D1B3A;
  --announce-ink: #FFC93C;
  --head: "Fredoka", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --btn-radius: 999px;
  --wrap: 1220px;
  --gap: 20px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--brand); }
.btn { font-weight: 800; }
.btn-primary { box-shadow: 0 5px 0 #A9262A; }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #A9262A; }
.p-card { border-width: 2px; }
.p-body h3 { font-family: var(--head); font-weight: 600; font-size: 1.1rem; }

/* header */
.header { background: var(--bg); border-bottom: 2px solid var(--line); }
.header .wrap { gap: 18px; }
.logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; }
.logo b { font: 700 1.9rem var(--head); color: var(--ink); }
.logo small { font: 600 1rem var(--head); color: var(--blue); }
.nav a { font-weight: 800; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--yellow); border-radius: 999px; }
@media (max-width: 960px) { .h-tools { order: 2; margin-left: auto; } .nav-toggle { order: 3; margin-left: 0; } .header .logo { margin-right: 0; } }

/* hero */
.hero { padding-block: clamp(32px, 5vw, 72px); background: radial-gradient(circle at 10% 20%, #FFE3E3 0 12%, transparent 13%), radial-gradient(circle at 92% 80%, #DDEBFF 0 10%, transparent 11%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.04; margin: 14px 0 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-toys { position: relative; aspect-ratio: 1.1; }
.tt { position: absolute; width: 52%; border-radius: 32px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 16px 34px -18px rgba(29,27,58,.5); transition: transform .3s; }
.tt svg { width: 100%; height: auto; display: block; }
.tt-0 { left: 0; top: 0; transform: rotate(-6deg); } .tt-1 { right: 0; top: 12%; transform: rotate(5deg); } .tt-2 { left: 22%; bottom: 0; transform: rotate(-2deg); }
.tt:hover { transform: rotate(0) scale(1.04); z-index: 2; }
.age-tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .age-tiles { grid-template-columns: 1fr 1fr; } }
.age-tiles a { display: grid; gap: 4px; padding: 24px 18px; border-radius: var(--radius-lg); background: var(--c); color: var(--ink); text-decoration: none; transition: transform .2s; }
.age-tiles a:hover { transform: translateY(-4px) rotate(-1deg); }
.age-tiles b { font: 700 2.4rem/1 var(--head); }
.age-tiles li:nth-child(1) a, .age-tiles li:nth-child(3) a, .age-tiles li:nth-child(4) a { color: #fff; }

/* gift finder */
.gf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .gf { grid-template-columns: minmax(0, 1fr); } }
.gf-in { display: grid; gap: 22px; position: sticky; top: 96px; }
@media (max-width: 900px) { .gf-in { position: static; } }
.choice input { accent-color: var(--brand); }
.loves { display: flex; flex-wrap: wrap; gap: 8px; }
.loves label { position: relative; }
.loves input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.loves span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line-strong); background: var(--surface); font-weight: 800; }
.loves i { font-style: normal; font-size: 1.2rem; }
.loves input:checked + span { background: var(--yellow); border-color: var(--ink); }
.loves input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.gf-count { font: 600 1.3rem var(--head); margin-bottom: 12px; }
.gf-list { list-style: none; display: grid; gap: 12px; }
.gf-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: var(--radius-lg); background: var(--surface); border: 2px solid var(--line); }
.gf-list li:first-child { border-color: var(--ink); }
.gf-list svg { width: 110px; height: 110px; border-radius: var(--radius); }
.gf-list h3 { font-size: 1.15rem; }
.gf-list h3 a { text-decoration: none; }
.gf-why { color: var(--muted); font-size: .9rem; }
.gf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.gf-row b { font-size: 1.1rem; }
.gf-row .btn { min-height: 40px; padding: 6px 16px; font-size: .9rem; }
.gf-pick { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; margin-bottom: 4px; }

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

/* CTA + footer */
.cta-band { padding-block: clamp(48px, 7vw, 88px); text-align: center; background: var(--blue); color: #fff; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.cta-band p { margin: 10px auto 0; max-width: 50ch; color: #E6F0FF; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }
.cta-band .btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 #C9951A; }
.cta-band .btn-ghost { color: #fff; border-color: #fff; }
.footer { background: var(--ink); color: #C8C6DE; --footer-line: rgba(255,255,255,.14); padding-top: 0; }
.footer > .wrap { padding-top: 48px; }
.squiggle { height: 18px; background: radial-gradient(circle at 10px -4px, transparent 12px, var(--ink) 13px) 0 0 / 20px 18px, var(--bg); }
.footer .logo b { color: #fff; }
.footer .logo small { color: var(--yellow); }
.footer h2 { color: var(--yellow); }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #fff; }
