:root {
  --c-bg: #ffffff;
  --c-panel: #f4f6fb;
  --c-panel-2: #0c1a52;
  --c-border: #e3e7f0;
  --c-accent: #2158ff;
  --c-accent-dark: #0d36b8;
  --c-accent-tint: #e8edff;
  --c-text: #0b1533;
  --c-muted: #5a6380;
  --c-success: #12a26b;
  --c-warn: #d98a12;
  --c-error: #d93a4a;
  --c-ink: #0a1438;
  --c-peri: #cdd6ff;
  --c-violet: #8f5cf7;
  --c-pink: #e2489c;
  --c-white: #ffffff;
  --c-clear: transparent;
  --c-on-dark: rgba(255, 255, 255, 0.95);
  --c-on-dark-2: rgba(255, 255, 255, 0.88);
  --c-line-dark: rgba(255, 255, 255, 0.26);
  --c-line-dark-strong: rgba(255, 255, 255, 0.44);
  --c-line-dark-soft: rgba(255, 255, 255, 0.12);
  --c-fill-dark: rgba(255, 255, 255, 0.12);
  --c-fill-dark-2: rgba(255, 255, 255, 0.22);
  --c-fill-dark-soft: rgba(255, 255, 255, 0.05);
  --c-peri-glass: rgba(205, 214, 255, 0.24);
  --c-ink-glass: rgba(10, 20, 56, 0.48);
  --c-device-line: rgba(255, 255, 255, 0.78);
  --c-success-ring: rgba(18, 162, 107, 0.3);
  --c-code-key: #cdd6ff;
  --c-code-value: rgba(255, 255, 255, 0.92);
  --c-code-policy: #a9bcff;
  --c-code-comment: #b3bde2;
  --c-geo-1: rgba(255, 255, 255, 0.36);
  --c-geo-2: rgba(255, 255, 255, 0.22);
  --c-geo-3: rgba(255, 255, 255, 0.6);
  --glow-core-1: rgba(170, 190, 255, 0.62);
  --glow-core-2: rgba(33, 88, 255, 0.55);
  --glow-spark: rgba(205, 214, 255, 0.85);
  --halo-violet: rgba(143, 92, 247, 0.4);
  --halo-pink: rgba(226, 72, 156, 0.3);
  --halo-fade: rgba(143, 92, 247, 0);
  --halo-fade-pink: rgba(226, 72, 156, 0);
  --glow-fade: rgba(33, 88, 255, 0);
  --c-blue-top: #4b7cff;
  --c-blue-mid: #8ea9ff;
  --g-canvas: linear-gradient(180deg, #0a1438 0%, #2158ff 56%, #cdd6ff 100%);
  --g-keyword: linear-gradient(96deg, #8f5cf7 0%, #e2489c 100%);
  --g-card-blue: linear-gradient(164deg, #4b7cff 0%, #2158ff 46%, #0d36b8 100%);
  --g-card-violet: linear-gradient(150deg, #8f5cf7 0%, #e2489c 100%);
  --g-phone-screen: linear-gradient(158deg, rgba(255,255,255,0) 0% 34%, rgba(255,255,255,0.26) 34% 44%, rgba(255,255,255,0) 44% 100%), linear-gradient(158deg, rgba(255,255,255,0) 0% 56%, rgba(255,255,255,0.14) 56% 70%, rgba(255,255,255,0) 70% 100%), linear-gradient(178deg, #cdd6ff 0%, #8ea9ff 32%, #2158ff 70%, #0d36b8 100%);
  --g-ipad-screen: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.06));
  --f-display: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --f-body: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fs-tiny: 11px;
  --fs-caption: 12px;
  --fs-small: 13px;
  --fs-label: 14px;
  --fs-ui: 15px;
  --fs-body: 16px;
  --fs-lead: 18px;
  --fs-card: 22px;
  --fs-h3: clamp(22px, 2vw, 28px);
  --fs-h2: clamp(26px, 3vw, 38px);
  --fs-h1: clamp(34px, 1.4vw + 28px, 48px);
  --tracking-display: -0.02em;
  --weight-body: 400;
  --weight-title: 500;
  --weight-strong: 600;
  --r-canvas: 40px;
  --r-card: 32px;
  --r-panel: 36px;
  --r-inner: 20px;
  --r-group: 14px;
  --r-btn: 14px;
  --r-small: 8px;
  --r-shot: 10px;
  --r-device: 16px;
  --r-phone-screen: 15px;
  --r-pill: 999px;
  --r-circle: 50%;
  --r-squircle: 22.4%;
  --r-square: 0;
  --gutter: 24px;
  --content-width: 1120px;
  --header-width: 1280px;
  --read-width: 760px;
  --section-gap: 140px;
  --nav-h: 68px;
  --card-w: 340px;
  --card-h: 396px;
  --card-gap: 24px;
  --card-overhang: 72px;
  --track-w: calc(var(--card-w) * 5 + var(--card-gap) * 4);
  --reel-shift: min(0px, calc((100vw - var(--track-w)) / 2));
  --time-ui: 200ms;
  --time-reveal: 650ms;
  --ease-ui: cubic-bezier(0.2, 0.7, 0.2, 1);
  --layer-header: 30;
  --layer-drawer: 35;
  --layer-fab: 20;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: var(--weight-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--c-clear); }
a { color: var(--c-accent-dark); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
}
.hero a:focus-visible, .hero button:focus-visible { outline-color: var(--c-peri); }
button:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; transform: none; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: var(--weight-title); line-height: 1.2; letter-spacing: var(--tracking-display); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin-top: 0; margin-bottom: 1.2em; }
strong { font-weight: var(--weight-strong); }
code, pre, kbd { font-family: var(--f-mono); }
code { overflow-wrap: anywhere; }
pre { max-width: 100%; min-width: 0; overflow-x: auto; padding: 20px; border-radius: var(--r-group); background: var(--c-panel-2); color: var(--c-code-value); line-height: 1.9; }
pre code { overflow-wrap: normal; white-space: pre; }
hr { border: 0; border-top: 1px solid var(--c-border); margin-block: 32px; }
:where(main, article, section, aside, div, li) { min-width: 0; }
.wrap { width: 100%; max-width: calc(var(--content-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.reading { max-width: calc(var(--read-width) + var(--gutter) * 2); }
.section { margin-top: var(--section-gap); }
.section-space { padding-top: 64px; padding-bottom: 64px; }
.section-title { margin-top: 0; margin-bottom: 24px; }
.section-intro { max-width: 680px; color: var(--c-muted); font-size: var(--fs-lead); }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose h2 { margin-top: 2.4em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.8em; }
.prose :where(ul, ol) { padding-left: 1.5em; }
.prose li + li { margin-top: 0.6em; }
.prose img { max-width: 100%; height: auto; }
.prose :where(section, div, figure) { min-width: 0; max-width: 100%; }
.muted { color: var(--c-muted); }
.is-mono { font-family: var(--f-mono); }
.keep { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: var(--gutter); z-index: 60; padding: 10px 16px; background: var(--c-white); color: var(--c-accent-dark); border-radius: var(--r-small); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px;
  border: 1px solid var(--c-clear); border-radius: var(--r-btn);
  background: var(--c-accent); color: var(--c-white);
  font-size: var(--fs-ui); font-weight: var(--weight-strong);
  text-align: center; text-decoration: none; line-height: 1.4;
  transition: background-color var(--time-ui), transform var(--time-ui);
}
.btn:hover { background: var(--c-accent-dark); color: var(--c-white); transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn--secondary { background: var(--c-panel); color: var(--c-accent-dark); border-color: var(--c-border); }
.btn--secondary:hover { background: var(--c-accent-tint); color: var(--c-accent-dark); }
.btn--store { background: var(--c-white); color: var(--c-ink); }
.btn--store:hover { background: var(--c-accent-tint); color: var(--c-ink); }
.btn--guide { border-color: var(--c-line-dark-strong); background: var(--c-peri-glass); color: var(--c-white); }
.btn--guide:hover { background: var(--c-fill-dark-2); color: var(--c-white); }
.btn--text { background: var(--c-clear); color: var(--c-accent-dark); }
.btn--text:hover { background: var(--c-accent-tint); color: var(--c-accent-dark); }

#site-header { position: relative; z-index: var(--layer-header); }
.topbar {
  position: relative; display: flex; align-items: center; gap: 24px;
  min-height: var(--nav-h); width: 100%;
  max-width: min(100%, calc(var(--header-width) + var(--gutter) * 2));
  margin-inline: auto; padding-inline: var(--gutter);
  background: var(--c-bg); color: var(--c-text);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: inherit; text-decoration: none; font-size: var(--fs-body); font-weight: var(--weight-strong); letter-spacing: -0.01em; }
.brand__mark { display: block; width: 30px; height: 30px; flex-shrink: 0; border-radius: var(--r-squircle); }
.mainnav { margin-left: auto; min-width: 0; }
.mainnav ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 30px; }
.mainnav a { display: block; padding-block: 8px; color: var(--c-muted); text-decoration: none; font-size: var(--fs-ui); white-space: nowrap; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--c-accent-dark); }
.mainnav a[aria-current="page"] { font-weight: var(--weight-strong); }
.header-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.language { position: relative; }
.lang { min-height: 44px; padding: 6px 0 6px 22px; border: 0; border-left: 1px solid var(--c-border); background: var(--c-clear); color: var(--c-muted); font-size: var(--fs-label); white-space: nowrap; }
.lang__short { display: none; }
.language__menu { position: absolute; top: calc(100% + 8px); right: 0; width: 180px; padding: 8px; border: 1px solid var(--c-border); border-radius: var(--r-group); background: var(--c-white); color: var(--c-text); z-index: var(--layer-drawer); }
.language__menu a { display: block; min-height: 44px; padding: 10px 12px; color: var(--c-text); text-decoration: none; border-radius: var(--r-small); }
.language__menu a:hover, .language__menu a[aria-current="true"] { background: var(--c-accent-tint); color: var(--c-accent-dark); }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--c-border); border-radius: var(--r-small); background: var(--c-bg); color: var(--c-text); }
.menu-toggle svg { width: 22px; height: 22px; flex-shrink: 0; }
.mobile-drawer { position: absolute; top: 100%; left: 0; right: 0; z-index: var(--layer-drawer); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--c-border); background: var(--c-white); color: var(--c-text); }
.mobile-drawer ul { padding: 0; margin: 0; list-style: none; }
.mobile-drawer a { display: block; width: 100%; min-height: 44px; padding: 12px 8px; color: var(--c-text); text-decoration: none; }
.mobile-drawer a[aria-current] { color: var(--c-accent-dark); font-weight: var(--weight-strong); }
.mobile-drawer__languages { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-border); }
.nav-veil { position: fixed; inset: var(--nav-h) 0 0; z-index: -1; border: 0; background: var(--c-ink-glass); color: var(--c-white); }
.hero .topbar, #site-header[data-theme="dark"] .topbar { background: var(--c-clear); color: var(--c-white); }
.hero .mainnav a, .hero .lang, #site-header[data-theme="dark"] .mainnav a, #site-header[data-theme="dark"] .lang { color: var(--c-on-dark-2); }
.hero .mainnav a[aria-current], .hero .mainnav a:hover, #site-header[data-theme="dark"] .mainnav a[aria-current] { color: var(--c-white); }
.hero .lang, #site-header[data-theme="dark"] .lang { border-color: var(--c-line-dark); }
.hero .menu-toggle, #site-header[data-theme="dark"] .menu-toggle { background: var(--c-ink); color: var(--c-white); border-color: var(--c-line-dark); }

.site-footer { margin-top: var(--section-gap); padding-top: 64px; padding-bottom: 32px; border-top: 1px solid var(--c-border); background: var(--c-panel); color: var(--c-text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 48px; }
.footer-brand p { max-width: 370px; margin-top: 20px; color: var(--c-muted); font-size: var(--fs-label); }
.site-footer h2 { font-size: var(--fs-body); margin-top: 0; margin-bottom: 16px; letter-spacing: normal; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; }
.footer-links a { display: inline-block; padding-block: 5px; color: var(--c-muted); text-decoration: none; font-size: var(--fs-label); }
.footer-links a:hover { color: var(--c-accent-dark); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.footer-bottom p { margin-top: 20px; margin-bottom: 0; color: var(--c-muted); font-size: var(--fs-small); }

.panel { padding: 40px; border: 1px solid var(--c-border); border-radius: var(--r-panel); background: var(--c-panel); color: var(--c-text); }
.panel--dark { border-color: var(--c-panel-2); background: var(--c-panel-2); color: var(--c-white); }
.panel--dark :where(p, a) { color: var(--c-on-dark-2); }
.content-card { padding: 28px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); }
.content-card h3 { margin-top: 0; }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.decorated { position: relative; isolation: isolate; overflow-x: clip; }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
html.reveal-ready .reveal { transition: opacity var(--time-reveal) var(--ease-ui), transform var(--time-reveal) var(--ease-ui); }
html.reveal-ready .reveal.shown { opacity: 1; transform: none; }

/* 首屏自然高度；渐变画布停在卡带下沿上方。 */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0 0 var(--card-overhang); z-index: -1; overflow: hidden; border-radius: var(--r-square) var(--r-square) var(--r-canvas) var(--r-canvas); background: var(--g-canvas); color: var(--c-white); }
.halo { position: absolute; width: 620px; height: 460px; border-radius: var(--r-circle); filter: blur(40px); }
.halo--left { left: -220px; bottom: 110px; background: radial-gradient(closest-side, var(--halo-violet), var(--halo-fade)); }
.halo--right { right: -220px; bottom: 150px; background: radial-gradient(closest-side, var(--halo-pink), var(--halo-fade-pink)); }
.hero__inner { display: flex; flex-direction: column; align-items: center; padding: 12px var(--gutter) 0; text-align: center; }
.core { position: relative; width: 440px; max-width: 100%; height: 96px; flex-shrink: 0; color: var(--c-white); }
.core__glow { position: absolute; left: 50%; top: 50%; width: 280px; height: 130px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--glow-core-2), var(--glow-fade)); }
.core__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--c-line-dark); }
.core__plane { position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; margin: -170px 0 0 -170px; transform: scaleY(0.276); }
.core__spin { position: absolute; inset: 0; border-radius: var(--r-circle); animation: orbit-turn 40s linear infinite; }
.core__spin--inner { inset: 62px; animation-duration: 28s; animation-direction: reverse; }
.spark { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: var(--r-circle); background: var(--c-white); box-shadow: 0 0 12px 4px var(--glow-spark); }
.spark--a { left: 50%; top: 0; }
.spark--b { left: 50%; top: 100%; opacity: 0.7; }
.spark--c { left: 0; top: 50%; }
.core__label { position: absolute; transform: translate(-50%, -50%); padding: 2px 8px; border: 1px solid var(--c-line-dark); border-radius: var(--r-pill); background: var(--c-ink-glass); color: var(--c-on-dark-2); font-family: var(--f-mono); font-size: var(--fs-tiny); line-height: 1.5; white-space: nowrap; }
.core__label--ss { left: 11.36%; top: 48px; }
.core__label--vm { left: 23.64%; top: 14px; }
.core__label--vl { left: 76.36%; top: 14px; }
.core__label--hy { left: 88.64%; top: 48px; }
.core__icon { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: var(--r-squircle); background: var(--c-white); color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-line-dark-strong), 0 0 26px 6px var(--glow-core-1), 0 0 72px 22px var(--glow-core-2); }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
.badge { display: inline-flex; align-items: center; gap: 9px; min-height: 28px; max-width: 100%; padding: 4px 13px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-panel); color: var(--c-muted); font-size: var(--fs-small); line-height: 1.4; }
.badge__dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--c-success); box-shadow: 0 0 0 3px var(--c-success-ring); }
.hero .badge { margin-top: 14px; border-color: var(--c-line-dark); background: var(--c-fill-dark); color: var(--c-on-dark-2); }
.hero__title { margin: 18px 0 0; max-width: 900px; color: var(--c-white); font-size: var(--fs-h1); font-weight: var(--weight-title); line-height: 1.12; }
.hero__kw { background: var(--g-keyword); color: var(--c-pink); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: var(--c-clear); }
.hero__lede { margin: 18px 0 0; max-width: 720px; color: var(--c-white); font-size: var(--fs-ui); line-height: 1.6; }
.hero__lede strong { color: var(--c-white); }
.devices { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin: 20px 0 0; padding: 0; list-style: none; }
.devices__link { display: inline-flex; align-items: center; gap: 7px; color: var(--c-white); font-size: var(--fs-label); line-height: 1; text-decoration: none; }
.devices__link svg, .device-card__icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.devices__sep { width: 1px; height: 16px; background: var(--c-line-dark); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; max-width: 100%; padding: 4px 12px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-panel); color: var(--c-muted); font-size: var(--fs-small); line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.hero .chip { border-color: var(--c-line-dark-strong); background: var(--c-ink-glass); color: var(--c-white); }
.reel { position: relative; margin-top: 34px; margin-left: var(--reel-shift); width: calc(100% - var(--reel-shift)); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel__track { display: flex; gap: var(--card-gap); width: max-content; margin: 0; padding: 0; list-style: none; }
.card { position: relative; display: flex; flex-direction: column; flex: 0 0 var(--card-w); height: var(--card-h); padding: 24px; overflow: hidden; border: 1px solid var(--card-line); border-radius: var(--r-card); background: var(--card-bg); color: var(--card-fg); scroll-snap-align: center; }
.card--light { --card-bg: var(--c-white); --card-line: var(--c-border); --card-fg: var(--c-text); --card-fg-2: var(--c-muted); --ear-bg: var(--c-panel); --ear-bg-hover: var(--c-accent-tint); --ear-fg: var(--c-accent-dark); --ear-line: var(--c-border); }
.card--dark { --card-line: var(--c-line-dark); --card-fg: var(--c-white); --card-fg-2: var(--c-white); --ear-bg: var(--c-ink-glass); --ear-bg-hover: var(--c-ink); --ear-fg: var(--c-white); --ear-line: var(--c-line-dark); }
.card--server { --card-bg: var(--g-card-blue); }
.card--rules { --card-bg: var(--c-panel-2); }
.card--demand { --card-bg: var(--g-card-violet); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.card__kicker { color: var(--card-fg-2); font-size: var(--fs-caption); font-weight: var(--weight-title); }
.ear { max-width: 100%; padding: 4px 8px; border: 1px solid var(--ear-line); border-radius: var(--r-pill); background: var(--ear-bg); color: var(--ear-fg); font-family: var(--f-mono); font-size: var(--fs-tiny); line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.ear:hover { background: var(--ear-bg-hover); }
.card__title { margin: 14px 0 0; color: var(--card-fg); font-size: var(--fs-card); font-weight: var(--weight-title); line-height: 1.2; }
.card__sub { margin: 6px 0 0; color: var(--card-fg-2); font-size: var(--fs-small); line-height: 1.4; }
.card__body { display: flex; flex: 1; flex-direction: column; min-height: 0; margin-top: 16px; }
.app-mark { display: block; flex-shrink: 0; border-radius: var(--r-squircle); background: var(--c-white); color: var(--c-accent); }
.app-mark--lg { width: 52px; height: 52px; }
.store__head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--c-border); }
.store__name { margin: 0; color: var(--c-text); font-size: var(--fs-lead); font-weight: var(--weight-strong); line-height: 1.25; }
.store__src { margin: 4px 0 0; color: var(--c-muted); font-size: var(--fs-caption); line-height: 1.3; }
.store__rows { margin: 0; }
.store__row { padding-block: 9px; border-bottom: 1px solid var(--c-border); }
.store__row:last-child { border-bottom: 0; }
.store__row dt { color: var(--c-muted); font-size: var(--fs-tiny); line-height: 1.4; }
.store__row dd { margin: 2px 0 0; color: var(--c-text); font-size: var(--fs-label); font-weight: var(--weight-title); line-height: 1.4; }
.store__row .is-mono { font-size: var(--fs-small); }
.phone { position: relative; width: 92px; height: 176px; margin: 0 auto; padding: 4px; border: 2px solid var(--c-device-line); border-radius: var(--r-inner); }
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; z-index: 1; width: 26px; height: 7px; transform: translateX(-50%); border-radius: var(--r-pill); background: var(--c-ink-glass); }
.phone__screen { width: 100%; height: 100%; border-radius: var(--r-phone-screen); background: var(--g-phone-screen); }
.protocols { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: auto 0 0; padding: 14px 0 0; list-style: none; }
.protocols li { padding: 3px 9px; border: 1px solid var(--c-line-dark); border-radius: var(--r-pill); background: var(--c-ink-glass); color: var(--c-white); font-family: var(--f-mono); font-size: var(--fs-tiny); line-height: 1.5; }
.settings { display: flex; flex: 1; flex-direction: column; padding: 14px; border-radius: var(--r-inner); background: var(--c-panel); color: var(--c-text); }
.settings__group { margin: 0; padding: 0 0 0 14px; list-style: none; border: 1px solid var(--c-border); border-radius: var(--r-group); background: var(--c-white); color: var(--c-text); }
.settings__row { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 12px; padding-right: 12px; border-bottom: 1px solid var(--c-border); color: var(--c-text); font-size: var(--fs-ui); }
.settings__row:last-child { border-bottom: 0; }
.settings__row::after { content: "›"; flex-shrink: 0; color: var(--c-muted); font-size: var(--fs-card); }
.settings__foot { margin: 10px 4px 0; color: var(--c-muted); font-size: var(--fs-caption); line-height: 1.6; }
.rules { margin: 0; padding: 14px 16px; overflow-x: auto; border: 1px solid var(--c-line-dark-soft); border-radius: var(--r-inner); background: var(--c-fill-dark-soft); color: var(--c-code-value); font-family: var(--f-mono); font-size: var(--fs-caption); line-height: 1.95; white-space: pre; }
.t-c { color: var(--c-code-comment); }
.t-k { color: var(--c-code-key); }
.t-p { color: var(--c-code-policy); }
.policy { display: flex; flex-direction: column; gap: 8px; margin: auto 0 0; padding: 14px 0 0; list-style: none; }
.policy li { display: flex; align-items: center; gap: 9px; color: var(--c-on-dark-2); font-size: var(--fs-caption); line-height: 1.4; }
.policy__dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-circle); }
.policy__dot--proxy { background: var(--c-code-policy); }
.policy__dot--direct { background: var(--c-success); }
.ipad { position: relative; width: 224px; max-width: 100%; height: 152px; margin: 2px auto 0; padding: 6px; border: 2px solid var(--c-device-line); border-radius: var(--r-device); }
.ipad__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--r-shot); background: var(--g-ipad-screen); }
.geo { position: absolute; display: block; }
.geo--ring { right: -18px; top: -24px; width: 96px; height: 96px; border: 12px solid var(--c-geo-1); border-radius: var(--r-circle); }
.geo--block { left: 16px; top: 18px; width: 54px; height: 54px; border-radius: var(--r-group); background: var(--c-geo-2); }
.geo--dot { left: 92px; bottom: 20px; width: 22px; height: 22px; border-radius: var(--r-circle); background: var(--c-geo-3); }
.geo--slab { left: 16px; bottom: 20px; width: 62px; height: 22px; border: 1.5px solid var(--c-geo-3); border-radius: var(--r-pill); }
.triggers { margin-top: auto; padding-top: 14px; }
.triggers__label { margin: 0; color: var(--c-white); font-size: var(--fs-caption); }
.triggers__list { display: flex; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.triggers__list li { padding: 5px 12px; border: 1px solid var(--c-line-dark-strong); border-radius: var(--r-pill); background: var(--c-ink-glass); color: var(--c-white); font-size: var(--fs-small); }

/* 预览占位只表示素材位置，不描画品牌图形或应用界面。 */
.preview-mark { border: 1px solid var(--c-border); background: var(--c-white); color: var(--c-accent); }
.preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.swatch { min-height: 110px; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--r-group); background: var(--swatch-bg, var(--c-white)); color: var(--swatch-fg, var(--c-text)); font-family: var(--f-mono); font-size: var(--fs-small); }
.swatch--bg { --swatch-bg: var(--c-bg); }
.swatch--panel { --swatch-bg: var(--c-panel); }
.swatch--panel2 { --swatch-bg: var(--c-panel-2); --swatch-fg: var(--c-white); }
.swatch--border { --swatch-bg: var(--c-border); }
.swatch--accent { --swatch-bg: var(--c-accent); --swatch-fg: var(--c-white); }
.swatch--accent-dark { --swatch-bg: var(--c-accent-dark); --swatch-fg: var(--c-white); }
.swatch--text { --swatch-bg: var(--c-text); --swatch-fg: var(--c-white); }
.swatch--muted { --swatch-bg: var(--c-muted); --swatch-fg: var(--c-white); }
.swatch--success { --swatch-bg: var(--c-success); --swatch-fg: var(--c-ink); }
.swatch--warn { --swatch-bg: var(--c-warn); --swatch-fg: var(--c-ink); }
.swatch--error { --swatch-bg: var(--c-error); --swatch-fg: var(--c-white); }
.swatch--ink { --swatch-bg: var(--c-ink); --swatch-fg: var(--c-white); }
.swatch--peri { --swatch-bg: var(--c-peri); }
.swatch--violet { --swatch-bg: var(--c-violet); --swatch-fg: var(--c-white); }
.swatch--pink { --swatch-bg: var(--c-pink); --swatch-fg: var(--c-ink); }
.swatch--tint { --swatch-bg: var(--c-accent-tint); }
.token-list { display: flex; flex-wrap: wrap; gap: 10px; }
.token-list code { padding: 5px 10px; border-radius: var(--r-small); background: var(--c-panel); color: var(--c-text); }
.preview-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.preview-focus { outline: 2px solid var(--c-accent); outline-offset: 4px; }
.preview-hover { background: var(--c-accent-dark); color: var(--c-white); }
.preview-shot { display: grid; place-items: center; width: 100%; aspect-ratio: 750 / 1334; border: 1px solid var(--c-border); border-radius: var(--r-shot); background: var(--c-panel); color: var(--c-muted); text-align: center; font-size: var(--fs-label); }
.preview-hero-facts { margin-top: 16px; }
.preview-hero-facts .fact { background: var(--c-ink-glass); color: var(--c-white); border-color: var(--c-line-dark); }

@media (min-width: 1500px) {
  .hero > .topbar { max-width: 100%; padding-inline: 40px; }
}
@media (max-width: 1199px) {
  .mainnav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .topbar { gap: 16px; }
}
@media (min-width: 1200px) {
  .mobile-drawer, .nav-veil { display: none !important; }
}
@media (max-width: 768px) {
  :root { --fs-h1: clamp(24px, 4vw, 30px); --gutter: 20px; }
  .grid-three, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { gap: 32px; }
  .panel { padding: 28px; }
  .hero__inner { padding-top: 8px; }
  .hero__title { max-width: 100%; }
  .hero__lede { max-width: 560px; }
  .core { width: 380px; height: 88px; }
  .core__label--ss, .core__label--hy { top: 55px; }
  .core__label { font-size: var(--fs-tiny); padding-inline: 5px; }
  .reel { margin-left: 0; width: 100%; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .reel__track { padding-right: var(--gutter); }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --card-w: 292px; --card-gap: 16px; }
  .wrap { padding-inline: var(--gutter); }
  .brand { min-width: 0; flex-shrink: 1; font-size: var(--fs-small); gap: 8px; }
  .brand > span { min-width: 0; overflow-wrap: anywhere; }
  .keep { white-space: normal; }
  .brand__mark { width: 28px; height: 28px; }
  .topbar { gap: 8px; }
  .header-tools { margin-left: auto; gap: 8px; }
  .lang { padding-left: 12px; }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .grid-two { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 24px 20px; }
  .content-card { padding: 24px 20px; }
  .tilt, [data-tilt] { transform: none !important; }
  .hero__inner { padding-top: 4px; }
  .core { height: 86px; }
  .core__plane { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
  .core__spin--inner { inset: 44px; }
  .core__label--ss { left: 17%; top: 62px; }
  .core__label--hy { left: 83%; top: 62px; }
  .core__label--vm { left: 22%; top: 14px; }
  .core__label--vl { left: 78%; top: 14px; }
  .hero__title { margin-top: 16px; }
  .hero .actions { margin-top: 22px; }
  .hero__lede { font-size: var(--fs-label); }
  .devices { gap: 14px 16px; }
  .devices__sep { display: none; }
  .devices__link { font-size: var(--fs-small); }
  .reel__track { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; padding-right: 0; }
  .reel .card { min-height: var(--card-h); height: auto; }
  .card { padding: 20px; }
  .card__head { align-items: flex-start; }
  .ear { font-size: var(--fs-tiny); padding-inline: 6px; }
  .card__kicker { font-size: var(--fs-tiny); }
  .ipad { width: 210px; }
  .section-space { padding-top: 40px; padding-bottom: 40px; }
  .site-footer { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}
@media print {
  .header-tools, .mobile-drawer, .nav-veil, .dl-fab { display: none !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}