/* Studio release-candidate presentation. Built from the existing Nosimaj palette and type. */
:root{--bg:#111210;--panel:#1a1c18;--panel-2:#161814;--text:#f2efe3;--muted:#b9bbae;--line:#373b32;--line-2:#51574a;--orange:#ff833b;--ink:#151610}
.scene-first{accent-color:var(--orange);scrollbar-color:var(--line-2) var(--bg)}
.scene-first ::selection{background:var(--orange);color:var(--ink)}
.scene-first input,.scene-first textarea{caret-color:var(--orange)}
.scene-first .wrap{width:min(1184px,calc(100% - 80px))}
.scene-first .topbar{background:var(--bg);border-bottom:1px solid var(--line)}
.scene-first .nav{min-height:86px}
.scene-first .brand{font-size:24px;letter-spacing:-.03em}
.scene-first .brand-name>span{font:12px/1.4 var(--sans);letter-spacing:0;color:var(--muted);margin-top:5px}
.scene-first .brand-icon{width:32px;height:32px}
.scene-first .navlinks{font:14px/1.4 var(--sans);gap:28px}
.scene-first .navlinks .nav-cta{border:1px solid var(--line-2);padding:0 18px;min-height:46px;border-radius:4px}
.scene-first .navlinks .nav-cta:hover{background:var(--panel);color:var(--text);border-color:var(--orange)}
.scene-first .window{border:0;background:transparent;box-shadow:none;margin-top:0}
.scene-first h1,.scene-first h2{text-wrap:balance;letter-spacing:-.035em}
.scene-first h1{font-size:clamp(46px,5.7vw,78px);line-height:1.02;font-weight:600;margin:0 0 28px;max-width:12ch}
.scene-first h1 em{color:var(--orange)}
.scene-first h2{font-size:clamp(32px,3.8vw,48px);line-height:1.1;font-weight:500;margin:0}
.scene-first h3{font-weight:500;letter-spacing:-.025em}
.scene-first .hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:44px;padding:70px 0 54px}
.scene-first .hero-copy{padding:16px 0}
.scene-first .hero .lead{font:18px/1.6 var(--sans);max-width:35ch;margin-bottom:30px;color:var(--muted)}
.scene-first .hero-meta{font:14px/1.5 var(--sans);color:var(--muted);margin-top:22px}
.scene-first .btn{border-radius:4px;box-shadow:none;min-height:52px;padding:15px 24px;font:600 15px/1.3 var(--sans);transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.scene-first .btn:hover{box-shadow:0 4px 18px #0004;background:#ff9b61}
.scene-first .btn:active{transform:none;background:#f17832}
.scene-first .btn.secondary{background:transparent;box-shadow:none;border-color:var(--line-2)}
.scene-first .btn.secondary:hover{background:var(--panel);color:var(--text)}
.scene-first .btn.is-disabled{cursor:not-allowed;background:var(--panel);color:var(--muted);border-color:var(--line);box-shadow:none}
.scene-first .btn.is-disabled:hover{background:var(--panel);color:var(--muted);border-color:var(--line)}
.scene-first .text-link{font:15px/1.4 var(--sans);min-height:48px;padding:0 4px;text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:6px}
.scene-first .actions{gap:12px 24px}
.scene-first .hero-shot{position:relative;border:0;background:var(--panel);margin:0;overflow:hidden;border-radius:4px;box-shadow:0 18px 44px #0005}
.scene-first .hero-shot img{width:100%;aspect-ratio:1448/1080;object-fit:contain;height:auto}
.scene-first .hero-shot figcaption{display:flex;gap:8px 20px;justify-content:space-between;flex-wrap:wrap;background:#191c17;padding:16px 20px;border:0;font:12px/1.5 var(--sans);letter-spacing:0;color:var(--muted)}
.scene-first .hero-shot figcaption strong{font-weight:400;color:var(--text)}
.scene-first .strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:0;border-top:1px solid var(--line);padding:28px 0;gap:40px;background:transparent}
.scene-first .strip div{border:0;padding:0;font:15px/1.6 var(--sans);color:var(--muted)}
.scene-first .strip b{display:block;font:500 18px/1.4 var(--display);color:var(--text);margin:0 0 8px}
.scene-first section{padding:72px 0;border-bottom:1px solid var(--line)}
.scene-first .section-head{display:flex;align-items:end;justify-content:space-between;gap:36px;margin:0 0 44px}
.scene-first .section-head p{font-size:16px;max-width:27ch;color:var(--muted)}
.scene-first .flow.four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.scene-first .flow li{padding:0}
.scene-first .flow li:after{display:none}
.scene-first .flow .node{display:block;border:0;border-bottom:1px solid var(--line);background:transparent;width:100%;height:auto;padding:0 0 18px;font:500 26px/1 var(--display);color:var(--muted)}
.scene-first .flow li.gate .node{color:var(--orange);border-color:var(--line)}
.scene-first .flow h3{font-size:20px;margin:20px 0 10px}
.scene-first .flow p{font-size:16px;line-height:1.6;max-width:25ch;color:var(--muted)}
.scene-first .extra{margin-top:36px;max-width:70ch}
.scene-first .extra summary{min-height:52px;font:15px/1.5 var(--sans);font-weight:400;padding:12px 0}
.scene-first .extra>div{padding:8px 0 16px;color:var(--muted);font-size:15px}
.scene-first .extra p+p{margin-top:12px}
.scene-first summary:after{content:'+';font:400 24px/1 var(--sans);color:var(--muted)}
.scene-first details[open]>summary:after{content:'−';color:var(--orange)}
.scene-first #requirements{background:#1b1e18}
.scene-first .ready-row{display:flex;justify-content:space-between;align-items:center;gap:48px}
.scene-first .ready-row>div{max-width:65ch}
.scene-first .ready-row h2{margin-bottom:20px}
.scene-first .ready-row p{font-size:17px;color:var(--muted);max-width:56ch}
.scene-first .ready-row .fine{font-size:14px;margin-top:14px}
.scene-first .ready-row .btn{flex-shrink:0}
.scene-first #release>.wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 64px;align-items:start}
.scene-first #release h2{grid-row:1/4}
.scene-first #release-status{font:14px/1.7 var(--sans);color:var(--muted);max-width:65ch}
.scene-first .release-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.scene-first #release .fine{font-size:14px;margin:0;max-width:60ch}
.scene-first .faq-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px}
.scene-first .faq-layout h2{max-width:12ch}
.scene-first .faq details{border-top:1px solid var(--line);background:transparent}
.scene-first .faq summary{font:500 18px/1.4 var(--display);min-height:72px;padding:20px 0}
.scene-first .faq details>div{padding:0 0 24px;color:var(--muted);font-size:16px;max-width:65ch}
.scene-first #early-access{border:0}
.scene-first .access{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;border:0;box-shadow:none;background:transparent;padding:0;align-items:start}
.scene-first .access h2{margin:0 0 20px}
.scene-first .access .lead{font-size:16px;margin:0 0 16px;max-width:40ch}
.scene-first .price-note{font:14px/1.6 var(--sans);color:var(--muted)}
.scene-first .field label{font:14px/1.5 var(--sans);letter-spacing:0;text-transform:none;color:var(--text);margin-bottom:8px}
.scene-first .field input,.scene-first .field textarea{border-radius:4px;background:var(--panel-2);border:1px solid var(--line-2);padding:14px 16px;font-size:16px;color:var(--text)}
.scene-first .field input::placeholder,.scene-first .field textarea::placeholder{color:var(--muted)}
.scene-first .privacy{font-size:13px;line-height:1.6;max-width:60ch}
.scene-first footer{background:#0d0e0c;border-top:1px solid var(--line);padding:44px 0 24px}
.scene-first .footer-grid{gap:40px}
.scene-first .footer-grid p{font-size:14px;max-width:34ch}
.scene-first .footer-links{font:14px/1.6 var(--sans);gap:12px}
.scene-first .footer-row{font:12px/1.6 var(--sans);letter-spacing:0;color:var(--muted)}
.scene-first .ea-dialog{border:1px solid var(--line-2);border-radius:4px;box-shadow:none;background:var(--bg)}
.scene-first .dialog-head{font:14px/1.5 var(--sans);letter-spacing:0}
/* Setup: a quiet reading surface, with a clear numbered path. */
.scene-first.setup-page .install-hero{padding:64px 0 52px;max-width:820px}
.scene-first .install-hero h1{font-size:clamp(46px,5.2vw,68px);max-width:17ch;margin-bottom:24px}
.scene-first .install-hero .lead{font-size:18px;max-width:48ch;margin-bottom:28px}
.scene-first .install-hero .preview-note{font:14px/1.65 var(--sans);max-width:65ch;margin:20px 0 24px;color:var(--muted)}
.scene-first .install-hero .release-actions{margin:0 0 16px}
.scene-first .guide{display:block;width:min(800px,calc(100% - 80px));padding-top:0}
.scene-first .doc{width:100%}
.scene-first .setup-step{position:relative;padding:44px 0;border-bottom:1px solid var(--line);scroll-margin-top:104px}
.scene-first .setup-step .step-head{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:16px;margin-bottom:24px}
.scene-first .setup-step .step-num{border:1px solid var(--line-2);border-radius:50%;background:var(--panel);color:var(--orange);font:500 18px/1 var(--display);width:44px;height:44px}
.scene-first .setup-step h2{font-size:32px;margin:0;line-height:1.2}
.scene-first .setup-step>p{font-size:17px;max-width:65ch;margin:16px 0;color:var(--muted)}
.scene-first .setup-step strong{color:var(--text)}
.scene-first .install-actions{font-size:17px;padding-left:24px;line-height:1.65}
.scene-first .install-actions li{padding-left:4px;margin-bottom:10px}
.scene-first .doc p,.scene-first .doc li{font-size:16px;line-height:1.7}
.scene-first .doc p+p{margin-top:14px}
.scene-first .doc h3{font-size:21px;margin:28px 0 12px}
.scene-first .doc details{padding:0 16px;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:transparent;margin:24px 0;scroll-margin-top:100px}
.scene-first .doc details>summary{font:500 16px/1.5 var(--sans);min-height:60px;padding:16px 0}
.scene-first .doc details>div{padding:4px 0 24px}
.scene-first .doc details[open]>summary{border:0;margin:0}
.scene-first .doc .cmd{margin:24px 0;border:1px solid var(--line-2);border-radius:4px;overflow:hidden;max-width:100%;background:#191c17}
.scene-first .doc .cmd.shell,.scene-first .doc .cmd.claude{border-left:1px solid var(--line-2)}
.scene-first .doc .cmd-label{padding:10px 14px;font:13px/1.5 var(--sans);letter-spacing:0;text-transform:none;min-height:54px;background:#23271f;border-bottom:1px solid var(--line-2)}
.scene-first .doc .copy{min-height:44px;min-width:72px;font:13px/1.5 var(--sans);text-transform:none;letter-spacing:0;border:1px solid var(--line-2);border-radius:3px;color:var(--text);padding:0 12px}
.scene-first .doc .copy:hover{background:#343a2e}
.scene-first .doc .copy.done{color:#c4eab0}
.scene-first .doc .cmd pre{padding:20px;font-size:14px;line-height:1.7;overflow-x:auto;max-width:100%}
.scene-first .doc .expect,.scene-first .doc .recover,.scene-first .doc .keep{padding:16px;background:var(--panel);border:0;margin:16px 0}
.scene-first .doc .expect b,.scene-first .doc .recover b,.scene-first .doc .keep b{font:600 14px/1.5 var(--sans);letter-spacing:0;text-transform:none;margin-bottom:6px;color:var(--text)}
.scene-first .doc .pending{font:14px/1.6 var(--sans);letter-spacing:0;text-transform:none;color:var(--muted)}
.scene-first .doc .step{margin:20px 0;padding-top:20px}
.scene-first .doc .step-head h3{margin:0;font-size:21px}
.scene-first .doc .step .step-head .step-num{border:0;border-radius:0;background:transparent;color:var(--muted);width:24px;height:30px}
.scene-first .doc blockquote{margin:24px 0;padding:24px;background:#24291f;border-radius:4px;font:500 22px/1.5 var(--display);color:var(--text)}
.scene-first .doc .setup-help{padding:52px 0;border:0}
.scene-first .setup-help>h2{font-size:32px;margin-bottom:28px}
.scene-first .setup-help>details{margin:0;border-bottom:0}
.scene-first .setup-help>details:last-child{border-bottom:1px solid var(--line)}
.scene-first .doc .files{display:block;max-width:100%;overflow-x:auto}
.scene-first .doc .files th{font:600 14px/1.5 var(--sans);letter-spacing:0;text-transform:none;color:var(--text)}
.scene-first .doc .files td{font-size:14px;line-height:1.6}
.scene-first .doc .checklist{border-top:0}
.scene-first .doc .checklist li{padding:18px 0}
.scene-first .doc .notice{font-size:15px;padding:16px;display:block;background:transparent}
.scene-first .doc .notice .tag{margin-bottom:12px}
.scene-first .btn,.scene-first details,.scene-first .cmd{min-width:0}
@media(max-width:1000px){
 .scene-first .wrap{width:calc(100% - 56px)}
 .scene-first .hero{gap:28px;padding-top:48px}
 .scene-first h1{font-size:60px}
 .scene-first .navlinks{gap:20px}
 .scene-first .flow.four{gap:20px}
 .scene-first .guide{width:min(800px,calc(100% - 56px))}
}
@media(max-width:760px){
 .scene-first .hero{grid-template-columns:1fr;gap:32px;padding:40px 0}
 .scene-first .hero-copy{padding:0}
 .scene-first h1{font-size:clamp(46px,8.8vw,66px);max-width:17ch}
 .scene-first .hero .lead{max-width:45ch}
 .scene-first .hero-shot{max-width:100%}
 .scene-first .strip{gap:24px;padding:24px 0}
 .scene-first .strip b{font-size:16px}
 .scene-first .strip div{font-size:14px}
 .scene-first section{padding:52px 0}
 .scene-first .flow.four{grid-template-columns:1fr 1fr;gap:32px 28px}
 .scene-first .flow li{display:block}
 .scene-first .flow .node{grid-row:auto}
 .scene-first .flow p{max-width:32ch}
 .scene-first .ready-row{flex-direction:column;align-items:start;gap:28px}
 .scene-first #release>.wrap,.scene-first .faq-layout,.scene-first .access{grid-template-columns:1fr;gap:28px}
 .scene-first #release h2{grid-row:auto}
 .scene-first .faq-layout h2{max-width:20ch}
 .scene-first .nav-detail{display:none}
 .scene-first.setup-page .install-hero{padding:40px 0}
 .scene-first .section-head{align-items:start;gap:24px;flex-direction:column;margin-bottom:36px}
 .scene-first .section-head p{max-width:45ch}
}
@media(max-width:440px){
 .scene-first .wrap,.scene-first .guide{width:calc(100% - 36px)}
 .scene-first .nav{min-height:76px;gap:12px}
 .scene-first .brand{font-size:21px;gap:8px}
 .scene-first .brand-icon{width:28px;height:28px}
 .scene-first .navlinks .nav-cta{padding:0 12px;font-size:13px;min-height:44px}
 .scene-first h1{font-size:46px}
 .scene-first .hero .lead{font-size:17px}
 .scene-first .hero-shot figcaption{padding:14px 16px;flex-direction:column;gap:4px}
 .scene-first .strip{grid-template-columns:1fr;gap:22px}
 .scene-first .strip div{font-size:15px}
 .scene-first .strip b{font-size:18px;margin-bottom:4px}
 .scene-first .actions{gap:12px 20px}
 .scene-first .flow.four{grid-template-columns:1fr;gap:28px}
 .scene-first .flow h3{margin-top:16px}
 .scene-first .flow p{max-width:40ch}
 .scene-first .release-actions{flex-direction:column;align-items:stretch}
 .scene-first .setup-step{padding:32px 0}
 .scene-first .setup-step h2{font-size:27px}
 .scene-first .setup-step .step-head{gap:12px}
 .scene-first .doc .cmd-label{padding:10px;gap:8px;flex-wrap:wrap}
 .scene-first .doc .cmd pre{padding:16px;font-size:13px}
 .scene-first .doc blockquote{padding:20px;font-size:20px}
 .scene-first .doc details{padding:0 12px}
 .scene-first .install-hero h1{font-size:46px}
}
@media(prefers-reduced-motion:reduce){.scene-first *, .scene-first *::before,.scene-first *::after{transition:none!important;scroll-behavior:auto!important}}

/* A real section index, without simulated install progress. */
.scene-first.setup-page .install-hero{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:64px;align-items:center}
.scene-first .setup-map{border:1px solid var(--line-2);border-radius:4px;padding:24px;background:var(--panel-2)}
.scene-first .setup-map h2{font-size:24px;line-height:1.25;margin:0 0 20px;letter-spacing:-.025em}
.scene-first .setup-map ol{list-style:none;margin:0;padding:0;counter-reset:setup-nav}
.scene-first .setup-map li{counter-increment:setup-nav;border-top:1px solid var(--line)}
.scene-first .setup-map a{display:flex;align-items:center;gap:14px;min-height:54px;text-decoration:none;font:15px/1.4 var(--sans)}
.scene-first .setup-map a:before{content:counter(setup-nav);font:14px/1 var(--mono);color:var(--orange)}
.scene-first .setup-map a:hover{color:var(--orange)}
@media(max-width:900px){.scene-first.setup-page .install-hero{grid-template-columns:1fr;gap:28px}.scene-first .setup-map{max-width:540px}}

/* Agent-assisted setup uses the existing guide and copy-control behavior. */
.scene-first .agent-install{padding-top:48px}
.scene-first .agent-intro p{max-width:58ch}
.scene-first .agent-prompt{margin:24px 0 16px}
.scene-first .agent-prompt .cmd-label{padding:18px 20px;gap:16px}
.scene-first .agent-prompt .copy.btn{min-height:48px;padding:12px 20px;font:600 15px/1.4 var(--sans);color:var(--bg);background:var(--orange)}
.scene-first .agent-prompt .copy.btn:hover{background:var(--text)}
.scene-first .agent-prompt details{border:0;margin:0}
.scene-first .agent-prompt pre{max-height:360px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}
@media(max-width:440px){.scene-first .agent-prompt .cmd-label{align-items:stretch;flex-direction:column}.scene-first .agent-prompt .copy.btn{width:100%}}

/* Final onboarding pass: direct action, readable tablet steps, clear next action. */
.scene-first .flow.four>li{display:block}
@media(min-width:761px) and (max-width:860px){.scene-first .flow.four{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}}
.scene-first .setup-intro .agent-install{padding:0;scroll-margin-top:100px}
.scene-first .setup-prerequisite{font-size:14px;line-height:1.6;margin:0 0 20px}
.scene-first .copy-feedback{font-size:15px;color:var(--text)}
.scene-first .copy-feedback:empty{display:none}
.scene-first .agent-prompt .copy.btn.done{color:var(--ink)}
.scene-first .setup-intro .agent-prompt{margin:20px 0}
.scene-first .setup-intro .agent-prompt pre{white-space:pre-wrap;overflow-wrap:anywhere}
.scene-first #manual-setup .release-actions{margin:20px 0}

/* One numbered-step treatment and one left edge for the assisted flow. */
.scene-first .setup-intro .agent-install{border-bottom:0}
.scene-first .setup-intro .agent-install .step-head h2{margin:0}
.scene-first #paste-prompt{margin-top:32px}
.scene-first.setup-page .guide{width:min(1184px,calc(100% - 80px))}
.scene-first.setup-page .guide>.doc{max-width:calc(100% - 364px)}
@media(max-width:1000px){.scene-first.setup-page .guide{width:calc(100% - 56px)}}
@media(max-width:900px){.scene-first.setup-page .guide>.doc{max-width:100%}}
@media(max-width:440px){.scene-first.setup-page .guide{width:calc(100% - 36px)}}
