:root {
  color-scheme: light;
  --page: #f2f2f7;
  --surface: #ffffff;
  --surface-soft: #e9e9ee;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d1d1d6;
  --hero: #07171d;
  --hero-panel: #20292f;
  --hero-module: #29333a;
  --white: #f7fbfc;
  --blue: #2588f7;
  --teal: #36c6b0;
  --green: #56c96d;
  --orange: #ff8b4a;
  --violet: #8c5cff;
  --red: #ff5c61;
  --accent-text: #087a6c;
  --experience-bg: #e7ecef;
  --experience-ink: #182126;
  --experience-muted: #596970;
  --experience-line: #c7d1d5;
  --tabs-bg: rgba(255, 255, 255, 0.72);
  --header-bg: rgba(246, 246, 248, 0.86);
  --shadow: 0 24px 80px rgba(8, 25, 33, 0.16);
  --font: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", "Cascadia Code", ui-monospace, monospace;
}

[data-theme="dark"] {
  color-scheme: dark;
  --page: #101012;
  --surface: #1c1c1e;
  --surface-soft: #28282b;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --line: #38383a;
  --accent-text: #4fe0bc;
  --experience-bg: #151719;
  --experience-ink: #f5f5f7;
  --experience-muted: #a7b0b4;
  --experience-line: #34383b;
  --tabs-bg: #202326;
  --header-bg: rgba(28, 28, 30, 0.88);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --page: #101012;
    --surface: #1c1c1e;
    --surface-soft: #28282b;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383a;
    --accent-text: #4fe0bc;
    --experience-bg: #151719;
    --experience-ink: #f5f5f7;
    --experience-muted: #a7b0b4;
    --experience-line: #34383b;
    --tabs-bg: #202326;
    --header-bg: rgba(28, 28, 30, 0.88);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); overflow-x: clip; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--page); font-family: var(--font); line-height: 1.5; letter-spacing: 0; -webkit-font-smoothing: antialiased; overflow-x: clip; transition: color 220ms ease, background-color 220ms ease; }
body, button, input { font-family: var(--font); }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 70%, white); outline-offset: 3px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #eaf2f5; background: rgba(7, 23, 29, 0.82); border-bottom: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px) saturate(1.25); transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease; }
.site-header.is-past-hero { color: var(--ink); background: var(--header-bg); border-bottom-color: var(--line); }
.nav { width: min(1180px, calc(100% - 40px)); height: 64px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.nav-links > a:not(.nav-download) { padding: 8px 10px; color: #b8c6cd; }
.nav-links > a:not(.nav-download):hover { color: white; }
.icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 8px; color: #dce7eb; background: rgba(255, 255, 255, 0.05); cursor: pointer; }
.site-header.is-past-hero .nav-links > a:not(.nav-download) { color: var(--muted); }
.site-header.is-past-hero .nav-links > a:not(.nav-download):hover { color: var(--ink); }
.site-header.is-past-hero .icon-button { color: var(--ink); border-color: var(--line); background: var(--surface); }
.theme-toggle { font-size: 18px; }
.menu-button { display: none; font-size: 17px; }
.nav-download { min-height: 38px; padding: 8px 15px; border-radius: 8px; color: #062119; background: #63e2b4; font-weight: 750; }

.hero { position: relative; min-height: 940px; height: 100svh; max-height: 1080px; padding-top: 64px; color: var(--white); background: var(--hero); isolation: isolate; overflow: hidden; }
.hero-scene { position: absolute; inset: 64px 0 0; z-index: -2; overflow: hidden; background: #0a252c; }
.desktop-menubar { position: absolute; inset: 0 0 auto; height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 20px; color: rgba(255, 255, 255, 0.64); border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(2, 12, 16, 0.36); font-size: 12px; }
.desktop-menubar span:first-child { color: #5ae4b2; font-size: 9px; }
.desktop-time { margin-left: auto; font-family: var(--mono); }
.desktop-horizon { position: absolute; inset: 32px 0 0; background-color: #0b3138; background-image: linear-gradient(rgba(26, 97, 101, 0.42) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 97, 101, 0.42) 1px, transparent 1px); background-size: 88px 88px; mask-image: linear-gradient(to bottom, transparent 0%, black 46%, black 100%); transform: perspective(520px) rotateX(56deg) scale(1.55) translateY(28%); transform-origin: bottom; opacity: 0.4; }
.hero::after { position: absolute; inset: auto 0 0; z-index: -1; height: 48%; content: ""; background: #07171d; clip-path: polygon(0 58%, 100% 14%, 100% 100%, 0 100%); }
.hero-copy { position: absolute; z-index: 2; top: 50%; left: max(40px, calc((100% - 1180px) / 2)); width: 430px; transform: translateY(-52%); }
.hero-logo { width: 62px; height: 62px; margin-bottom: 26px; border-radius: 15px; box-shadow: 0 14px 38px rgba(21, 224, 190, 0.16); }
.hero h1 { max-width: 570px; margin-bottom: 24px; font-size: 72px; line-height: 0.98; font-weight: 780; letter-spacing: 0; }
.hero-copy > p { max-width: 420px; margin-bottom: 30px; color: #b7c7cd; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; font-size: 15px; font-weight: 720; transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #062119; background: #63e2b4; border-color: #63e2b4; }
.button.quiet { color: inherit; background: transparent; border-color: currentColor; }
.requirement { color: #7e929b; font-family: var(--mono); font-size: 12px; }
.hero-product { position: absolute; z-index: 1; top: 104px; left: calc(50% + 90px); width: 440px; transform: rotate(1.5deg); transform-origin: center; animation: panel-float 7s ease-in-out infinite; }
.app-panel { width: 100%; padding: 15px; color: #f2f5f7; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 24px; background: rgba(29, 38, 44, 0.93); box-shadow: 0 42px 100px rgba(0, 0, 0, 0.5); backdrop-filter: blur(28px); }
.panel-topbar { min-height: 42px; display: flex; align-items: center; gap: 12px; padding: 0 7px 10px; color: #b9c4ca; font-family: var(--mono); font-size: 12px; }
.panel-topbar strong { font-weight: 670; }
.panel-spacer { flex: 1; }
.panel-mouse-status { display: inline-flex; align-items: center; gap: 4px; }
.panel-mouse-status > i { position: relative; width: 9px; height: 13px; border: 1.4px solid currentColor; border-radius: 5px; }
.panel-mouse-status > i::after { position: absolute; top: 2px; left: 50%; width: 1px; height: 3px; border-radius: 1px; background: currentColor; content: ""; transform: translateX(-50%); }
.panel-mouse-status > b { font-size: 10px; font-weight: 600; }
.panel-lock-icon { position: relative; width: 13px; height: 14px; }
.panel-lock-icon > i { position: absolute; right: 1px; bottom: 0; width: 10px; height: 8px; border: 1.4px solid currentColor; border-radius: 2px; }
.panel-lock-icon > i::before { position: absolute; left: 1px; bottom: 6px; width: 5px; height: 5px; border: 1.4px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; content: ""; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ee0a6; animation: live-pulse 2.8s ease-in-out infinite; }
.monitor-module { padding: 15px 17px; margin-top: 9px; border: 1px solid rgba(255,255,255,0.04); border-radius: 16px; background: rgba(43, 53, 60, 0.96); }
.module-title { min-height: 28px; display: flex; align-items: center; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid #46545d; font-size: 17px; }
.module-title > strong { white-space: nowrap; }
.module-title > :last-child { margin-left: auto; }
.module-icon { min-width: 22px; color: var(--orange); font-family: var(--mono); font-weight: 800; }
.memory-module .module-icon { color: var(--teal); }
.codex-module .module-icon { color: var(--blue); }
.display-module .module-icon { color: var(--violet); }
.sparkline { width: 88px; height: 20px; border-bottom: 2px solid var(--orange); clip-path: polygon(0 67%, 18% 62%, 30% 63%, 38% 57%, 51% 65%, 60% 60%, 70% 66%, 78% 51%, 86% 64%, 100% 55%, 100% 75%, 0 75%); background: var(--orange); }
.mini-meter { width: 82px; height: 5px; overflow: hidden; border-radius: 3px; background: #414d55; }
.mini-meter i { display: block; width: 58%; height: 100%; border-radius: inherit; background: var(--teal); transition: width 600ms ease; }
.mini-meter.blue i { background: var(--blue); }
.mini-meter.violet i { background: var(--violet); }
.module-title-trailing { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.module-data { padding-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 6px; color: #b7c2c8; font-size: 13px; }
.module-data span { display: flex; justify-content: space-between; gap: 6px; }
.module-data b { color: #e7ecef; font-family: var(--mono); white-space: nowrap; }
.module-data.compact { grid-template-columns: repeat(2, 1fr); }
.display-row { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 12px 0 4px; font-size: 13px; }
.display-row + .display-row { margin-top: 8px; border-top: 1px solid #46545d; }
.display-row > span { color: var(--violet); font-size: 18px; }
.display-row em { padding: 2px 7px; border-radius: 7px; color: #bac5cb; background: #3b474f; font-style: normal; font-size: 10px; }
.display-row label { grid-column: 2 / 4; display: grid; grid-template-columns: auto minmax(0, 1fr) 38px; align-items: center; gap: 8px; color: #b8c2c8; }
input[type="range"] { --range-progress: 20%; width: 100%; height: 18px; margin: 0; background: transparent; appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(to right, var(--violet) 0 var(--range-progress), #465159 var(--range-progress) 100%); }
input[type="range"]::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: -5.5px; border: 0; border-radius: 50%; background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.35); appearance: none; }
input[type="range"]::-moz-range-track { height: 5px; border-radius: 3px; background: #465159; }
input[type="range"]::-moz-range-progress { height: 5px; border-radius: 3px; background: var(--violet); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: white; }
.display-row output { text-align: right; font-family: var(--mono); }
.display-row small { grid-column: 2 / 4; color: #929ea5; font-size: 10px; }
.display-row.display-off { opacity: 0.72; }
.display-row.display-off small { grid-column: 2; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; z-index: 3; display: flex; align-items: center; gap: 10px; color: #899ca4; font-size: 12px; transform: translateX(-50%); }
.scroll-cue span { font-size: 18px; animation: scroll-cue 1.8s ease-in-out infinite; }

.intro-band { width: min(1180px, calc(100% - 40px)); min-height: 430px; margin: 0 auto; padding: 120px 0 80px; display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 90px; align-items: start; }
.intro-band p, .section-label { margin: 10px 0 0; color: var(--accent-text); font-family: var(--mono); font-size: 12px; font-weight: 760; text-transform: uppercase; }
.intro-band h2 { margin: 0; font-size: 52px; line-height: 1.08; }

.interactive-showcase { color: var(--experience-ink); background: var(--experience-bg); transition: color 220ms ease, background-color 220ms ease; }
.showcase-nav { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0 30px; display: grid; grid-template-columns: 150px minmax(300px, 1fr) auto; gap: 38px; align-items: end; }
.showcase-nav h2, .section-heading h2, .faq-heading h2 { margin: 0; font-size: 46px; line-height: 1.08; }
.feature-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--experience-line); border-radius: 8px; background: var(--tabs-bg); }
.feature-tabs button { min-height: 38px; padding: 0 13px; border: 0; border-radius: 5px; color: var(--experience-muted); background: transparent; cursor: pointer; }
.feature-tabs button[aria-selected="true"] { color: #07171d; background: #63e2b4; font-weight: 700; }
.demo-stage { position: relative; width: min(1180px, calc(100% - 40px)); min-height: 620px; margin: 0 auto; display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 70px; align-items: center; padding: 54px 0 100px; }
.demo-copy { display: none; }
.demo-copy.is-active { display: block; animation: copy-in 300ms ease both; }
.demo-index { display: block; margin-bottom: 42px; color: #5f717a; font-family: var(--mono); }
.demo-copy h3 { margin-bottom: 20px; font-size: 34px; line-height: 1.13; }
.demo-copy p { color: var(--experience-muted); font-size: 17px; line-height: 1.7; }
.demo-copy ul { margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--experience-line); list-style: none; color: var(--experience-muted); }
.demo-copy li { padding: 5px 0; }
.demo-copy li::before { margin-right: 10px; color: #63e2b4; content: "✓"; }
.demo-canvas { min-height: 440px; padding: 28px; color: #edf4f6; border: 1px solid #3a474d; border-radius: 8px; background: #1b262b; box-shadow: 0 32px 90px rgba(0,0,0,0.22); }
.demo-canvas[hidden] { display: none; }
.screen-layout { position: relative; min-height: 310px; display: grid; grid-template-columns: 0.76fr 1fr; gap: 22px; align-items: end; padding: 20px 20px 36px; border-bottom: 1px solid #334249; }
.demo-screen { position: relative; aspect-ratio: 16 / 10; padding: 0; border: 2px solid #53646d; border-radius: 6px; color: #dbe4e8; background: #25333a; cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease; }
.demo-screen::after { position: absolute; left: 42%; right: 42%; bottom: -22px; height: 20px; content: ""; border-bottom: 3px solid #53646d; border-left: 2px solid #53646d; border-right: 2px solid #53646d; }
.demo-screen.external { align-self: start; }
.demo-screen.selected { border-color: #63e2b4; background: #173c3c; transform: translateY(-4px); }
.demo-screen span { position: absolute; top: 14px; left: 15px; font-weight: 700; }
.demo-screen i { position: absolute; left: 15px; right: 15px; bottom: 30px; height: 5px; border-radius: 3px; background: #46565e; }
.demo-screen i::before { display: block; width: 20%; height: 100%; border-radius: inherit; background: #63e2b4; content: ""; }
.demo-screen.built-in i::before { width: 46%; background: var(--blue); }
.demo-screen small { position: absolute; left: 15px; bottom: 10px; color: #8fa0a8; }
.pointer { position: absolute; z-index: 5; right: 21%; top: 44%; color: white; font-size: 28px; filter: drop-shadow(0 3px 5px black); transition: left 420ms ease, right 420ms ease, top 420ms ease; }
.screen-layout.built-in-target .pointer { right: 70%; top: 54%; }
.brightness-control { min-height: 86px; display: grid; grid-template-columns: 38px 110px minmax(100px, 1fr) 48px 38px; align-items: center; gap: 14px; padding-top: 22px; }
.brightness-control button { width: 38px; height: 38px; border: 1px solid #405059; border-radius: 8px; color: white; background: #243139; cursor: pointer; font-size: 22px; }
.brightness-control div span { display: block; color: #8798a0; font-size: 11px; }
.brightness-control div strong { display: block; white-space: nowrap; }
.brightness-control output { text-align: right; font-family: var(--mono); }

.lock-clock { padding: 36px 20px 28px; text-align: center; }
.lock-clock time { display: block; font-family: var(--mono); font-size: 58px; line-height: 1; }
.lock-clock span { color: #8fa0a8; }
.schedule-line { display: grid; grid-template-columns: 170px 1fr 12px; gap: 16px; align-items: center; min-height: 62px; padding: 0 18px; border-top: 1px solid #344148; }
.schedule-line span { color: #9cabb2; }
.schedule-line i { width: 10px; height: 10px; border-radius: 50%; background: #4c5b63; }
.schedule-line i.active { background: #63e2b4; box-shadow: 0 0 0 5px rgba(99, 226, 180, 0.12); }
.lock-status { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 15px 18px; border-radius: 6px; color: #cfece0; background: #1c3934; }
.lock-status > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #09231c; background: #63e2b4; }
.lock-status b, .lock-status small { display: block; }
.lock-status small { color: #8fb0a5; }

.mouse-device { min-height: 138px; display: flex; align-items: center; justify-content: center; gap: 28px; border-bottom: 1px solid #344148; }
.mouse-device b, .mouse-device span { display: block; }
.mouse-device span { color: #92a2aa; }
.mouse-shape { position: relative; width: 72px; height: 100px; border: 2px solid #62727a; border-radius: 34px 34px 27px 27px; background: #222e35; }
.mouse-shape::before { position: absolute; inset: 0 50% 55% 0; content: ""; border-right: 1px solid #62727a; border-bottom: 1px solid #62727a; }
.mouse-shape i { position: absolute; top: 15px; left: 50%; width: 5px; height: 17px; border-radius: 3px; background: #63e2b4; transform: translateX(-50%); }
.dpi-control { display: block; padding: 28px 20px 10px; }
.dpi-control > span { display: flex; justify-content: space-between; margin-bottom: 16px; }
.dpi-control output { font-family: var(--mono); font-size: 20px; }
.dpi-presets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; padding: 14px 20px 0; }
.dpi-presets button { min-height: 34px; border: 1px solid #405059; border-radius: 6px; color: #a8b5bb; background: #243139; cursor: pointer; }
.dpi-presets button.selected { color: #07171d; border-color: #63e2b4; background: #63e2b4; font-weight: 700; }

.quota-heading { display: flex; align-items: center; gap: 16px; padding: 28px 20px; border-bottom: 1px solid #344148; }
.quota-heading > span { color: var(--blue); font-family: var(--mono); font-size: 26px; font-weight: 800; }
.quota-heading b, .quota-heading small { display: block; }
.quota-heading small { color: #8ea0a8; }
.quota-row { display: grid; grid-template-columns: minmax(150px, 0.7fr) 1fr 150px; align-items: center; gap: 24px; padding: 30px 20px 15px; }
.quota-row + .quota-row { border-top: 1px solid #344148; }
.quota-row div { display: flex; justify-content: space-between; gap: 15px; }
.quota-row b { font-family: var(--mono); }
.quota-row small { color: #8ea0a8; text-align: right; }
meter { width: 100%; height: 10px; border: 0; background: #35434a; }
meter::-webkit-meter-bar { border: 0; border-radius: 4px; background: #35434a; }
meter::-webkit-meter-optimum-value { border-radius: 4px; background: var(--blue); }

.feature-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 126px 0 100px; }
.section-heading { display: grid; grid-template-columns: 150px minmax(0, 600px) minmax(260px, 1fr); align-items: end; gap: 38px; margin-bottom: 70px; }
.section-heading > p:last-child, .faq-heading > p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
.feature-list { border-top: 1px solid var(--line); }
.feature-row { position: relative; display: grid; grid-template-columns: 150px 1fr 140px; gap: 38px; align-items: center; min-height: 154px; border-bottom: 1px solid var(--line); overflow: hidden; }
.feature-number { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.feature-row h3 { margin-bottom: 7px; font-size: 28px; }
.feature-row p { max-width: 680px; margin: 0; color: var(--muted); }
.feature-accent { justify-self: end; width: 94px; height: 8px; border-radius: 4px; background: currentColor; transition: width 320ms ease; }
.feature-row:hover .feature-accent { width: 128px; }
.feature-accent.orange { color: var(--orange); }
.feature-accent.violet { color: var(--violet); }
.feature-accent.green { color: var(--green); }
.feature-accent.blue { color: var(--blue); }

.principles-band { display: grid; grid-template-columns: repeat(3, 1fr); color: #e9f1f4; background: #0e292f; }
.principle { min-height: 230px; padding: 58px max(40px, calc((100vw - 1180px) / 6)); border-right: 1px solid #274249; }
.principle:last-child { border-right: 0; }
.principle strong, .principle span { display: block; }
.principle strong { margin-bottom: 14px; font-size: 24px; }
.principle span { color: #9db0b7; }

.faq-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 126px 0; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 90px; }
.faq-heading { position: sticky; top: 100px; align-self: start; }
.faq-heading .section-label { margin-bottom: 18px; }
.faq-heading h2 { margin-bottom: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; font-size: 19px; font-weight: 680; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--muted); font-size: 25px; font-weight: 400; transition: transform 200ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 710px; margin: -4px 42px 26px 0; color: var(--muted); line-height: 1.75; }

.download-section { min-height: 390px; padding: 70px max(40px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 100px minmax(0, 650px) auto; gap: 38px; align-items: center; color: #f4f9fa; background: #07171d; }
.download-logo { width: 82px; height: 82px; border-radius: 20px; }
.download-section h2 { margin-bottom: 14px; font-size: 44px; line-height: 1.08; }
.download-section p { margin: 0; color: #9fb0b7; }
.download-section .hero-actions { justify-self: end; margin: 0; }
.site-footer { min-height: 120px; padding: 30px max(40px, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); background: var(--page); font-size: 13px; }
.site-footer .brand { color: var(--ink); }
.site-footer p { margin: 0; }
.site-footer > div { display: flex; gap: 18px; }
.site-footer a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes panel-float { 0%, 100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(0.4deg) translateY(-12px); } }
@keyframes live-pulse { 0%, 100% { opacity: 0.65; box-shadow: 0 0 0 0 rgba(78, 224, 166, 0); } 50% { opacity: 1; box-shadow: 0 0 0 6px rgba(78, 224, 166, 0.13); } }
@keyframes scroll-cue { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1040px) {
  .hero { min-height: 1040px; height: auto; max-height: none; }
  .hero-copy { top: 170px; left: 40px; width: 390px; transform: none; }
  .hero h1 { font-size: 62px; }
  .hero-product { top: 130px; left: auto; right: 34px; width: 400px; }
  .showcase-nav { grid-template-columns: 120px 1fr; }
  .feature-tabs { grid-column: 2; justify-self: start; }
  .demo-stage { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; }
  .section-heading { grid-template-columns: 120px 1fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .download-section { grid-template-columns: 82px 1fr; }
  .download-section .hero-actions { grid-column: 2; justify-self: start; }
}

@media (max-width: 820px) {
  .nav { width: calc(100% - 28px); }
  .menu-button { display: inline-grid; }
  .nav-links { position: absolute; top: 64px; left: 14px; right: 14px; display: none; padding: 12px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; background: #101f25; box-shadow: var(--shadow); flex-wrap: wrap; }
  .site-header.is-past-hero .nav-links { border-color: var(--line); background: var(--surface); }
  .nav-links.is-open { display: flex; }
  .hero { min-height: 1160px; }
  .hero-copy { position: relative; top: auto; left: auto; width: calc(100% - 40px); margin: 0 auto; padding-top: 90px; text-align: center; }
  .hero-logo { margin-right: auto; margin-left: auto; }
  .hero-copy > p { margin-right: auto; margin-left: auto; }
  .hero-actions { justify-content: center; }
  .hero-product { top: 570px; left: 50%; right: auto; width: min(430px, calc(100% - 30px)); transform: translateX(-50%); animation: none; }
  .hero::after { height: 58%; }
  .intro-band { min-height: 360px; grid-template-columns: 1fr; gap: 22px; padding: 82px 0; }
  .intro-band h2 { font-size: 42px; }
  .showcase-nav, .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .feature-tabs, .section-heading > p:last-child { grid-column: auto; }
  .feature-tabs { width: 100%; overflow-x: auto; }
  .feature-tabs button { flex: 1 0 auto; }
  .demo-stage { grid-template-columns: 1fr; min-height: auto; }
  .demo-index { margin-bottom: 18px; }
  .demo-canvas { min-height: 410px; }
  .feature-row { grid-template-columns: 60px 1fr 80px; gap: 20px; }
  .principles-band { grid-template-columns: 1fr; }
  .principle { min-height: 150px; border-right: 0; border-bottom: 1px solid #274249; }
  .faq-section { grid-template-columns: 1fr; gap: 44px; }
  .faq-heading { position: static; }
  .download-section { grid-template-columns: 70px 1fr; }
  .site-footer { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .hero { min-height: 1050px; }
  .hero-copy { width: calc(100% - 32px); padding-top: 62px; }
  .hero-logo { width: 50px; height: 50px; margin-bottom: 20px; border-radius: 12px; }
  .hero h1 { font-size: 48px; }
  .hero-copy > p { font-size: 16px; }
  .hero-product { top: 500px; width: calc(100% - 18px); }
  .app-panel { padding: 9px; border-radius: 18px; }
  .monitor-module { padding: 12px; border-radius: 12px; }
  .module-title { font-size: 15px; }
  .module-data { font-size: 11px; }
  .display-row { font-size: 11px; }
  .scroll-cue { display: none; }
  .intro-band, .showcase-nav, .demo-stage, .feature-section, .faq-section { width: calc(100% - 32px); }
  .intro-band h2, .showcase-nav h2, .section-heading h2, .faq-heading h2 { font-size: 34px; }
  .demo-stage { padding-top: 30px; }
  .demo-copy h3 { font-size: 28px; }
  .demo-canvas { min-height: 360px; padding: 16px; }
  .screen-layout { min-height: 250px; gap: 12px; padding: 10px 5px 30px; }
  .demo-screen span { top: 9px; left: 9px; font-size: 11px; }
  .demo-screen i { left: 9px; right: 9px; bottom: 23px; }
  .demo-screen small { left: 9px; bottom: 5px; font-size: 9px; }
  .brightness-control { grid-template-columns: 34px minmax(72px, 0.7fr) minmax(80px, 1fr) 42px 34px; gap: 7px; }
  .brightness-control button { width: 34px; height: 34px; }
  .brightness-control div span { display: none; }
  .schedule-line { grid-template-columns: 125px 1fr 10px; gap: 8px; padding: 0 4px; font-size: 12px; }
  .lock-clock time { font-size: 46px; }
  .dpi-presets { padding-right: 0; padding-left: 0; }
  .quota-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .quota-row small { grid-column: 1 / 3; text-align: left; }
  .feature-section { padding: 88px 0 70px; }
  .section-heading { margin-bottom: 40px; }
  .feature-row { grid-template-columns: 40px 1fr; min-height: 145px; gap: 12px; }
  .feature-row h3 { font-size: 23px; }
  .feature-accent { display: none; }
  .principle { padding: 40px 24px; }
  .faq-section { padding: 88px 0; }
  .faq-list summary { font-size: 17px; }
  .download-section { padding: 64px 24px; grid-template-columns: 1fr; text-align: center; }
  .download-logo { margin: 0 auto; }
  .download-section h2 { font-size: 34px; }
  .download-section .hero-actions { grid-column: auto; justify-self: center; }
  .site-footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
