/* Public homepage. The administrative workspace keeps its existing styles. */
.home-brand{display:none}
body:has(#login:not([hidden])){background:#040b16;color:#edf3fc;font-family:"Segoe UI","Microsoft YaHei",sans-serif}
body:has(#login:not([hidden]))>header{position:absolute;inset:0 0 auto;z-index:5;height:96px;min-height:0;padding:0 5.65%;background:transparent;border:0;backdrop-filter:none;gap:30px}
body:has(#login:not([hidden])) .console-brand{display:none}
body:has(#login:not([hidden])) .console-actions{display:none}
body:has(#login:not([hidden])) .home-brand{display:flex;align-items:center;gap:25px;color:#e7effc;text-decoration:none;white-space:nowrap;font-size:20px;font-weight:500;letter-spacing:2px;min-height:44px}
.home-wordmark{font:italic 900 32px/1 "Arial",sans-serif;letter-spacing:-2px}
body:has(#login:not([hidden])) .web-nav{display:flex;align-items:center;gap:48px;flex:1;margin-left:clamp(25px,11vw,170px)}
body:has(#login:not([hidden])) .web-nav a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:8px 0;color:#c2d0e4;font-size:15px;line-height:1.4;white-space:nowrap;border:0;border-radius:0}
body:has(#login:not([hidden])) .web-nav a[aria-current=page]{color:#fff;text-decoration:underline;text-underline-offset:15px;text-decoration-thickness:2px;text-decoration-color:#578fff}
body:has(#login:not([hidden])) .web-nav .admin-entry{margin-left:auto;padding:10px 20px;border:1px solid #6f9ce0;border-radius:5px;color:#e5edf9}
.admin-entry img,.home-primary img,.home-text-link img{filter:brightness(0) invert(1);flex-shrink:0}
body:has(#login:not([hidden]))>main{padding:0;margin:0;max-width:none;min-height:0}
body:has(#login:not([hidden]))>footer{display:none}
#login{overflow:clip;background:#040b16;color:#edf3fc}
#login h2,#login h3{color:#f3f6fc}
/* Hero: full-bleed light-show stage (home-show.js) over the dimmed coastline. */
#login .home-hero{position:relative;display:flex;align-items:center;height:100svh;min-height:720px;max-height:1200px;padding:110px 5.65% 90px;isolation:isolate;scroll-margin-top:0;background:#03060c;overflow:hidden}
.home-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom;z-index:-2;filter:brightness(.58) saturate(1.08)}
#login .home-hero::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 70% 65% at 62% 42%,transparent 35%,#03060ca8 100%),linear-gradient(90deg,#03060cd0,#03060c55 38%,transparent 60%),linear-gradient(180deg,#03060cb0,transparent 24%,transparent 72%,#040b16)}
.show-stage{position:absolute;inset:0;z-index:0}
#showCanvas{display:block;width:100%;height:100%;opacity:0;transition:opacity 1.6s ease}
.show-stage.show-ready #showCanvas{opacity:1}
#login .home-copy{position:relative;z-index:2;width:44%;max-width:620px;pointer-events:none}
#login .home-eyebrow{display:inline-flex;align-items:center;gap:12px;font:11px/1.5 Consolas,monospace;letter-spacing:3.5px;color:#a9c4e6;margin-bottom:22px}
#login .home-eyebrow::before{content:'';width:28px;height:1px;background:linear-gradient(90deg,#ffd58a,#76aefa)}
#login .home-copy h2{font-size:clamp(46px,4.5vw,76px);font-weight:800;line-height:1.2;letter-spacing:-2px;margin:0 0 22px;white-space:nowrap;text-shadow:0 4px 40px #000a}
#login .home-copy h2 em{font-style:normal;background:linear-gradient(100deg,#ffe0a3 0%,#8fc0ff 55%,#6d94ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
#login .home-copy p{font-size:clamp(16px,1.3vw,20px);line-height:1.7;color:#d3deee;margin:0 0 32px;text-shadow:0 2px 20px #000c}
.home-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
#login .home-primary{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:66px;padding:16px 30px;background:#4f86f5;color:#fff;border:1px solid #6b9bfd;border-radius:6px;font-size:20px;font-weight:600;text-decoration:none;pointer-events:auto}
#login .home-primary:hover{background:#6598ff}
#login .home-actions .home-primary{min-height:56px;font-size:17px;padding:12px 26px;box-shadow:0 10px 40px #4f86f540}
#login .home-ghost{display:inline-flex;align-items:center;min-height:56px;padding:12px 24px;border:1px solid #ffffff38;border-radius:6px;color:#e7eefa;font-size:16px;text-decoration:none;background:#ffffff0d;backdrop-filter:blur(10px);pointer-events:auto}
#login .home-ghost:hover{background:#ffffff1c;border-color:#ffffff5c}
#login .show-caption{position:absolute;right:5.65%;bottom:8%;z-index:2;margin:0;display:flex;flex-direction:column;align-items:flex-end;gap:6px;font:11px/1.5 Consolas,monospace;letter-spacing:2.5px;color:#9db3cf;text-shadow:0 2px 12px #000}
#login .show-caption strong{font-size:12px;color:#e6eefa;font-weight:600}
#login .show-caption:empty{display:none}
/* The particle aircraft now has its own band below the hero. */
#login .home-aircraft{position:relative;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:4%;min-height:620px;padding:60px 5.65%;background:radial-gradient(ellipse 50% 70% at 70% 50%,#13305a55,transparent 70%),#040b16;border-top:1px solid #1a2a3f;scroll-margin-top:0}
.home-aircraft-copy small{font:10px/1.5 Consolas,monospace;letter-spacing:3px;color:#9cb5d4}
#login .home-aircraft h2{font-size:clamp(30px,3.2vw,46px);font-weight:600;line-height:1.35;margin:18px 0 16px}
.home-aircraft-copy p{font-size:15px;line-height:1.9;color:#aebed1;margin:0}
#login .home-model{position:relative;width:100%;height:clamp(420px,38vw,620px);min-width:0}

.home-model-viewport{position:relative;width:100%;height:100%}
#productCanvas,#productVisual{display:block;width:100%;height:100%;object-fit:contain}
#productCanvas{cursor:grab;touch-action:pan-y}
#productCanvas:active{cursor:grabbing}
#productCanvas:focus,#productCanvas:focus-visible{outline:none}




#login .home-signature{position:absolute;left:5.9%;bottom:8%;margin:0;font:9px/1.6 Consolas,monospace;letter-spacing:3px;color:#9ab7d3}
#login .home-flight{padding:70px 0 48px;background:#040b16;scroll-margin-top:20px}
.home-flight-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding:0 5.65%;max-width:1640px;margin:0 auto 8px}
.home-flight-heading small{font:10px/1.5 Consolas,monospace;letter-spacing:3px;color:#9cb5d4}
#login .home-flight-heading h2{font-size:clamp(30px,3.2vw,46px);font-weight:600;line-height:1.3;margin:18px 0 0}
.home-flight-player{position:relative;max-width:1420px;width:100%;margin:0 auto}
.home-flight-player video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#040b16}
.home-flight-player[data-enhanced] video{cursor:pointer;mask-image:linear-gradient(180deg,transparent,#000 7%,#000 86%,transparent),linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-composite:intersect}
#login .home-flight-start{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);width:116px;height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border-radius:50%;padding:18px;background:#09182dc9;border:1px solid #8cbcff75;color:#edf3fc;font-size:13px;font-weight:500;box-shadow:0 0 40px #568af51c;backdrop-filter:blur(8px)}
#login .home-flight-start:hover{background:#173351d9;border-color:#8cbcff}
.home-flight-start svg{width:28px;height:28px;fill:currentColor}
.home-flight-player video:focus-visible{outline:2px solid #8cbcff;outline-offset:4px}
.home-flight-status{margin:22px 5.65% 0;color:#c5d4e8;font-size:13px;text-align:center}
@media(max-width:900px){#login .home-flight{padding:44px 0 34px}.home-flight-heading{padding:0 24px;align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:12px}#login .home-flight-heading h2{font-size:30px;margin-top:14px}#login .home-flight-start{width:88px;height:88px;font-size:11px;gap:7px;top:42%}.home-flight-start svg{width:23px;height:23px}}
#login .home-product{position:relative;isolation:isolate;min-height:350px;height:23.6vw;max-height:520px;padding:3.2% 5.65%;border-top:1px solid #2b405a;scroll-margin-top:0}
.home-product-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:-1}
.home-product-copy{max-width:44%}
#login .home-product small,.home-section-heading small,.home-details small{font:10px/1.5 Consolas,monospace;letter-spacing:3px;color:#9cb5d4}
#login .home-product h2{font-size:clamp(29px,3.15vw,49px);line-height:1.3;font-weight:600;letter-spacing:0;margin:18px 0 15px}
#login .home-product p{font-size:14px;line-height:1.8;color:#c5d4e8;margin:0 0 20px}
#login .home-text-link{display:inline-flex;align-items:center;gap:14px;min-height:44px;color:#79b6ff;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:10px}
#login .home-details{padding:65px 5.65%;display:grid;grid-template-columns:repeat(3,1fr);gap:48px;background:#07111e;border-top:1px solid #26364b;scroll-margin-top:25px}
.home-details article{min-width:0}
#login .home-details h3{font-size:24px;margin:20px 0 14px;font-weight:500}
.home-details p{font-size:15px;line-height:1.9;color:#aebed1;max-width:36em;margin:0}
#login .home-cases{padding:80px 5.65% 90px;border-top:1px solid #233448;scroll-margin-top:20px}
.home-section-heading{margin-bottom:35px}
#login .home-section-heading h2{font-size:clamp(30px,3.2vw,46px);font-weight:600;margin:18px 0 14px}
.home-section-heading p{font-size:15px;color:#aebed1}
.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.case-card{min-width:0}
.case-card video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#02060c;border-radius:5px}
#login .case-card h3{font-size:19px;margin:18px 0 8px;font-weight:500}
.case-card p{font-size:14px;color:#a8bad0;line-height:1.8;margin:0}
.home-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #26364b;padding:32px 5.65%;color:#a4b7cd;font-size:13px}
#login .home-footer a{display:inline-flex;align-items:center;min-height:44px;color:#b8cee5;text-decoration:none}
#login a:focus-visible,#login button:focus-visible,.web-nav a:focus-visible,.home-brand:focus-visible{outline:2px solid #80b9ff;outline-offset:5px}
body:has(#adminLoginDialog[open]){overflow:hidden}
/* Scope the modal controls together so console focus/autofill styles cannot leak in. */
#adminLoginDialog{width:min(480px,calc(100vw - 32px));padding:0;max-height:calc(100dvh - 32px);border:1px solid #304762;border-radius:16px;background:#0b1423;overflow:auto;font-family:"Segoe UI","Microsoft YaHei",sans-serif;box-shadow:0 32px 100px #0009}
#adminLoginDialog::backdrop{background:#020713c9;backdrop-filter:blur(8px)}
#adminLoginDialog .login-close{position:absolute;top:12px;right:12px;z-index:3;min-height:40px;min-width:56px;padding:8px 12px;border-radius:8px;background:transparent;color:#9eb2cc;border:1px solid transparent;font-size:12px;font-weight:500}
#adminLoginDialog .login-close:hover{background:#17283e;border-color:#344e6e;color:#edf3fc}
#adminLoginDialog #webAccess{min-height:0;background:radial-gradient(ellipse at 0 0,#172c4860,transparent 65%),#0b1423}
#adminLoginDialog #webAccess .access-visual{opacity:.07}
#adminLoginDialog #webAccess .access-shell{padding:58px 32px 26px;min-height:0}
#adminLoginDialog #webAccess .access-brand{gap:16px;font-size:10px;letter-spacing:1.4px;line-height:1.8;margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid #263950}
#adminLoginDialog #webAccess .access-brand strong{font-size:30px;color:#70a9ff}
#adminLoginDialog #webAccess .access-brand span{padding-left:16px;color:#95abc7;border-color:#304762}
#adminLoginDialog #webAccess .access-main{display:block;padding:0}
#adminLoginDialog .access-space,#adminLoginDialog .access-tag,#adminLoginDialog .access-footer{display:none}
#adminLoginDialog #webAccess .access-card{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;backdrop-filter:none;max-width:none;width:100%}
#adminLoginDialog #loginTitle{font-size:26px;line-height:1.4;font-weight:600;letter-spacing:.01em;color:#edf3fc;margin:0 0 8px}
#adminLoginDialog #webAccess .access-intro{font-size:13px;line-height:1.8;color:#99afc9;margin:0 0 28px}
#adminLoginDialog #loginForm{display:flex;flex-direction:column;align-items:stretch;gap:20px}
#adminLoginDialog #loginForm label{font-size:13px;font-weight:500;color:#b6c7dd;gap:9px;line-height:1.5}
#adminLoginDialog #loginForm input{font-size:15px;font-weight:400;line-height:1.5;height:48px;min-height:48px;padding:12px 14px;border:1px solid #304762;border-radius:8px;background:#0d1a2b;color:#edf3fc;caret-color:#8cbcff;outline:none;box-shadow:none}
#adminLoginDialog #loginForm input::placeholder{color:#7389a5}
#adminLoginDialog #loginForm input:hover{border-color:#4a6688}
#adminLoginDialog #loginForm input:focus{outline:none;border-color:#7caaff;box-shadow:0 0 0 3px #6c9fff1f}
#adminLoginDialog #loginForm input:autofill{background:#0d1a2b;color:#edf3fc}
#adminLoginDialog #loginForm input:-webkit-autofill{-webkit-text-fill-color:#edf3fc;box-shadow:inset 0 0 0 1000px #0d1a2b}
#adminLoginDialog #loginForm input:-webkit-autofill:focus{box-shadow:inset 0 0 0 1000px #0d1a2b,0 0 0 3px #6c9fff1f}
#adminLoginDialog #loginForm .login-submit{font-size:15px;font-weight:600;height:48px;min-height:48px;margin-top:6px;border-radius:8px;background:#4f86f5;border:1px solid #6898fb;justify-content:center;gap:18px;color:#fff;box-shadow:none}
#adminLoginDialog #loginForm .login-submit:hover{background:#6598ff;border-color:#86b1ff}
#adminLoginDialog button:focus-visible{outline:2px solid #8cbcff;outline-offset:3px}
#adminLoginDialog #webAccess .access-note{font-size:12px;line-height:1.8;color:#95abc7;margin:22px 0 24px}
#adminLoginDialog #webAccess .access-card-foot{font-size:9px;color:#7893b5;letter-spacing:1px;border-color:#263950;padding-top:18px;margin:0}
@media(max-width:520px){#adminLoginDialog #webAccess .access-shell{padding:56px 22px 22px}#adminLoginDialog #webAccess .access-brand{gap:12px;font-size:9px;letter-spacing:1px}#adminLoginDialog #webAccess .access-brand span{padding-left:12px}}
#loginError:not(:empty){margin:0 0 20px;padding:12px;border:1px solid #87505a;border-radius:6px;background:#35202a;color:#ffd5dc;font-size:14px}
body:has(#adminLoginDialog[open]) #message{display:none}
@media(min-width:1800px){#login .home-copy{max-width:700px}}
@media(max-width:1150px){body:has(#login:not([hidden])) .web-nav{gap:24px;margin-left:auto}body:has(#login:not([hidden])) .home-brand{gap:14px;font-size:17px}.home-wordmark{font-size:28px}#login .home-copy{width:58%}#login .home-copy h2{font-size:55px}#login .home-copy p{font-size:17px}#login .home-primary{font-size:17px;min-height:58px}#login .home-product{height:370px;padding-top:45px}.home-product-copy{max-width:47%}#login .home-product h2{font-size:32px}.desktop-break{display:none}}
@media(max-width:900px){body:has(#login:not([hidden]))>header{height:124px;padding:16px 22px 4px;align-content:flex-start;gap:10px;flex-wrap:wrap}body:has(#login:not([hidden])) .home-brand{font-size:16px;gap:18px;min-height:36px}.home-wordmark{font-size:28px}body:has(#login:not([hidden])) .web-nav{margin:0;width:100%;flex:none;gap:0;justify-content:space-between}body:has(#login:not([hidden])) .web-nav a{font-size:12px;min-height:44px;padding:8px 5px}body:has(#login:not([hidden])) .web-nav .admin-entry{padding:8px 10px;min-height:44px;margin-left:0;gap:5px}.admin-entry img{width:14px;height:14px}body:has(#login:not([hidden])) .web-nav a[aria-current=page]{text-underline-offset:9px}#login .home-hero{display:block;height:100svh;min-height:760px;max-height:1000px;padding:0}#login .home-copy{position:absolute;inset:146px 16px 18px;width:auto;max-width:none;display:flex;flex-direction:column;align-items:flex-start}#login .home-copy>*{flex-shrink:0}#login .home-copy h2{font-size:clamp(37px,9.7vw,58px);line-height:1.25;letter-spacing:-1.8px;margin-bottom:22px}#login .home-copy p{font-size:16px;line-height:1.8;margin-bottom:24px}#login .home-primary{font-size:16px;min-height:52px;padding:12px 22px;gap:24px}#login .home-actions .home-primary,#login .home-ghost{min-height:50px;font-size:15px;padding:10px 18px}#login .home-actions .home-primary{gap:18px}.home-actions{gap:10px}#login .home-eyebrow{margin-bottom:16px;font-size:10px;letter-spacing:2.5px}#login .home-hero::after{background:linear-gradient(180deg,#03060cd8,#03060c99 40%,transparent 58%,transparent 80%,#040b16)}#login .home-signature,#login .show-caption{display:none}#login .home-aircraft{grid-template-columns:1fr;gap:12px;min-height:0;padding:48px 24px 24px}#login .home-model{height:380px}.home-backdrop{object-position:60% bottom}#login .home-product{height:690px;min-height:0;max-height:none;padding:40px 24px}.home-product-copy{max-width:100%;position:relative;z-index:1}.home-product-image{height:330px;top:auto;bottom:0;object-position:80% center;object-fit:cover}#login .home-product h2{font-size:32px;margin-top:16px}#login .home-product p{font-size:14px;max-width:440px}#login .home-details{padding:44px 24px;grid-template-columns:1fr;gap:32px}#login .home-details h3{font-size:22px;margin:13px 0 9px}#login .home-cases{padding:50px 24px}.case-grid{grid-template-columns:1fr;gap:32px}.home-footer{padding:24px;flex-wrap:wrap;gap:8px 20px}.home-footer>span{order:3;flex:1 0 100%;font-size:12px}#adminLoginDialog .access-shell{padding:62px 22px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

#login .home-cases-link{display:flex;align-items:center;justify-content:space-between;gap:32px}#login .home-cases-link .home-section-heading{margin:0}#login .home-cases-link .home-primary{white-space:nowrap;font-size:17px;min-height:56px}@media(max-width:760px){#login .home-cases-link{align-items:flex-start;flex-direction:column;gap:22px}}
