:root {
  --notice: #D2BF94;
  --nav-surface: #FFFFFF;
  --nav-ink: #1E1D22;
  --nav-ink-soft: #55535C;
  --nav-line: #ECEBEF;
  --bg: #1E1D22;
  --bg-panel: #26252B;
  --bg-panel-2: #302F36;
  --border: #3B3A42;
  --accent: #3F86F5;
  --accent-dark: #1E4FBF;
  --accent-text: #A8CAFF;
  --accent-ink: #131720;
  --text: #F2F1F4;
  --text-muted: #A3A1AA;
  --text-dim: #96949E;
  --success: #3DB87A;
  --warn: #E0A33E;
  --error: #E5574A;
  --hairline: rgba(242, 241, 244, .10);
  --hairline-strong: rgba(242, 241, 244, .22);
  --chip-fill: rgba(38, 37, 43, .72);
  --veil: rgba(15, 14, 19, .65);
  --clear: transparent;

  --stage-base: #1E1D22;
  --stage-cobalt: #1A3A7A;
  --stage-glow: #8DB6FF;
  --mock-surface: #F8F8FA;
  --mock-side: #F2F1F5;
  --mock-select: #E4E3EA;
  --mock-line: #E7E6EC;
  --mock-ink: #1E1D22;
  --mock-muted: #686670;
  --mock-faint: #9C9AA4;
  --mock-dot: #D6D5DC;
  --window-edge: rgba(255, 255, 255, .62);
  --window-shadow: rgba(8, 18, 52, .30);
  --cap-proxy-bg: #E2EBFD;
  --cap-proxy-ink: #1E4FBF;
  --cap-direct-bg: #ECEBF0;
  --cap-direct-ink: #56545D;
  --cap-reject-bg: #F5E0DD;
  --cap-reject-ink: #A2352B;

  --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;
  --size-body: 16px;
  --size-small: 14px;
  --size-meta: 12px;
  --size-h1: clamp(34px, 3.4vw, 48px);
  --size-hero: clamp(30px, 3.2vw, 46px);
  --size-h2: clamp(24px, 2.4vw, 36px);
  --size-h3: clamp(18px, 1.7vw, 23px);
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --radius-line: 2px;
  --radius-sm: 8px;
  --radius-card: 16px;
  --radius-window: 20px;
  --radius-detail: 28px;
  --radius-stage: 32px;
  --radius-pill: 999px;
  --radius-dot: 50%;
  --gutter: 32px;
  --rail: 1280px;
  --content: 1120px;
  --reading: 800px;
  --section-gap: clamp(48px, 7vw, 96px);
  --card-pad: clamp(16px, 3vw, 30px);
  --bar-height: 64px;
  --lift: 260px;
  --window-gap: 30px;
  --peek: clamp(300px, calc(100vh - 541px), 640px);
  --ease-ui: .2s ease;
  --ease-reveal: .45s ease-out;
}
@supports (height: 100svh) {
  :root { --peek: clamp(300px, calc(100svh - 541px), 640px); }
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-sm); }
img, svg, video { max-inline-size: 100%; }
img, svg, .icon, .dot { flex-shrink: 0; }
img, video { block-size: auto; }
main, section, article, header, footer, nav, figure, .grid > *, .cluster > * { min-width: 0; }
:where(p, li, dd, h1, h2, h3, h4, .card, .site-footer a) { overflow-wrap: anywhere; }
:where(h1, h2, h3) {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 .6em;
}
h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
p { margin: 0 0 1em; }
:where(p, ul, ol, dl, figure):last-child { margin-bottom: 0; }
:where(section, h2, h3)[id] { scroll-margin-block-start: 6rem; }
code, pre, kbd, samp { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
:not(pre) > code {
  background: var(--bg-panel-2);
  color: var(--text);
  border-radius: var(--radius-line);
  padding: .08em .26em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 1rem;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-size: var(--size-small);
  white-space: pre;
}
pre code { overflow-wrap: normal; white-space: inherit; }
.wrap, .rail, .reading {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap { max-width: var(--content); }
.rail { max-width: var(--rail); }
.reading { max-width: calc(var(--reading) + var(--gutter) * 2); }
.strata { padding-block: var(--section-gap); }
.strata + .strata { border-block-start: 1px solid var(--hairline); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.stay { white-space: nowrap; }
.muted { color: var(--text-muted); }
.overline { font: var(--weight-medium) var(--size-meta)/1.5 var(--font-mono); letter-spacing: .045em; color: var(--text-muted); }
.prose { min-width: 0; max-width: 100%; }
.prose h2:not(:first-child) { margin-top: 2em; }
.prose h3:not(:first-child) { margin-top: 1.45em; }
.prose a:not(.btn), .text-link { color: var(--accent-text); text-decoration: underline; text-underline-offset: .2em; }
.decor-clip { position: relative; overflow-x: clip; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.card, .panel {
  min-width: 0;
  max-width: 100%;
  padding: var(--card-pad);
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
}
.panel { background: var(--bg-panel-2); color: var(--text); border-radius: var(--radius-detail); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  min-width: min(184px, 100%);
  max-width: 100%;
  padding: 8px 28px;
  border: 1px solid var(--clear);
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: var(--weight-medium);
  line-height: 1.3;
  text-align: center;
  transition: background-color var(--ease-ui), border-color var(--ease-ui), color var(--ease-ui);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover, .btn--primary:active, .btn--primary.demo-hover {
  background: var(--accent-dark);
  color: var(--nav-surface);
  border-color: var(--accent-dark);
}
.btn--ghost { background: var(--clear); color: var(--text); border-color: var(--hairline-strong); }
.btn--ghost:hover, .btn--ghost:active { border-color: var(--text-muted); }
.btn:disabled { background: var(--bg-panel-2); color: var(--text-muted); border-color: var(--border); cursor: not-allowed; }
.btn__arrow { flex: none; font: var(--size-small)/1 var(--font-mono); }
.demo-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.reveal.reveal-watch:not(.shown) { opacity: 0; }
.reveal.reveal-watch { transition: opacity var(--ease-reveal); }
.reveal.reveal-watch:focus-within { opacity: 1; }

.notice { background: var(--notice); color: var(--nav-ink); font-size: 13.5px; }
.notice .rail { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.notice__link { min-width: 0; display: inline-flex; align-items: baseline; gap: 8px; padding-block: 5px; }
.notice__link span { border-bottom: 1px solid var(--clear); }
.notice__link:hover span { border-bottom-color: var(--nav-ink); }
.notice__link b { flex: none; font-weight: var(--weight-regular); }
.notice__meta { flex: none; font: var(--size-meta)/1.5 var(--font-mono); color: var(--nav-ink-soft); }
.topbar {
  position: relative;
  z-index: 10;
  background: var(--nav-surface);
  color: var(--nav-ink);
  border-bottom: 1px solid var(--nav-line);
}
.topbar .rail {
  max-width: min(100%, calc(var(--rail) + var(--gutter) * 2));
  height: var(--bar-height);
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--size-body);
  font-weight: var(--weight-semibold);
  letter-spacing: -.005em;
  white-space: nowrap;
  flex: none;
}
.brand img { width: 28px; height: 28px; display: block; flex: none; }
.topbar__nav { min-width: 0; }
.menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
  font-size: 14.5px;
}
.menu li { overflow-wrap: normal; }
.menu a { color: var(--nav-ink-soft); transition: color var(--ease-ui); }
.menu a:hover, .menu a[aria-current="page"], .drawer a[aria-current] { color: var(--nav-ink); }
.menu a[aria-current="page"], .drawer a[aria-current] { font-weight: var(--weight-semibold); }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 22px; flex: none; }
.language-box { position: relative; }
.lang, .nav-toggle {
  appearance: none;
  border: 0;
  padding: 0;
  min-height: 44px;
  background: var(--clear);
  color: var(--nav-ink-soft);
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
}
.lang:hover, .nav-toggle:hover { color: var(--nav-ink); }
.lang--short { display: none; }
summary.lang { list-style: none; display: flex; align-items: center; }
summary.lang::-webkit-details-marker, summary.nav-toggle::-webkit-details-marker { display: none; }
.topbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding-inline: 20px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--nav-surface);
  font-size: 14.5px;
  font-weight: var(--weight-medium);
  transition: background-color var(--ease-ui);
}
.topbar__cta:hover { background: var(--accent-dark); color: var(--nav-surface); }
.language-list, .drawer {
  background: var(--nav-surface);
  color: var(--nav-ink);
  border: 1px solid var(--nav-line);
}
.language-list {
  position: absolute;
  z-index: 3;
  inset-block-start: 100%;
  inset-inline-end: 0;
  width: max-content;
  min-width: 156px;
  max-width: calc(100vw - var(--gutter) * 2);
  list-style: none;
  margin: 0;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.language-list a, .drawer a {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.language-list a:hover, .language-list a[aria-current], .drawer a:hover { background: var(--mock-select); color: var(--nav-ink); }
.nav-toggle, .drawer, .nav-veil, .preview-drawer { display: none; }
.nav-toggle { min-width: 44px; justify-content: center; align-items: center; font-size: 24px; list-style: none; }
.site-footer { background: var(--bg-panel); color: var(--text); border-top: 1px solid var(--hairline); }
.footer-map {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, .75fr);
  gap: 30px;
  padding-block: 48px;
}
.footer-map .brand { max-width: 100%; white-space: normal; }
.footer-map .brand span { min-width: 0; overflow-wrap: anywhere; }
.footer-map h2 { font-size: var(--size-small); font-weight: var(--weight-semibold); margin-bottom: 12px; }
.footer-map p { margin-top: 12px; }
.footer-map ul { list-style: none; margin: 0; padding: 0; }
.footer-map li + li { margin-top: 6px; }
.footer-map nav a, .footer-base { font-size: var(--size-small); color: var(--text-muted); }
.site-footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 18px 24px; border-top: 1px solid var(--hairline); }

/* 拍板首屏：文案和装置分层，渐变从文案背后接起。 */
.hero { position: relative; background: var(--bg); color: var(--text); overflow-x: clip; }
.hero__copy { position: relative; z-index: 2; padding-top: 36px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.facts, .platforms { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; }
.facts { gap: 8px; margin: 0 0 22px; }
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding-inline: 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  background: var(--chip-fill);
  color: var(--text-muted);
  font: var(--size-meta)/1.4 var(--font-mono);
  letter-spacing: .01em;
}
.facts li:first-child { color: var(--text); }
.facts li:first-child::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-dot);
  background: var(--accent);
  color: var(--accent-ink);
}
.hero h1 {
  margin: 0 0 18px;
  max-width: min(980px, 100%);
  font-size: var(--size-hero);
  line-height: 1.16;
  letter-spacing: -.006em;
}
.h1-line { display: block; }
.lede { margin: 0 0 28px; max-width: 660px; font-size: 16.5px; line-height: 1.7; color: var(--text-muted); }
.lede strong { color: var(--text); font-weight: var(--weight-medium); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 22px; }
.hero .btn--primary:not(:disabled) { color: var(--nav-surface); }
.platforms { gap: 6px 30px; margin: 0; }
.platforms a { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; font-size: var(--size-small); color: var(--text-muted); transition: color var(--ease-ui); }
.platforms a:hover { color: var(--text); }
.platforms svg { width: 16px; height: 16px; flex: none; display: block; }
.eco { padding-block: 56px 96px; background: var(--bg); color: var(--text); }
.eco__caption { margin: 0 0 36px; text-align: center; font: var(--size-meta)/1.6 var(--font-mono); letter-spacing: .04em; color: var(--text-muted); }
.eco__wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.eco__wall li {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 8px;
  border-radius: var(--radius-card);
  font-size: 19px;
  font-weight: var(--weight-medium);
  letter-spacing: -.01em;
  color: var(--text-dim);
  text-align: center;
}
.eco__wall li:nth-child(2) { background: var(--bg-panel); color: var(--text); border: 1px solid var(--hairline); }

@media (width < 1280px) {
  .topbar .rail { gap: 24px; }
  .topbar__nav, .topbar__cta { display: none; }
  .topbar__end { margin-left: auto; gap: 12px; }
  .topbar .brand { flex: 0 1 auto; min-width: 0; }
  .topbar .brand span { overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { display: inline-flex; }
  .drawer {
    position: absolute;
    z-index: 2;
    inset: 100% 0 auto;
    display: block;
    max-height: calc(100vh - 140px);
    max-height: max(100px, calc(100dvh - 140px));
    padding: 10px var(--gutter) 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .drawer ul { list-style: none; margin: 0; padding: 0; }
  .drawer .drawer__languages { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--nav-line); }
  .nav-veil {
    display: block;
    position: fixed;
    z-index: 1;
    inset: 0;
    border: 0;
    background: var(--veil);
    color: var(--text);
  }
  .topbar__end, .topbar .brand { position: relative; z-index: 3; }
  .nav-open .nav-veil { position: absolute; inset: 100% 0 auto; height: 100dvh; }
  .preview-drawer { display: block; }
}
@media (max-width: 960px) {
  .notice__meta { display: none; }
  .eco__wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --size-h1: clamp(24px, 7vw, 30px); --size-hero: clamp(24px, 7vw, 30px); }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; --lift: 180px; --peek: clamp(280px, 52vh, 420px); }
  .topbar .rail { gap: 12px; }
}
@media (max-width: 640px) {
  .lede { font-size: 15px; }
  .hero .actions { width: 100%; }
  .hero .btn { width: min(100%, 320px); min-width: 0; }
  .platforms { gap: 4px 18px; }
  .eco__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tilt, [data-tilt] { transform: none !important; rotate: none !important; }
}
@media (max-width: 390px) {
  .lang--full { display: none; }
  .lang--short { display: inline; }
  .topbar .brand { gap: 6px; font-size: var(--size-small); }
  .footer-map { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.reveal-watch:not(.shown) { opacity: 1; }
}