@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{scrollbar-gutter:stable;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}

/* A viewport-sized scene keeps the vanishing point fixed while the page scrolls. */
.world-rail{position:fixed;inset:0;pointer-events:none;z-index:0}
#wall-canvas{display:block;width:100%;height:100%;max-width:none;visibility:hidden;pointer-events:none}
.walls-ready #wall-canvas{visibility:visible}
.mobile-world body{position:relative}
.mobile-world-clip{position:absolute;inset:0;overflow:clip;pointer-events:none;z-index:0}
.mobile-world .world-rail{position:absolute;inset:auto 0 auto;overflow:visible}
.mobile-world #wall-canvas{position:absolute;max-width:none}
.mobile-world #wall-canvas.scroll-pinned{animation:pin-surface linear both;animation-timeline:scroll(root block)}
@keyframes pin-surface{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,var(--pin-distance),0)}}
.mobile-world.scene-ready .stage{position:relative;height:1px;overflow:visible}
.viewport-measure{position:absolute;width:0;height:100svh;visibility:hidden;pointer-events:none}
.viewport-large-measure{height:100lvh}
.wall-fallback{position:fixed;inset:0;height:100%;pointer-events:none;background:url('/assets/wall-desktop-left.webp') left top/240px 100% no-repeat,url('/assets/wall-desktop-right.webp') right top/240px 100% 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(200px,17vw,260px));max-width:1030px;margin:0 auto;padding:0 0 46px;text-align:center}
.masthead{padding:37px 0 12px;padding-top:max(37px,env(safe-area-inset-top));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:40px 0 64px}
.agent-fit{font-size:15px;color:var(--muted);margin:14px auto 0;line-height:1.5}
.agent-fit strong{font-weight:750}
.agent-fit a{font-weight:750}
.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 22px 4px;gap:17px;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 li:nth-child(2) .step-number{background:#fff0e5;color:#d94315}
.steps li:nth-child(3) .step-number{background:#eaf6e5;color:#318d28}
.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}
.output-objects figure:nth-child(n+2) img{filter:drop-shadow(0 5px 5px #13274725)}
figcaption,.output-caption{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{border:0;cursor:pointer;font-family:var(--body);position:absolute;right:max(30px,env(safe-area-inset-right));top:max(20px,env(safe-area-inset-top));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;padding-bottom:max(43px,env(safe-area-inset-bottom));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}
footer .build-credit{color:#e0e5ed;margin:0 auto 7px}
footer .challenge-credit{margin:0 auto 18px;max-width:360px}
.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:min(80px,20.5128vw) 100%}
  .landing{width:calc(100% - 2 * clamp(70px,21vw,88px));padding:0 0 34px}
  .masthead{padding-top:max(20px,env(safe-area-inset-top));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:28px 0 52px}
  .agent-fit{font-size:12px;margin-top:12px;max-width:230px}
  .steps{display:flex;flex-direction:column;margin-top:22px}
  .steps li{display:grid;grid-template-columns:32px 1fr;gap:14px;padding:18px 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 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,.output-caption{font-size:19px;margin-top:8px}
  .journey{height:330svh}.skip-animation{right:max(14px,env(safe-area-inset-right));top:max(14px,env(safe-area-inset-top));font-size:11px}
  .sediment{height:340px}footer nav{gap:19px}footer{padding:34px 20px;padding-bottom:max(34px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){
  h1{font-size:32px}
  .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}
}

.output-preview{display:block;width:100%;padding:0;border:0;background:none;color:inherit;cursor:zoom-in;text-align:center}
.output-caption{display:block}
@media(hover:hover){.output-preview:hover .output-caption{color:#0877ed}}
html.example-open{overflow:hidden;overscroll-behavior:none}
.example-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;color:var(--ink);background:transparent;overflow:hidden;overscroll-behavior:none}
.example-dialog::backdrop{background:transparent}
.example-scrim{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
.example-back{position:absolute;left:max(24px,env(safe-area-inset-left));top:max(24px,env(safe-area-inset-top));z-index:5;padding:10px 6px;border:0;background:#ffffffed;border-radius:5px;font-weight:750;font-size:16px;color:var(--ink);cursor:pointer}
.example-morph{position:absolute;left:0;top:0;max-width:none;object-fit:contain;pointer-events:none;z-index:4;transform-origin:0 0;will-change:transform,opacity}
.example-content{opacity:0}
.example-dialog[data-phase="opening"] .example-content,.example-dialog[data-phase="closing"] .example-content{pointer-events:none}
.model-preview{position:absolute;inset:0;touch-action:none}
.model-preview canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}
.model-preview canvas:active{cursor:grabbing}
.guide-preview,.parts-preview{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;padding:92px max(24px,env(safe-area-inset-right)) max(50px,env(safe-area-inset-bottom));text-align:center}
.guide-preview h1,.parts-preview h1{font-size:32px;letter-spacing:-.5px;line-height:1.2}
.preview-caption{color:var(--muted);font-size:14px;margin:8px 0 30px}
.guide-preview img{width:100%;max-width:1000px;height:auto;margin:0 auto 32px;box-shadow:0 6px 35px #07174612}
.csv-download{display:inline-block;margin:16px 0 32px;font-size:15px;font-weight:700}
.parts-preview table{width:100%;max-width:720px;margin:0 auto;border-collapse:collapse;text-align:left;font-size:15px}
.parts-preview th{font-size:12px;color:var(--muted);font-weight:750}
.parts-preview td,.parts-preview th{padding:14px 10px;border-bottom:1px solid #07174612}
.parts-preview td:last-child,.parts-preview th:last-child{text-align:right;font-variant-numeric:tabular-nums}
.parts-preview small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.example-error{padding:35vh 24px;text-align:center}.example-error button{border:0;background:none;color:var(--ink);text-decoration:underline;margin:18px;cursor:pointer}
@media(max-width:760px){.example-back{left:max(16px,env(safe-area-inset-left));top:max(16px,env(safe-area-inset-top))}.guide-preview,.parts-preview{padding-inline:16px}.parts-preview table{font-size:12px}.parts-preview td,.parts-preview th{padding:12px 5px}}
