:root {
  --ink: #212348;
  --blue: #353fb3;
  --orange: #e85a38;
  --sun: #ffce50;
  --paper: #fffbef;
  --lilac: #e4d8ff;
  --body: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 20px }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.53 var(--body) }
a, button, summary, select { color: inherit; outline-offset: 5px }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #e34f1d }
button, select { font: inherit }
a, button, summary, label:has(input) { touch-action: manipulation }
button, summary { cursor: pointer }
[hidden] { display: none !important }
.wrap { width: min(1190px, calc(100% - 88px)); margin-inline: auto }
header { background: var(--paper); border-bottom: 2px solid var(--ink) }
.head, .foot { display: flex; align-items: center; gap: 22px }
.head { min-height: 73px }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 900 26px/1 var(--display); letter-spacing: -.075em; white-space: nowrap }
.mark { display: inline-grid; place-items: center; width: 35px; height: 34px; color: var(--ink); font-size: 24px; background: var(--sun); border: 2px solid var(--ink); border-radius: 9px 5px 9px 4px; box-shadow: 2px 2px var(--ink); transform: rotate(-9deg) }
.head nav { margin-left: auto }
.head nav a, .textlink { color: inherit; font: 800 16px/1.4 var(--body); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; padding: 5px 0 }
.textlink { background: transparent; border: 0 }
.locale select { width: auto; font-size: 15px; padding-block: 4px; min-height: 35px; border-radius: 30px }
.hero { position: relative; overflow: hidden; background: #fff3cc; background-image: radial-gradient(#e9d8a866 .8px, transparent .8px); background-size: 7px 7px }
.hero-inner { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(30px,5vw,70px); padding-block: clamp(36px,4vw,70px) }
.herocopy { position: relative; z-index: 1 }
.eyebrow { font-weight: 900; font-size: 13px; letter-spacing: .14em; line-height: 1.4; margin: 0 0 14px }
.hero .eyebrow { color: #4140a1 }
h1, h2, h3, .price { font-family: var(--display) }
h1, h2 { font-weight: 1000; letter-spacing: -.075em }
h1 { margin: 0 0 24px; font-size: clamp(58px,6.6vw,99px); line-height: .96; max-width: 10.1em }
h1 em { display: block; font-style: normal; color: #b73757; width: fit-content; position: relative; transform: rotate(-2deg); transform-origin: left center; margin-top: .03em }
h1 em::after { content: ''; display: block; position: absolute; z-index: -1; height: .16em; background: #ffca41; bottom: -.045em; left: 2%; right: -3%; border-radius: 65% 23% 60% 19% }
.deck { max-width: 32em; margin: 0 0 26px; font-size: clamp(17px,1.35vw,20px); line-height: 1.5 }
.buttons, .actions, .answers { display: flex; flex-wrap: wrap; gap: 14px; align-items: center }
.primary, .secondary, .answers button { display: inline-flex; justify-content: center; align-items: center; padding: 12px 21px; min-height: 46px; border: 2px solid var(--ink); border-radius: 14px 16px 13px 10px; box-shadow: 3px 4px 0 var(--ink); text-decoration: none; font: 850 16px/1.35 var(--body); transition: transform .15s,box-shadow .15s }
.primary { color: #fff; background: var(--blue) }
.secondary, .answers button { background: var(--paper); color: var(--ink) }
.primary:enabled:hover, a.primary:hover, .secondary:hover, .answers button:hover { transform: translate(-1px,-2px); box-shadow: 4px 6px var(--ink) }
.primary:disabled { opacity: .58; cursor: default }
.hero figure { position: relative; margin: 0; border: 3px solid var(--ink); background: var(--lilac); padding: 6px; border-radius: 27px 48px 25px 57px; box-shadow: 7px 8px 0 #34317e; transform: rotate(1.3deg) }
.hero figure::after { content: ''; position: absolute; inset: -10px auto auto 7%; width: 63px; height: 19px; background: #facb4cde; transform: rotate(-13deg); clip-path: polygon(3% 0,100% 0,97% 21%,100% 41%,96% 62%,100% 100%,0 100%,3% 77%,0 55%,4% 32%) }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px 37px 17px 47px }
.playdesk { position: relative; background: #3442a7; color: #fffbed; padding: 38px 0 40px; isolation: isolate; overflow: hidden; border-block: 2px solid var(--ink) }
.playdesk::before, .playdesk::after { content: ''; position: absolute; pointer-events: none; z-index: -1; width: 220px; height: 176px; border: 3px dashed #9297ef; opacity: .48; border-radius: 50%; transform: rotate(-28deg) }
.playdesk::before { top: 16%; left: -152px }
.playdesk::after { right: -128px; bottom: -96px }
.desk-heading { text-align: center }
h2 { font-size: clamp(38px,4.6vw,67px); line-height: 1.02; margin: 0 0 12px }
.desk-heading .eyebrow { color: #ffe083; margin-bottom: 7px }
.desk-heading>p:last-child { margin: 0 }
.letters { margin: 24px auto 0; max-width: 650px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,4vw,48px) }
.letter-choice { color: inherit; border: 0; padding: 6px 6px 3px; background: transparent; display: grid; gap: 10px; justify-items: center; width: 100%; font-size: 16px; border-radius: 12px }
.letter-choice b { font-weight: 800 }
.envelope { position: relative; display: grid; place-items: center; isolation: isolate; width: 100%; max-width: 150px; aspect-ratio: 1.6; border: 2px solid var(--ink); background: var(--face); border-radius: 4px 7px 6px 9px; box-shadow: 3px 5px 0 #191e55; transform: rotate(var(--angle)); transition: transform .2s ease, box-shadow .2s }
.envelope::before,.envelope::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 70%; clip-path: polygon(0 0,100% 0,50% 100%); background: #4a3e65; z-index: -1 }
.envelope::after { top: -1px; height: calc(70% - 2px); background: var(--flap) }
.letter-star { --face: #ffd35a; --flap: #ffe59d; --angle: -7deg }
.letter-moon { --face: #f399a5; --flap: #ffc0c9; --angle: 4deg }
.letter-bolt { --face: #87cfc3; --flap: #b5ebd7; --angle: -3deg }
.seal { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; font: 800 23px/1 var(--display); background: var(--paper); color: #30325e; border: 2px solid var(--ink); transform: translateY(3px) }
.letter-choice:hover .envelope,.letter-choice:focus-visible .envelope,.letter-choice[aria-expanded=true] .envelope { transform: translateY(-5px) rotate(0); box-shadow: 4px 8px #191e55 }
.letter-choice[aria-expanded=true] b { color: #ffdc72; text-decoration: underline; text-underline-offset: 4px }
.puzzle { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); margin: 24px auto 0; padding: 20px clamp(15px,4vw,34px); max-width: 640px; border-radius: 18px 24px 14px 23px; box-shadow: 5px 6px #1a2061 }
.puzzle h3 { margin: 0; font-size: 21px }
#letter-question { font-size: 21px; line-height: 1.4; margin: 8px 0 14px }
.answers { gap: 10px }
.answers button { border-radius: 24px; font-size: 15px; min-height: 40px; padding: 8px 15px; box-shadow: 2px 2px var(--ink) }
.answers button[aria-pressed=true] { background: #b8e3cc }
.letter-feedback { color: #323168; margin-bottom: 0; font-weight: 700 }
.letter-feedback:empty { display: none }
.strip { background: #f9f1fb; border-bottom: 2px solid var(--ink) }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-block: 30px }
.step { display: flex; align-items: center; gap: 14px }
.step img { height: 72px; width: 72px; object-fit: contain; flex: 0 0 auto }
.step b { font: 900 20px/1.23 var(--display); letter-spacing: -.05em }
.step p { margin: 5px 0 0; font-size: 15px; line-height: 1.4 }
.builder { background-color: #fff8e9; padding: 58px 0 65px }
.builder .eyebrow { color: #7d3252 }
.buildgrid { display: grid; grid-template-columns: 1.3fr .85fr; gap: clamp(25px,6vw,80px); margin-top: 24px }
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 17px }
.fields label,.fields legend { display: block; font-size: 16px; font-weight: 800; margin-bottom: 15px }
select { display: block; width: 100%; padding: 8px 30px 8px 12px; min-height: 43px; color: var(--ink); border: 1.5px solid #69677e; background-color: #fffdf5; border-radius: 10px; appearance: none; background-image: linear-gradient(45deg,transparent 50%,#494773 50%),linear-gradient(135deg,#494773 50%,transparent 50%); background-size: 5px 5px; background-position: calc(100% - 15px) center,calc(100% - 10px) center; background-repeat: no-repeat }
.fields select { margin-top: 5px; font-weight: 500 }
.fields fieldset { border: 0; padding: 0; margin: 0 0 18px }
.fields legend { margin-bottom: 6px }
.chips { display: flex; flex-wrap: wrap; gap: 7px }
.chips label { position: relative; margin: 0; font-size: 15px; font-weight: 600; cursor: pointer }
.chips input { position: absolute; opacity: 0 }
.chips span { display: block; padding: 7px 13px; border-radius: 30px; border: 1.5px solid #77728c; background: white }
.chips :checked+span { color: #2b2664; border-color: #4d4288; background: var(--lilac) }
.chips :checked+span::before { content: '✓ '; font-weight: 900 }
.chips input:focus-visible+span { outline: 3px solid #ac3d29; outline-offset: 2px }
.builder aside { position: relative; align-self: start; padding: 24px 27px; background: #ffda7c; border: 2px solid var(--ink); border-radius: 22px 10px 24px 12px; box-shadow: 5px 6px var(--ink) }
.builder aside p { margin: 5px 0 }
.builder aside .eyebrow { margin-bottom: 10px; color: var(--ink) }
.price { display: block; font-weight: 950; font-size: 39px; line-height: 1.05; letter-spacing: -.065em }
.builder aside ul { padding: 14px 0 14px 20px; margin-block: 14px; border-block: 2px dashed #b78a58 }
.builder aside button { margin: 11px 0 0; width: 100% }
.selected,.notice,.feedback { display: block; font-size: 15px }
.feedback { color: #7a272d }
.consent { font-size: 14px }
.foot { padding-block: 27px; justify-content: space-between; align-items: flex-start }
footer { border-top: 2px solid var(--ink); background: #f1eafb }
.foot details { font-size: 15px; max-width: 550px }
.foot summary { text-decoration: underline; text-underline-offset: 4px }
.result { padding-block: 45px }
.guide { background: #e6edfe; padding: 16px 24px; border-radius: 15px }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 }
.card { border: 2px dashed #72639c; padding: 17px 22px; background: #f1e9ff; border-radius: 12px; break-inside: avoid }
.card:nth-child(3n+2) { background: #fff1b9 }
.card:nth-child(3n) { background: #d7eee3 }
.card small,.screen small { font-weight: 850; letter-spacing: .08em }
.card p { font: 700 22px/1.4 var(--body) }
.actions p { flex-basis: 100% }
.screen { color: var(--ink); background: #ffde83; padding: 32px; border: 2px solid var(--ink); border-radius: 25px 17px 32px 12px; text-align: center }
.screen p { font: 900 clamp(24px,3vw,39px)/1.22 var(--display); letter-spacing: -.035em }
.screen button { margin: 6px }
@media(max-width:850px) {
  .wrap { width: calc(100% - 44px) }
  .hero-inner { gap: 27px }
  .steps { gap: 15px }
  .step { display: block }
  .step img { width: 62px; height: 62px }
  .buildgrid { gap: 25px }
}
@media(max-width:640px) {
  .wrap { width: calc(100% - 38px) }
  .head { min-height: 57px; gap: 8px }
  .head nav { display: none }
  .head .brand { margin-right: auto }
  .brand { font-size: 21px }
  .mark { width: 29px; height: 28px; font-size: 20px }
  .hero-inner,.buildgrid,.steps,.cards { grid-template-columns: 1fr }
  .hero-inner { padding-block: 27px 30px; gap: 23px }
  h1 { font-size: clamp(49px,12.5vw,75px); margin-bottom: 15px; max-width: 11em }
  .deck { margin-bottom: 16px; line-height: 1.43 }
  .hero .eyebrow { margin-bottom: 8px }
  .hero figure { width: 97%; justify-self: center; transform: rotate(.6deg); padding: 3px; border-radius: 15px 32px 14px 29px }
  .hero figure img { max-height: 310px; border-radius: 10px 26px 10px 23px }
  .playdesk { padding-block: 27px }
  .letters { gap: 8px; margin-top: 17px }
  .letter-choice { padding-inline: 3px; font-size: 14px }
  .seal { width: 29px; height: 29px; font-size: 18px }
  .steps { padding-block: 20px }
  .step { display: flex; gap: 13px }
  .step img { width: 50px; height: 50px }
  .builder { padding-block: 34px }
  .buildgrid { gap: 10px }
  .inputs { gap: 10px }
  .foot { flex-wrap: wrap }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto } * { transition:none!important; animation:none!important; scroll-behavior:auto!important } }
@media print {
  body { background: white; color: black }
  body:has(.result:not([hidden])) header,body:has(.result:not([hidden])) footer,body:has(.result:not([hidden])) main>section:not(.result),.actions,.screen { display:none!important }
  .result { width:100%; padding:0 }
  .pack { display:block!important }
  .guide { break-after:page; background:white }
  .cards { display:block }
  .card { color:#111; background:white!important; margin:5mm 0; padding:5mm }
  .card p { font-size:17pt }
}
