/* Three concise screens. Match the hero's full visual frame, not only its labels. */
.home-screen{min-height:calc(100svh - 80px);display:flex;align-items:center;padding-block:64px}
.home .hero{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);align-items:start;align-content:start;gap:48px;min-height:calc(100svh - 80px);padding-block:52px 40px}
.home .hero-copy{display:flex;flex-direction:column;padding:0;align-self:stretch;text-align:left}
.home .hero-copy .eyebrow{min-height:20px;margin:0 0 50px;font-size:11px;letter-spacing:.025em}
.home h1{font-size:clamp(48px,4.4vw,62px);line-height:1.22;font-weight:600;letter-spacing:-.055em}
.home .hero-title-line{white-space:nowrap}
.home .hero-title-line:first-child{color:var(--ink)}
.home .hero-title-line [lang]{font-size:.92em;letter-spacing:-.065em}
.home .hero-description{margin-top:27px;font-size:16px;line-height:1.95}
.home .hero-description>strong,.home .hero-description>span{display:block}
.home .hero-description>strong{font-weight:550;color:var(--ink)}
.hero-benefits{list-style:none;padding:0;margin:20px 0 0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.hero-benefits li{display:flex;gap:10px;align-items:start;min-width:0}
.hero-benefits li>div{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:start;column-gap:10px}
.hero-benefits h3{font-size:12px;font-weight:550;letter-spacing:-.02em;line-height:1.55}
.hero-benefits p{font-size:10px;line-height:1.55;color:var(--muted);margin-top:0}
.benefit-mark{display:block;flex:none;width:12px;height:12px;margin-top:4px;background:var(--forest)}
.benefit-local{border-radius:3px}.benefit-control{border-radius:50%;background:transparent;border:3px solid var(--forest)}
.benefit-crew{background:linear-gradient(90deg,var(--forest) 0 40%,transparent 40% 60%,var(--forest) 60%);border-radius:2px}
.benefit-evolve{transform:rotate(45deg);border-radius:2px;background:#b4c994}
.home .hero-actions{margin-top:19px;padding-top:0;gap:16px;justify-content:flex-start}
.home .hero-meta{margin-top:14px;font-size:11px}
.home .hero-meta span{margin-inline:6px}
.home .hero-art{display:flex;flex-direction:column;width:100%;padding:0;margin:0;align-self:stretch}
.home .scene-overline{min-height:20px;margin:0;font-size:11px;align-items:center}
.home .scene{flex:none;height:clamp(370px,50svh,440px);margin-top:14px;margin-bottom:auto}
.home .scene-surface,.home .scene-surface:active{cursor:default}
.home .scene-role{min-width:0;min-height:0;padding:0;pointer-events:none;font-size:11px;border:0;line-height:1.55;background:transparent}
.home .scene-role small{font-size:8px}
.home .scene-conversation{margin:7px 0 0;max-width:none;min-height:74px;padding:12px 15px;background:rgba(252,253,249,.7)}
.home .scene-conversation h3{font-size:12px;font-weight:600;line-height:1.5;letter-spacing:0}
.home .scene-conversation p{font-size:12px;line-height:1.8;margin-top:6px}
.home .scene-caption{display:flex;justify-content:space-between;gap:12px;margin-top:12px;font-size:10px;line-height:1.7;color:var(--muted)}
.home .scene-caption>span:first-child{flex:none;color:var(--forest)}
.home .scene-caption>span:last-child{text-align:right}
.home-capabilities{border-top:1px solid var(--line);background:#eef1e8}
.home .sc-kicker{margin-bottom:28px;font-size:11px;gap:16px}
.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:44px}
.home h2{font-size:clamp(40px,4vw,55px);line-height:1.28;font-weight:550;letter-spacing:-.045em}
.home-section-heading>p{color:var(--muted);font-size:14px;line-height:1.95;max-width:24em}
.capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:42px}
.capability{padding:25px 26px 23px;border-radius:17px;background:var(--paper);min-width:0}
.capability-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.capability-art{width:73px;height:73px;flex:none}
.capability-art svg{width:100%;height:100%;overflow:visible}
.capability-top>span{font:9px/1.6 var(--mono);letter-spacing:.025em;color:var(--muted)}
.capability h3{margin-top:19px;font-size:24px;font-weight:550;line-height:1.4;letter-spacing:-.035em}
.capability>p{margin-top:11px;font-size:13px;line-height:1.9;color:var(--muted)}
.capability-foot{display:block;margin-top:24px;padding-top:17px;border-top:1px solid var(--line);font-size:10px;line-height:1.75;color:var(--forest)}
.capability-flow{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin-top:30px;padding:17px 0 15px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);isolation:isolate}
.capability-flow::before{content:"";position:absolute;z-index:-1;left:10%;right:10%;top:31px;height:1px;background:var(--line)}
.flow-step{position:relative;min-width:0;padding:0 14px;text-align:center}
.flow-step:not(:last-child)::after{content:"→";position:absolute;z-index:1;right:-5px;top:0;color:var(--forest);font:12px/1.4 var(--mono);background:var(--surface);padding-inline:3px}
.flow-step::before{content:"";display:block;width:7px;height:7px;margin:0 auto 9px;border:2px solid var(--forest);border-radius:50%;background:var(--surface);box-shadow:0 0 0 4px var(--surface);animation:flow-pulse 4.8s ease-in-out infinite}
.flow-step:nth-child(2)::before{animation-delay:.45s}.flow-step:nth-child(3)::before{animation-delay:.9s}.flow-step:nth-child(4)::before{animation-delay:1.35s}.flow-step:nth-child(5)::before{animation-delay:1.8s}
.flow-step b{display:block;font-size:12px;font-weight:550;line-height:1.5;color:var(--ink)}
.flow-step small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.6}
@keyframes flow-pulse{0%,72%,100%{background:var(--surface);transform:scale(1)}78%{background:var(--accent);transform:scale(1.25)}}
.home-work-note{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:25px;color:var(--muted);font-size:11px}
.home-work-note a{min-height:44px;display:flex;align-items:center;gap:30px;color:var(--forest);white-space:nowrap}
.home-start{padding-bottom:30px}
.home-start .shell{width:min(1180px,calc(100% - 112px))}
.home-start-intro{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:58px;align-items:end}
.home-start-intro h2{font-size:clamp(40px,4vw,55px);line-height:1.28;font-weight:550;letter-spacing:-.045em}
.home-start-intro-copy>p{font-size:14px;line-height:1.85;color:var(--muted)}
.home-start-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:58px;align-items:start;margin-top:31px}
.install-steps{padding:21px 22px;border:1px solid var(--line);border-radius:17px;background:rgba(252,253,249,.68)}
.terminal-guide{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.terminal-guide-heading{display:flex;align-items:center;gap:11px}
.terminal-guide-heading>div{display:flex;flex-direction:column;gap:2px}
.terminal-guide-heading strong{font-size:12px;font-weight:600;line-height:1.5}
.terminal-guide-heading small{font-size:10px;line-height:1.5;color:var(--muted)}
.terminal-step-number{display:grid;place-items:center;flex:none;width:25px;height:25px;border:1px solid rgba(160,228,63,.38);border-radius:8px;background:rgba(160,228,63,.12);color:var(--forest);font:10px/1 var(--mono)}
.platform-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:14px;padding:4px;border-radius:10px;background:var(--surface)}
.platform-picker button{min-width:0;min-height:36px;padding:6px 7px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);font-size:10px;font-weight:500;transition:background .18s,border-color .18s,color .18s,transform .18s}
.platform-picker button:hover{color:var(--forest);transform:translateY(-1px)}
.platform-picker button[aria-pressed="true"]{border-color:var(--line);background:var(--white);color:var(--ink);box-shadow:0 2px 5px rgba(32,40,32,.06)}
.platform-instruction{display:flex;align-items:center;min-height:43px;margin-top:9px;padding:9px 11px;border-radius:8px;background:var(--white);color:var(--forest)!important;font-size:11px!important;line-height:1.65!important}
.home-start-intro .sc-requirements{align-items:center;margin:14px 0 0;gap:7px}
.home-start-intro .sc-requirements>span{width:100%;color:var(--muted);font-size:10px}
.home-start-intro .sc-badge{min-height:30px;padding-inline:9px;font-family:var(--sans);font-size:10px}
.home-start-intro .sc-badge span{margin-left:3px;font-family:var(--mono)}
.home-start-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:15px}
.home-start-copy .home-data-note{font-size:11px;line-height:1.9;max-width:28em;margin-top:30px}
.install-command{margin-top:18px;padding:18px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.install-command-heading{display:flex;align-items:center;gap:11px}
.install-command-heading>div{display:flex;flex-direction:column;gap:2px}
.install-command-heading strong{font-size:12px;font-weight:600;line-height:1.5}
.install-command-heading small{font-size:10px;line-height:1.5;color:var(--muted)}
.install-command-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:7px 8px 7px 11px;border:1px solid var(--line);border-radius:9px;background:var(--white)}
.install-command-line code{min-width:0;overflow-x:auto;color:var(--ink);font-size:11px;white-space:nowrap}
.install-command-line .copy-button{min-height:36px;border-color:#87986e;background:#e7eddd;color:#263523}
.install-command-line .copy-button:hover,.install-command-line .copy-button.is-copied{border-color:var(--forest);background:var(--forest);color:#fff}
.install-start-step{display:flex;align-items:flex-start;gap:10px;margin:18px 0 0;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.75}
.install-start-step code{color:var(--forest);font-weight:600}
.install-screenshot{align-self:start;min-width:0;margin:0}
.install-screenshot img{display:block;width:100%;height:auto;border:1px solid rgba(32,40,32,.18);border-radius:18px;background:#34394a;box-shadow:0 18px 48px rgba(32,40,32,.12)}
.install-screenshot figcaption{margin-top:10px;color:var(--muted);font-size:10px;text-align:right}
.home .hero-actions .hero-support{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 15px;border:1px solid #87986e;border-radius:12px;background:#e7eddd;color:#263523;font-size:12px;font-weight:550;transition:background .18s,border-color .18s,transform .18s}
.home .hero-actions .hero-support:hover{border-color:var(--forest);background:#d9e3cc;transform:translateY(-1px)}
.home-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid var(--line);margin-top:58px;padding-top:24px;font-size:10px;color:var(--muted)}
.home-footer>span:last-child{font:9px var(--mono)}
.home-footer a{color:var(--forest)}
html[lang="en"] .home h1{font-size:clamp(44px,4.4vw,62px);letter-spacing:-.06em}
html[lang="en"] .home .hero-title-line{white-space:normal}
html[lang="en"] .home .scene-role{font-size:10px}
@media(max-width:850px){.hero-benefits{width:min(520px,100%);margin:25px auto 0;text-align:left}.hero-benefits h3{font-size:13px}.hero-benefits p{font-size:11px}}
@media(max-width:600px){.hero-benefits{gap:18px 16px}.hero-benefits li{gap:8px}.benefit-mark{width:10px;height:10px}.hero-benefits h3{font-size:12px}.hero-benefits p{font-size:10px}.home .hero-copy .eyebrow{font-size:8px}html[lang="en"] .home h1{font-size:clamp(37px,9.9vw,54px)}}
@media(max-width:850px){.home .hero-actions{padding-top:0}.home .hero-copy,.home .hero-art{align-self:start}}
@media(min-width:1600px){.home .hero{min-height:780px}.home-screen{min-height:780px}}
@media(max-width:1100px){.home .hero{gap:32px;padding-top:42px}.home h1{font-size:50px}.home .hero-copy .eyebrow{font-size:10px;letter-spacing:0}.home .hero-description{font-size:14px}.home .hero-meta{font-size:10px}.capability{padding:22px}.capability-top{gap:8px}.capability-art{width:60px;height:60px}.capability-top>span{font-size:8px}.home-start .shell{width:calc(100% - 72px)}.home-start-grid,.home-start-intro{gap:34px}}
@media(max-width:850px){.home-screen{min-height:0;padding-block:64px}.home .hero{grid-template-columns:1fr;min-height:0;gap:38px;padding-block:40px 52px}.home .hero-copy{text-align:center}.home .hero-copy .eyebrow{justify-content:center;margin-bottom:25px}.home h1{font-size:clamp(48px,7.7vw,66px)}.home .hero-description{margin:23px auto 0;font-size:15px}.home .hero-actions{justify-content:center;margin-top:26px}.home .hero-meta{margin-top:20px}.home .hero-art{width:min(610px,100%);margin-inline:auto}.home .scene{height:440px}.home-section-heading{gap:28px}.home h2{font-size:40px}.home-section-heading>p{font-size:13px}.capability-grid{gap:12px;margin-top:34px}.capability{padding:20px 17px}.capability-top{flex-direction:column;align-items:start;gap:12px}.capability h3{font-size:22px;margin-top:15px}.capability>p{font-size:12px}.capability-foot{font-size:9px}.home-start .shell{width:calc(100% - 48px)}.home-start-intro{grid-template-columns:1fr;gap:15px}.home-start-intro h2{font-size:40px}.home-start-grid{gap:24px;grid-template-columns:1fr;margin-top:25px}.home-footer{margin-top:42px}}
@media(max-width:600px){.home-screen{padding-block:52px}.home .hero{padding-block:32px 42px;gap:34px}.home .hero-copy .eyebrow{font-size:9px;gap:8px;margin-bottom:22px}.home h1{font-size:clamp(40px,10.7vw,56px)}.home .hero-title-line{white-space:normal}.home .hero-description{font-size:14px;line-height:1.85;margin-top:21px}.home .hero-actions{margin-top:23px}.home .hero-actions .button{min-height:46px;padding-inline:22px}.home .hero-meta{font-size:9px;margin-top:18px}.home .scene-overline{font-size:10px}.home .scene-overline>span:last-child{font-size:8px}.home .scene{height:440px;margin-top:10px}.home .scene-role{font-size:10px;min-height:0;min-width:0}.home .scene-role small{font-size:8px}.home .scene-conversation{min-height:72px;padding:10px 12px;margin-top:0}.home .scene-caption{font-size:9px;gap:8px;margin-top:10px}.home .sc-kicker{font-size:10px;gap:12px;margin-bottom:23px}.home .sc-kicker>span{font-size:8px}.home-section-heading{display:block}.home h2{font-size:35px}.home-section-heading>p{margin-top:21px;font-size:13px}.capability-grid{grid-template-columns:1fr;gap:12px;margin-top:28px}.capability{display:grid;grid-template-columns:69px 1fr;column-gap:20px;padding:23px}.capability-top{grid-row:1/4;justify-content:center;gap:0}.capability-top>span{display:none}.capability-art{width:67px;height:67px}.capability h3{margin:0;font-size:23px}.capability>p{font-size:12px;margin-top:8px}.capability-foot{margin-top:12px;padding-top:10px;font-size:9px}.home-work-note{align-items:start;gap:16px;font-size:10px;margin-top:22px}.home-work-note>p{max-width:20em;padding-top:9px}.home-work-note a{gap:12px;font-size:10px}.home-start-intro{grid-template-columns:1fr;gap:12px}.home-start-grid{grid-template-columns:1fr;gap:24px;margin-top:21px}.home-start-intro-copy>p{font-size:13px;margin-top:0}.install-steps{padding:16px}.terminal-guide{margin:0;padding:0}.platform-picker button{min-height:40px}.platform-instruction{font-size:10px!important}.home-start-intro .sc-requirements{margin-top:13px}.install-command{margin-top:14px;padding:14px 0 0}.install-start-step{margin-top:14px;padding-top:14px;font-size:10px}.home-start-links{gap:15px;margin-top:11px}.home-footer{flex-wrap:wrap;font-size:9px;gap:15px;margin-top:34px;padding-top:22px}.home-footer>span:last-child{width:100%;font-size:8px}}
@media(max-width:360px){.home .scene{height:400px}.home .scene-caption{font-size:8px}.capability{padding:21px 17px;column-gap:15px}}
@media(max-width:600px){.capability-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0;margin-top:25px;padding:15px 0}.capability-flow::before{left:25%;right:25%;top:50%;height:1px;background:var(--line)}.flow-step{padding:0 10px}.flow-step:nth-child(3){grid-column:1 / -1}.flow-step:not(:last-child)::after{display:none}.flow-step:nth-child(3)::before{margin-bottom:7px}.flow-step b{font-size:11px}.flow-step small{font-size:9px}.flow-step:nth-child(3) small{display:inline-block;margin-inline:auto}.flow-step:nth-child(3)::after{content:"";display:block;position:absolute;left:50%;bottom:-14px;width:1px;height:12px;background:var(--line)}}
.home .scene-controls{position:absolute;z-index:4;left:50%;bottom:7px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:4px;width:max-content;max-width:calc(100% - 12px);padding:4px;border:1px solid rgba(221,226,215,.92);border-radius:999px;background:rgba(250,251,246,.94);box-shadow:0 3px 12px rgba(40,52,35,.08);backdrop-filter:blur(8px)}
.scene-controls button{min-width:40px;min-height:27px;padding:4px 9px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--muted);font-size:9px;line-height:1;white-space:nowrap;transition:background .18s,border-color .18s,color .18s,transform .18s}
.scene-controls button:hover{border-color:var(--line);color:var(--forest);transform:translateY(-1px)}
.scene-controls button[aria-pressed="true"]{border-color:#d4dec9;background:#e9efdf;color:var(--forest);font-weight:600}
.scene-controls button:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
@media(max-width:600px){.home .scene-controls{bottom:5px;gap:2px;padding:3px}.scene-controls button{min-width:34px;min-height:26px;padding:4px 6px;font-size:8px}}
@media(prefers-reduced-motion:reduce){.scene-controls button{transition:none}}

/* Keep the animation and its locator controls on separate visual rows. */
.home .scene{height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch;overflow:visible}
.home .scene-surface{position:relative;inset:auto;flex:none;width:100%;height:clamp(360px,44svh,390px)}
.home .scene-fallback{inset:0 0 auto;height:clamp(360px,44svh,390px)}
.home .scene-overlay{inset:0 0 auto;height:clamp(360px,44svh,390px)}
.home .scene-role small{display:none!important}
.home .scene-controls{position:relative;inset:auto;z-index:2;transform:none;margin:5px auto 0;backdrop-filter:none;box-shadow:0 2px 7px rgba(40,52,35,.05)}
@media(max-width:850px){.home .scene-surface,.home .scene-fallback,.home .scene-overlay{height:430px}}
@media(max-width:600px){.home .scene-surface,.home .scene-fallback,.home .scene-overlay{height:490px}.home .scene-controls{margin-top:3px}}
@media(max-width:360px){.home .scene-surface,.home .scene-fallback,.home .scene-overlay{height:470px}}
@media(prefers-reduced-motion:reduce){.home .scene-controls{backdrop-filter:none}}
@media(max-width:600px){.hero-benefits{gap:9px;margin-top:18px}.hero-benefits li{gap:8px}.hero-benefits li>div{grid-template-columns:88px minmax(0,1fr);column-gap:8px}.hero-benefits h3{font-size:11px}.hero-benefits p{font-size:10px;line-height:1.5}.home .hero-actions{gap:10px;margin-top:18px}.home .hero-actions .hero-support{padding-inline:11px;font-size:11px}.install-command{margin-top:14px;padding:14px 0 0}.install-start-step{margin-top:14px;font-size:10px}.install-command-line{gap:7px}.install-command-line code{font-size:10px}.install-command-line .copy-button{min-height:40px;padding-inline:9px;font-size:10px}.install-screenshot img{border-radius:13px}}
