/* =========================================================
   华山太空 · HUASHAN SPACE
   深空控制台视觉系统
   ========================================================= */

:root {
  --bg-0: #05080f;
  --bg-1: #0a101c;
  --surface: #0d1524;
  --surface-2: #111b2d;
  --line: rgba(140, 180, 255, 0.16);
  --line-strong: rgba(140, 180, 255, 0.28);
  --text: #e8f0fa;
  --muted: #94a7c0;
  --muted-2: #6f819a;
  --cyan: #5fe3ff;
  --cyan-dim: rgba(95, 227, 255, 0.45);
  --cyan-soft: rgba(95, 227, 255, 0.08);
  --blue: #3b82f6;
  --amber: #f5a524;
  --danger: #ff6b6b;
  --green: #4ade80;
  --font-sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-display: "Bahnschrift", "DIN Alternate", "Segoe UI", var(--font-sans);
  --font-mono: "Cascadia Mono", "Consolas", "SFMono-Regular", "Menlo", monospace;
  --container: 1200px;
  --radius: 16px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
dt {
  margin: 0;
}

code {
  font-family: var(--font-mono);
}

::selection {
  background: rgba(95, 227, 255, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: #04101f;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  max-width: 940px;
}

/* ---------- Type & shared ---------- */

.eyebrow,
.section-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.pulse-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(95, 227, 255, 0.35);
  border-radius: 50%;
  animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.meta-sep {
  width: 3px;
  height: 3px;
  flex: none;
  border-radius: 50%;
  background: var(--muted-2);
  opacity: 0.7;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border: 1px solid rgba(95, 227, 255, 0.28);
  border-radius: 999px;
  background: rgba(95, 227, 255, 0.07);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.fine-print {
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn svg {
  flex: none;
}

.btn-primary {
  background: var(--cyan);
  color: #04101f;
  box-shadow: 0 0 0 1px rgba(95, 227, 255, 0.35),
    0 12px 34px -14px rgba(95, 227, 255, 0.65);
}

.btn-primary:hover {
  background: #8eeeff;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(95, 227, 255, 0.5),
    0 18px 42px -16px rgba(95, 227, 255, 0.8);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(13, 21, 36, 0.42);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(95, 227, 255, 0.45);
  background: rgba(95, 227, 255, 0.06);
  color: #fff;
  transform: translateY(-1px);
}

.btn-sm {
  height: 38px;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 12.5px;
}

.btn-lg {
  height: 54px;
  padding: 0 28px;
  font-size: 15px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-cn {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.brand-en {
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.24em;
  color: var(--muted-2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 12px;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.nav-download-mobile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.version-pill:hover {
  border-color: rgba(95, 227, 255, 0.35);
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.hide-sm {
  display: inline;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 88px) 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(140, 180, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 82% 74% at 52% 38%, #000 15%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 82% 74% at 52% 38%, #000 15%, transparent 76%);
}

.hero-stars {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 68%, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 47% 15%, rgba(95, 227, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 42%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 82% 76%, rgba(255, 255, 255, 0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 91% 24%, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 56% 88%, rgba(255, 255, 255, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 23% 45%, rgba(255, 255, 255, 0.3) 50%, transparent 51%);
  background-size: 560px 560px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
}

.hero-glow-a {
  top: 4%;
  right: 4%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 66%);
}

.hero-glow-b {
  bottom: -16%;
  left: 6%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(95, 227, 255, 0.13), transparent 68%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(95, 227, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-a {
  top: 150px;
  right: -170px;
  width: 940px;
  height: 320px;
  border-color: rgba(95, 227, 255, 0.15);
  transform: rotate(-18deg);
}

.orbit-a::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 8%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(95, 227, 255, 0.9);
}

.orbit-b {
  top: 265px;
  right: -40px;
  width: 740px;
  height: 240px;
  border-color: rgba(59, 130, 246, 0.15);
  transform: rotate(-18deg);
}

.orbit-c {
  top: 70px;
  right: 90px;
  width: 430px;
  height: 430px;
  border-style: dashed;
  border-color: rgba(140, 180, 255, 0.07);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 60px;
  align-items: center;
}

.hero-copy {
  position: relative;
  padding-top: 6px;
}

.hero h1 {
  max-width: 680px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.05vw, 58px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  color: var(--cyan);
  text-shadow: 0 0 42px rgba(95, 227, 255, 0.22);
}

.hero-lead {
  max-width: 560px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.hero-os-hint {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 12px;
  border-left: 2px solid var(--amber);
  background: rgba(245, 165, 36, 0.07);
  color: #e7c07e;
  font-size: 12px;
  line-height: 1.65;
}

.hero-os-hint[hidden] {
  display: none;
}

/* ---------- Product mock ---------- */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
}

.hero-visual-glow {
  position: absolute;
  inset: 12% -8% -12% -8%;
  border-radius: 40%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.18), transparent 62%);
  filter: blur(38px);
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(140, 180, 255, 0.26);
  border-radius: 16px;
  background: #080d17;
  box-shadow: 0 46px 90px -38px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 70px -20px rgba(59, 130, 246, 0.25);
}

.app-window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 227, 255, 0.7), transparent);
  opacity: 0.7;
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(140, 180, 255, 0.12);
  background: rgba(13, 21, 36, 0.85);
}

.app-name {
  color: #dbe7f7;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.app-task-name {
  margin-left: 6px;
  color: var(--muted-2);
  font-size: 8.5px;
}

.app-mode {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(95, 227, 255, 0.22);
  border-radius: 4px;
  color: var(--cyan);
  font-size: 7.5px;
}

.app-winctl {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}

.app-winctl i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.app-body {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 104px;
  height: 398px;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  padding: 10px 9px;
  border-right: 1px solid rgba(140, 180, 255, 0.1);
  background: #060b14;
}

.app-newtask {
  padding: 7px 8px;
  border: 1px solid rgba(95, 227, 255, 0.22);
  border-radius: 5px;
  background: rgba(95, 227, 255, 0.06);
  color: var(--cyan);
  font-size: 8.5px;
  text-align: center;
}

.app-group {
  margin: 14px 2px 7px;
  color: var(--muted-2);
  font-size: 7.5px;
  letter-spacing: 0.12em;
}

.app-group-space {
  margin-top: 18px;
}

.app-task {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px;
  border-radius: 4px;
  color: #93a5bd;
  font-size: 8px;
  line-height: 1.5;
}

.app-task span:nth-child(2) {
  overflow: hidden;
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-task.is-active {
  background: rgba(95, 227, 255, 0.08);
  color: #d9e9fb;
}

.app-dot {
  width: 3px;
  height: 3px;
  flex: none;
  border-radius: 50%;
  background: rgba(140, 180, 255, 0.5);
}

.app-task.is-active .app-dot {
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.app-time {
  color: rgba(148, 167, 192, 0.45);
  font-size: 6.5px;
}

.app-workspace {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  color: #7f91aa;
  font-family: var(--font-mono);
  font-size: 7px;
}

.app-folder {
  width: 7px;
  height: 6px;
  border: 1px solid rgba(95, 227, 255, 0.35);
  border-radius: 1px;
}

.app-sidebar-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding: 8px 4px 2px;
  border-top: 1px solid rgba(140, 180, 255, 0.1);
  color: rgba(148, 167, 192, 0.55);
  font-size: 7px;
}

.app-status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
}

.app-chat {
  position: relative;
  overflow: hidden;
  padding: 11px 12px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.09), transparent 55%),
    #080d17;
}

.app-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(140, 180, 255, 0.09);
  color: #c8d7ea;
  font-size: 8px;
}

.app-badge {
  padding: 1px 5px;
  border: 1px solid rgba(140, 180, 255, 0.16);
  border-radius: 3px;
  color: var(--muted-2);
  font-size: 6.5px;
}

.app-user {
  display: flex;
  justify-content: flex-end;
  margin: 10px 0;
}

.app-user span {
  max-width: 88%;
  padding: 6px 8px;
  border: 1px solid rgba(95, 227, 255, 0.14);
  border-radius: 5px 5px 1px 5px;
  background: rgba(95, 227, 255, 0.07);
  color: #b9cbe0;
  font-size: 7.5px;
  line-height: 1.55;
}

.app-agent {
  position: relative;
}

.app-agent-head {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  color: #d3e2f3;
  font-size: 8px;
  font-weight: 600;
}

.app-agent-avatar {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.app-agent-mode {
  margin-left: auto;
  color: rgba(95, 227, 255, 0.65);
  font-size: 6.5px;
  font-weight: 400;
}

.app-tool {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  border-top: 1px solid rgba(140, 180, 255, 0.07);
  color: #8fa2ba;
  font-size: 7px;
}

.app-tool-ico {
  width: 5px;
  height: 5px;
  border: 1px solid rgba(95, 227, 255, 0.55);
  border-radius: 1px;
}

.app-tool-meta {
  margin-left: auto;
  color: rgba(148, 167, 192, 0.45);
  font-family: var(--font-mono);
  font-size: 6.5px;
}

.app-diff {
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(140, 180, 255, 0.12);
  border-radius: 5px;
  background: #050a12;
}

.app-diff-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  border-bottom: 1px solid rgba(140, 180, 255, 0.1);
  color: #a9bcd3;
  font-family: var(--font-mono);
  font-size: 6.8px;
}

.app-diff-stat {
  color: var(--green);
}

.app-diff-line {
  display: flex;
  gap: 4px;
  padding: 2px 6px;
  color: #8fa3ba;
  font-size: 6.8px;
  line-height: 1.55;
}

.app-diff-line code {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-ln {
  flex: none;
  width: 12px;
  color: rgba(148, 167, 192, 0.35);
  text-align: right;
}

.app-diff-old {
  background: rgba(255, 107, 107, 0.07);
  color: #c99494;
}

.app-diff-new {
  background: rgba(74, 222, 128, 0.06);
  color: #9ed6b1;
}

.app-actions {
  display: flex;
  gap: 4px;
  margin-top: 7px;
}

.app-chip {
  padding: 2px 6px;
  border: 1px solid rgba(140, 180, 255, 0.14);
  border-radius: 3px;
  color: #8fa2ba;
  font-size: 6.5px;
}

.app-chip-primary {
  border-color: rgba(95, 227, 255, 0.3);
  background: rgba(95, 227, 255, 0.08);
  color: var(--cyan);
}

.app-inspector {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-left: 1px solid rgba(140, 180, 255, 0.1);
  background: #060b14;
}

.app-tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(140, 180, 255, 0.1);
  color: rgba(148, 167, 192, 0.5);
  font-size: 7px;
}

.app-tabs .is-active {
  color: var(--cyan);
}

.app-inspector-block {
  margin-top: 10px;
}

.app-inspector-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 6.5px;
  letter-spacing: 0.04em;
}

.app-file {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 3px 0;
  color: #93a5bd;
  font-family: var(--font-mono);
  font-size: 6.5px;
}

.app-add {
  color: var(--green);
}

.app-plan-item {
  display: flex;
  gap: 4px;
  padding: 3px 0;
  color: #7f91aa;
  font-size: 6.5px;
  line-height: 1.5;
}

.app-plan-item span {
  color: rgba(95, 227, 255, 0.5);
  font-family: var(--font-mono);
}

.app-plan-item.is-done {
  color: #a8bbd1;
}

.app-plan-item.is-done span {
  color: var(--cyan);
}

.app-inspector-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(140, 180, 255, 0.08);
  color: rgba(148, 167, 192, 0.4);
  font-size: 6.3px;
  line-height: 1.5;
}

.visual-caption {
  display: block;
  margin-top: 12px;
  color: rgba(148, 167, 192, 0.4);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: right;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(140, 180, 255, 0.22);
  border-radius: 10px;
  background: rgba(8, 14, 24, 0.88);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.float-card strong {
  display: block;
  color: #d6e5f6;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.4;
}

.float-card span:not([class]) {
  display: block;
}

.float-card div > span {
  display: block;
  color: var(--muted-2);
  font-size: 7.5px;
  line-height: 1.5;
}

.float-card-a {
  left: -30px;
  bottom: 74px;
}

.float-card-b {
  top: -52px;
  right: 0;
}

.float-ico {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(95, 227, 255, 0.4);
  border-radius: 5px;
  background: rgba(95, 227, 255, 0.08);
}

.float-check {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.07);
}

.float-check::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 6px;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(40deg);
}

.hud {
  position: absolute;
  color: rgba(148, 167, 192, 0.38);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.hud-tl {
  top: -24px;
  left: 0;
}

.hud-br {
  right: 0;
  bottom: -24px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(148, 167, 192, 0.35);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 26px;
  background: linear-gradient(to bottom, rgba(95, 227, 255, 0.6), transparent);
}

/* ---------- Trust strip ---------- */

.trust-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 16, 28, 0.4);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 26px 0 26px 28px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-key {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
}

.trust-item strong {
  color: #cfddef;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 120px 0;
}

.section-alt {
  border-top: 1px solid rgba(140, 180, 255, 0.06);
  border-bottom: 1px solid rgba(140, 180, 255, 0.06);
  background: linear-gradient(180deg, rgba(10, 16, 28, 0.38), rgba(5, 8, 15, 0.12));
}

.section-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
  margin-bottom: 58px;
}

.section-index {
  padding-top: 6px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.section-heading .section-kicker {
  margin-bottom: 14px;
}

.section-heading h2,
.split-copy h2,
.download-copy h2,
.section-head-small h2,
.version-policy h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.section-desc {
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.section-note {
  margin-top: 26px;
  color: var(--muted-2);
  font-size: 11.5px;
  text-align: right;
}

.section-head-center {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 46px;
  margin-left: auto;
  text-align: center;
}

.section-head-center .section-heading {
  max-width: 760px;
  margin-inline: auto;
}

/* ---------- Capabilities ---------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cap-card {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.62), rgba(8, 13, 23, 0.55));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.cap-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 227, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.cap-card:hover {
  border-color: rgba(95, 227, 255, 0.3);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.95);
  transform: translateY(-3px);
}

.cap-card:hover::before {
  opacity: 1;
}

.cap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.cap-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(95, 227, 255, 0.05);
  color: var(--cyan);
}

.cap-num {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

.cap-card h3 {
  margin-bottom: 9px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cap-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

/* ---------- Workflow ---------- */

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.flow::before {
  content: "";
  position: absolute;
  top: 19px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(95, 227, 255, 0.45), rgba(140, 180, 255, 0.1));
}

.flow-step {
  position: relative;
}

.flow-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 1px solid rgba(95, 227, 255, 0.3);
  border-radius: 50%;
  background: var(--bg-0);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.flow-step:first-child .flow-num {
  background: var(--cyan);
  color: #04101f;
  box-shadow: 0 0 26px -6px rgba(95, 227, 255, 0.7);
}

.flow-step h3 {
  margin-bottom: 7px;
  font-size: 15.5px;
  font-weight: 600;
}

.flow-step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

/* ---------- Scenarios ---------- */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scenario-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.55), rgba(8, 13, 23, 0.5));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.scenario-card:hover {
  border-color: rgba(95, 227, 255, 0.26);
  transform: translateY(-3px);
}

.scenario-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 148px;
  border-bottom: 1px solid rgba(140, 180, 255, 0.08);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.6), rgba(6, 10, 18, 0.3));
  color: rgba(95, 227, 255, 0.72);
}

.scenario-art svg {
  width: 92%;
  height: 132px;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}

.scenario-card:hover .scenario-art svg {
  color: rgba(142, 238, 255, 0.92);
  transform: translateY(-2px);
}

.scenario-body {
  padding: 22px 24px 26px;
}

.scenario-index {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
}

.scenario-body h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 600;
}

.scenario-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag {
  padding: 3px 7px;
  border: 1px solid rgba(140, 180, 255, 0.14);
  border-radius: 999px;
  color: #8ea3bd;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

/* ---------- Security ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 68px;
  align-items: center;
}

.split-copy .section-index {
  display: block;
  margin-bottom: 12px;
  padding-top: 0;
}

.split-copy .section-kicker {
  margin-bottom: 14px;
}

.split-lead {
  max-width: 480px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 34px;
}

.boundary-list li {
  display: flex;
  gap: 16px;
}

.boundary-num {
  flex: none;
  padding-top: 2px;
  color: rgba(95, 227, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 10px;
}

.boundary-list h3 {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 600;
}

.boundary-list p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.boundary-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(140, 180, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(13, 22, 38, 0.9), rgba(5, 9, 16, 0.92));
  box-shadow: 0 34px 70px -40px rgba(0, 0, 0, 0.95);
}

.boundary-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(140, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 76%);
}

.boundary-card > *:not(.boundary-grid) {
  position: relative;
  z-index: 1;
}

.boundary-corner {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-color: rgba(95, 227, 255, 0.55);
  border-style: solid;
}

.boundary-corner-tl {
  top: 10px;
  left: 10px;
  border-width: 1px 0 0 1px;
}

.boundary-corner-br {
  right: 10px;
  bottom: 10px;
  border-width: 0 1px 1px 0;
}

.boundary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.boundary-live {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(74, 222, 128, 0.7);
}

.boundary-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

.boundary-node {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 20px;
  border: 1px solid rgba(140, 180, 255, 0.18);
  border-radius: 10px;
  background: rgba(8, 14, 24, 0.8);
}

.node-label {
  color: rgba(95, 227, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.18em;
}

.boundary-node strong {
  color: #dbe9fa;
  font-size: 16px;
  font-weight: 500;
}

.node-sub {
  color: var(--muted-2);
  font-size: 11px;
}

.boundary-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
}

.link-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(95, 227, 255, 0.45) 0 4px, transparent 4px 9px);
}

.link-dot {
  position: absolute;
  top: 8px;
  left: calc(50% - 2px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: linkTravel 3.2s var(--ease) infinite;
}

@keyframes linkTravel {
  0% { top: 8px; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: 82px; opacity: 0; }
}

.link-label {
  position: relative;
  padding: 4px 9px;
  border: 1px solid rgba(95, 227, 255, 0.16);
  border-radius: 999px;
  background: #070c16;
  color: rgba(148, 167, 192, 0.65);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.boundary-stamp {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(245, 165, 36, 0.18);
  border-radius: 6px;
  background: rgba(245, 165, 36, 0.04);
  color: rgba(231, 192, 126, 0.72);
  font-size: 10px;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- Download panel ---------- */

.download-section {
  padding-top: 96px;
  padding-bottom: 110px;
}

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 52px;
  overflow: hidden;
  padding: 54px;
  border: 1px solid rgba(140, 180, 255, 0.25);
  border-radius: 24px;
  background: linear-gradient(135deg, #0b1424 0%, #080e19 56%, #060a13 100%);
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.95);
}

.download-panel::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(95, 227, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.download-panel-glow {
  position: absolute;
  bottom: -160px;
  left: -80px;
  width: 560px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 227, 255, 0.12), transparent 66%);
  filter: blur(50px);
  pointer-events: none;
}

.download-copy,
.download-meta {
  position: relative;
  z-index: 1;
}

.download-copy .section-kicker {
  margin-bottom: 16px;
}

.download-copy h2 {
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.16;
}

.download-copy > p:not(.section-kicker):not(.download-note):not(.hero-os-hint) {
  max-width: 480px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.download-note {
  margin-top: 16px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.download-meta {
  align-self: stretch;
  padding: 24px;
  border: 1px solid rgba(140, 180, 255, 0.16);
  border-radius: 16px;
  background: rgba(4, 8, 16, 0.55);
}

.meta-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.meta-version {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.meta-list {
  margin-top: 18px;
}

.meta-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid rgba(140, 180, 255, 0.09);
}

.meta-list dt {
  flex: none;
  color: var(--muted-2);
  font-size: 11px;
}

.meta-list dd {
  color: #c9d8ea;
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: right;
  word-break: break-all;
}

.meta-list .meta-sha {
  display: block;
}

.meta-list .meta-sha dd {
  margin-top: 7px;
  text-align: left;
}

.meta-sha code {
  display: block;
  color: rgba(148, 167, 192, 0.75);
  font-size: 9px;
  line-height: 1.7;
  word-break: break-all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(140, 180, 255, 0.2);
  border-radius: 4px;
  color: var(--muted);
  font-size: 9px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.copy-btn:hover {
  border-color: rgba(95, 227, 255, 0.4);
  color: var(--cyan);
}

/* ---------- FAQ ---------- */

.faq-section {
  padding-top: 96px;
}

.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 2px;
  color: #dbe7f7;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--cyan);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(140, 180, 255, 0.22);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  width: 8px;
  height: 1px;
  background: var(--muted);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq details[open] .faq-icon::after {
  transform: rotate(0deg);
}

.faq details[open] .faq-icon {
  border-color: rgba(95, 227, 255, 0.4);
}

.faq details[open] .faq-icon::before,
.faq details[open] .faq-icon::after {
  background: var(--cyan);
}

.faq-answer {
  max-width: 720px;
  padding: 0 32px 24px 2px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.faq-answer a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(95, 227, 255, 0.3);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 72px 0 26px;
  border-top: 1px solid var(--line);
  background: #04070d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 54px;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.footer-col > a,
.footer-col > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
}

.footer-col > a {
  transition: color 0.2s var(--ease);
}

.footer-col > a:hover {
  color: var(--cyan);
}

.footer-status {
  display: flex !important;
  align-items: center;
  gap: 6px;
  color: var(--muted-2) !important;
}

.footer-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
  padding-top: 12px;
  color: #8ea3bd;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.footer-legal a {
  color: #c3d2e5;
  border-bottom: 1px dotted rgba(140, 180, 255, 0.28);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-legal a:hover {
  border-bottom-color: rgba(95, 227, 255, 0.55);
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

/* ---------- Mobile download bar ---------- */

.mobile-download {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(140, 180, 255, 0.24);
  border-radius: 12px;
  background: rgba(7, 12, 22, 0.94);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.mobile-download.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 24px));
}

.mobile-download-meta strong {
  display: block;
  color: #dbe7f7;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.mobile-download-meta > span {
  display: block;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
}

/* =========================================================
   Sub pages
   ========================================================= */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 76px) 0 64px;
  border-bottom: 1px solid var(--line);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(140, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 100% at 30% 20%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 30% 20%, #000, transparent 76%);
}

.page-hero-glow {
  position: absolute;
  top: -180px;
  left: 10%;
  width: 620px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 68%);
  filter: blur(70px);
}

.orbit-page {
  top: -90px;
  right: -120px;
  width: 620px;
  height: 240px;
  border-color: rgba(95, 227, 255, 0.12);
  transform: rotate(-18deg);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.page-lead {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.page-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.page-section {
  padding: 72px 0;
}

.page-section-alt {
  border-top: 1px solid rgba(140, 180, 255, 0.07);
  border-bottom: 1px solid rgba(140, 180, 255, 0.07);
  background: rgba(10, 16, 28, 0.34);
}

.page-section:last-of-type {
  padding-bottom: 96px;
}

.section-head-small {
  margin-bottom: 32px;
}

.section-head-small .section-kicker {
  margin-bottom: 10px;
}

.section-head-small h2 {
  font-size: clamp(26px, 3vw, 36px);
}

/* Download page */

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.62fr);
  gap: 22px;
  align-items: start;
}

.download-main {
  padding: 34px 36px 36px;
  border: 1px solid rgba(140, 180, 255, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(13, 22, 38, 0.85), rgba(7, 12, 21, 0.8));
}

.file-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.file-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(95, 227, 255, 0.28);
  border-radius: 9px;
  background: rgba(95, 227, 255, 0.06);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.file-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.file-info strong {
  overflow: hidden;
  color: #dce9f8;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-info span {
  color: var(--muted-2);
  font-size: 11px;
}

.download-main-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0;
}

.download-main-size {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
}

.checksum {
  padding: 16px 18px;
  border: 1px solid rgba(140, 180, 255, 0.14);
  border-radius: 10px;
  background: rgba(4, 8, 16, 0.45);
}

.checksum-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
}

.checksum code {
  display: block;
  color: #aabdd4;
  font-size: 10px;
  line-height: 1.8;
  word-break: break-all;
}

.verify-hint {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.8;
}

.verify-hint code {
  color: #a9bdd5;
  font-size: 10px;
  word-break: break-all;
}

.download-main .fine-print {
  margin-top: 10px;
}

.meta-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 16, 28, 0.55);
}

.meta-panel .meta-list {
  margin-top: 14px;
}

.meta-panel .meta-list > div {
  padding: 10px 0;
}

.meta-panel .meta-list dd {
  font-size: 10.5px;
}

.meta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--cyan);
  font-size: 12px;
  transition: gap 0.2s var(--ease);
}

.meta-link:hover {
  gap: 18px;
}

/* Install steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  counter-reset: step;
}

.steps-grid li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.step-num {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

.steps-grid h3 {
  margin-bottom: 7px;
  font-size: 17px;
  font-weight: 600;
}

.steps-grid p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

/* SmartScreen */

.notice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
}

.notice-card,
.verify-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 22, 38, 0.72), rgba(7, 12, 21, 0.66));
}

.notice-label {
  display: block;
  margin-bottom: 14px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
}

.notice-card h2,
.verify-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.verify-card h3 {
  font-size: 24px;
}

.notice-card > p,
.verify-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.notice-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 18px;
}

.notice-steps li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #bccde1;
  font-size: 12.5px;
  line-height: 1.7;
}

.notice-steps span {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(95, 227, 255, 0.25);
  border-radius: 50%;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.code-block {
  display: block;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(140, 180, 255, 0.14);
  border-radius: 7px;
  background: rgba(4, 8, 16, 0.6);
  color: #a9bdd5;
  font-size: 10px;
  line-height: 1.8;
  word-break: break-all;
}

.code-block-sha {
  color: var(--muted);
}

.verify-card .btn {
  margin-top: 8px;
}

/* Spec table */

.spec-table {
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.spec-row span {
  color: var(--muted-2);
}

.spec-row strong {
  color: #c9d8ea;
  font-weight: 400;
}

/* Changelog */

.release-timeline {
  position: relative;
  padding-left: 34px;
}

.release-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 28px;
  left: 5px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(95, 227, 255, 0.4), rgba(140, 180, 255, 0.08));
}

.release-entry {
  position: relative;
  padding-bottom: 52px;
}

.release-marker {
  position: absolute;
  top: 9px;
  left: -34px;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(95, 227, 255, 0.55);
  border-radius: 50%;
  background: var(--bg-0);
  box-shadow: 0 0 0 4px rgba(95, 227, 255, 0.06);
}

.release-marker::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--cyan);
}

.release-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.release-head h2 {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.release-head time {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
}

.release-summary {
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.release-entry h3 {
  margin: 28px 0 14px;
  color: #cfddef;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.release-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.release-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.release-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: rgba(95, 227, 255, 0.6);
  transform: rotate(45deg);
}

.release-list strong {
  color: #d7e5f5;
  font-weight: 500;
}

.quality-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
}

.quality-box > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 16, 28, 0.5);
}

.quality-value {
  display: block;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1.3;
}

.quality-box > div > span:last-child {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.5;
}

.release-note {
  display: flex;
  gap: 18px;
  max-width: 780px;
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 2px solid rgba(95, 227, 255, 0.45);
  background: rgba(95, 227, 255, 0.04);
  font-size: 12px;
  line-height: 1.8;
}

.release-note strong {
  flex: none;
  color: var(--cyan);
  font-weight: 500;
}

.release-note span {
  color: var(--muted);
}

.version-policy {
  margin-top: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 22, 38, 0.7), rgba(7, 12, 21, 0.62));
}

.version-policy .section-kicker {
  margin-bottom: 12px;
}

.version-policy h2 {
  margin-bottom: 14px;
}

.version-policy p {
  max-width: 700px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.version-policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Privacy */

.privacy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 16, 28, 0.45);
}

.privacy-toc a {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  transition: color 0.2s var(--ease);
}

.privacy-toc a:hover {
  color: var(--cyan);
}

.privacy-toc .meta-label {
  margin-bottom: 4px;
}

.prose {
  max-width: 760px;
}

.prose section {
  padding: 0 0 32px;
}

.prose section + section {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.prose h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.prose h3 {
  margin: 22px 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.prose p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
}

.prose ul {
  margin: 8px 0 16px;
  padding-left: 0;
}

.prose li {
  position: relative;
  padding-left: 17px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.prose li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(95, 227, 255, 0.55);
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(95, 227, 255, 0.25);
}

.privacy-note {
  padding: 14px 16px;
  border-left: 2px solid rgba(245, 165, 36, 0.45);
  background: rgba(245, 165, 36, 0.04);
  color: #b9a37d !important;
}

/* 404 */

.error-main {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78vh;
  padding: calc(var(--header-h) + 80px) 0 100px;
  overflow: hidden;
}

.error-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.error-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(140, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 74%);
}

.error-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 620px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 68%);
  filter: blur(70px);
  transform: translate(-50%, -50%);
}

.error-orbit {
  top: 18%;
  left: 50%;
  width: 780px;
  height: 280px;
  border-color: rgba(95, 227, 255, 0.11);
  transform: translateX(-50%) rotate(-18deg);
}

.error-orbit-b {
  top: 26%;
  left: 50%;
  width: 520px;
  height: 190px;
  border-color: rgba(59, 130, 246, 0.14);
  transform: translateX(-50%) rotate(-18deg);
}

.error-page {
  position: relative;
  z-index: 1;
  text-align: center;
}

.error-page .eyebrow {
  justify-content: center;
}

.error-code {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: clamp(110px, 19vw, 210px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.07em;
  background: linear-gradient(180deg, #e8f0fa 8%, rgba(95, 227, 255, 0.22) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h2 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.error-lead {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.error-meta {
  margin-top: 42px;
  color: rgba(148, 167, 192, 0.32);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
}

/* ---------- Reveal ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.cap-card:nth-child(2),
.flow-step:nth-child(2),
.scenario-card:nth-child(2),
.steps-grid li:nth-child(2) {
  transition-delay: 70ms;
}

.cap-card:nth-child(3),
.flow-step:nth-child(3),
.scenario-card:nth-child(3),
.steps-grid li:nth-child(3) {
  transition-delay: 140ms;
}

.cap-card:nth-child(4),
.flow-step:nth-child(4) {
  transition-delay: 210ms;
}

.cap-card:nth-child(5) {
  transition-delay: 280ms;
}

.cap-card:nth-child(6) {
  transition-delay: 350ms;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1240px) {
  .hero-inner {
    gap: 44px;
  }

  .float-card-a {
    left: -12px;
  }

  .float-card-b {
    right: -10px;
  }
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 22px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 80px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
  }

  .float-card {
    display: none;
  }

  .hud-tl {
    left: 4px;
  }

  .hud-br {
    right: 4px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .boundary-card {
    max-width: 640px;
  }

  .download-panel {
    gap: 36px;
    padding: 42px;
  }

  .download-layout {
    grid-template-columns: 1fr;
  }

  .meta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 32px;
    align-items: start;
  }

  .meta-panel .meta-label,
  .meta-panel .meta-list {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: none;
    margin: 0;
    padding: 8px 24px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #050910;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s var(--ease);
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-download-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    border: 0 !important;
    border-radius: 8px;
    background: var(--cyan);
    color: #04101f !important;
    font-weight: 600;
  }

  .section-head {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 20px;
  }

  .section-desc {
    grid-column: 2;
    max-width: 560px;
    padding-bottom: 0;
  }

  .section-head-center {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .scenario-card {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .scenario-art {
    height: 100%;
    min-height: 190px;
    border-right: 1px solid rgba(140, 180, 255, 0.08);
    border-bottom: 0;
  }

  .scenario-art svg {
    height: 150px;
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }

  .flow::before {
    display: none;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-meta {
    max-width: 520px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .privacy-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 16px;
  }

  .privacy-toc .meta-label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .version-pill {
    display: none;
  }

  .notice-grid {
    grid-template-columns: 1fr;
  }

  .quality-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .spec-row {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 62px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    gap: 16px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .brand-cn {
    font-size: 14px;
  }

  .brand-en {
    font-size: 7px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 72px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(34px, 8.4vw, 46px);
    line-height: 1.16;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 14px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-meta {
    font-size: 9.5px;
  }

  .hero-visual {
    max-width: 100%;
  }

  .app-body {
    grid-template-columns: 108px minmax(0, 1fr);
    height: 360px;
  }

  .app-inspector {
    display: none;
  }

  .hud {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    padding: 18px 0 18px 18px;
  }

  .trust-item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 76px 0;
  }

  .download-section {
    padding-top: 64px;
    padding-bottom: 76px;
  }

  .section-head,
  .section-head-center {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 38px;
  }

  .section-index {
    padding-top: 0;
  }

  .section-desc {
    grid-column: 1;
    font-size: 12.5px;
  }

  .section-heading h2,
  .split-copy h2 {
    font-size: clamp(27px, 6.6vw, 34px);
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .flow-num {
    margin-bottom: 14px;
  }

  .scenario-card {
    grid-template-columns: 1fr;
  }

  .scenario-art {
    min-height: 0;
    height: 140px;
    border-right: 0;
    border-bottom: 1px solid rgba(140, 180, 255, 0.08);
  }

  .scenario-art svg {
    height: 128px;
  }

  .section-note {
    text-align: left;
  }

  .download-panel {
    padding: 30px 24px;
    border-radius: 18px;
  }

  .download-copy h2 {
    font-size: clamp(32px, 8vw, 42px);
  }

  .download-meta {
    padding: 20px;
  }

  .faq summary {
    font-size: 14px;
  }

  .faq-answer {
    padding-right: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    padding-bottom: 38px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-top: 56px;
    padding-bottom: 92px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .mobile-download {
    display: flex;
  }

  .page-hero {
    padding: calc(var(--header-h) + 54px) 0 48px;
  }

  .page-hero h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .page-section {
    padding: 54px 0;
  }

  .page-section:last-of-type {
    padding-bottom: 72px;
  }

  .download-main {
    padding: 24px 20px;
  }

  .file-info strong {
    font-size: 11px;
  }

  .download-main-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .download-main-actions .btn {
    width: 100%;
  }

  .meta-panel {
    display: block;
  }

  .notice-card,
  .verify-card,
  .version-policy {
    padding: 24px 20px;
  }

  .release-timeline {
    padding-left: 24px;
  }

  .release-marker {
    left: -24px;
  }

  .release-head h2 {
    font-size: 24px;
  }

  .release-note {
    flex-direction: column;
    gap: 4px;
  }

  .quality-box {
    grid-template-columns: 1fr 1fr;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .privacy-toc {
    grid-template-columns: 1fr 1fr;
  }

  .error-main {
    min-height: 70vh;
    padding-top: calc(var(--header-h) + 50px);
  }

  .error-code {
    font-size: clamp(96px, 32vw, 150px);
  }
}

@media (max-width: 560px) {
  .hide-sm {
    display: none;
  }

  .header-download {
    padding: 0 12px;
  }

  .app-body {
    grid-template-columns: 1fr;
    height: 340px;
  }

  .app-sidebar {
    display: none;
  }

  .app-titlebar {
    gap: 6px;
  }

  .app-task-name {
    display: none;
  }

  .app-window {
    border-radius: 13px;
  }

  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .download-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .privacy-toc {
    grid-template-columns: 1fr;
  }

  .quality-box {
    grid-template-columns: 1fr;
  }

  .section-note {
    font-size: 10.5px;
  }

  .hero-meta {
    gap: 8px;
  }

  .meta-sep {
    display: none;
  }

  .hero-meta > span {
    padding-right: 10px;
    border-right: 1px solid rgba(140, 180, 255, 0.14);
  }

  .hero-meta > span:last-child {
    border-right: 0;
  }
}

/* ---------- Motion preferences ---------- */

@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;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}