:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#171321;color:#faf4ea;--ink:#faf4ea;--muted:#c4b9d1;--purple:#9a76d0;--gold:#f4ce79;--surface:#241c33;--line:#4a3a5d;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 78% 11%,#53316d55,transparent 40%),#171321}button,input,textarea{font:inherit}button{border:1px solid #70568a;background:#372748;color:var(--ink);border-radius:11px;padding:12px 17px;cursor:pointer;font-weight:650;font-size:15px;line-height:1.2;transition:background .15s,transform .15s}button:hover{background:#513961;transform:translateY(-1px)}button:disabled{opacity:.5;cursor:not-allowed;transform:none}.primary{background:var(--gold);color:#2c1c33;border-color:var(--gold)}.primary:hover{background:#ffe3a1}.secondary{background:transparent}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:20px 0}.actions button{flex:0 1 auto}a{color:#e9c487}a:hover{color:#ffe8bb}button:focus-visible,a:focus-visible,canvas:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #e7bf73;outline-offset:4px}header{max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 32px;border-bottom:1px solid #3e2f50}.brand{font-size:15px;color:var(--ink);letter-spacing:.1em;text-decoration:none}.brand strong{font-weight:800}.brand-star{font-size:25px;color:var(--gold);margin-right:10px}.connection{font-size:14px;color:#ddcbe9;background:#30223d;border:1px solid #624a78;border-radius:30px;padding:8px 13px;white-space:nowrap}.connection.live{border-color:#89bfa8;color:#bdf3d5}.hero{max-width:1230px;margin:auto;display:grid;grid-template-columns:1fr 500px;align-items:center;gap:45px;padding:62px 32px 54px}.eyebrow{color:var(--gold);font-size:12px;font-weight:750;letter-spacing:.15em;margin:0 0 14px}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(40px,4.4vw,62px);font-weight:550;letter-spacing:-.035em;line-height:1.08;margin:0 0 22px}.hero h1 em{color:var(--gold);font-style:normal}.hero-copy>p:not(.eyebrow){font-size:18px;line-height:1.65;color:#d3c4de;max-width:520px}.hero-copy .hero-small{font-size:16px!important}.hero-note{font-size:14px;color:var(--muted)}.device-wrap{width:100%;padding:20px 0 0}.device{padding:12px 17px 11px;background:linear-gradient(140deg,#786344,#47343e 24%,#312438);border:3px solid #947751;border-radius:26px;box-shadow:0 25px 60px #0006,inset 0 0 0 4px #271c30}.device-label,.device-footer{display:flex;justify-content:space-between;gap:8px;font-size:12px;letter-spacing:.11em;color:#e2cd9b;padding:7px 5px 12px;font-weight:650}.device-footer{padding:13px 5px 3px;font-size:12px;color:#d1bccd}.device canvas{width:100%;height:auto;aspect-ratio:4/3;display:block;background:#211831;border:3px solid #15121b;border-radius:5px;touch-action:none;cursor:pointer;image-rendering:auto}.device-wrap>p{text-align:center;font-size:14px;color:var(--muted);margin:15px 0 0}.tabs{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;border-top:1px solid #483354;border-bottom:1px solid #483354;background:#21182c;position:sticky;top:0;z-index:10;padding:10px 20px}.tabs button{background:transparent;border-color:transparent;color:#d4bfdc;min-height:43px}.tabs button.active{background:#4a345b;color:#ffe1a1;border-color:#80628e}.panel{max-width:1230px;margin:auto;padding:45px 32px 60px}[hidden]{display:none!important}.section-heading{display:flex;gap:50px;align-items:end;justify-content:space-between;margin-bottom:28px}.section-heading h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:34px;line-height:1.15;margin:0}.section-heading>p{max-width:370px;color:var(--muted);font-size:16px;line-height:1.55;margin:0}.play-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:20px}.three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.two-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stack{display:grid;gap:18px}.card{background:linear-gradient(130deg,#2d223c,#231b30);border:1px solid var(--line);border-radius:19px;padding:25px;min-width:0}.card h3{font-size:20px;line-height:1.3;letter-spacing:-.015em;margin:0 0 14px}.card p{color:#cfc0d9;line-height:1.6;font-size:16px}.card-title{display:flex;gap:15px;flex-wrap:wrap;justify-content:space-between;align-items:center}.card-title h3{margin:0}.badge{display:inline-block;font-size:12px;font-weight:750;border:1px solid #73577f;color:#e9d0ad;border-radius:30px;padding:6px 9px;line-height:1.2}.drawing-card{padding-bottom:18px}#drawing-canvas{display:block;width:100%;height:auto;aspect-ratio:280/136;background:#f8f1e5;border:2px solid #bc995d;border-radius:9px;touch-action:none;cursor:crosshair}.drawing-card .actions{gap:8px}.drawing-card .actions button{padding:11px 12px;font-size:14px}.pointer-readout{display:flex;justify-content:space-between;gap:12px;color:#f3d79f;font-family:ui-monospace,SFMono-Regular,monospace;font-size:14px;flex-wrap:wrap}.small{font-size:14px!important;line-height:1.5!important;color:#baaac6!important}.button-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.button-grid button{font-size:14px;padding:11px 9px}label{display:block;font-size:15px;color:#dbcee3;line-height:1.5;margin-bottom:9px}input,textarea{display:block;width:100%;background:#181121;color:#faf4ea;border:1px solid #6c517f;border-radius:8px;padding:12px;margin:8px 0 14px;font-size:16px}textarea{resize:vertical}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#171020;border:1px solid #4b375d;padding:15px;border-radius:10px;color:#ebd69f;font-size:13px;line-height:1.55;min-height:60px}code{font-family:ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere;color:#eed59f}ol{padding-left:23px;color:#d6c8df;font-size:16px;line-height:1.7}ol li{margin:10px 0}.status{border-left:3px solid #d5b36f;padding:10px 12px;background:#3a2947;border-radius:5px}.callout{padding:21px 24px;border:1px solid #6b4d65;background:#392839;border-radius:15px;margin-top:25px;color:#e3cdd4;line-height:1.65;font-size:16px}.callout strong{color:#ffe0a0}.check{display:flex;gap:11px;align-items:start;background:#21182c;border:1px solid #594265;border-radius:10px;padding:15px;margin:20px 0}.check input{width:20px;min-width:20px;height:20px;margin:1px 0;accent-color:#d5ac65}.check span{font-size:14px}.missions .card{display:flex;flex-direction:column;align-items:flex-start}.missions .badge{margin-bottom:18px}.missions code{display:block;background:#181121;border-radius:8px;padding:11px 13px;width:100%;font-size:13px;margin-top:auto}.missions button{margin-top:17px}.missions label,.missions textarea{width:100%}.missions textarea{margin-bottom:0}.letter{display:grid;grid-template-columns:210px 1fr;gap:32px;align-items:center;margin:35px 0;background:linear-gradient(120deg,#3f2b50,#2b2137);border:1px solid #74576e;border-radius:23px;padding:30px}.letter img{width:100%;height:220px;object-fit:contain;filter:drop-shadow(0 12px 15px #0005)}.letter h2{font-family:Georgia,serif;font-size:30px;font-weight:500;margin:10px 0}.letter p{line-height:1.75;color:#d9c9e3}.letter strong{color:#f6d89c}details{border-top:1px solid #574264;padding:16px 0;color:#d5c6df;line-height:1.6}summary{cursor:pointer;color:#f5dfb6;font-size:16px;font-weight:600}details p{font-size:15px}#installer{margin:18px 0}#installer button{background:#f4ce79;color:#2c1c33;font-weight:750}.project-card{display:flex;flex-direction:column;align-items:start;gap:12px}.project-card h3{margin-bottom:0}.project-card p{margin:0}.project-card a{margin-top:auto;padding-top:15px}.project-card code{font-size:13px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#f3d392;color:#241729;border-radius:12px;box-shadow:0 5px 25px #0006;padding:14px 21px;max-width:min(90vw,600px);font-size:15px;z-index:50}footer{max-width:1230px;margin:auto;padding:25px 32px 35px;border-top:1px solid #47344f;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:13px;color:#baa5c6}.skip{position:absolute;top:-100px;left:15px;padding:12px;background:#f1d398;color:#22162d;z-index:100}.skip:focus{top:10px}@media(max-width:1000px){.hero{grid-template-columns:1fr 420px;gap:25px}.hero h1{font-size:44px}.three-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{gap:25px}.play-grid{grid-template-columns:1.25fr 1fr}}@media(max-width:800px){.hero{grid-template-columns:1fr;gap:25px;padding-top:35px}.device-wrap{max-width:520px;justify-self:center}.hero-copy{max-width:620px}.hero h1{font-size:50px}.play-grid,.two-grid{grid-template-columns:1fr}.section-heading{display:block}.section-heading>p{max-width:640px;margin-top:18px}.letter{grid-template-columns:150px 1fr;gap:20px;padding:22px}.letter img{height:170px}.tabs{justify-content:flex-start;overflow:auto;flex-wrap:nowrap}.tabs button{white-space:nowrap}.section-heading h2{font-size:31px}}@media(max-width:530px){header{padding:16px}.brand{font-size:12px;letter-spacing:.05em}.brand-star{margin-right:4px}.connection{font-size:12px;padding:7px 9px}.hero{padding:30px 20px}.hero h1{font-size:42px}.hero-copy>p:not(.eyebrow){font-size:17px}.panel{padding:30px 20px 45px}.card{padding:20px}.three-grid{grid-template-columns:1fr}.letter{grid-template-columns:1fr;text-align:center}.letter img{height:170px;max-width:200px;margin:auto}.device{padding:9px 10px}.device-label,.device-footer{font-size:10px}.tabs{padding-left:10px}.tabs button{padding:11px 13px;font-size:14px}.card-title .badge{margin-top:4px}.pointer-readout{font-size:13px}.actions{gap:8px}.section-heading h2{font-size:29px}footer{padding:25px 20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
