:root {
  --bg:#FCFCFB;
  --bg-panel:#F6F5F3;
  --bg-panel-2:#EFEEEB;
  --surface:#FFFFFF;
  --border:#E3E1DD;
  --border-strong:#D2CFCA;
  --accent:#B8235A;
  --accent-dark:#8F1744;
  --text:#1F1D1B;
  --text-muted:#5F5B57;
  --text-faint:#85807A;
  --success:#2E7D55;
  --warn:#A86A14;
  --error:#C2362B;
  --field-rose:#E9E1E4;
  --field-teal:#DCE4E5;
  --clear:transparent;
  --font-display:"Inter","Noto Sans SC","PingFang SC","Hiragino Sans GB","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;
  --weight-normal:400;
  --weight-medium:500;
  --weight-strong:600;
  --r-control:4px;
  --r-segment:6px;
  --r-card:8px;
  --r-tray:12px;
  --r-pill:999px;
  --r-circle:50%;
  --gutter:40px;
  --header-height:61px;
  --content-width:1200px;
  --reading-width:780px;
  --display-size:clamp(34px,3.2vw,46px);
  --h2-size:34px;
  --h3-size:24px;
  --body-size:16px;
  --small-size:14px;
  --caption-size:12px;
  --display-leading:1.1;
  --body-leading:1.6;
  --tracking-title:-0.02em;
  --ring-line:color-mix(in srgb,var(--surface) 78%,transparent);
  --field-glow:color-mix(in srgb,var(--surface) 46%,transparent);
  --tag-fill:color-mix(in srgb,var(--surface) 70%,transparent);
  --tag-edge:color-mix(in srgb,var(--surface) 92%,transparent);
  --veil:color-mix(in srgb,var(--text) 20%,transparent);
  --shadow-sheet:0 30px 60px -28px color-mix(in srgb,var(--text) 26%,transparent),0 3px 8px color-mix(in srgb,var(--text) 5%,transparent);
  --shadow-win:0 1px 2px color-mix(in srgb,var(--text) 6%,transparent);
  --shadow-menu:0 18px 36px -18px color-mix(in srgb,var(--text) 30%,transparent),0 2px 5px color-mix(in srgb,var(--text) 6%,transparent);
  --step-edge:0 0 0 1px var(--border);
  --focus-ring:2px solid var(--accent);
  --reveal-duration:450ms;
  --reveal-distance:12px;
  --layer-veil:40;
  --layer-header:50;
  --layer-fab:30;
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:24px; }
html,body { margin:0; padding:0; }
body {
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:var(--body-size);
  line-height:var(--body-leading);
  font-weight:var(--weight-normal);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
html.nav-open { overflow:hidden; }
[hidden] { display:none !important; }
img,svg { vertical-align:middle; }
img { max-width:100%; height:auto; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; }
a { color:inherit; text-underline-offset:.18em; }
a:hover { text-decoration-thickness:2px; }
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
  outline:var(--focus-ring);
  outline-offset:3px;
  border-radius:var(--r-control);
}
h1,h2,h3,h4 { font-family:var(--font-display); font-weight:var(--weight-normal); text-wrap:balance; overflow-wrap:break-word; }
h1 { font-size:var(--display-size); line-height:var(--display-leading); letter-spacing:var(--tracking-title); }
h2 { font-size:var(--h2-size); line-height:1.2; letter-spacing:var(--tracking-title); }
h3 { font-size:var(--h3-size); line-height:1.35; }
p { margin-top:0; }
strong { font-weight:var(--weight-strong); }
code,kbd,pre { font-family:var(--font-mono); }
code { overflow-wrap:anywhere; font-size:.9em; }
pre {
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  padding:20px;
  border:1px solid var(--border);
  border-radius:var(--r-card);
  background:var(--bg-panel);
  color:var(--text);
  tab-size:2;
}
pre code { overflow-wrap:normal; white-space:pre; font-size:13px; }
hr { border:0; border-top:1px solid var(--border); margin:32px 0; }
:where(main,section,article,aside,nav,div,li) { min-width:0; }
.wrap { width:100%; max-width:var(--content-width); margin-inline:auto; padding-inline:var(--gutter); }
.reading { max-width:calc(var(--reading-width) + var(--gutter) * 2); }
.section { padding-top:72px; padding-bottom:72px; }
.section-heading { margin:0 0 14px; text-align:center; }
.section-intro { max-width:640px; margin:0 auto 36px; color:var(--text-muted); text-align:center; }
.accent { color:var(--accent); }
.muted { color:var(--text-muted); }
.keep { white-space:nowrap; }
.flow > * + * { margin-top:20px; }
.cluster { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.grid-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.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; left:16px; top:8px; z-index:100; padding:10px 16px; transform:translateY(-160%); background:var(--surface); color:var(--text); border:1px solid var(--accent); border-radius:var(--r-control); }
.skip-link:focus { transform:none; }
.btn {
  display:inline-flex; justify-content:center; align-items:center; gap:8px;
  min-height:44px; padding:0 22px; border:1px solid var(--clear);
  border-radius:var(--r-control); font-family:var(--font-body); font-size:15px;
  font-weight:var(--weight-medium); line-height:1.3; text-decoration:none;
}
.btn-ico { width:16px; height:16px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.btn-primary { background:var(--accent); border-color:var(--accent); color:var(--surface); }
.btn-primary:hover,.btn-primary.is-hover { background:var(--accent-dark); border-color:var(--accent-dark); color:var(--surface); }
.btn-primary:active,.btn-primary.is-active { background:var(--accent-dark); border-color:var(--text); color:var(--surface); }
.btn-secondary { background:var(--clear); border-color:var(--text); color:var(--text); }
.btn-secondary:hover,.btn-secondary.is-hover { background:var(--bg-panel); color:var(--text); }
.btn-secondary:active,.btn-secondary.is-active { background:var(--bg-panel-2); color:var(--text); }
.btn-quiet { background:var(--clear); color:var(--text); border-color:var(--border); }
.btn-quiet:hover { background:var(--bg-panel); color:var(--text); }
.btn:disabled,.btn[aria-disabled="true"] { background:var(--bg-panel-2); color:var(--text-muted); border-color:var(--border-strong); }
.btn.is-focus { outline:var(--focus-ring); outline-offset:3px; }
.btn-small { min-height:36px; padding-inline:14px; font-size:var(--small-size); }
.topbar,#site-header { position:relative; z-index:var(--layer-header); background:var(--bg); color:var(--text); border-bottom:1px solid var(--border); }
.topbar-inner {
  width:100%; max-width:min(100%,calc(1280px + var(--gutter) * 2));
  height:60px; margin:0 auto; padding-inline:var(--gutter);
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand { display:inline-flex; align-items:center; gap:10px; flex-shrink:0; text-decoration:none; color:var(--text); font-size:15px; font-weight:var(--weight-medium); letter-spacing:-.01em; white-space:nowrap; }
.brand-mark { width:28px; height:28px; flex-shrink:0; }
.nav { display:flex; align-items:center; min-width:0; margin-left:auto; }
.nav-list { display:flex; align-items:center; list-style:none; margin:0; padding:0; }
.nav-item { display:flex; align-items:center; }
.nav-item + .nav-item::before { content:"·"; color:var(--text-muted); margin:0 13px; font-size:14px; }
.nav-link { display:inline-flex; align-items:center; gap:7px; font-size:14px; line-height:20px; color:var(--text-muted); text-decoration:none; white-space:nowrap; }
.nav-link:hover,.nav-link[aria-current="page"] { color:var(--text); }
.nav-link[aria-current="page"]::before { content:""; width:5px; height:5px; background:var(--accent); flex-shrink:0; }
.header-tools { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.language-picker { position:relative; }
.lang { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:30px; padding:0 11px; border:1px solid var(--border); border-radius:var(--r-control); background:var(--surface); color:var(--text); font-size:13px; white-space:nowrap; list-style:none; }
.lang::-webkit-details-marker { display:none; }
.lang:hover { border-color:var(--border-strong); }
.lang-caret { color:var(--text-muted); font-size:11px; }
.lang-short { display:none; }
.language-menu { position:absolute; right:0; top:calc(100% + 10px); min-width:164px; padding:6px; border:1px solid var(--border); border-radius:var(--r-card); background:var(--surface); color:var(--text); box-shadow:var(--shadow-menu); }
.language-menu a { display:flex; align-items:center; min-height:44px; padding:8px 12px; text-decoration:none; border-radius:var(--r-control); }
.language-menu a:hover,.language-menu a[aria-current="true"] { background:var(--bg-panel); color:var(--text); }
.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-control); background:var(--surface); color:var(--text); }
.menu-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; }
.mobile-drawer { display:none; }
.nav-veil { position:fixed; inset:var(--header-height) 0 0; z-index:var(--layer-veil); border:0; background:var(--veil); color:var(--text); }
.hero { padding:30px var(--gutter) 28px; text-align:center; overflow-x:clip; }
.eyebrow { margin:0; font-size:13px; line-height:16px; letter-spacing:.14em; color:var(--text-muted); }
.hero-title { margin:14px auto 0; font-size:var(--display-size); font-weight:var(--weight-normal); line-height:1.1; letter-spacing:var(--tracking-title); color:var(--text); }
.hero-line { display:block; }
.cta { display:flex; justify-content:center; gap:12px; margin-top:18px; }
.lede { margin:16px auto 0; max-width:760px; font-size:16px; line-height:26px; color:var(--text-muted); }
.lede strong { color:var(--text); font-weight:var(--weight-medium); }
.facts { display:flex; justify-content:center; align-items:center; margin:18px 0 0; padding:0; list-style:none; }
.fact { position:relative; display:flex; align-items:baseline; gap:8px; padding:0 26px; }
.fact + .fact::before { content:""; position:absolute; left:0; top:7px; width:1px; height:18px; background:var(--border); }
.fact-num { font-family:var(--font-display); font-size:26px; line-height:30px; letter-spacing:-.02em; color:var(--accent); font-variant-numeric:tabular-nums; }
.fact-label { font-size:14px; line-height:20px; color:var(--text); }
.platforms { display:flex; justify-content:center; gap:28px; margin:16px 0 0; padding:0; list-style:none; }
.platform { display:inline-flex; align-items:center; gap:7px; font-size:14px; line-height:20px; color:var(--text-muted); text-decoration:none; }
.platform:hover { color:var(--text); }
.platform svg { width:15px; height:15px; flex-shrink:0; }
.badges { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin:12px 0 0; padding:0; list-style:none; }
.badge { display:inline-flex; align-items:center; gap:7px; min-height:22px; max-width:100%; padding:2px 11px; border:1px solid var(--border); border-radius:var(--r-pill); background:var(--surface); color:var(--text-muted); font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.badge-mark { width:6px; height:6px; background:var(--accent); flex-shrink:0; }
.badge-code { font-family:var(--font-mono); font-size:11.5px; color:var(--text); }
.panel { background:var(--bg-panel); color:var(--text); border-radius:var(--r-tray); padding:24px; }
.card { background:var(--surface); color:var(--text); border:1px solid var(--border); border-radius:var(--r-card); padding:24px; }
.card h3 { margin:0 0 12px; }
.card p:last-child { margin-bottom:0; }
.prose { min-width:0; line-height:1.85; }
.prose h2 { margin-top:56px; scroll-margin-top:28px; }
.prose h3 { margin-top:32px; }
.prose :where(p,li,dd) { overflow-wrap:break-word; }
.prose a { text-decoration-color:var(--border-strong); }
.prose :where(ul,ol) { padding-left:1.5em; }
.prose :where(img,figure,pre) { max-width:100%; margin-inline:0; }
.prose :where(div,section,figure) { min-width:0; }
.reveal { opacity:1; transform:none; }
.reveal-ready .reveal:not(.shown) { opacity:0; transform:translateY(var(--reveal-distance)); }
.reveal-ready .reveal { transition:opacity var(--reveal-duration) ease,transform var(--reveal-duration) ease; }
.site-footer { border-top:1px solid var(--border); margin-top:56px; background:var(--bg-panel); color:var(--text); }
.footer-grid { display:grid; grid-template-columns:1.25fr 1fr 1.2fr .8fr; gap:40px; padding-top:48px; padding-bottom:40px; }
.footer-brand p { max-width:290px; margin:18px 0 0; font-size:14px; color:var(--text-muted); }
.footer-heading { margin:0 0 16px; font-size:14px; font-weight:var(--weight-medium); }
.footer-list { list-style:none; margin:0; padding:0; }
.footer-list li + li { margin-top:9px; }
.footer-list a { color:var(--text-muted); font-size:14px; text-decoration:none; overflow-wrap:anywhere; }
.footer-list a:hover { color:var(--text); text-decoration:underline; }
.footer-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px 24px; padding-top:20px; padding-bottom:24px; border-top:1px solid var(--border); font-size:12px; color:var(--text-muted); }
.footer-legal { display:flex; flex-wrap:wrap; gap:18px; }
.next { max-width:1200px; margin:0 auto; padding:72px var(--gutter) 40px; border-top:1px solid var(--border); text-align:center; }
.next-title { margin:0; font-size:34px; line-height:1.2; letter-spacing:var(--tracking-title); }
.next-title-accent { color:var(--accent); }
.next-lede { margin:14px auto 0; max-width:640px; font-size:16px; line-height:26px; color:var(--text-muted); }
@media (max-width:1180px) {
  .nav-item + .nav-item::before { margin:0 9px; }
}
@media (max-width:1080px) {
  .nav { display:none; }
  .header-tools { margin-left:auto; }
  .menu-toggle { display:inline-flex; }
  .mobile-drawer:not([hidden]) { display:block; position:absolute; top:100%; left:0; right:0; max-height:calc(100dvh - var(--header-height)); overflow-y:auto; overscroll-behavior:contain; padding:12px var(--gutter) 24px; border-bottom:1px solid var(--border); background:var(--bg); color:var(--text); }
  .mobile-list { list-style:none; margin:0; padding:0; }
  .mobile-drawer a { display:flex; align-items:center; width:100%; min-height:44px; padding:10px 12px; text-decoration:none; }
  .mobile-drawer a:hover,.mobile-drawer a[aria-current] { background:var(--bg-panel); color:var(--text); border-radius:var(--r-control); }
  .drawer-label { margin:16px 12px 6px; color:var(--text-muted); font-size:12px; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:768px) {
  :root { --display-size:30px; --h2-size:28px; --h3-size:22px; --gutter:24px; }
  .grid-pair { grid-template-columns:minmax(0,1fr); }
  .section { padding-top:48px; padding-bottom:48px; }
  .fact { padding-inline:14px; }
}
@media (max-width:640px) {
  :root { --gutter:18px; --display-size:28px; --h2-size:24px; }
  .hero { padding-top:26px; padding-bottom:24px; }
  .hero-title { font-size:28px; line-height:1.2; }
  .cta { flex-direction:column; align-items:stretch; max-width:320px; margin-inline:auto; }
  .lede { font-size:15px; line-height:24px; }
  .facts { flex-direction:column; gap:6px; }
  .fact { padding:0; }
  .fact + .fact::before { display:none; }
  .platforms { flex-wrap:wrap; gap:14px 22px; }
  .badges { flex-direction:row; flex-wrap:wrap; }
  .lang-long { display:none; }
  .lang-short { display:inline; }
  .brand { font-size:14px; gap:8px; }
  .header-tools { margin-left:auto; gap:6px; }
  .topbar-inner { gap:8px; }
  .lang { min-height:36px; padding-inline:9px; }
  .tilt,.decor-tilt { transform:none; }
  .panel,.card { padding:18px; }
  .footer-grid { gap:28px 20px; }
  .footer-brand { grid-column:1 / -1; }
  .next { padding-top:56px; padding-bottom:32px; }
  .next-title { font-size:24px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none !important; transition:none !important; }
  .reveal-ready .reveal:not(.shown) { opacity:1; transform:none; }
}