:root {
  --bg: #232A8E;
  --bg-deep: #1A1F6E;
  --bg-panel: #2E36A8;
  --bg-panel-2: #3A43BE;
  --border: #4B55CF;
  --accent: #A996FF;
  --accent-tint: #D9D0FF;
  --accent-mid: #8B78FA;
  --accent-dark: #5B4CF0;
  --engrave: #4334B8;
  --text: #F5F5FF;
  --text-muted: #BCC1F2;
  --success: #4BE3A0;
  --warn: #FFC65C;
  --error: #FF6B80;
  --paper: #FFFFFF;
  --paper-2: #F3F4FB;
  --paper-3: #E8EAF7;
  --paper-line: #DFE2F2;
  --ink: #1F2462;
  --ink-soft: #565C91;
  --ink-faint: #A9ADD2;
  --metal-hi: #5560D8;
  --metal-lo: #141859;
  --clay-lilac-hi: #ECE6FF;
  --clay-white: #FBFAFF;
  --clay-white-lo: #D3CEF4;
  --clay-blue-hi: #7F88F2;
  --shade-strong: rgba(10, 12, 58, .55);
  --shade-soft: rgba(10, 12, 58, .32);
  --shade-faint: rgba(10, 12, 58, .18);
  --clay-shade: rgba(67, 52, 184, .55);
  --clay-white-shade: rgba(91, 76, 240, .26);
  --hi-strong: rgba(255, 255, 255, .8);
  --hi-soft: rgba(255, 255, 255, .38);
  --hi-faint: rgba(255, 255, 255, .08);
  --glass-tint: rgba(169, 150, 255, .10);
  --glow-accent: rgba(169, 150, 255, .34);
  --glow-accent-soft: rgba(169, 150, 255, .16);
  --tray-fill: rgba(112, 122, 230, .26);
  --tray-line: rgba(169, 150, 255, .30);
  --chip-fill: rgba(46, 54, 168, .55);
  --dot: rgba(188, 193, 242, .30);
  --clear: transparent;
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-display: clamp(34px, 3.4vw, 48px);
  --fs-h2: clamp(26px, 2.8vw, 38px);
  --fs-h3: 22px;
  --fs-body: 16px;
  --fs-lede: 17px;
  --fs-small: 14px;
  --fs-caption: 12px;
  --weight-display: 900;
  --weight-bold: 700;
  --weight-body: 400;
  --r-tray: 48px;
  --r-stage: 36px;
  --r-btn: 14px;
  --r-pill: 999px;
  --r-bezel: 22px;
  --r-window: 10px;
  --r-phone: 32px;
  --r-phone-screen: 25px;
  --r-card: 18px;
  --r-small: 8px;
  --r-tiny: 4px;
  --r-pixel: 1px;
  --r-round: 50%;
  --nav-h: 84px;
  --peek: 54px;
  --wrap: 1320px;
  --reading: 840px;
  --gutter: 56px;
  --space-section: 96px;
  --space-card: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --time-fast: .2s;
  --time-reveal: .65s;
  --shadow-card: 0 20px 48px var(--shade-soft);
  --shadow-button: 0 14px 34px var(--shade-strong);
  --gradient-accent: linear-gradient(140deg, var(--accent), var(--accent-dark));
  --gradient-stage: linear-gradient(135deg, var(--accent-dark), var(--bg-panel-2));
  --gradient-metal: linear-gradient(150deg, var(--metal-hi), var(--bg-panel-2) 30%, var(--bg-panel) 62%, var(--metal-lo));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html, body { margin: 0; padding: 0; }
html.nav-open { overflow: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--weight-body);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
svg, .dot, .tag-dot { flex-shrink: 0; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: var(--clear); }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent-tint); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); text-wrap: balance; }
h1 { margin: 0; font-size: var(--fs-display); line-height: 1.12; font-weight: var(--weight-display); letter-spacing: -.02em; }
h2 { margin: 0 0 24px; font-size: var(--fs-h2); line-height: 1.2; font-weight: var(--weight-display); letter-spacing: -.02em; }
h3 { margin: 0 0 16px; font-size: var(--fs-h3); line-height: 1.35; font-weight: var(--weight-bold); }
p { margin: 0 0 1.2em; }
ul, ol { padding-inline-start: 1.5em; }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-deep);
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.8;
  tab-size: 2;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); min-width: 0; }
.reading { max-width: calc(var(--reading) + var(--gutter) * 2); }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-heading { max-width: 44em; margin-bottom: 36px; }
.section-heading p, .muted { color: var(--text-muted); }
.nowrap { white-space: nowrap; }
.eyebrow { margin: 0 0 16px; font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); letter-spacing: .08em; }
.gradient-text, .h1-grad {
  background: linear-gradient(95deg, var(--accent-tint), var(--accent) 46%, var(--accent-mid));
  color: var(--clear);
  background-clip: text;
  -webkit-background-clip: text;
}
.grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid > *, .hero > *, .feature-tray > *, .footer-grid > *, .prose > * { min-width: 0; }
.panel, .card {
  padding: var(--space-card);
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.card h3 a { text-decoration: none; }
.card a:hover { color: var(--text); }
.tray {
  padding: 22px;
  background: var(--tray-fill);
  color: var(--text);
  border: 1px solid var(--tray-line);
  border-radius: var(--r-tray);
}
.stage {
  padding: 40px;
  background: var(--gradient-stage);
  color: var(--text);
  border: 1px solid var(--tray-line);
  border-radius: var(--r-stage);
  box-shadow: 0 0 44px var(--glow-accent-soft), inset 0 1px 0 var(--hi-faint);
}
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  min-height: 56px;
  padding: 12px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--clear);
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--weight-bold);
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform var(--time-fast) var(--ease), box-shadow var(--time-fast) var(--ease);
}
.btn svg { width: 20px; height: 20px; }
.btn--primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-button), inset 0 -2px 0 var(--paper-3);
}
.btn--secondary {
  background: var(--accent-dark);
  color: var(--text);
  box-shadow: 0 14px 30px var(--shade-soft), inset 0 1px 0 var(--hi-soft);
}
.btn--quiet { background: var(--bg-panel); color: var(--text); border-color: var(--border); }
.btn:hover, .btn.is-hover { transform: translateY(-2px); box-shadow: 0 18px 40px var(--shade-strong); }
.btn:active, .btn.is-active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--bg-panel); color: var(--text-muted); border-color: var(--border); box-shadow: none; transform: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; }
.tag, .badge {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 13px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--chip-fill);
  color: var(--text-muted);
  font-size: var(--fs-caption);
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.tag--mono { font-family: var(--font-mono); }
.tag-dot { width: 7px; height: 7px; border-radius: var(--r-round); background: var(--gradient-accent); box-shadow: 0 0 0 3px var(--glow-accent-soft); }
.topbar, #site-header { position: relative; z-index: 50; }
.topbar-inner {
  position: relative;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  min-height: var(--nav-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.brand img { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: var(--weight-display); font-size: 19px; letter-spacing: -.02em; }
.mainnav { min-width: 0; margin-left: auto; }
.mainnav ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 30px; }
.mainnav a { display: block; padding-block: 12px; color: var(--text-muted); font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--text); }
.mainnav a[aria-current="page"] { font-weight: 800; }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language { position: relative; }
.lang {
  min-height: 40px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--hi-faint);
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
}
.lang-short { display: none; }
.lang-caret { color: var(--text-muted); font-size: var(--fs-caption); }
.lang-list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  list-style: none;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.lang-list a { display: block; min-height: 44px; padding: 9px 12px; border-radius: var(--r-small); text-decoration: none; }
.lang-list a:hover, .lang-list a[aria-current] { background: var(--bg-deep); color: var(--text); }
.menu-toggle { display: none; width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: var(--r-small); background: var(--bg-panel); color: var(--text); }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }
.nav-veil { position: fixed; inset: var(--nav-h) 0 0; z-index: -1; border: 0; background: var(--shade-strong); color: var(--text); }
.skip-link { position: absolute; left: var(--gutter); top: 12px; z-index: 100; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: var(--paper); color: var(--ink); border-radius: var(--r-small); }
.skip-link:focus { width: auto; height: auto; overflow: visible; clip-path: none; padding: 12px 18px; }
.page { position: relative; overflow-x: clip; min-height: 100vh; background: linear-gradient(180deg, var(--bg-deep), var(--bg) 900px); color: var(--text); }
.hero-shell { position: relative; overflow-x: clip; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.px { position: absolute; width: 5px; height: 5px; border-radius: var(--r-pixel); background: var(--dot); color: var(--text); }
.px--sm { width: 3px; height: 3px; }
.p1 { top: 118px; left: 22%; } .p2 { top: 212px; left: 4%; }
.p3 { top: 164px; left: 47%; } .p4 { top: 96px; left: 63%; }
.p5 { top: 300px; left: 93%; } .p6 { top: 526px; left: 3%; }
.p7 { top: 700px; left: 6%; } .p8 { top: 768px; left: 31%; }
.p9 { top: 470px; left: 97.5%; } .p10 { top: 822px; left: 86%; }
.p11 { top: 142px; left: 83%; } .p12 { top: 640px; left: 43%; }
.star { position: absolute; font-size: var(--fs-small); color: var(--text-muted); opacity: .38; }
.s1 { top: 150px; left: 36%; } .s2 { top: 384px; left: 96%; }
.s3 { top: 786px; left: 12%; } .s4 { top: 112px; left: 74%; }
.hero {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: calc(100vh - var(--nav-h) - var(--peek));
  min-height: 660px;
  max-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  column-gap: 32px;
  align-items: center;
  align-content: center;
}
.hero-copy { position: relative; z-index: 3; padding-bottom: 10px; }
.hero-title { font-size: var(--fs-display); text-transform: uppercase; }
.h1-line { display: block; }
.lede { margin: 22px 0 0; max-width: 31em; font-size: var(--fs-lede); line-height: 1.75; color: var(--text-muted); }
.lede strong { color: var(--text); font-weight: var(--weight-bold); }
.platforms { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.platforms-label { font-size: var(--fs-caption); font-weight: var(--weight-bold); letter-spacing: .08em; color: var(--text-muted); }
.platforms-rule { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }
.os-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.os { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; text-decoration: none; }
.os-badge { width: 30px; height: 30px; flex-shrink: 0; border-radius: var(--r-round); display: grid; place-items: center; background: var(--bg-panel-2); color: var(--text-muted); border: 1px solid var(--border); box-shadow: inset 0 1px 0 var(--hi-faint); }
.os-badge svg { width: 14px; height: 14px; }
.rig { position: relative; height: 600px; width: 100%; pointer-events: none; }
.halo { position: absolute; z-index: 0; width: 640px; height: 640px; right: -170px; top: -130px; border-radius: var(--r-round); background: radial-gradient(circle, var(--glow-accent), var(--glow-accent-soft) 38%, var(--clear) 68%); }
.floor { position: absolute; z-index: 1; border-radius: var(--r-round); background: radial-gradient(ellipse, var(--shade-strong), var(--shade-faint) 48%, var(--clear) 72%); }
.floor--desk { left: 60px; top: 438px; width: 480px; height: 74px; }
.floor--phone { right: -24px; top: 516px; width: 240px; height: 64px; }
.monitor-stage { position: absolute; z-index: 2; left: 30px; top: 44px; width: 520px; perspective: 1700px; perspective-origin: 30% 40%; }
.monitor { transform: rotateY(-14deg) rotateX(4deg); transform-origin: 50% 60%; transform-style: preserve-3d; }
.bezel { position: relative; padding: 13px 13px 0; border-radius: var(--r-bezel); background: var(--gradient-metal); color: var(--text); box-shadow: inset 0 1px 0 var(--hi-soft), inset 0 -1px 0 var(--shade-soft), 2px 2px 0 var(--bg-panel), 4px 4px 0 var(--bg-panel), 6px 5px 0 var(--bg-deep), 8px 6px 0 var(--bg-deep), 10px 7px 0 var(--metal-lo), 0 44px 70px var(--shade-strong); }
.bezel::after { content: ""; position: absolute; left: 13px; right: 13px; top: 13px; height: 300px; border-radius: var(--r-window); background: linear-gradient(118deg, var(--clear) 54%, var(--glass-tint) 55%, var(--clear) 74%); }
.chin { height: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.chin-bar { width: 34px; height: 4px; border-radius: var(--r-pill); background: var(--hi-faint); }
.chin-led { width: 4px; height: 4px; border-radius: var(--r-round); background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.neck { width: 96px; height: 62px; margin-inline: auto; background: linear-gradient(90deg, var(--metal-lo), var(--bg-panel-2) 42%, var(--bg-panel) 70%, var(--metal-lo)); clip-path: polygon(16% 0, 84% 0, 100% 100%, 0 100%); }
.foot { width: 250px; height: 22px; margin: -1px auto 0; border-radius: var(--r-btn) var(--r-btn) var(--r-round) var(--r-round); background: linear-gradient(var(--bg-panel-2), var(--bg-panel) 45%, var(--metal-lo)); box-shadow: inset 0 1px 0 var(--hi-soft), 0 18px 26px var(--shade-strong); }
.win { position: relative; height: 300px; border-radius: var(--r-window); overflow: hidden; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--paper-line); }
.win-title { height: 28px; flex-shrink: 0; display: flex; align-items: center; padding-left: 12px; background: var(--paper-2); color: var(--ink); border-bottom: 1px solid var(--paper-line); font-size: 11px; font-weight: var(--weight-bold); }
.win-icon { width: 12px; height: 12px; margin-right: 8px; border-radius: var(--r-tiny); background: var(--gradient-accent); }
.win-ctrls { margin-left: auto; display: flex; height: 100%; }
.win-ctrls span { width: 34px; display: grid; place-items: center; color: var(--ink-soft); }
.win-menu { min-height: 32px; display: flex; align-items: center; gap: 2px; padding-inline: 8px; border-bottom: 1px solid var(--paper-line); }
.menu-item { padding: 5px 9px; border-radius: var(--r-small); font-size: 11.5px; font-weight: 600; color: var(--ink); }
.menu-item--hover { background: var(--paper-3); color: var(--ink); }
.menu-caret { font-size: 8px; color: var(--ink-soft); }
.win-tabs { height: 28px; display: flex; align-items: flex-end; padding-inline: 12px; border-bottom: 1px solid var(--paper-line); font-size: 11px; }
.win-tab { padding-bottom: 6px; color: var(--accent-dark); font-weight: var(--weight-bold); border-bottom: 2px solid var(--accent-dark); }
.win-head { height: 24px; display: grid; grid-template-columns: 44px 1.3fr 1.4fr 46px 1fr 1fr; align-items: center; padding-inline: 12px; background: var(--paper-2); color: var(--ink-soft); border-bottom: 1px solid var(--paper-line); font-size: 10px; font-weight: 600; }
.win-body { flex: 1; display: grid; place-items: center; background: linear-gradient(var(--paper-2) 1px, var(--clear) 1px) 0 23px / 100% 24px, var(--paper); color: var(--ink); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.empty-btn { min-height: 32px; display: flex; align-items: center; gap: 8px; padding-inline: 12px; border-radius: var(--r-small); border: 1.5px dashed var(--ink-faint); background: var(--paper); color: var(--ink); font-size: 12px; font-weight: var(--weight-bold); }
.kbd { font-family: var(--font-mono); font-size: 9.5px; padding: 2px 5px; border-radius: var(--r-tiny); background: var(--paper-2); color: var(--ink-soft); border: 1px solid var(--paper-line); }
.empty-hint { font-size: 10px; color: var(--ink-soft); }
.win-status { min-height: 30px; display: flex; align-items: center; gap: 14px; padding-inline: 12px; background: var(--paper-2); color: var(--ink-soft); border-top: 1px solid var(--paper-line); font-size: 10.5px; white-space: nowrap; }
.st-item b { color: var(--ink); font-weight: var(--weight-bold); }
.st-core { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 10px; background: var(--paper-3); color: var(--ink); }
.st-core i { width: 6px; height: 6px; border-radius: var(--r-round); background: var(--accent-dark); }
.phone { position: absolute; z-index: 4; right: 4px; top: 206px; width: 172px; height: 344px; transform: perspective(1000px) rotateY(-10deg) rotateX(3deg); }
.phone-body { position: relative; width: 100%; height: 100%; padding: 8px; border-radius: var(--r-phone); background: var(--gradient-metal); color: var(--text); box-shadow: inset 0 1px 0 var(--hi-soft), 2px 2px 0 var(--bg-panel), 4px 4px 0 var(--bg-deep), 8px 6px 0 var(--metal-lo), 0 34px 50px var(--shade-strong); }
.phone-body::before { content: ""; position: absolute; right: -4px; top: 86px; width: 3px; height: 44px; border-radius: var(--r-tiny); background: var(--bg-panel-2); }
.phone-screen { height: 100%; border-radius: var(--r-phone-screen); overflow: hidden; display: flex; flex-direction: column; background: var(--paper-2); color: var(--ink); }
.ph-status { position: relative; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: flex-end; gap: 4px; padding-inline: 14px; background: var(--accent-dark); color: var(--paper); font-size: 9px; }
.ph-status::before { content: ""; position: absolute; left: 50%; top: 6px; width: 8px; height: 8px; margin-left: -4px; border-radius: var(--r-round); background: var(--metal-lo); }
.ph-bar { height: 42px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding-inline: 10px; background: var(--accent-dark); color: var(--paper); box-shadow: 0 3px 8px var(--shade-faint); font-size: 13px; font-weight: var(--weight-bold); }
.ph-actions { margin-left: auto; }
.ph-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.ph-empty { width: 44px; height: 34px; border: 2px solid var(--ink-faint); border-radius: var(--r-small); }
.ph-plus { color: var(--accent-dark); font-weight: 800; }
.ph-bottom { position: relative; height: 56px; flex-shrink: 0; display: flex; align-items: center; gap: 7px; padding-inline: 14px; background: var(--paper); color: var(--ink); border-top: 1px solid var(--paper-line); font-size: 11.5px; font-weight: var(--weight-bold); }
.ph-state { width: 7px; height: 7px; border-radius: var(--r-round); background: var(--ink-faint); }
.ph-fab { position: absolute; right: 12px; top: -25px; width: 48px; height: 48px; border-radius: var(--r-round); display: grid; place-items: center; background: var(--accent-dark); color: var(--paper); box-shadow: 0 0 0 6px var(--glow-accent-soft), 0 10px 18px var(--shade-soft), inset 0 1px 0 var(--hi-soft); font-size: 20px; }
.ph-gesture { height: 14px; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.ph-gesture::before { content: ""; width: 54px; height: 4px; border-radius: var(--r-pill); background: var(--ink-faint); }
.clay { position: absolute; z-index: 6; transform: rotate(var(--rot, 0deg)); }
.capsule { min-height: 46px; padding: 9px 22px; display: flex; align-items: center; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: var(--weight-display); font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
.capsule::before { content: ""; position: absolute; left: 14px; top: 7px; width: 28px; height: 9px; border-radius: var(--r-round); background: radial-gradient(ellipse, var(--hi-strong), var(--clear) 70%); }
.capsule--sm { min-height: 38px; padding: 7px 18px; font-size: 13px; }
.capsule--lilac { color: var(--ink); background: radial-gradient(120% 140% at 28% 18%, var(--clay-lilac-hi), var(--accent) 36%, var(--accent-mid)); box-shadow: inset 3px 4px 6px var(--hi-soft), inset -5px -7px 12px var(--clay-shade), 0 16px 26px var(--shade-soft); }
.capsule--white { color: var(--accent-dark); background: radial-gradient(120% 140% at 28% 18%, var(--clay-white), var(--clay-white) 34%, var(--clay-white-lo)); box-shadow: inset 3px 4px 6px var(--hi-strong), inset -5px -7px 12px var(--clay-white-shade), 0 16px 26px var(--shade-soft); }
.capsule--deep { color: var(--text); background: radial-gradient(130% 150% at 28% 18%, var(--bg-panel-2), var(--bg-panel) 76%, var(--bg-deep)); box-shadow: inset 3px 4px 6px var(--hi-faint), inset -5px -7px 12px var(--shade-soft), 0 16px 24px var(--shade-soft); }
.c-vless { left: -18px; top: 8px; --rot: -12deg; }
.c-reality { right: 92px; top: 14px; --rot: 9deg; }
.c-trojan { right: -14px; top: 110px; z-index: 1; --rot: -16deg; }
.c-vmess { left: 300px; top: 520px; --rot: 8deg; }
.key { left: -36px; top: 214px; width: 128px; height: 60px; --rot: -24deg; filter: drop-shadow(0 14px 12px var(--shade-soft)); }
.key-ring { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border: 15px solid var(--accent); border-radius: var(--r-round); box-shadow: inset 2px 2px 4px var(--hi-soft), 2px 3px 0 var(--accent-dark); }
.key-shaft { position: absolute; left: 50px; top: 21px; width: 74px; height: 14px; border-radius: var(--r-small); background: linear-gradient(var(--clay-lilac-hi), var(--accent) 40%, var(--accent-mid)); box-shadow: inset 0 2px 3px var(--hi-soft); }
.key-shaft::after { content: ""; position: absolute; right: 10px; top: 8px; width: 12px; height: 22px; background: var(--accent-mid); border-radius: var(--r-tiny); box-shadow: -22px 0 0 var(--accent-mid); }
.router { left: 55px; top: 477px; width: 120px; height: 55px; --rot: 8deg; border-radius: var(--r-card); background: linear-gradient(155deg, var(--clay-white), var(--clay-white-lo)); color: var(--ink); box-shadow: inset 0 3px 5px var(--hi-strong), inset 0 -8px 12px var(--clay-white-shade), 0 18px 24px var(--shade-soft); }
.router::before, .router::after { content: ""; position: absolute; bottom: 42px; width: 9px; height: 47px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent-tint), var(--accent-mid)); }
.router::before { left: 14px; transform: rotate(-12deg); }
.router::after { right: 14px; transform: rotate(12deg); }
.router-lights { position: absolute; left: 20px; bottom: 16px; width: 5px; height: 5px; border-radius: var(--r-round); background: var(--accent-dark); box-shadow: 13px 0 0 var(--accent-dark), 26px 0 0 var(--accent-dark); }
.rig--animated .c-vless { animation: clay-rise 7s ease-in-out infinite; }
@keyframes clay-rise { 0%, 100% { transform: translateY(0) rotate(var(--rot)); } 50% { transform: translateY(-10px) rotate(var(--rot)); } }
.site-footer { padding-top: 72px; padding-bottom: 28px; border-top: 1px solid var(--border); background: var(--bg-deep); color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1.25fr .8fr; gap: 40px; }
.footer-brand p { margin-top: 20px; max-width: 24em; font-size: var(--fs-small); }
.site-footer .brand { color: var(--text); }
.site-footer h2 { font-size: var(--fs-body); letter-spacing: 0; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding-block: 5px; font-size: var(--fs-small); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.copyright { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: var(--fs-caption); }
.prose { min-width: 0; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong, .prose a:not(.btn) { color: var(--text); }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose :not(pre) > code { padding: 2px 5px; border-radius: var(--r-tiny); background: var(--bg-deep); color: var(--accent-tint); }
.prose section { scroll-margin-top: 24px; }
.reveal { opacity: 1; transform: none; }
.reveal-pending .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity var(--time-reveal) var(--ease), transform var(--time-reveal) var(--ease); }
.reveal.shown { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1280px) {
  :root { --gutter: 32px; }
  .hero { column-gap: 20px; }
  .rig { transform: scale(.85); transform-origin: left center; width: 590px; }
}
@media (max-width: 1279px) {
  .mainnav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .mobile-nav:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; padding: 18px var(--gutter) 28px; border-bottom: 1px solid var(--border); background: var(--bg-panel); color: var(--text); box-shadow: 0 24px 40px var(--shade-strong); }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav a { display: flex; width: 100%; min-height: 44px; align-items: center; padding: 10px 12px; text-decoration: none; border-radius: var(--r-small); }
  .mobile-nav a:hover, .mobile-nav a[aria-current] { background: var(--bg-deep); color: var(--text); }
  .mobile-languages { margin-top: 18px !important; padding-top: 14px !important; border-top: 1px solid var(--border); }
}
@media (max-width: 960px) {
  .hero { height: auto; max-height: none; min-height: 0; grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 20px; }
  .hero-copy { max-width: 620px; }
  .rig { justify-self: center; width: 590px; transform: scale(.85); transform-origin: center center; margin-block: -20px -45px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --fs-display: clamp(24px, 4.5vw, 30px); --fs-h2: 26px; --space-section: 64px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --space-card: 22px; --nav-h: 72px; }
  .topbar-inner { gap: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 16px; }
  .header-tools { margin-left: auto; gap: 8px; }
  .lang { padding-inline: 12px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .hero { padding-top: 38px; padding-bottom: 0; }
  .hero .tags { margin-bottom: 20px; }
  .lede { font-size: var(--fs-body); margin-top: 18px; }
  .cta { gap: 10px; margin-top: 26px; }
  .btn { padding-inline: 18px; min-height: 50px; font-size: var(--fs-small); }
  .platforms { gap: 10px; margin-top: 24px; }
  .platforms-label, .platforms-rule { display: none; }
  .os-list { gap: 10px 14px; flex-wrap: wrap; }
  .os { font-size: var(--fs-caption); gap: 6px; }
  .os-badge { width: 26px; height: 26px; }
  .rig { width: 590px; height: 600px; transform: scale(.55); margin-block: -120px -130px; }
  .grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .tray { padding: 12px; }
  .stage { padding: 24px; }
  .tilt, [data-tilt] { transform: none !important; }
  pre { padding: 18px; }
  .footer-grid { gap: 30px; }
  .site-footer { padding-top: 48px; }
  .copyright { margin-top: 30px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand-name { font-size: 14px; }
  .brand img { width: 28px; height: 28px; }
  .lang { padding-inline: 10px; }
  .rig { transform: scale(.47); margin-block: -150px -160px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending .reveal:not(.shown) { opacity: 1; transform: none; }
}