:root {
  --bg: #FFFFFF;
  --bg-panel: #F7F7FA;
  --bg-panel2: #EFEEF5;
  --border: #E3E1EC;
  --accent: #6840E0;
  --accent-dark: #4A25B0;
  --text: #2B2A33;
  --text-muted: #615E73;
  --success: #1FA97F;
  --warn: #D9952B;
  --error: #D9405F;
  --sky: #CFE3FB;
  --lavender: #E9E3F8;
  --blush: #F6CFE0;
  --cream: #FBE7B0;
  --ink: #2B2A33;
  --rib-sky: #8DBDF2;
  --rib-mint: #8FE3D2;
  --rib-pink: #F29BC4;
  --rib-lav: #B9A6F2;
  --ill-violet: #7450EA;
  --ill-violet-hi: #9A80F4;
  --ill-violet-deep: #4A25B0;
  --screen: #F6F3FF;
  --kraft: #D8AE7E;
  --kraft-top: #E8C79F;
  --kraft-side: #B98A5A;
  --strap: #6E4A2C;
  --label: #FFFCF3;
  --kite-mint: #C4F0E6;
  --kite-sky: #C2DBF8;
  --clear: transparent;
  --glass: rgba(255,255,255,.58);
  --glass-strong: rgba(255,255,255,.84);
  --line-glass: rgba(43,42,51,.11);
  --hi-inset: rgba(255,255,255,.22);
  --accent-hl: rgba(104,64,224,.2);
  --accent-shadow: rgba(74,37,176,.42);
  --accent-shadow-s: rgba(74,37,176,.25);
  --success-ring: rgba(31,169,127,.2);
  --glow-white: rgba(255,255,255,.78);
  --glow-iris: rgba(196,182,246,.6);
  --glow-haze: rgba(255,255,255,.5);
  --dot: rgba(104,64,224,.13);
  --veil: rgba(43,42,51,.35);
  --shadow-soft: 0 1px 2px rgba(43,42,51,.05), 0 10px 28px -14px rgba(43,42,51,.2);
  --shadow-pop: 0 2px 4px rgba(43,42,51,.05), 0 18px 40px -18px rgba(43,42,51,.28);
  --shadow-button: inset 0 1px 0 var(--hi-inset), 0 1px 2px var(--accent-shadow-s), 0 12px 24px -12px var(--accent-shadow);
  --font-display: Georgia, "Times New Roman", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-ctl: 6px;
  --r-card: 10px;
  --r-banner: 14px;
  --r-pill: 999px;
  --r-round: 50%;
  --r-line: 2px;
  --r-highlight: 3px;
  --gutter: 40px;
  --wrap-width: 1360px;
  --reading-width: 840px;
  --head-height: 72px;
  --space-section: 96px;
  --text-size: 16px;
  --text-small: 14px;
  --text-mini: 12.5px;
  --display-size: clamp(30px, 3.4vw, 48px);
  --heading-size: clamp(26px, 2.8vw, 36px);
  --subheading-size: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --speed: .2s;
}
*, *::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: var(--text-size);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img, svg { vertical-align: middle; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--clear); }
button:disabled { cursor: not-allowed; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--accent-dark); }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection { background: var(--accent-hl); color: var(--text); }
h1, h2, h3 { text-wrap: balance; overflow-wrap: normal; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.012em;
}
h1 { font-size: var(--display-size); line-height: 1.1; margin: 0 0 24px; }
h2 { font-size: var(--heading-size); line-height: 1.2; margin: 0 0 20px; }
h3 { font-size: var(--subheading-size); font-weight: 500; line-height: 1.4; margin: 0 0 14px; }
p { margin: 0 0 20px; }
strong { font-weight: 600; }
small { font-size: var(--text-mini); }
ul, ol { padding-inline-start: 1.4em; }
li + li { margin-top: .3em; }
code, pre, kbd { font-family: var(--font-mono); }
code { font-size: .9em; overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  margin: 0 0 24px;
  padding: 24px;
  overflow-x: auto;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  font-size: var(--text-small);
  line-height: 1.75;
  tab-size: 2;
}
pre code { font-size: inherit; white-space: pre; overflow-wrap: normal; word-break: normal; }
hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.wrap { width: 100%; max-width: var(--wrap-width); margin-inline: auto; padding-inline: var(--gutter); }
.reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-soft { background: var(--bg-panel); color: var(--text); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.muted { color: var(--text-muted); }
.eyebrow { font-size: var(--text-mini); letter-spacing: .06em; color: var(--text-muted); }
.keep { white-space: nowrap; }
.stack > * + * { margin-top: 24px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid > *, .head-row > *, .footer-grid > *, .tab-detail > *, .card > * { min-width: 0; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.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: absolute; top: 8px; left: var(--gutter); z-index: 100;
  width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
  background: var(--bg); color: var(--accent); border-radius: var(--r-ctl);
}
.skip-link:focus { width: auto; height: auto; padding: 10px 16px; overflow: visible; clip-path: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 10px 22px;
  border: 1px solid var(--clear); border-radius: var(--r-ctl);
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600;
  letter-spacing: .005em; line-height: 1.5; text-decoration: none;
  transition: background-color var(--speed), transform var(--speed), box-shadow var(--speed), border-color var(--speed);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: var(--shadow-button); }
.btn-primary:hover, .btn-primary.is-hover { background: var(--accent-dark); color: var(--bg); transform: translateY(-1px); }
.btn-primary:active, .btn-primary.is-pressed { background: var(--accent-dark); color: var(--bg); box-shadow: none; transform: translateY(1px); }
.btn-ghost { background: var(--glass-strong); color: var(--text); border-color: var(--line-glass); box-shadow: var(--shadow-soft); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn-outline { background: var(--bg); color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--bg-panel); color: var(--accent-dark); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--bg-panel2); color: var(--text-muted); border-color: var(--border); box-shadow: none; transform: none; }
.btn.is-focused { outline: 2px solid var(--accent); outline-offset: 3px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; }
.card, .panel {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card);
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft);
}
.panel-soft { background: var(--bg-panel); color: var(--text); }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; border-color: var(--accent); }
.reveal { opacity: 1; transform: none; }
.reveal-pending .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
.reveal-pending .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.shown { opacity: 1; transform: none; }

.site-head, #site-header { position: relative; z-index: 40; background: var(--bg); color: var(--text); }
.head-shell {
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  margin-inline: auto; padding-inline: var(--gutter);
}
.head-row { display: flex; align-items: center; height: var(--head-height); }
.brand {
  display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0;
  font-size: var(--text-size); font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; color: var(--text); white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 34px; height: 34px; display: block; flex-shrink: 0; }
.nav { margin-left: 52px; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-link, .more summary {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 7px 14px; border-radius: var(--r-ctl);
  color: var(--text-muted); font-size: 15px; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: color var(--speed), background-color var(--speed);
}
.nav-link:hover, .more summary:hover { color: var(--text); background: var(--bg-panel); }
.nav-link.is-active, .more summary.is-active { color: var(--accent); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  border-radius: var(--r-line); background: var(--accent);
}
.more { position: relative; }
.more summary { list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.chev { width: 12px; height: 12px; flex-shrink: 0; transition: transform var(--speed); }
.more[open] .chev { transform: rotate(180deg); }
.more-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 272px; padding: 8px;
  background: var(--bg); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--r-card); box-shadow: var(--shadow-pop);
}
.mm-group { margin: 0; padding: 0; list-style: none; }
.mm-label { display: block; padding: 6px 10px 4px; font-size: 12px; letter-spacing: .06em; color: var(--text-muted); }
.mm-group + .mm-label { margin-top: 6px; border-top: 1px solid var(--border); padding-top: 12px; }
.mm-link { display: block; padding: 8px 10px; border-radius: var(--r-ctl); text-decoration: none; }
.mm-link:hover { background: var(--bg-panel); color: var(--text); }
.mm-link.is-active { background: var(--bg-panel); color: var(--accent); }
.mm-t { display: block; font-size: 14.5px; color: inherit; }
.mm-d { display: block; font-size: var(--text-mini); color: var(--text-muted); line-height: 1.5; }
.head-end { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.language-box { position: relative; }
.lang {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 13px;
  font: inherit; font-size: var(--text-small); color: var(--text-muted); background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r-ctl); white-space: nowrap;
}
.lang:hover { color: var(--text); border-color: var(--text-muted); }
.lang svg { width: 16px; height: 16px; flex-shrink: 0; }
.lang-short { display: none; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px;
  background: var(--bg); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--r-card); box-shadow: var(--shadow-pop);
}
.lang-menu a { display: block; padding: 10px 12px; min-height: 44px; border-radius: var(--r-ctl); text-decoration: none; color: var(--text); }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--bg-panel); color: var(--accent); }
.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-ctl); background: var(--bg); color: var(--text);
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer { display: none; }
.nav-veil {
  position: fixed; inset: var(--head-height) 0 0; z-index: -1;
  background: var(--veil); color: var(--text); border: 0; width: 100%;
}
.static-mobile { display: none; }

.hero {
  position: relative; overflow: hidden; overflow-x: clip;
  height: clamp(640px, calc(100vh - 120px), 820px);
  background:
    radial-gradient(ellipse 42% 46% at 97% 102%, var(--cream) 0%, var(--clear) 72%),
    radial-gradient(ellipse 38% 26% at 18% 54%, var(--glow-haze) 0%, var(--clear) 70%),
    linear-gradient(180deg, var(--sky) 0%, var(--lavender) 50%, var(--blush) 100%);
  color: var(--text);
}
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; z-index: 0; border-radius: var(--r-round); }
.hero::before { width: 640px; height: 520px; right: 9%; top: -12%; background: radial-gradient(closest-side, var(--glow-white), var(--clear)); }
.hero::after { width: 480px; height: 440px; right: -5%; top: 30%; background: radial-gradient(closest-side, var(--glow-iris), var(--clear)); }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: multiply; opacity: .3; }
.hero-inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; padding-bottom: 64px; }
.copy { width: 46%; max-width: 600px; }
.badge {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px;
  min-height: 32px; padding: 5px 14px 5px 12px; margin: 0 0 26px;
  border-radius: var(--r-pill); background: var(--glass); color: var(--text-muted);
  border: 1px solid var(--line-glass); font-size: 13px;
  backdrop-filter: blur(8px);
}
.badge-dot { width: 8px; height: 8px; border-radius: var(--r-round); background: var(--success); box-shadow: 0 0 0 4px var(--success-ring); flex-shrink: 0; }
.badge-sep { opacity: .45; }
.title { margin: 0 0 22px; font-size: var(--display-size); line-height: 1.1; }
.ln { display: block; animation: title-rise .7s var(--ease) both; }
.ln:nth-child(2) { animation-delay: .12s; }
.ln:nth-child(3) { animation-delay: .24s; }
.hl { position: relative; z-index: 0; display: inline-block; }
.hl::after {
  content: ""; position: absolute; z-index: -1; left: -.06em; right: -.06em;
  bottom: .04em; height: .36em; border-radius: var(--r-highlight);
  background: var(--accent-hl); transform-origin: left center;
  animation: title-sweep .6s .5s var(--ease) both;
}
@keyframes title-rise { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes title-sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lede { margin: 0 0 22px; max-width: 30em; font-size: 17px; line-height: 1.72; color: var(--text-muted); }
.lede strong { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.chips li { margin: 0; min-width: 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 30px; max-width: 100%; padding: 4px 11px;
  border-radius: var(--r-ctl); background: var(--glass); color: var(--text-muted);
  border: 1px solid var(--line-glass); font-size: 13px; text-decoration: none;
  overflow-wrap: anywhere; backdrop-filter: blur(6px);
}
.chip:hover { color: var(--accent); border-color: var(--accent); }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.platforms li { margin: 0; }
.pf-label { font-size: var(--text-mini); letter-spacing: .06em; color: var(--text-muted); padding-right: 20px; border-right: 1px solid var(--line-glass); }
.pf { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-small); color: var(--text-muted); text-decoration: none; }
.pf svg { width: 17px; height: 17px; flex-shrink: 0; }
.pf:hover { color: var(--accent); }
.stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.scene { display: block; width: 100%; height: 100%; overflow: visible; }

.site-footer { padding-top: 64px; padding-bottom: 28px; border-top: 1px solid var(--border); background: var(--bg); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr .7fr; gap: 40px; }
.footer-description { max-width: 30em; margin-top: 18px; font-size: var(--text-small); color: var(--text-muted); }
.footer-title { margin: 0 0 16px; font-family: var(--font-body); font-size: var(--text-small); font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-block; padding-top: 5px; padding-bottom: 5px; text-decoration: none; font-size: var(--text-small); color: var(--text-muted); overflow-wrap: anywhere; }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: var(--text-mini); }
.prose { min-width: 0; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose h2 { margin-top: 56px; scroll-margin-top: 32px; }
.prose h3 { margin-top: 32px; scroll-margin-top: 32px; }
.prose :first-child { margin-top: 0; }
.decoration-zone { position: relative; overflow-x: clip; }
@media (max-width: 1280px) {
  .nav { margin-left: 28px; }
  .nav-link, .more summary { padding-inline: 11px; }
}
@media (max-width: 1080px) {
  .hero { height: auto; }
  .hero-inner { display: block; height: auto; padding-top: 56px; padding-bottom: 8px; }
  .copy { width: auto; max-width: 620px; }
  .stage { position: relative; inset: auto; width: 200%; max-width: none; margin-left: -100%; height: auto; aspect-ratio: 1440 / 780; }
}
@media (max-width: 1000px) {
  .nav { display: none; }
  .head-end { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer:not([hidden]) {
    display: block; position: absolute; z-index: 5; top: var(--head-height); left: 0; right: 0;
    max-height: calc(100vh - var(--head-height)); max-height: calc(100dvh - var(--head-height));
    overflow-y: auto; overscroll-behavior: contain;
    padding: 16px var(--gutter) 24px; border-top: 1px solid var(--border);
    background: var(--bg); color: var(--text); box-shadow: var(--shadow-pop);
  }
  .mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
  .mobile-drawer li { margin: 0; }
  .mobile-drawer a {
    display: flex; align-items: center; width: 100%; min-height: 46px; padding: 10px 12px;
    color: var(--text); text-decoration: none; border-radius: var(--r-ctl);
  }
  .mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--bg-panel); color: var(--accent); }
  .drawer-languages { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
  .static-mobile { display: block; }
  .static-mobile > summary { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; list-style: none; cursor: pointer; }
  .static-mobile > summary::-webkit-details-marker { display: none; }
  .static-mobile .mobile-drawer { display: none; }
  .static-mobile[open] .mobile-drawer { display: block; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --display-size: clamp(24px, 4vw, 30px); --heading-size: 28px; --space-section: 64px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .tilt, .tilt-decoration { transform: none; }
  .hero-inner { padding-top: 40px; padding-bottom: 0; }
  .head-row > .brand { flex-shrink: 1; margin-right: 12px; }
  .head-row .brand-name { min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
  .brand-name { font-size: 15px; }
  .lede { font-size: var(--text-size); }
  .pf-label { flex-basis: 100%; border-right: 0; padding-right: 0; }
  .badge { gap: 7px; font-size: 12px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang { padding-inline: 10px; gap: 5px; }
  .card, .panel { padding: 22px; }
  .footer-grid { gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-grid > :last-child .footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .chips { gap: 6px; }
  .chip { font-size: 12px; padding-inline: 8px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand { gap: 7px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-name { font-size: 13px; }
  .head-end { gap: 4px; }
  .lang > svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending .reveal:not(.shown), .ln { opacity: 1; transform: none; }
  .hl::after { transform: none; }
}