/* QT Capital composition adapted to SyntheraOS's existing engineering experience.
   Product fonts, orbital assets, record states and every inspection control remain. */
:root {
 --bg:#000; --surface:#050609; --raised:#0b0e14;
 --ink:#e7e9ed; --muted:#a5a8b0; --quiet:#959aa5;
 --edge:#ffffff12; --panel-edge:#ffffff1c; --panel-radius:16px;
 --control-edge:#ffffff26; --control-radius:24px;
 --control-fill:#080b10; --control-depth:none;
 --glass-panel:#05070b; --glass-depth:none;
 --action-fill:#070a10; --action-depth:none;
 --selected-fill:#091020; --selected-edge:#5573b3; --selected-ink:#c7d8fc;
 --pad:clamp(24px,3.75vw,72px);
}
html { scrollbar-gutter:stable; scrollbar-color:#333c50 #000; scroll-padding-top:96px; }
body { background:#000; }
::selection { color:#fff; background:#244999; }
.site-nav { height:64px; padding:0 var(--pad); background:#000; -webkit-backdrop-filter:none; backdrop-filter:none; }
.site-nav .brand svg { width:172px; height:38px; }
.site-menu-toggle,#close-site-menu { display:inline-flex; align-items:center; justify-content:center; padding:0 2px; min-width:60px; min-height:44px; border:0; background:transparent; color:var(--ink); font:400 12px/1 var(--sans); letter-spacing:.14em; }
.site-menu-toggle[hidden] { display:none; }
.site-menu-toggle:hover,#close-site-menu:hover { color:#93b7ff; }
.site-menu { position:fixed; inset:0; width:100%; max-width:none; height:100%; max-height:none; margin:0; padding:0 var(--pad); border:0; border-radius:0; background:#000; color:var(--ink); }
.site-menu::backdrop { background:#000; }
.site-menu[open] { display:flex; flex-direction:column; animation:menu-arrive 260ms var(--ease); }
.site-menu-open { overflow:hidden; }
.menu-top { display:flex; align-items:center; justify-content:space-between; flex:none; height:64px; }
.menu-brand { display:block; width:172px; height:38px; overflow:hidden; }
.menu-brand svg { display:block; width:172px; height:38px; mix-blend-mode:screen; }
.menu-content { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; flex:1; min-height:0; padding:40px 28px; overflow:auto; }
.site-nav .site-menu nav { display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.site-nav .site-menu nav a { color:#d3d6df; font:400 clamp(36px,5vw,72px)/1.2 var(--sans); letter-spacing:-.04em; }
.site-nav .site-menu nav a:hover { color:#fff; }
.menu-context { justify-self:center; text-align:center; }
.menu-context img { width:clamp(150px,22vw,290px); opacity:.65; }
.menu-context p { margin-top:24px; color:var(--muted); font-size:14px; line-height:1.7; }
.menu-bottom { display:flex; justify-content:space-between; gap:24px; padding:24px 0; font-size:12px; color:var(--muted); }
.menu-bottom a { color:var(--muted); }
@keyframes menu-arrive { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
/* The framed stage keeps the native scroll chapters and actual WebGL aircraft. */
.system-hero { padding-top:64px; background:#000; }
.experience-viewport { top:64px; height:calc(100svh - 96px); min-height:600px; margin:0 var(--pad); border:1px solid #ffffff15; border-radius:24px; background:#000; }
.experience-viewport::after { background:linear-gradient(90deg,#000d 0%,#0005 38%,transparent 68%),linear-gradient(0deg,#020712 0%,#0005 20%,transparent 45%); }
.story-chapter,.hero-copy.story-chapter { left:clamp(28px,5vw,76px); bottom:27%; width:min(440px,42%); }
.story-chapter h1,.story-chapter h2,.hero-copy.story-chapter h1 { color:#dddfe5; font-weight:400; font-size:clamp(38px,4.15vw,62px); line-height:1.2; letter-spacing:-.04em; }
.story-chapter[data-chapter="0"] h1 { top:16%; left:clamp(28px,5vw,76px); width:59%; font-size:clamp(40px,4.35vw,66px); line-height:1.22; letter-spacing:-.04em; }
.hero-introduction { top:calc(16% + 172px); left:clamp(28px,5vw,76px); width:min(410px,42%); max-width:none; }
.hero-copy .hero-summary,.story-chapter p { color:var(--muted); font-size:14px; line-height:1.8; }
.hero-copy .hero-summary { max-width:390px; }
.journey-enter,.story-action,.journey-fault,.primary-button { background:#05070b; color:#e6e8ed; border:1px solid #ffffff26; box-shadow:none; border-radius:999px; padding:13px 24px; font-weight:400; }
.journey-enter:hover,.story-action:hover,.journey-fault:hover,.primary-button:hover { color:#fff; background:#101725; border-color:#5573b3; transform:none; }
.journey-fault[aria-pressed=true] { color:var(--fault); background:#16100b; }
.experience-viewport .assembly-id { top:auto; right:32px; bottom:105px; font-size:11px; color:var(--muted); }
.experience-viewport .assembly-id small { font-size:10px; color:var(--quiet); }
.journey-nav { left:28px; bottom:24px; background:#070b11; border-color:#ffffff1c; border-radius:999px; box-shadow:none; }
.journey-nav button { padding:10px 15px; border-radius:999px; font-size:11px; font-weight:400; }
.journey-nav button[aria-current="step"] { background:#111c32; border-color:#4a6296; color:#dae5ff; box-shadow:none; }
.skin-control { right:252px; bottom:24px; width:224px; border:0; border-radius:0; background:transparent; padding:4px 0 0; }
.experience-viewport>.system-dock { right:188px; bottom:24px; padding:0; }
.experience-viewport .motion-control { border-radius:50%; background:#070b11; box-shadow:none; }
.experience-viewport .inspect-model { top:auto; right:28px; bottom:24px; padding:13px 18px; border-radius:999px; font-weight:400; background:#070b11; box-shadow:none; }
.section-pad { padding:120px var(--pad); }
.section-intro { margin-bottom:52px; }
.section-intro h2,.workspace-heading h2,.contact-copy h2,.platform-intro h2 { font-size:clamp(30px,3.2vw,46px); font-weight:400; line-height:1.22; letter-spacing:-.04em; }
.section-intro>p,.platform-definition p,.contact-copy>p:not(.section-context) { color:var(--muted); font-size:15px; line-height:1.85; }
.section-intro>p { max-width:640px; }
.platform-section,.impact-section,.intelligence-section,.workspace-section { background:#000; }
.platform-section { padding-top:100px; padding-bottom:30px; }
.platform-intro { gap:56px; align-items:start; margin-bottom:52px; }
.product-kicker { display:none; }
.product-guide { border:0; border-radius:0; background:none; box-shadow:none; overflow:visible; }
.guide-toolbar { padding:0 0 20px; border:0; background:transparent; color:var(--muted); font-size:12px; }
.guide-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding:0; border:0; background:none; }
.guide-tabs button { display:flex; flex-direction:column; align-items:stretch; justify-content:start; gap:0; min-width:0; min-height:286px; padding:26px 22px 20px; border:1px solid #ffffff1c; border-radius:16px; background:linear-gradient(180deg,#000 36%,#040813); color:#e1e4eb; box-shadow:none; text-align:left; }
.guide-tabs button[aria-selected=true] { border-color:#4a6296; background:linear-gradient(180deg,#030509 30%,#091225); color:#fff; box-shadow:none; }
.guide-tabs button:hover { border-color:#65748f; background-color:#080c14; }
.guide-card-title { font-size:20px; font-weight:400; line-height:1.3; letter-spacing:-.03em; }
.guide-card-proof { display:flex; flex-direction:column; gap:10px; width:100%; min-height:146px; margin:28px 0 24px; color:#aab0bd; font-size:11px; line-height:1.5; font-variant-numeric:tabular-nums; }
.proof-id { font-size:10px; color:#8fa1c1; letter-spacing:.04em; }
.proof-main { color:#c7ccd7; font-size:16px; line-height:1.45; margin-bottom:8px; }
.proof-row { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; padding-bottom:8px; border-bottom:1px solid #ffffff0e; }
.proof-row em { color:#d0d4df; font-style:normal; }
.proof-row .proof-planned { color:#6ecbff; }
.proof-path { position:relative; gap:0; padding:0 0 0 16px; }
.proof-path::before { content:''; position:absolute; left:0; top:13px; bottom:20px; width:1px; background:#426293; }
.proof-node { position:relative; display:block; padding:10px 0 10px 5px; color:#c8d3e7; }
.proof-node::before { content:''; position:absolute; left:-20px; top:17px; width:7px; height:7px; border:1px solid #6c8fc5; border-radius:50%; background:#0c1423; }
.guide-card-question { color:#aab3c5; font-size:12px; line-height:1.5; margin-top:auto; }
.guide-panel { margin-top:36px; padding:36px 0 0; border-top:1px solid #ffffff1c; background:none; gap:60px; }
.guide-explanation h3 { font-size:27px; font-weight:400; letter-spacing:-.03em; }
.guide-explanation>p:not(.guide-discipline) { color:var(--muted); font-size:14px; }
.guide-discipline { color:#a0b1cd; }
.guide-depth { border-color:#ffffff24; background:#05070b; box-shadow:none; }
.guide-example { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.guide-example>a { background:#070b12; border-color:#ffffff1c; border-radius:10px; box-shadow:none; }
.impact-workbench,.intelligence-demo { border-color:#ffffff1c; background:#03050a; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
.bench-toolbar,.ws-header { background:#060a11; }
.bench-toolbar { border-bottom:1px solid #ffffff14; }
.dossier,.source-inspector { background:#050910; }
.impact-records { background:#04070d; }
.impact-records button,.prompt-selector button,.answer-citations button { background:#070c14; box-shadow:none; border-color:#ffffff26; }
.workspace-app { --ws-bg:#04070d; --ws-raised:#090f19; --ws-edge:#ffffff24; --ws-muted:#a6afbf; border-color:#ffffff24; box-shadow:0 24px 64px #0006; }
.workspace-heading { margin-bottom:40px; }
.ws-header-actions button,#workspace-expand,#workspace-close { border-radius:999px; box-shadow:none; }
.contact-section { margin:0 var(--pad) 48px; padding:80px clamp(28px,5vw,76px); border:1px solid #ffffff1c; border-radius:24px; background:linear-gradient(145deg,#030509,#070d1b); gap:8vw; }
.contact-copy h2 { font-size:clamp(36px,4.1vw,60px); }
.contact-copy>a { color:#bbceef; }
.contact-section input,.contact-section textarea { background:#03060b; border-color:#ffffff32; box-shadow:none; border-radius:8px; }
.site-footer { padding:20px var(--pad) 42px; border:0; background:#000; color:var(--muted); }
.site-footer .footer-brand { color:#d5dae5; font-family:var(--sans); font-weight:400; }
.site-footer .footer-brand span { color:#78a9ff; }
.site-footer>a:not(.footer-brand) { color:var(--muted); }
@media (max-width:1100px) and (min-width:721px) {
 .experience-viewport { min-height:620px; }
 .story-chapter[data-chapter="0"] h1 { font-size:44px; width:65%; }
 .hero-introduction { top:calc(16% + 145px); }
 .skin-control { right:28px; bottom:96px; width:220px; }
 .experience-viewport .assembly-id { bottom:182px; }
 .journey-nav button { padding:10px 12px; font-size:10px; }
 .guide-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:720px) {
 :root { --pad:20px; }
 .site-nav,.menu-top { height:64px; }
 .site-nav .brand svg { width:150px; height:34px; }
 .site-menu { padding:0 20px; }
 .menu-content { grid-template-columns:1fr; padding:35px 0; }
 .site-nav .site-menu nav { display:flex; gap:20px; }
 .site-nav .site-menu nav a { font-size:clamp(28px,8vw,46px); }
 .menu-context { display:none; }
 .menu-bottom { flex-direction:column; gap:10px; font-size:11px; }
 .experience-viewport { margin:0 12px; height:calc(100svh - 80px); min-height:680px; top:64px; border-radius:18px; }
 .experience-viewport::after { background:linear-gradient(0deg,#020610 0%,#000b 27%,transparent 58%); }
 .story-chapter,.hero-copy.story-chapter { left:24px; bottom:176px; width:calc(100% - 48px); max-width:none; }
 .story-chapter h1,.story-chapter h2,.hero-copy.story-chapter h1 { font-size:clamp(28px,7.5vw,42px); line-height:1.18; }
 .story-chapter[data-chapter="0"] h1 { top:38px; left:24px; width:calc(100% - 48px); font-size:clamp(28px,7.9vw,43px); line-height:1.23; }
 .hero-introduction { top:auto; bottom:178px; left:24px; width:calc(100% - 48px); }
 .hero-copy .hero-summary { max-width:320px; font-size:12px; line-height:1.7; }
 .hero-introduction .journey-enter { margin-top:18px; padding:12px 20px; font-size:12px; }
 .story-chapter p { font-size:13px; line-height:1.7; max-width:none; }
 .skin-control { left:24px; right:auto; bottom:95px; width:calc(100% - 48px); padding:0; border:0; background:transparent; }
 .skin-control label { font-size:10px; }
 .skin-control input { height:40px; }
 .journey-nav { left:16px; right:16px; bottom:60px; width:auto; transform:none; padding:3px; gap:0; justify-content:space-between; }
 .journey-nav button { padding:8px 7px; min-height:36px; font-size:9px; }
 .experience-viewport>.system-dock { left:20px; right:auto; bottom:12px; }
 .experience-viewport .motion-control { width:40px; height:40px; }
 .experience-viewport .inspect-model { right:20px; bottom:12px; min-height:40px; padding:10px 15px; font-size:10px; }
 .experience-viewport .assembly-id { right:24px; bottom:330px; font-size:9px; }
 .experience-viewport .assembly-id small { font-size:8px; }
 .section-pad { padding:78px var(--pad); }
 .section-intro { margin-bottom:32px; }
 .section-intro h2,.workspace-heading h2,.platform-intro h2 { font-size:30px; line-height:1.22; }
 .platform-intro h2 br,.section-intro h2 br,.contact-copy h2 br { display:initial; }
 .section-intro>p,.platform-definition p { font-size:14px; }
 .platform-section { padding-bottom:20px; }
 .platform-intro { grid-template-columns:1fr; gap:24px; margin-bottom:32px; }
 .guide-toolbar { font-size:10px; gap:12px; }
 .guide-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .guide-tabs button { padding:18px 14px 16px; min-height:265px; border-radius:12px; }
 .guide-card-title { font-size:16px; }
 .guide-card-proof { margin:22px 0; min-height:140px; font-size:10px; }
 .proof-id { font-size:8px; }
 .proof-main { font-size:13px; }
 .proof-row { gap:5px; }
 .guide-card-question { font-size:10px; }
 .guide-panel { padding:28px 0 0; margin-top:28px; gap:28px; }
 .guide-explanation h3 { font-size:23px; }
 .contact-section { margin:0 12px 32px; padding:48px 24px; gap:32px; }
 .contact-copy h2 { font-size:36px; }
 .site-footer { padding:16px 20px 32px; gap:20px 12px; font-size:10px; }
}
@media(max-width:360px) {
 .story-chapter[data-chapter="0"] h1 { font-size:26px; }
 .story-chapter,.hero-copy.story-chapter { left:20px; width:calc(100% - 40px); }
 .hero-introduction { left:20px; width:calc(100% - 40px); }
 .guide-tabs { grid-template-columns:1fr; }
 .guide-tabs button { min-height:240px; padding:22px; }
 .guide-card-title { font-size:20px; }
 .guide-card-proof { min-height:120px; margin:22px 0; }
 .proof-id,.guide-card-question { font-size:11px; }
 .proof-row { font-size:12px; }
 .proof-main { font-size:16px; }
 .section-intro h2,.platform-intro h2 { font-size:27px; }
 .journey-nav button { padding:8px 5px; font-size:8px; }
}
@media(prefers-reduced-motion:reduce) {
 .site-menu[open] { animation:none; }
 .story-chapter { will-change:auto; }
}
