:root {
  --ink: #1F2A44;
  --ink-soft: #4A5570;
  --paper: #FFF9EE;
  --card: #FFFFFF;
  --line: #E9DFCB;
  --sun: #FFD166;
  --accent: #E4572E;
  --ok: #2F8F5B;
  --radius: 18px;
  --shadow: 0 2px 0 rgba(31,42,68,.08), 0 10px 30px -12px rgba(31,42,68,.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font: 17px/1.6 "Nunito", system-ui, sans-serif;
  background-image: radial-gradient(#EADFC7 1px, transparent 1px);
  background-size: 22px 22px;
}
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

#demo-banner { background: var(--ink); color: #fff; text-align: center; padding: 6px 12px; font-size: .9rem; }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 48px); background: rgba(255,249,238,.92); border-bottom: 2px solid var(--line);
  position: sticky; top: 0; z-index: 5; backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand strong { display: block; font-family: "Fredoka", "Nunito", sans-serif; font-size: 1.05rem; }
.brand small { display: block; color: var(--ink-soft); font-size: .85rem; margin-top: -3px; }
nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
nav a, nav button.linkish {
  text-decoration: none; padding: 7px 12px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  background: none; border: 0; cursor: pointer; color: var(--ink); font-family: inherit;
}
nav a:hover, nav button.linkish:hover { background: #F3E8D2; }
nav a.cta { background: var(--ink); color: #fff; }
nav a.cta:hover { background: #2E3B5C; }

main { max-width: 1080px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 40px) 64px; outline: none; }
.site-footer { text-align: center; color: var(--ink-soft); font-size: .9rem; padding: 24px 16px 40px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font: 700 1rem "Nunito", sans-serif; cursor: pointer; text-decoration: none;
  box-shadow: 0 3px 0 rgba(31,42,68,.25); transition: transform .08s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.small { padding: 7px 14px; font-size: .9rem; }
.btn.danger { background: #fff; color: #B3261E; border-color: #B3261E; box-shadow: none; }
.btn[disabled] { opacity: .55; cursor: wait; }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-bottom: 48px; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-art .dot { position: absolute; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 1rem "Fredoka", sans-serif; text-align: center; box-shadow: var(--shadow); border: 3px solid #fff; padding: 10px; }

.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 48px; padding: 0; list-style: none; counter-reset: s; }
.steps-3 li { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; counter-increment: s; }
.steps-3 li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); font: 600 1.1rem "Fredoka", sans-serif; margin-bottom: 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.exp-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; border: 2px solid transparent; transition: transform .12s, border-color .12s;
}
.exp-card:hover { transform: translateY(-3px); border-color: var(--c); }
.exp-card .band { background: var(--c); color: #fff; padding: 16px 18px; }
.exp-card .band small { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .9; font-size: .78rem; }
.exp-card .band h3 { margin: 4px 0 0; }
.exp-card .body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.exp-card .q { font-weight: 700; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.chip { font-size: .8rem; font-weight: 700; background: #F3E8D2; border-radius: 999px; padding: 3px 10px; }

.exp-head { background: var(--c); color: #fff; border-radius: var(--radius); padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow); }
.exp-head .kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .85rem; opacity: .9; }
.exp-head .q { font-size: 1.25rem; font-weight: 700; max-width: 720px; }
.exp-head .meta .chip { background: rgba(255,255,255,.22); color: #fff; }
.test-badge { display: inline-block; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: .85rem; margin-bottom: 10px; }

.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; align-items: start; }
.panel { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.panel h2 { font-size: 1.35rem; }
.panel ul { margin: 0; padding-left: 1.2em; }
.panel li { margin-bottom: 4px; }
ol.big-steps { list-style: none; counter-reset: st; padding: 0; margin: 0; }
ol.big-steps li { counter-increment: st; position: relative; padding: 0 0 16px 48px; }
ol.big-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font: 600 1rem "Fredoka", sans-serif; }
.safety { background: #FFF1E8; border-color: #F6C9AE; }
.callout { background: #FFF6D6; border: 2px dashed #E8C55A; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.download-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }

.narrow { max-width: 620px; margin: 0 auto; }
.form { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-size: .9rem; color: var(--ink-soft); margin: -2px 0 6px; }
input[type=text], input[type=email], input[type=password], select, textarea {
  width: 100%; padding: 11px 13px; border: 2px solid var(--line); border-radius: 12px; font: inherit; background: #FFFDF8; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-row label { border: 2px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-weight: 700; margin: 0; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row input:checked + span { color: #fff; }
.choice-row label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice-row label:has(input:focus-visible) { outline: 3px solid var(--sun); }
.stars { display: flex; gap: 4px; }
.stars button { background: none; border: 0; font-size: 2rem; cursor: pointer; color: #D9CDB5; padding: 0 2px; line-height: 1; }
.stars button.on { color: #F2A900; }
.error { background: #FDECEA; color: #8C1D18; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.reminder { background: #FFF1E8; border: 2px solid #F6C9AE; border-radius: 12px; padding: 10px 14px; font-weight: 700; margin: 4px 0 8px; }
.success { background: #E7F5EC; color: #1E5E3B; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

.kid-list { list-style: none; padding: 0; margin: 0 0 12px; }
.kid-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sub-item { border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; background: #FFFDF8; }
.sub-item header { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.status { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 9px; border-radius: 999px; background: #F3E8D2; }
.status.new { background: #FFE8A3; } .status.reviewed { background: #D6E9FF; } .status.used { background: #CFEEDB; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumbs img, .thumbs video { width: 150px; height: 110px; object-fit: cover; border-radius: 10px; background: #EEE; border: 1px solid var(--line); }
.file-list { font-size: .9rem; margin: 8px 0 0; padding-left: 1.2em; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--card); border-radius: 14px; padding: 14px; border-top: 6px solid var(--c, var(--ink)); box-shadow: var(--shadow); }
.stat b { display: block; font: 600 1.7rem "Fredoka", sans-serif; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar select { width: auto; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }

@media (max-width: 760px) {
  .hero, .two-col { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; margin: 0 auto; width: 100%; }
  .steps-3 { grid-template-columns: 1fr; }
  .site-header { position: static; }
}
@media print {
  .site-header, .site-footer, .download-row, #demo-banner { display: none; }
  body { background: #fff; }
}
