:root {
  --bg: #FAFAF7;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #F2F1EC;
  --border: #E7E5DF;
  --accent: #F3A01C;
  --accent-dark: #C9720A;
  --text: #1A1916;
  --text-muted: #6B6862;
  --success: #2F9E5B;
  --warn: #B8780A;
  --error: #D64535;
  --bg-dark: #161513;
  --on-dark: var(--bg-panel);
  --on-accent: var(--text);
  --text-faint: var(--text-muted);
  --border-strong: color-mix(in srgb, var(--text-muted) 38%, var(--bg-panel));
  --side-current: color-mix(in srgb, var(--text) 7%, var(--bg-panel-2));
  --switch-off: color-mix(in srgb, var(--text) 14%, var(--bg-panel-2));
  --accent-tint: color-mix(in srgb, var(--accent) 13%, var(--bg-panel));
  --accent-ring: color-mix(in srgb, var(--accent) 34%, var(--bg-panel));
  --success-tint: color-mix(in srgb, var(--success) 12%, var(--bg-panel));
  --success-ink: color-mix(in srgb, var(--success) 65%, var(--text));
  --warn-ink: color-mix(in srgb, var(--warn) 70%, var(--text));
  --error-ink: color-mix(in srgb, var(--error) 75%, var(--text));
  --accent-grad: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  --transparent: transparent;
  --shadow-rgb: 26 25 22;
  --accent-rgb: 201 114 10;
  --white-rgb: 255 255 255;
  --veil: rgb(var(--shadow-rgb) / .28);
  --font-display: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --r-card: 24px;
  --r-window: 20px;
  --r-group: 14px;
  --r-item: 10px;
  --r-check: 5px;
  --r-pill: 999px;
  --r-circle: 50%;
  --nav-h: 72px;
  --gutter: 32px;
  --content-width: 1120px;
  --reading-width: 800px;
  --heading-size: clamp(34px, 2.2vw + 16px, 48px);
  --section-size: clamp(25px, 2.5vw, 30px);
  --shadow-hair: 0 1px 2px rgb(var(--shadow-rgb) / .05);
  --shadow-raise: 0 1px 2px rgb(var(--shadow-rgb) / .06), 0 2px 6px -2px rgb(var(--shadow-rgb) / .08);
  --shadow-float: 0 1px 1px rgb(var(--shadow-rgb) / .03), 0 22px 44px -18px rgb(var(--shadow-rgb) / .13), 0 64px 120px -34px rgb(var(--shadow-rgb) / .20);
  --shadow-card: 0 1px 2px rgb(var(--shadow-rgb) / .04), 0 24px 56px -28px rgb(var(--shadow-rgb) / .18);
  --shadow-amber: inset 0 1px 0 rgb(var(--white-rgb) / .32), 0 1px 2px rgb(var(--accent-rgb) / .30), 0 10px 24px -8px rgb(var(--accent-rgb) / .55);
  --shadow-menu: 0 1px 2px rgb(var(--shadow-rgb) / .05), 0 18px 40px -14px rgb(var(--shadow-rgb) / .20);
  --duration: .2s;
  --ease: ease;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea { max-width: 100%; }
img, svg, video { max-width: 100%; }
img { height: auto; }
svg { vertical-align: middle; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--heading-size); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: var(--section-size); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 21px; font-weight: 700; }
p { margin-top: 0; }
code { font-family: var(--font-mono); font-size: .88em; overflow-wrap: anywhere; }
pre { max-width: 100%; min-width: 0; overflow-x: auto; padding: 22px; border-radius: var(--r-group); background: var(--bg-panel-2); color: var(--text); }
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
:where(main, section, article, aside, nav, div, li) { min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-muted); }
.wrap { width: 100%; max-width: calc(var(--content-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2, .sec-title { margin: 0; }
.section-head p, .sec-lede { margin: 10px 0 0; color: var(--text-muted); font-size: 15.5px; }
.grid { display: grid; gap: 24px; }
.grid > *, .masthead-row > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel, .card { padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-card); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.prose { line-height: 1.85; }
.prose h2 { margin-top: 2.4em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose a { text-decoration-thickness: 1px; }
.prose img { display: block; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 26px; border: 0; border-radius: var(--r-pill);
  font-size: 16px; font-weight: 600; letter-spacing: -.005em; text-decoration: none;
  background: var(--bg-panel); color: var(--text);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background-color var(--duration) var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-amber { color: var(--on-accent); background: var(--accent-grad); box-shadow: var(--shadow-amber); }
.btn-amber:hover, .btn.demo-hover { transform: translateY(-1px); }
.btn-plain { color: var(--text); background: var(--bg-panel); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-hair); }
.btn-plain:hover { background: var(--bg-panel-2); color: var(--text); }
.btn-plain svg { color: var(--text-muted); }
.btn-sm { min-height: 38px; padding: 7px 18px; font-size: 14px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn:active, .btn.demo-active { transform: translateY(1px); box-shadow: var(--shadow-hair); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--bg-panel-2); color: var(--text-muted); box-shadow: none; cursor: not-allowed; transform: none; }
.demo-focus { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.masthead { height: var(--nav-h); position: relative; z-index: 50; }
.masthead-row {
  max-width: min(100%, calc(1280px + var(--gutter) * 2)); height: 100%;
  margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: -.015em; flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 3px 6px rgb(var(--accent-rgb) / .30)); }
.primary-nav { margin-inline: auto; min-width: 0; }
.primary-nav ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 36px; padding: 6px 15px; border: 0; border-radius: var(--r-pill);
  background: var(--transparent); color: var(--text); font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav-link:hover { background: var(--bg-panel-2); color: var(--text); }
.nav-link[aria-current="page"], .nav-link.is-current { background: var(--accent-tint); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent-ring); font-weight: 600; }
.chev { width: 14px; height: 14px; color: var(--text-muted); }
.nav-more, .language-picker { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 212px; padding: 6px; background: var(--bg-panel); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-group); box-shadow: var(--shadow-menu); z-index: 4;
}
.drop-item { display: block; min-height: 44px; padding: 10px 12px; border-radius: var(--r-item); text-decoration: none; }
.drop-item:hover, .drop-item[aria-current="page"] { background: var(--bg-panel-2); color: var(--text); }
.drop-item strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.drop-item span { display: block; font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.masthead-end { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: var(--r-pill); background: var(--transparent); color: var(--text-muted); font: inherit; font-size: 14px; white-space: nowrap; }
.lang-switch:hover { background: var(--bg-panel-2); color: var(--text); }
.lang-switch svg { width: 16px; height: 16px; }
.language-picker .drop { left: auto; right: 0; transform: none; }
.lang-short { display: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text); }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer { display: none; }
.menu-veil { position: fixed; inset: var(--nav-h) 0 0; border: 0; background: var(--veil); color: var(--text); z-index: 1; }
.hero { padding: 34px var(--gutter) 0; text-align: center; overflow-x: clip; }
.hero-copy { max-width: 960px; margin-inline: auto; }
.status-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; padding: 4px 14px 4px 5px; border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-hair); font-size: 13px; max-width: 100%; flex-wrap: wrap; justify-content: center; }
.status-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 20px; padding: 0 9px 0 8px; border-radius: var(--r-pill); background: var(--success-tint); color: var(--success-ink); font-size: 12px; font-weight: 600; }
.status-dot { width: 6px; height: 6px; flex: none; border-radius: var(--r-circle); background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 18%, var(--transparent)); }
.status-badge .mono { font-size: 12px; color: var(--text); }
.hero-title { margin: 20px 0 0; font-family: var(--font-display); font-weight: 900; font-size: var(--heading-size); line-height: 1.18; letter-spacing: -.02em; color: var(--text); }
.hero-title .ln { display: block; }
.hero-title .ln + .ln { margin-top: .12em; }
.kw { position: relative; display: inline-block; white-space: nowrap; }
.kw-arc { position: absolute; left: -3%; width: 106%; bottom: -.14em; height: .22em; overflow: visible; pointer-events: none; fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.hero-actions { margin-top: 26px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-lede { max-width: 720px; margin: 20px auto 0; font-size: 16.5px; line-height: 1.6; color: var(--text-muted); }
.hero-lede strong { color: var(--text); font-weight: 600; }
.proto-row { list-style: none; margin: 16px 0 0; padding: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.proto-label { font-size: 12.5px; color: var(--text-muted); margin-right: 2px; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 11px; border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); font-family: var(--font-mono); font-size: 12.5px; max-width: 100%; overflow-wrap: anywhere; }
.platform-row { list-style: none; margin: 14px 0 0; padding: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0; }
.platform-row li { display: inline-flex; align-items: center; }
.platform-row li + li::before { content: ""; width: 3px; height: 3px; flex-shrink: 0; margin: 0 14px; border-radius: var(--r-circle); background: var(--border-strong); }
.platform-link { display: inline-flex; align-items: center; gap: 7px; padding: 2px; border-radius: var(--r-check); font-size: 13.5px; color: var(--text-muted); text-decoration: none; }
.platform-link:hover { color: var(--text); }
.platform-link svg { width: 15px; height: 15px; flex: none; }
.trust-band { background: var(--bg-dark); color: var(--on-dark); padding-top: 104px; padding-bottom: 104px; }
.trust-band p { margin: 0; max-width: 1040px; font-size: clamp(25px, 3vw, 42px); line-height: 1.6; font-weight: 400; letter-spacing: -.015em; }
.trust-band .trust-note { margin-top: 28px; font-size: 16px; }
.site-footer { padding-top: 72px; padding-bottom: 28px; border-top: 1px solid var(--border); background: var(--bg-panel); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.3fr .8fr; gap: 40px; }
.footer-brand p { margin-top: 18px; color: var(--text-muted); font-size: 14px; max-width: 320px; }
.footer-heading { font-size: 14px; margin: 0 0 16px; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-block; padding-block: 5px; font-size: 14px; text-decoration: none; color: var(--text-muted); overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 13px; }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.shown { opacity: 1; transform: none; }
@media (max-width: 1150px) {
  .primary-nav, .header-download { display: none; }
  .masthead-row { gap: 12px; }
  .masthead-end { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer:not([hidden]) { display: block; position: absolute; top: var(--nav-h); left: 0; right: 0; padding: 16px var(--gutter) 24px; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; background: var(--bg-panel); color: var(--text); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-menu); z-index: 3; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--r-item); text-decoration: none; }
  .mobile-drawer a[aria-current="page"] { background: var(--accent-tint); color: var(--text); }
  .drawer-heading { margin: 18px 14px 6px; font-size: 12px; color: var(--text-muted); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --heading-size: clamp(24px, 4vw, 30px); --gutter: 24px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 28px; }
  .hero-lede { font-size: 15px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .tilt, [data-tilt] { transform: none !important; }
  .brand { font-size: 15px; gap: 7px; }
  .brand-mark { width: 28px; height: 28px; }
  .masthead-row { gap: 6px; }
  .masthead-end { gap: 2px; margin-left: auto; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang-switch { padding-inline: 8px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .panel, .card { padding: 22px; }
  .hero-title { letter-spacing: -.02em; }
  .hero-actions .btn { padding-inline: 20px; }
  .platform-row li + li::before { margin-inline: 8px; }
  .platform-link { gap: 5px; font-size: 12px; }
  .proto-row { gap: 6px; flex-direction: row; flex-wrap: wrap; }
  .chip { font-size: 11.5px; padding-inline: 9px; }
  .trust-band { padding-top: 64px; padding-bottom: 64px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}