@import url("https://fonts.googleapis.com/css2?family=Marck+Script&family=Nunito:wght@400;600;800&display=swap");
:root {
  --night: #0f1e3d; --night2: #1b3366; --snow: #f6f9ff; --paper: #fffaf0; --ink: #1d2a44;
  --red: #c4162f; --red2: #e8394f; --gold: #f2c14e; --pine: #2e6b3f; --muted: #5f6b80; --r: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Nunito", system-ui, sans-serif; color: var(--ink); background: var(--night); line-height: 1.5; }
a { color: inherit; }
.sky { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% -10%, #3a5aa8 0%, var(--night2) 35%, var(--night) 75%); color: var(--snow); }
.snow { position: absolute; inset: 0; pointer-events: none; }
.snow i { position: absolute; top: -12px; color: #fff; opacity: .85; animation: fall linear infinite; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(360deg); } }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; position: relative; }
.script { font-family: "Marck Script", cursive; }
h1 { font: 800 clamp(30px, 5vw, 54px)/1.08 "Nunito"; margin: 0; letter-spacing: -.01em; }
h1 em { font: 400 1.15em "Marck Script", cursive; color: var(--gold); font-style: normal; }
h2 { font: 800 clamp(24px, 3.4vw, 34px)/1.15 "Nunito"; margin: 0 0 18px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #dbe5ff; max-width: 34em; }
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
  font: 800 18px "Nunito"; padding: 16px 26px; border-radius: 999px; background: var(--red); color: #fff;
  box-shadow: 0 6px 0 #8c0f22, 0 10px 30px rgba(196, 22, 47, .45); transition: transform .1s; }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #8c0f22; }
.btn.gold { background: var(--gold); color: #3b2a00; box-shadow: 0 6px 0 #b8892a, 0 10px 30px rgba(242, 193, 78, .35); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; padding: 64px 0 80px; }
.letter { background: var(--paper); color: var(--ink); border-radius: 6px; padding: 26px 26px 22px; position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform: rotate(-2.5deg);
  background-image: radial-gradient(circle at 90% 10%, rgba(196, 22, 47, .06), transparent 40%), linear-gradient(transparent 95%, rgba(46, 107, 63, .06) 95%);
  background-size: auto, 100% 30px; }
.letter .seal { position: absolute; right: -14px; bottom: -14px; width: 64px; height: 64px; border-radius: 50%; background: var(--red);
  color: #fff; display: grid; place-items: center; font: 28px "Marck Script"; box-shadow: 0 4px 0 #8c0f22; transform: rotate(12deg); }
.letter h3 { font: 30px "Marck Script", cursive; color: var(--red); margin: 0 0 8px; }
.verse { font-weight: 800; color: #183a6b; background: #eaf3ff; border: 2px dashed #8fb3e3; border-radius: 12px; padding: 12px 16px; white-space: pre-line; }
.section { background: var(--snow); padding: 72px 0; }
.section.alt { background: #eef3fb; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: 0 2px 0 #dfe6f3; }
.card .ico { font-size: 40px; }
.card h3 { margin: 6px 0; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.price { font: 800 32px "Nunito"; color: var(--red); }
.badge { display: inline-block; background: var(--gold); color: #3b2a00; font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 99px; }
.kid { background: linear-gradient(135deg, #2b4d92, #18305e); color: #fff; border-radius: 28px; padding: 28px; display: grid; gap: 14px; }
.kid .verse { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #fff; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { font-size: 34px; width: 74px; height: 74px; border-radius: 18px; border: 0; background: #fff; cursor: pointer; box-shadow: 0 4px 0 #b9c6e0; }
.opt.ok { background: #c9f1d5; } .opt.no { background: #ffd6dc; animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
details { background: #fff; border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 800; cursor: pointer; }
footer { color: #9fb0d4; padding: 30px 0 50px; font-size: 14px; }
.hold { position: relative; overflow: hidden; }
.hold .fill { position: absolute; inset: 0; width: 0; background: rgba(255, 255, 255, .28); transition: width linear; }
.gate-note { font-size: 13px; color: #aebbd8; margin-top: 8px; }
/* forms */
.panel { color: var(--ink); background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
label.f { display: grid; gap: 6px; font-weight: 700; margin-bottom: 16px; }
label.f small { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 2px solid #d8e0ee; width: 100%; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #6c9bd2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid #d8e0ee; border-radius: 14px; padding: 8px 12px; cursor: pointer; background: #fff; font: 600 15px "Nunito"; }
.chip[aria-pressed="true"] { border-color: var(--pine); background: #e3f4e8; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { flex: 1 1 120px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* play */
.play { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.stage { max-width: 640px; width: 100%; }
.big-speak { font-size: 18px; }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 320px; margin: 0 auto; }
.pad button { font: 800 30px "Nunito"; padding: 14px 0; border-radius: 18px; border: 0; background: #fff; box-shadow: 0 5px 0 #b9c6e0; cursor: pointer; }
.code { display: flex; gap: 10px; justify-content: center; margin: 14px 0; }
.code span { width: 58px; height: 70px; border-radius: 14px; background: rgba(255, 255, 255, .15); border: 2px solid rgba(255, 255, 255, .5); display: grid; place-items: center; font: 800 34px "Nunito"; color: #fff; }
.progress { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; }
.progress i { width: 26px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .25); }
.progress i.on { background: var(--gold); }
.letterbig { font-size: 64px; font-weight: 800; color: var(--gold); text-align: center; }
@media (max-width: 760px) { .hero, .grid3, .row2 { grid-template-columns: 1fr; } .letter { transform: none; } }
@media print { .noprint { display: none !important; } body { background: #fff; } }
