@font-face{font-family:Fredoka;src:url('/fonts/Fredoka.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:Nunito;src:url('/fonts/NunitoSans.woff2') format('woff2');font-weight:200 1000;font-display:swap}
:root{--ink:#071746;--orange:#ff581e;--muted:#53617c;--bedrock:#12171e;--display:Fredoka,ui-rounded,sans-serif;--body:Nunito,system-ui,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:auto;scroll-padding-top:28px}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.5}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-underline-offset:4px}
a:hover{text-decoration-thickness:2px}
button{font:inherit}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #0877ed;outline-offset:6px}
img{display:block;max-width:100%;height:auto}
svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:600}
h1{font-size:clamp(60px,6.7vw,84px);line-height:1.01;letter-spacing:-2.8px}
h2{font-size:39px;line-height:1.14;letter-spacing:-.7px}
h3{font-size:19px;line-height:1.3}

/* The canvas moves with the document, then pins for the camera turn. */
.world-rail{position:absolute;inset:0 0 auto;pointer-events:none;z-index:0}
#wall-canvas{position:sticky;display:block;width:100%;max-width:none;visibility:hidden;pointer-events:none}
.walls-ready #wall-canvas{visibility:visible}
.viewport-measure{position:absolute;width:0;height:100svh;visibility:hidden;pointer-events:none}
.wall-fallback{position:absolute;inset:0 0 auto;height:2000px;pointer-events:none;background:url('/assets/wall-desktop-left.webp') left top/160px auto no-repeat,url('/assets/wall-desktop-right.webp') right top/160px auto no-repeat}
.walls-ready .wall-fallback{display:none}
main,footer{position:relative;z-index:1}
.skip-link{position:fixed;top:12px;left:16px;padding:10px 16px;background:#fff;border-radius:8px;transform:translateY(-160%);z-index:20}
.skip-link:focus{transform:translateY(0)}

.landing{position:relative;z-index:2;width:calc(100% - 2 * clamp(145px,12vw,200px));max-width:1030px;margin:0 auto;padding:0 0 46px;text-align:center}
.masthead{padding:37px 0 12px;display:flex;flex-direction:column;align-items:center;gap:4px}
.brand{display:block;width:205px}
.brand img{width:100%;height:73px;object-fit:contain}
.github-top{font-size:13px;font-weight:800;text-decoration:none;display:inline-flex;gap:4px;align-items:center}
.hero{padding:24px 0 25px}
.intro{font-size:22px;color:var(--muted);line-height:1.4;margin:20px auto 29px;max-width:600px;font-weight:550}
.install{display:flex;flex-direction:column;align-items:center;gap:12px}
.install-button{background:var(--orange);color:#fff;border:0;border-radius:15px;padding:18px 24px;display:flex;align-items:center;justify-content:center;gap:22px;cursor:pointer;box-shadow:inset 0 -3px 0 #da3e1238;transition:background .18s,transform .18s;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:800;font-size:15px;max-width:100%}
.install-button:hover{background:#ed4715;transform:translateY(-2px)}
.install-button:active{transform:translateY(0)}
.install-button svg{width:23px;height:23px;flex-shrink:0}
.install-hint{font-size:13px;color:var(--muted)}
.prompt-fallback{font-size:13px;margin:12px auto 0;max-width:510px}
.prompt-fallback summary{cursor:pointer;display:inline-block;color:var(--muted);text-decoration:underline}
.prompt-fallback p{text-align:left;overflow-wrap:anywhere;background:#f0f6fc;border-radius:10px;padding:15px;margin-top:10px;user-select:all;font-family:ui-monospace,monospace}

.getting-started{padding:20px 0 42px}
.steps{list-style:none;padding:0;margin:32px auto 0;display:grid;grid-template-columns:repeat(3,1fr);max-width:900px}
.steps li{display:flex;flex-direction:column;align-items:center;padding:0 15px 4px;position:relative}
.steps li+li{border-left:1px solid #e9edf2}
.step-number{width:44px;height:44px;background:#e6f5ff;color:#0078ef;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-weight:600;font-size:18px}
.steps svg{width:30px;height:30px;margin:19px 0 14px}
.outputs{padding:0 0 15px}
.output-objects{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:end;margin:24px 0 0}
.output-objects figure{margin:0}
.output-objects img{width:100%;height:clamp(190px,23vw,290px);object-fit:contain;object-position:center bottom;transition:transform .4s}
.output-objects figure:hover img{transform:translateY(-5px)}
.output-objects figure:nth-child(n+2) img{filter:drop-shadow(0 5px 5px #13274725)}
figcaption{font-family:var(--display);font-size:20px;font-weight:550;margin-top:2px}

.journey{height:370svh;position:relative}
.stage{height:100svh;width:100%;position:sticky;top:0;background:transparent;overflow:hidden}
.scene-fallback{width:100%;height:100%;object-fit:cover;object-position:center bottom;position:absolute;inset:0}
.scene-ready .scene-fallback{visibility:hidden}
.scene-ready .stage{pointer-events:none}
.skip-animation{position:absolute;right:30px;top:20px;font-size:12px;color:#546276;text-decoration:none;padding:7px 11px;background:#ffffffd9;border-radius:20px;z-index:2;pointer-events:auto}
.skip-animation:hover{color:var(--ink)}
.sediment{height:430px;background:linear-gradient(#774020,#4b3430 35%,#20282c 65%,var(--bedrock));position:relative;z-index:-1}
.walls-ready .sediment{background:transparent}
footer{padding:45px 24px 43px;background:var(--bedrock);color:#fff;text-align:center}
.footer-brand{font-family:var(--display);font-size:40px;line-height:1;text-decoration:none;font-weight:600}
footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:28px;margin:24px 0 17px;font-size:14px;font-weight:650}
footer nav a,footer p a{text-decoration:none}
footer p{font-size:12px;color:#aeb5be}
.no-scene .journey,.reduced-motion .journey{height:80svh}
.no-scene .stage,.reduced-motion .stage{height:80svh;position:relative}
.no-scene .skip-animation,.reduced-motion .skip-animation,.no-scene .world-rail,.reduced-motion .world-rail{display:none}
.reduced-motion .scene-fallback{visibility:visible}
.reduced-motion .wall-fallback{display:block}
.reduced-motion .sediment{background:linear-gradient(#774020,#4b3430 35%,#20282c 65%,var(--bedrock))}

.legal-page{max-width:740px;margin:auto;padding:55px 26px 85px}
.legal-page .back{display:inline-block;margin-bottom:40px;color:var(--muted);font-size:14px}
.legal-page h1{font-size:48px;letter-spacing:-1px;margin-bottom:35px}
.legal-page section{margin:30px 0}
.legal-page h2{font-size:23px;margin-bottom:10px}
.legal-page p{margin:12px 0}
.legal-page ul{padding-left:22px}
.legal-page .legal-meta{font-size:13px;color:var(--muted)}

@media(min-width:1600px){.hero{padding-top:35px}.outputs{padding-bottom:35px}}
@media(max-width:760px){
  .wall-fallback{background-image:url('/assets/wall-mobile-left.webp'),url('/assets/wall-mobile-right.webp');background-size:60px auto}
  .landing{width:calc(100% - 120px);padding:0 0 34px}
  .masthead{padding-top:20px;gap:0}
  .brand{width:150px}.brand img{height:60px}.github-top{font-size:12px}
  .hero{padding:20px 0 22px}
  h1{font-size:clamp(35px,9.4vw,65px);letter-spacing:-1.2px;line-height:1.04}
  h2{font-size:31px}
  .intro{font-size:16px;line-height:1.45;margin:20px auto 24px}
  .desktop-break{display:none}
  .install{gap:8px}
  .install-button{font-size:10px;padding:16px 11px;gap:8px;border-radius:12px}
  .install-button svg{width:20px;height:20px}.install-hint{font-size:10px}
  .prompt-fallback{font-size:11px;margin-top:8px}
  .getting-started{padding:10px 0 32px}
  .steps{display:flex;flex-direction:column;margin-top:22px}
  .steps li{display:grid;grid-template-columns:32px 24px 1fr;column-gap:10px;padding:15px 0;text-align:left}
  .steps li+li{border-left:0;border-top:1px solid #e9edf2}
  .step-number{width:32px;height:32px;font-size:16px}
  .steps svg{width:24px;height:24px;margin:0}.steps h3{font-size:15px}
  .output-objects{grid-template-columns:1fr;gap:30px;max-width:310px;margin:19px auto 0}
  .output-objects img{height:auto;max-height:270px;object-position:center}
  figcaption{font-size:19px;margin-top:8px}
  .journey{height:330svh}.skip-animation{right:14px;top:14px;font-size:11px}
  .sediment{height:340px}footer nav{gap:19px}footer{padding:34px 20px}
}
@media(max-width:360px){
  .landing{width:calc(100% - 108px)}
  .install-button{font-size:9px;padding-inline:9px}.intro{font-size:15px}h2{font-size:28px}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important}
  .journey{height:80svh}.stage{position:relative;height:80svh}.skip-animation{display:none}
}
