:root {
  color-scheme: dark;
  --bg: #050912;
  --ink: #f2f6ff;
  --muted: #b1bed3;
  --dim: #8fa4c1;
  --accent: #92f7eb;
  --line: #799ccb36;
  --spectral: linear-gradient(105deg,#94f6db -2%,#76c4ff 48%,#b5a4ff 100%);
  --mono: "Cascadia Mono", "Consolas", monospace;
  --sans: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
main { position: relative; z-index: 2; }
.scene-sky,.scene-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scene-sky { z-index: 0; background: url("assets/sky.svg") center / 680px 490px repeat, radial-gradient(ellipse at 72% 27%,#142c4d 0%,transparent 52%), radial-gradient(ellipse at 13% 76%,#0b3038 0%,transparent 58%), radial-gradient(ellipse at 88% 91%,#201d46 0%,transparent 56%); }
.scene-canvas { z-index: 1; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, ol { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 20; padding: 10px 16px; background: var(--accent); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 10; padding-top: 12px; }
.nav { min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; position: relative; padding-inline: 17px; border: 1px solid #91bfff2e; border-radius: 17px; background: linear-gradient(160deg,#182d474d,#10182a9c); box-shadow: inset 0 1px 0 #d5e5ff12,0 14px 36px #0208153d; backdrop-filter: blur(16px) saturate(1.35); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-size: 18px; letter-spacing: -.025em; font-weight: 780; line-height: 1.1; }
.brand img { display: block; flex-shrink: 0; }
.brand small { display: block; color: var(--dim); font-size: 10px; letter-spacing: .14em; margin-top: 5px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 35px; color: var(--muted); font-size: 13px; font-weight: 600; }
.nav-links > a { display: inline-flex; align-items: center; min-height: 62px; position: relative; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a[aria-current]::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--accent); box-shadow: 0 0 12px #78f5d289; }
.nav-action, .menu-toggle { justify-self: end; min-height: 40px; border: 1px solid #79f5d253; background: #78f5d20a; color: var(--accent); border-radius: 8px; }
.nav-action { display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; font-size: 12px; font-weight: 750; border-color: transparent; background: var(--spectral); color: #071529; }
.nav-action:hover { background: #bbf3ff; }
.nav-action:hover, .menu-toggle:hover { background: #78f5d226; }
.nav-action .icon { width: 15px; height: 15px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 42px; cursor: pointer; }
.progress { position: absolute; inset: 0 0 auto; height: 2px; background: var(--spectral); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.hero { position: relative; }
.hero-inner { min-height: clamp(510px,73svh,710px); padding-block: 32px 38px; position: relative; display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 11px; font-family: var(--mono); font-size: 12px; letter-spacing: .17em; color: #acbac9; font-weight: 600; }
.signal { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px #78f5d293, 0 0 0 4px #78f5d21b; margin-inline: 3px; }
.hero h1 { margin: 26px 0 21px; font-size: clamp(46px, 5.4vw, 86px); line-height: 1.095; letter-spacing: -.055em; font-weight: 840; }
.hero h1 > span { display: block; overflow: hidden; padding-block: .04em .09em; margin-bottom: -.09em; }
.hero h1 > span > * { display: block; width: fit-content; }
.hero h1 strong { font-weight: inherit; color: #9de8ff; background: var(--spectral); background-clip: text; -webkit-text-fill-color: transparent; }
.cinematic .hero h1 > span > * { animation: title-rise .88s cubic-bezier(.2,.72,.21,1) both; }
.cinematic .hero h1 > span:nth-child(2) > * { animation-delay: .11s; }
@keyframes title-rise { from { transform: translateY(100%); opacity: .2; } }
.hero-lead { max-width: 435px; color: var(--muted); font-size: 17px; line-height: 1.85; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
.button { min-height: 48px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border-radius: 999px; font-weight: 740; font-size: 14px; transition: background .22s, box-shadow .22s, border-color .22s; }
.button .icon { width: 17px; height: 17px; }
.button .trailing { margin-left: 8px; }
.button.primary { background: var(--spectral); color: #061429; box-shadow: 0 8px 30px #84ccff32; }
.button.primary:hover { background: #cbf3ff; box-shadow: 0 7px 34px #a3d8fe56; }
.button.secondary { color: #dce9ec; border-color: #45616a; background: #12222b94; }
.button.secondary:hover { background: #1c353d; border-color: var(--accent); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 15px; margin-top: 20px; color: var(--dim); font-size: 12px; }
.hero-meta span:first-child { font-family: var(--mono); }
.hero-meta span + span::before { content: "·"; color: var(--accent); margin-right: 15px; }

.scene-slot { position: relative; height: clamp(285px,42vw,570px); pointer-events: none; }
.scene-slot::after { content: ""; position: absolute; inset: 0; background: var(--fallback) center / contain no-repeat; transition: opacity .45s; }
.cinematic .scene-slot::after { opacity: 0; }
.scene-ring { --fallback: url("assets/radar.svg"); }
.scene-wall { --fallback: url("assets/wall.svg"); height: clamp(270px,36vw,460px); }
.scene-stack { --fallback: url("assets/stack.svg"); height: clamp(270px,36vw,460px); }
.story { min-height: 535px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.94fr); gap: clamp(35px,7vw,110px); align-items: center; padding-block: 45px; }
.story-floating { min-height: 475px; padding-bottom: 0; }
.story-copy h2 { font-size: clamp(30px,3.55vw,52px); line-height: 1.16; letter-spacing: -.045em; margin: 19px 0 16px; font-weight: 810; }
.story-copy > p:not(.eyebrow) { max-width: 420px; color: var(--muted); line-height: 1.8; }
.text-action { display: inline-flex; align-items: center; gap: 8px; margin-top: 19px; padding-block: 4px; color: var(--accent); font-size: 14px; font-weight: 700; }
.text-action .icon { width: 16px; height: 16px; transition: transform .22s; }
.text-action:hover .icon { transform: translateX(4px); }

@property --iris {
  syntax: "<percentage>";
  inherits: false;
  initial-value: -16%;
}
.opening { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse at 50% 44%,#172d4f,#070d1c 42%,#04070e 79%); }
.opening.is-closing { animation: opening-iris .84s cubic-bezier(.66,0,.31,1) forwards; mask-image: radial-gradient(circle at 50% 48%,transparent var(--iris),#000 calc(var(--iris) + 16%)); }
@keyframes opening-iris { to { --iris: 154%; opacity: .1; } }
.opening-dial { width: min(55vmin,300px); aspect-ratio: 1; position: relative; display: grid; place-items: center; color: #d7e9ff; }
.opening.is-closing .opening-dial { animation: dial-exit .55s ease-in forwards; }
@keyframes dial-exit { to { opacity: 0; transform: scale(1.21); } }
.opening-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.dial-ticks { stroke: #aecfff62; stroke-width: 1.8; stroke-dasharray: .12 1.03; transform-origin: center; animation: turn 14s linear infinite; }
.dial-track { stroke: #8cb8f32b; stroke-width: .8; }
.dial-progress { stroke: #a9dcff; stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: center; filter: drop-shadow(0 0 6px #81bdff); }
@keyframes turn { to { transform: rotate(360deg); } }
.opening-number { position: relative; font-weight: 300; font-size: clamp(38px,7vmin,72px); letter-spacing: -.07em; font-variant-numeric: tabular-nums; line-height: 1; }
.opening-number b { font-weight: inherit; }
.opening-number small { font-size: .27em; letter-spacing: 0; margin-left: .3em; vertical-align: .9em; color: #a4bce0; }
.opening-brand { position: absolute; top: 99%; display: flex; align-items: center; gap: 8px; font: 650 13px var(--mono); color: #b9cbe4; }


.feature-rail { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--line); }
.feature-rail a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; min-height: 85px; font-size: 15px; font-weight: 700; }
.feature-rail a + a { border-left: 1px solid var(--line); }
.feature-rail a:hover { background: #193039ab; }
.feature-rail a > .icon { color: var(--accent); width: 21px; height: 21px; }
.feature-rail small { display: block; margin-bottom: 3px; color: var(--dim); font: 600 10px var(--mono); letter-spacing: .13em; }
.feature-rail a .rail-arrow { margin-left: auto; width: 15px; height: 15px; color: var(--dim); }

.section { padding-top: 92px; }
.section-head { margin-bottom: 30px; }
.section-index, .accent { color: var(--accent); }
.section-head h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.2; letter-spacing: -.04em; margin: 17px 0 13px; font-weight: 790; }
.section-head > p:not(.eyebrow) { color: var(--muted); }
.console { display: grid; grid-template-columns: 230px minmax(0,1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse at 69% 0%,#1a343d73,transparent 65%), #101920; box-shadow: 0 18px 60px #03080d40; }
.console.photo-through { background: #111e3426; }
.console-sidebar { padding: 25px 15px; border-right: 1px solid var(--line); background: #0a141cb3; }
.console-mark { display: flex; align-items: center; gap: 9px; color: #a6bcc5; font: 650 11px var(--mono); letter-spacing: .07em; margin: 2px 9px 22px; }
.console-mark .icon { width: 18px; height: 18px; color: var(--accent); }
.tabs { display: grid; gap: 5px; }
.tabs button { width: 100%; min-height: 49px; display: flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; padding: 0 11px; text-align: left; font-size: 14px; font-weight: 650; }
.tabs button .icon { width: 18px; height: 18px; }
.tabs button small { margin-left: auto; color: var(--dim); font-family: var(--mono); }
.tabs button:hover { background: #2337408f; color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--accent); background: #75f5d014; border-color: #85f3d14d; }
.console-panel { padding: 29px; min-width: 0; }
.panel-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: end; gap: 20px; margin-bottom: 20px; }
.panel-copy h3 { font-size: clamp(18px,2.05vw,27px); letter-spacing: -.03em; line-height: 1.25; }
.panel-kicker { font: 650 11px var(--mono); letter-spacing: .13em; color: var(--accent); margin-bottom: 9px; }
.panel-copy > p { color: var(--muted); font-size: 13px; }
.screen { overflow: hidden; border: 1px solid #456369; border-radius: 11px; background: #0b151d; }
.photo-through .screen { background: transparent; }
.screen-bar { min-height: 35px; padding: 5px 12px; border-bottom: 1px solid #345460; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; color: #aec1cc; font: 600 10px var(--mono); letter-spacing: .09em; }
.screen-bar span:last-child { justify-self: end; }
.screen-bar i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #63838c; margin-right: 5px; }
.screen-bar i:first-child { background: #88f1d4; }
.screen img { display: block; width: 100%; height: auto; aspect-ratio: 1720/912; object-fit: contain; background: #0b141b; transition: opacity .64s, filter .74s; }
.screen img.is-forming { opacity: 0; filter: blur(8px); transition: none; }
.screen figcaption { padding: 8px 12px; color: var(--dim); font-size: 11px; border-top: 1px solid #314952; }
.preview-note { padding: 24px; border: 1px dashed #456369; border-radius: 11px; color: var(--muted); font-size: 14px; }

.download { padding-top: 100px; padding-bottom: 86px; }
.release { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: linear-gradient(120deg,#14262b,#101921 50%); }
.release-info { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 27px 30px; border-bottom: 1px solid var(--line); }
.release-icon { width: 42px; height: 42px; color: var(--accent); padding: 9px; border: 1px solid #6fa5996b; border-radius: 9px; background: #6af5cd10; }
.release-info h3 { font-size: 21px; line-height: 1.3; }
.release-info p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.release-status { display: flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid #866a4e84; border-radius: 5px; color: #ffe0a4; font-size: 12px; }
.release-status span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.install { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; }
.install li { padding: 20px 27px 24px; }
.install li + li { border-left: 1px solid var(--line); }
.install b { color: var(--accent); font: 650 11px var(--mono); }
.install h4 { margin: 5px 0; font-size: 15px; }
.install p, .faq p { color: var(--muted); font-size: 13px; }
.faq { display: grid; margin-top: 22px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 15px 5px; font-size: 14px; color: #e1eced; font-weight: 650; cursor: pointer; }
.faq summary::marker { color: var(--accent); }
.faq p { padding: 0 5px 16px; }
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: #070e19d9; }
.footer-inner { min-height: 85px; display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; }
.footer .brand { color: var(--ink); }
.footer a { color: var(--accent); }
.motion .reveal:not(.seen) { opacity: 0; transform: translateY(15px); }
.motion .reveal { transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1); }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .hero-inner { min-height: 555px; gap: 25px; }
  .feature-rail a { padding-inline: 14px; gap: 10px; }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 40px); }
  .nav { min-height: 58px; grid-template-columns: 1fr auto; gap: 10px; padding-inline: 11px; }
  .nav-action { display: none; }
  .nav-links { gap: 16px; font-size: 12px; }
  .nav-links > a { min-height: 56px; }
  .hero-inner { min-height: 0; padding-block: 44px 13px; gap: 2px; grid-template-columns: minmax(0,1fr); }
  .hero h1 { font-size: clamp(52px, 10vw, 80px); }
  .scene-slot { height: clamp(285px,58vw,420px); }
  .story { min-height: 0; grid-template-columns: minmax(0,1fr); gap: 4px; padding-block: 45px 15px; }
  .story .story-copy { grid-row: 1; }
  .story .scene-slot { height: clamp(235px,53vw,320px); }
  .feature-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-rail a { min-height: 71px; }
  .feature-rail a:nth-child(3) { border-left: 0; }
  .feature-rail a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding-top: 64px; }
  .console { grid-template-columns: minmax(0,1fr); }
  .console-sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 15px; }
  .console-mark { margin-bottom: 12px; }
  .tabs { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .tabs button { justify-content: center; white-space: nowrap; padding: 0 4px; }
  .tabs button small { display: none; }
  .console-panel { padding: 18px; }
}
@media (max-width: 530px) {
  html { scroll-padding-top: 78px; }
  .shell { width: calc(100% - 32px); }
  html:not(.enhanced) .nav { grid-template-columns: 1fr; gap: 0; }
  html:not(.enhanced) .nav .brand { padding-top: 8px; }
  html:not(.enhanced) .nav-links > a { min-height: 40px; }
  .enhanced .menu-toggle { display: inline-flex; }
  .enhanced .nav-links { position: absolute; top: calc(100% + 7px); right: 0; flex-direction: column; align-items: stretch; gap: 0; min-width: 166px; background: #111f28; border: 1px solid #42616c; border-radius: 10px; padding: 5px; box-shadow: 0 13px 30px #03090dcc; }
  .enhanced .nav-links:not([data-open]) { display: none; }
  .enhanced .nav-links > a { min-height: 45px; padding-inline: 12px; border-radius: 6px; }
  .enhanced .nav-links a[aria-current]::after { display: none; }
  .brand { gap: 8px; font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .hero-inner { padding-top: 40px; }
  .hero h1 { margin-top: 21px; margin-bottom: 18px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { margin-top: 24px; }
  .rail-arrow { display: none; }
  .tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tabs button { justify-content: flex-start; padding: 0 9px; min-height: 43px; }
  .panel-copy { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .release-info { padding: 19px; gap: 11px; }
  .release-status, #release-link { grid-column: 2; justify-self: start; }
  .release-info h3 { font-size: 17px; }
  .install { grid-template-columns: minmax(0,1fr); }
  .install li { padding: 12px 20px 15px; }
  .install li + li { border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; padding-block: 21px; }
  .footer-inner p { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 365px) {
  .nav-links { gap: 6px; font-size: 11px; }
  .hero h1 { font-size: 45px; }
  .hero-actions .button { padding-inline: 11px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion .reveal:not(.seen) { opacity: 1; transform: none; }
}
