@font-face{font-family:Pixel;src:url('/assets/fonts/pixel.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Nunito;src:url('/assets/fonts/body.woff2') format('woff2');font-weight:400 900;font-display:swap}
:root{color-scheme:dark;--ground:#0f172a;--surface:#172239;--scene:#101b2d;--ink:#f8fafc;--muted:#c1cbd9;--accent:#facc15;--accent-hover:#fde047;--sand:#dcc896;--water:#2864dc;--fire:#ff5000;--radius:10px;--gutter:32px;--max:1440px;--pixel:Pixel,sans-serif;--body:Nunito,sans-serif;--ease:cubic-bezier(.16,1,.3,1);--section:144px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-width:none;scroll-padding-top:24px}::-webkit-scrollbar{display:none}body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--body);font-size:18px;line-height:1.55}a{color:inherit;text-decoration:none}button{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.45}a:focus-visible,button:focus-visible,iframe:focus-visible{outline:3px solid var(--accent);outline-offset:5px}img,video{display:block;max-width:100%;height:auto}figure,p,h1,h2,h3{margin:0}button,a{touch-action:manipulation}h1,h2,h3{font-weight:400;text-wrap:balance}h1,h2{font-family:var(--pixel);letter-spacing:-.055em}h1{font-size:clamp(32px,4.6vw,68px);line-height:1.34}h2{font-size:clamp(26px,3.2vw,46px);line-height:1.45}h3{font-size:28px;line-height:1.2;font-weight:800}.frame{width:min(100%,var(--max));margin-inline:auto;padding-inline:var(--gutter)}.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:114px}.wordmark{display:flex;align-items:center;gap:12px;color:var(--accent);font-family:var(--pixel);font-size:12px;line-height:1.65}.wordmark-second{display:block;color:var(--ink)}nav{display:flex;align-items:center;gap:32px;font-size:16px;font-weight:700}nav>a:not(.button):hover,.text-link:hover,.site-footer a:hover{color:var(--accent)}.button{display:inline-flex;justify-content:center;align-items:center;gap:28px;min-height:56px;padding:14px 24px;background:var(--accent);color:var(--ground);border-radius:var(--radius);font-size:18px;font-weight:900;line-height:1.3;white-space:nowrap;transition:transform .2s var(--ease),background .2s}.button.small{min-height:48px;font-size:16px;padding:12px 18px;gap:20px}.button:hover{background:var(--accent-hover);transform:translateY(-3px)}.button:active{transform:translateY(1px) scale(.98)}.button span{font-size:24px;line-height:1}.hero{padding-top:46px}.hero-copy{display:flex;align-items:flex-end;justify-content:space-between;gap:48px;padding-bottom:48px}.hero-aside{max-width:370px;padding-bottom:6px}.hero-aside>p{max-width:34ch}.hero-actions{display:flex;align-items:center;gap:22px;margin-top:24px}.hero-actions>span{font-size:14px;color:var(--muted);line-height:1.5}.playground{overflow:hidden;border-radius:var(--radius);background:var(--surface)}.demo-scene{position:relative;aspect-ratio:16/7;background:var(--ground)}.demo-scene>img{width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.demo-scene iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .5s var(--ease)}.demo-scene.ready iframe{opacity:1}.demo-fallback{position:absolute;bottom:16px;left:16px;background:var(--surface);padding:12px}.demo-fallback a{text-decoration:underline}.demo-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:18px 24px}.demo-toolbar>p{font-size:16px;font-weight:800}.demo-controls{display:flex;gap:6px;align-items:center}.material,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;background:transparent;color:var(--ink);border:0;border-radius:6px;padding:8px 12px;transition:transform .2s var(--ease),background .2s}.material{font-size:16px;font-weight:700}.material:hover,.icon-button:hover{background:var(--ground);transform:translateY(-2px)}.material[aria-pressed=true]{background:var(--ink);color:var(--ground)}.material:active,.icon-button:active{transform:scale(.96)}.icon-button{width:44px;padding:8px;font-size:20px}.swatch{width:12px;height:12px;display:block}.sand{background:var(--sand)}.water{background:var(--water)}.fire{background:var(--fire)}.demo-caption{font-size:14px;color:var(--muted)}.intro{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:64px;padding-top:var(--section);padding-bottom:var(--section)}.intro-description{max-width:580px;justify-self:end}.large-copy{font-size:30px;font-weight:800;line-height:1.4;max-width:30ch;margin-bottom:24px}.intro-description>p:not(.large-copy){max-width:49ch}.text-link{display:inline-flex;gap:24px;align-items:center;font-weight:800;margin-top:24px;min-height:44px;transition:transform .2s}.text-link:hover{transform:translateX(4px)}.watch-section{background:var(--scene);padding-block:80px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;padding-bottom:40px}.section-heading>p{max-width:39ch}.video-figure video{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);background:var(--ground)}figcaption{font-size:16px;padding-top:16px}.video-figure figcaption{color:var(--muted)}.worlds-heading{display:flex;justify-content:space-between;gap:32px;align-items:center;margin-top:72px;margin-bottom:24px}.worlds-heading>p{font-size:16px}.world-gallery{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}.world-image img{width:100%;aspect-ratio:16/9;object-fit:cover;image-rendering:pixelated;border-radius:var(--radius);transition:transform .4s var(--ease)}.world-image:hover img{transform:translateY(-4px)}.closing{display:flex;align-items:center;justify-content:space-between;gap:48px;padding-top:var(--section);padding-bottom:100px}.closing-action{min-width:300px}.closing-action .button{min-width:250px}.closing-action p{font-size:16px;color:var(--muted);margin-top:20px}.site-footer{display:flex;justify-content:space-between;gap:24px;font-size:14px;color:var(--muted);padding-bottom:32px}.site-footer a{min-height:44px;display:inline-flex;align-items:center}.skip-link{position:fixed;top:12px;left:12px;z-index:20;padding:12px 20px;background:var(--accent);color:var(--ground);transform:translateY(-200%)}.skip-link:focus{transform:translateY(0)}.mobile-play{display:none}
@media(min-width:1600px){.hero{padding-top:64px}}
@media(max-width:1100px){h1{font-size:clamp(32px,4.5vw,50px)}.hero-copy{gap:32px}.hero-aside{max-width:320px}.hero-actions{gap:16px}.hero-actions>span{font-size:13px}.demo-toolbar{gap:12px}.demo-caption{display:none}.intro{gap:40px}.intro h2{font-size:30px}.large-copy{font-size:26px}}
@media(max-width:800px){:root{--gutter:24px;--section:96px}.site-header{min-height:96px}nav{gap:24px}.hero{padding-top:40px}.hero-copy{display:block;padding-bottom:32px}h1{font-size:clamp(32px,6.5vw,52px);line-height:1.35}.hero-aside{max-width:none;display:flex;align-items:center;justify-content:space-between;gap:32px;margin-top:32px}.hero-aside>p{max-width:33ch}.hero-actions{margin:0;flex-shrink:0}.hero-actions>span{display:none}.demo-toolbar>p{display:none}.demo-toolbar{justify-content:center;padding:12px}.intro{grid-template-columns:1fr;gap:32px}.intro-description{justify-self:start;max-width:650px}.intro h2,h2{font-size:32px}.section-heading{display:block}.section-heading>p{margin-top:24px}.worlds-heading{align-items:flex-start;flex-direction:column;gap:12px}.world-gallery{gap:16px}.world-image figcaption{font-size:14px}.closing-action{min-width:230px}.closing-action .button{min-width:220px}.site-footer{align-items:flex-start}}
@media(max-width:540px){:root{--gutter:20px;--section:80px}.site-header{min-height:88px;gap:12px}.wordmark{font-size:9px;gap:8px}.wordmark svg{width:26px;height:26px}nav{gap:14px}.nav-discover,nav .button{display:none}nav .github-link{font-size:14px}.hero{padding-top:28px}h1{font-size:clamp(20px,6.65vw,36px);line-height:1.5;letter-spacing:-.055em}.hero-aside{display:block;margin-top:24px}.hero-aside>p{max-width:34ch;font-size:18px}.hero-actions{margin-top:24px}.hero-actions>span{display:block;font-size:13px}.hero-copy{padding-bottom:32px}.demo-scene{aspect-ratio:1.35;overflow:hidden}.demo-controls{gap:2px;width:100%;justify-content:center}.material{padding:8px;font-size:14px;gap:6px}.icon-button{width:40px;min-width:40px}.demo-toolbar{padding:10px 6px;gap:4px}.demo-caption{display:block;width:100%;text-align:center;font-size:14px}.intro h2,h2{font-size:clamp(22px,5.8vw,30px);line-height:1.5}.intro{gap:28px}.large-copy{font-size:24px;line-height:1.45}.intro-description>p:not(.large-copy){font-size:17px}.watch-section{padding-block:48px}.section-heading{padding-bottom:24px}.section-heading>p{font-size:17px;max-width:34ch}.section-heading>p br{display:none}.video-figure video{aspect-ratio:16/9}.video-figure figcaption{font-size:14px;padding-top:12px;max-width:31ch}.worlds-heading{margin-top:48px;margin-bottom:24px}h3{font-size:24px}.worlds-heading>p{max-width:29ch}.world-gallery{grid-template-columns:1fr;gap:28px}.world-image figcaption{font-size:16px;padding-top:10px}.closing{display:block;padding-bottom:64px}.closing-action{margin-top:28px}.closing-action p{font-size:16px}.site-footer{flex-direction:column;gap:4px;padding-bottom:32px}.site-footer p{max-width:30ch}.mobile-play{position:fixed;z-index:10;bottom:16px;bottom:max(16px,env(safe-area-inset-bottom));left:20px;right:20px;opacity:0;visibility:hidden;transform:translateY(24px);transition:opacity .2s,transform .2s var(--ease),visibility .2s}.mobile-play.visible{display:flex;visibility:visible;opacity:1;transform:translateY(0)}body.has-mobile-cta{padding-bottom:84px}}
@media(prefers-reduced-motion:no-preference){.reveal.animate{animation:arrive .65s var(--ease) both}.hero-copy h1.animate{animation:title-in .65s var(--ease) both}.hero-aside .reveal.animate:nth-child(2){animation-delay:.1s}@keyframes arrive{from{opacity:.4;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes title-in{from{opacity:.5;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.button:hover,.text-link:hover,.world-image:hover img,.material:hover,.icon-button:hover{transform:none}}
@media(max-width:380px){.demo-controls{gap:3px;width:100%;flex-wrap:wrap;justify-content:center}.material{padding:6px;font-size:12px;gap:4px}.icon-button{width:36px;min-width:36px}}

@media(max-width:380px){.demo-scene{aspect-ratio:1.15}}
