@font-face{font-family:DM Sans;src:url("/espanol/assets/dm-sans.woff2") format("woff2");font-weight:100 1000;font-display:swap}
:root{color-scheme:light;--plum:#241b42;--purple:#542c87;--ink:#25203d;--paper:#fff8e9;--warm:#fcda7e;--leaf:#126454;--quiet:#57506a;--edge:#dfd3bc;font-family:"DM Sans",system-ui,sans-serif;line-height:1.55}
*{box-sizing:border-box}
[hidden],html[data-offline-file] .web-only{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink)}
a{color:inherit;text-underline-offset:.2em}
button{font:inherit}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid #16836f;outline-offset:4px}
img{display:block;max-width:100%}
p,figure,h1,h2{margin:0}
h1,h2{text-wrap:balance;letter-spacing:-.052em;line-height:1.04}
h1{font-size:clamp(3rem,6.4vw,6rem);font-weight:850}
h1 em{font-family:Georgia,serif;display:block;color:#703780;font-weight:700}
h2{font-size:clamp(1.8rem,4vw,3.05rem);font-weight:850}
::selection{background:#f5ca5d;color:var(--ink)}
.shell{width:min(1100px,calc(100% - 3.4rem));margin-inline:auto}
.skip{position:absolute;top:1rem;left:1rem;z-index:3;transform:translateY(-180%);padding:.65rem 1rem;background:white;color:#241b42}
.skip:focus{transform:none}
.top{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:76px;border-bottom:1px solid var(--edge)}
.brand{display:flex;align-items:center;gap:.7rem;font-weight:900;font-size:1.12rem}
.brand img{border-radius:12px}
.top-link{font-weight:820;font-size:.93rem}
.hero{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:clamp(1.4rem,5vw,4rem);padding-block:clamp(2.35rem,6.3vw,5.5rem) clamp(2.6rem,5vw,4.2rem)}
.eyebrow{color:var(--purple);font-size:.76rem;font-weight:900;letter-spacing:.115em;text-transform:uppercase;margin-bottom:.55rem}
.hero-lead{color:var(--quiet);font-size:clamp(1rem,1.9vw,1.2rem);max-width:42ch;margin-block:1.25rem 1.35rem}
.hero-actions,.install-actions,.case-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:1px solid transparent;border-radius:100px;padding:.56rem 1.1rem;background:transparent;font-weight:900;text-align:center;line-height:1.16;text-decoration:none;cursor:pointer}
.button:hover:not([aria-disabled="true"]){filter:brightness(.96)}
.gold{background:#f9c94e;color:var(--plum);border-color:#e2af28}
.ink{background:var(--plum);color:white}
.quiet,.outline{border-color:#9a85b2;color:var(--plum);background:#fffaf0}
.age{margin-top:.76rem;color:var(--quiet);font-size:.88rem;font-weight:700}
.portrait{position:relative;width:100%;padding:13px;border-radius:25px;background:linear-gradient(135deg,#ffd17c,#f6bfc9 58%,#baa5eb);box-shadow:0 16px 28px #4a2e3522}
.portrait img{width:100%;height:auto;border-radius:16px}
.portrait-accent{position:absolute;display:grid;place-items:center;right:-9px;bottom:-10px;width:55px;height:55px;border:3px solid var(--paper);border-radius:50%;background:#fbd36a;color:#63357c;font-size:1.85rem;line-height:1}
.case{scroll-margin-top:1rem}
.case-frame{position:relative;border:1px solid #d8c9e8;background:linear-gradient(125deg,#f6ecff,#fffdf8 60%);border-radius:25px;padding:clamp(1rem,4vw,2.65rem);box-shadow:0 9px 22px #56347713}
.case-header p:last-child{color:var(--quiet);margin-top:.75rem;max-width:65ch}
.case-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:1.2rem 0 1rem;padding:0;list-style:none}
.case-progress li{padding:.45rem .6rem;border-radius:9px;border:1px solid #dbc9ed;background:#fbf7ff;color:var(--quiet);font-size:.82rem;font-weight:800}
.case-progress li[aria-current="step"]{color:white;background:#623c91;border-color:#623c91}
.case-progress li.is-complete{background:#dcf2e6;color:#15564c;border-color:#afcdbc}
.board{margin-top:1rem}
.board:empty,.case-status:empty{display:none}
.case-status{margin-top:1rem;color:var(--leaf);font-weight:820}
.case-actions{margin-top:1.14rem;gap:.68rem}
.hint{margin-top:.65rem;max-width:60ch;border-left:3px solid #a47bc6;padding:.55rem .75rem;background:#f5ebff;color:#4b315a}
.pick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.choice{min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;padding:.62rem .55rem;border:1px solid #d3bfdc;border-radius:13px;background:#fffdf8;color:var(--ink);box-shadow:0 2px #dfd3eb;font-weight:850;font-size:.95rem;line-height:1.3;text-align:center;cursor:pointer}
.choice:nth-child(3n+1){background:#ffefd9;border-color:#e8cc9d;box-shadow:0 2px #efdaa9}
.choice:nth-child(3n+2){background:#e7f3ff;border-color:#b7d1eb;box-shadow:0 2px #c2d9ec}
.choice:hover:not([aria-disabled="true"]){filter:brightness(.96)}
.choice[aria-disabled="true"]{cursor:default}
.choice.hit{background:#dff4e8;border-color:#a2c8b5;box-shadow:0 2px #b0d5c4}
.choice.miss{background:#f5f0e9;border-color:#d7ccbd;box-shadow:none}
.choice .emoji,.token{font-size:clamp(1.3rem,4vw,2rem);line-height:1}
.choice small{display:block;color:var(--quiet);font-size:.74rem;font-weight:740}
.code-panel{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.6rem;padding:.8rem 1rem;margin-bottom:.85rem;background:#fffaf1;border:1px solid #eed6a1;border-radius:13px}
.code-panel p{font-size:.82rem;font-weight:900;margin-bottom:.35rem}
.tokens{display:flex;gap:.35rem}
.token{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d7c6e6;background:#f9f2ff;border-radius:8px}
.token.empty{border-style:dashed;color:#6d5b85}
.symbols{grid-template-columns:repeat(5,minmax(0,1fr))}
.symbols .choice{min-height:68px}
.clue-note{margin-bottom:.85rem;padding:.75rem .9rem;background:#fff2cb;color:#47311e;border:1px solid #ead38f;border-radius:10px;font-weight:750}
.case-badge{display:flex;align-items:center;gap:.8rem;width:fit-content;padding:.9rem 1rem;border-radius:16px;background:#fde9a4;border:1px solid #e6c766;color:#45264e;font-weight:900}
.case-badge .emoji{font-size:1.9rem;line-height:1}
.get-app{padding-block:clamp(2.4rem,6vw,4.6rem)}
.install-card{display:grid;grid-template-columns:1.35fr 1fr;gap:1rem 2.6rem;background:#fffdf6;border:1px solid #e4d7bc;border-radius:20px;padding:clamp(1rem,4vw,2rem)}
.install-card h2{font-size:clamp(1.6rem,3.2vw,2.55rem)}
.install-card p{margin-top:.65rem;color:var(--quiet)}
.install-actions{margin-top:.85rem}
.install-note{font-size:.83rem}
.install-card details{border-left:1px solid #e3d6ba;padding-left:1.1rem;align-self:center}
.install-card summary{font-weight:850;cursor:pointer}
.foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.6rem;border-top:1px solid var(--edge);padding-block:1rem;color:var(--quiet);font-size:.84rem}
@media(max-width:720px){.shell{width:calc(100% - 2rem)}.hero,.install-card{grid-template-columns:1fr}.portrait{width:min(100%,470px);justify-self:center}.install-card details{border-left:0;border-top:1px solid #e3d6ba;padding-left:0;padding-top:.75rem}}
@media(max-width:410px){.case-progress li{font-size:.73rem;padding:.35rem .32rem}.pick-grid{gap:.38rem}.choice{padding:.5rem .25rem;font-size:.8rem}.symbols .choice{font-size:.75rem}.token{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
