/* Carpet Commanders: brand yellow, army-man green, team blue and magenta, navy ink. No web fonts, no third parties. */
:root {
  --yellow: #ffd20d;
  --yellow-soft: #fff1a8;
  --green: #5cc036;
  --green-dark: #2e7d1c;
  --blue: #1f6fff;
  --magenta: #ff2db4;
  --ink: #161e3c;
  --paper: #fffdf5;
  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; text-align: center; margin: 0 0 1.2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 900; margin: 0.6rem 0 0.3rem; }
section { padding: 4rem 1.25rem; max-width: 1120px; margin: 0 auto; }
.band { max-width: none; background: var(--yellow-soft); }
.band > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.center { text-align: center; max-width: 40rem; margin: 0 auto 1.5rem; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 1.25rem; background: rgba(255, 210, 13, 0.95); border-bottom: 3px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.1rem; }
.brand img { border-radius: 10px; }
.top nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 800; }
.top nav a:hover { text-decoration: underline; }

/* Hero */
.hero { max-width: none; background:
  repeating-conic-gradient(from 0deg at 50% 45%, rgba(255,255,255,0.28) 0deg 12deg, transparent 12deg 30deg), var(--yellow);
  border-bottom: 4px solid var(--ink); text-align: center; padding-top: 2.5rem; }
.hero-text { max-width: 760px; margin: 0 auto; }
.logo { width: min(620px, 92%); margin: 0 auto; filter: drop-shadow(0 8px 0 rgba(22, 30, 60, 0.15)); }
.tagline { font-size: clamp(1.4rem, 3.6vw, 2.1rem); font-weight: 900; margin: 0.5rem 0 0.4rem; }
.lede { font-size: 1.15rem; max-width: 36rem; margin: 0 auto 1.6rem; }
.cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.badge { display: inline-block; padding: 0.85rem 1.4rem; border-radius: 999px; background: var(--green); color: #fff; font-weight: 900;
  border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--green-dark); }
.badge.ghost { background: #fff; color: var(--ink); box-shadow: 0 5px 0 rgba(22, 30, 60, 0.3); }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps li { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 1rem; counter-increment: step; position: relative; box-shadow: 0 6px 0 rgba(22, 30, 60, 0.12); }
.steps li::before { content: counter(step); position: absolute; top: -14px; left: -10px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--magenta); color: #fff; font-weight: 900; display: grid; place-items: center; border: 3px solid var(--ink); }
.steps li:nth-child(odd)::before { background: var(--blue); }
.steps p { margin: 0; }

/* Toy sets */
.cards { display: grid; gap: 1.2rem; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
figure { margin: 0; background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
figcaption { padding: 0.8rem 1rem 1rem; }
figcaption b { display: block; font-size: 1.15rem; }

/* Features */
.features { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.features > div { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 1.1rem; text-align: center; }
.features img { width: 84px; height: 84px; margin: 0 auto; object-fit: contain; }
.features p { margin: 0; }

/* Missions strip */
.strip { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.strip img { border-radius: 16px; border: 3px solid var(--ink); aspect-ratio: 3 / 2; object-fit: cover; }

/* Parents */
.parents-grid { display: grid; gap: 2rem; grid-template-columns: minmax(200px, 360px) 1fr; align-items: center; }
.parents h2 { text-align: left; }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.checks li { padding: 0.35rem 0 0.35rem 2rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0.3rem; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 900; font-size: 0.85rem; display: grid; place-items: center; }

/* Packs */
.pack { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 1.5rem; align-items: center; background: #fff;
  border: 3px solid var(--ink); border-radius: var(--radius); padding: 1.2rem; max-width: 820px; margin: 0 auto; }
.pack img { border-radius: 14px; }

/* FAQ */
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 0.9rem 1.1rem; margin: 0 auto 0.8rem; max-width: 820px; }
.faq summary { font-weight: 900; cursor: pointer; }
.faq p { margin: 0.6rem 0 0; }

/* Footer */
.foot { text-align: center; padding: 2.5rem 1.25rem 3rem; background: var(--ink); color: #fff; }
.foot img { margin: 0 auto 0.4rem; width: 240px; }
.foot a { color: var(--yellow); }
.foot .small { opacity: 0.7; font-size: 0.9rem; }

/* Privacy page */
.doc { max-width: 760px; }
.doc h1 { font-size: 2.2rem; font-weight: 900; }
.doc h2 { text-align: left; font-size: 1.4rem; margin-top: 2rem; }

@media (max-width: 700px) {
  .top nav { display: none; }
  .parents-grid, .pack { grid-template-columns: 1fr; }
  .parents h2 { text-align: center; }
  .mascot { max-width: 260px; margin: 0 auto; }
  section { padding: 3rem 1rem; }
}
