:root {
  color-scheme: dark;
  --c-bg: #191919;
  --c-panel: #222222;
  --c-panel-2: #2C2C2C;
  --c-border: #363636;
  --c-border-strong: #4A4A4A;
  --c-grid: #262626;
  --c-card-a: #1E1E1E;
  --c-card-b: #222222;
  --c-card-c: #2A2A2A;
  --c-card-line: #333333;
  --c-accent: #D8FF3E;
  --c-accent-dark: #9FC21A;
  --c-accent-hover: #E4FF73;
  --c-accent-soft: #EFFFB8;
  --c-coral: #FF6B4A;
  --c-coral-soft: #FFA98F;
  --c-peri: #6E7BFF;
  --c-peri-soft: #B0B7FF;
  --c-text: #F4F4F4;
  --c-muted: #A6A6A6;
  --c-faint: #6E6E6E;
  --c-faint-2: #4E4E4E;
  --c-code-str: #CFCFCF;
  --c-light: #F7F7F7;
  --c-ink: #111111;
  --c-ink-muted: #3D3D3D;
  --c-success: #C2F24A;
  --c-warn: #FF8F5A;
  --c-error: #FF5C7A;
  --c-accent-a08: rgba(216,255,62,.08);
  --c-accent-a18: rgba(216,255,62,.18);
  --c-accent-a30: rgba(216,255,62,.30);
  --c-accent-a40: rgba(216,255,62,.40);
  --c-ink-a06: rgba(17,17,17,.06);
  --c-ink-a14: rgba(17,17,17,.14);
  --c-panel-a60: rgba(34,34,34,.6);
  --c-white-a04: rgba(255,255,255,.04);
  --c-white-a06: rgba(255,255,255,.06);
  --c-black-a60: rgba(0,0,0,.6);
  --c-black-a70: rgba(0,0,0,.7);
  --c-clear: transparent;
  --m-on: #000000;
  --f-display: 'Inter','Noto Sans SC','PingFang SC','Hiragino Sans','Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;
  --f-body: 'Inter','Noto Sans SC','PingFang SC','Microsoft YaHei','Hiragino Sans','Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;
  --f-mono: 'JetBrains Mono',ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;
  --fs-xs: 12px;
  --fs-small: 13px;
  --fs-nav: 14px;
  --fs-button: 15px;
  --fs-body: 16px;
  --fs-lead: 20px;
  --fs-h3: 24px;
  --fs-h2: clamp(28px,2.8vw,40px);
  --fs-h1: clamp(34px,3.4vw,48px);
  --fs-hero: clamp(30px,3.4vw,48px);
  --fw-normal: 400;
  --fw-medium: 600;
  --fw-bold: 700;
  --fw-heavy: 800;
  --fw-display: 900;
  --r-btn: 14px;
  --r-card: 24px;
  --r-board: 24px;
  --r-mini: 20px;
  --r-panel: 32px;
  --r-field: 12px;
  --r-row: 10px;
  --r-tab: 9px;
  --r-small: 8px;
  --r-pill: 999px;
  --r-circle: 50%;
  --shadow-card: inset 0 1px 0 0 var(--c-white-a04),0 18px 40px -26px var(--c-black-a60);
  --shadow-pop: 0 14px 30px -14px var(--c-black-a70);
  --shadow-cta: inset 0 0 0 1px var(--c-accent-dark),0 12px 26px -14px var(--c-accent-a40);
  --gap-deck: 40px;
  --edge: 32px;
  --gutter: 32px;
  --width-reading: 1120px;
  --width-header: 1376px;
  --header-height: 68px;
  --motion-short: 160ms;
  --motion-reveal: 550ms;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--c-bg); scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-normal);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; background: var(--c-clear); border: 0; cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: var(--c-accent-a18); }
button:disabled { cursor: not-allowed; }
img, svg { display: block; max-width: 100%; }
svg, .dot, .eyebrow__dot, .brand__mark { flex-shrink: 0; }
img { height: auto; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
::selection { background: var(--c-accent); color: var(--c-ink); }
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); font-weight: var(--fw-display); line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-display); line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-heavy); line-height: 1.35; }
h4 { font-size: var(--fs-lead); font-weight: var(--fw-bold); }
.nowrap { white-space: nowrap; }
.muted { color: var(--c-muted); }
.mono, code, pre { font-family: var(--f-mono); }
code { overflow-wrap: anywhere; word-break: normal; }
pre { min-width: 0; max-width: 100%; overflow-x: auto; padding: 24px; border: 1px solid var(--c-border); border-radius: var(--r-field); background: var(--c-card-a); color: var(--c-text); font-size: var(--fs-small); line-height: 1.8; }
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
.wrap { width: 100%; max-width: calc(var(--width-reading) + var(--gutter) * 2); padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-top: 80px; padding-bottom: 80px; }
.stack > * + * { margin-top: 24px; }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.grid > *, .wrap > *, .prose > *, .act2__grid > *, .stage-body > *, .deck__grid > * { min-width: 0; }
.card { min-width: 0; padding: 28px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); box-shadow: var(--shadow-card); }
.card > * + * { margin-top: 16px; }
.panel { margin-inline: 16px; padding: 64px var(--gutter); border-radius: var(--r-panel); background: var(--c-light); color: var(--c-ink); color-scheme: light; }
.panel .muted { color: var(--c-ink-muted); }
.panel :focus-visible, .act2 :focus-visible { outline-color: var(--c-ink); }
.panel .btn--ghost { border-color: var(--c-ink); background: var(--c-clear); color: var(--c-ink); }
.panel .btn--ghost:hover { background: var(--c-ink-a06); }
.prose { min-width: 0; max-width: 100%; line-height: 1.85; }
.prose > * + * { margin-top: 24px; }
.prose h2 { margin-top: 56px; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose ul { list-style: disc; padding-left: 1.5em; }
.prose ol { list-style: decimal; padding-left: 1.5em; }
.prose li + li { margin-top: 10px; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: .2em; }
.prose :not(pre) > code { padding: .12em .3em; border-radius: var(--r-small); background: var(--c-white-a06); color: var(--c-text); font-size: .9em; }
.panel .prose :not(pre):not(td):not(th) > code { background: var(--c-ink-a06); color: var(--c-ink); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: var(--r-row); background: var(--c-accent); color: var(--c-ink); font-weight: var(--fw-bold); }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border: 1px solid var(--c-clear); border-radius: var(--r-btn); font-weight: var(--fw-bold); font-size: var(--fs-button); letter-spacing: -.005em; line-height: 1.5; text-align: center; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--c-accent); color: var(--c-ink); box-shadow: var(--shadow-cta); }
.btn--primary:hover, .btn--primary.is-hover { background: var(--c-accent-hover); color: var(--c-ink); }
.btn--primary:active { background: var(--c-accent-soft); color: var(--c-ink); }
.btn--ghost { border-color: var(--c-border-strong); background: var(--c-panel-a60); color: var(--c-text); }
.btn--ghost:hover, .btn--ghost.is-hover { border-color: var(--c-muted); background: var(--c-panel); color: var(--c-text); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--c-panel-2); border-color: var(--c-border-strong); color: var(--c-muted); box-shadow: none; }
.btn.is-focus { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#site-header { position: relative; z-index: 30; }
.topbar { position: relative; z-index: 30; width: 100%; max-width: min(100%,calc(var(--width-header) + var(--gutter) * 2)); margin-inline: auto; height: var(--header-height); padding-inline: var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-family: var(--f-display); font-weight: var(--fw-heavy); font-size: 17px; letter-spacing: -.01em; color: var(--c-text); }
.brand__mark { width: 30px; height: 30px; }
.mainnav { min-width: 0; margin-left: auto; }
.mainnav ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 0; }
.mainnav li { display: flex; align-items: center; font-size: var(--fs-nav); white-space: nowrap; }
.mainnav li + li::before { content: "·"; color: var(--c-muted); padding-inline: 12px; font-weight: var(--fw-bold); }
.mainnav a { display: block; color: var(--c-muted); padding: 6px 1px; }
.mainnav a:hover { color: var(--c-text); }
.mainnav a[aria-current="page"] { color: var(--c-accent); font-weight: var(--fw-medium); }
.header-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.language { position: relative; }
.lang { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--c-border); border-radius: var(--r-btn); background: var(--c-panel); font-size: var(--fs-small); color: var(--c-text); white-space: nowrap; }
.lang svg { width: 15px; height: 15px; color: var(--c-muted); }
.lang__caret { color: var(--c-muted); font-size: var(--fs-xs); }
.lang:hover { border-color: var(--c-border-strong); }
.lang-short { display: none; }
.language-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; width: 190px; padding: 6px; border: 1px solid var(--c-border); border-radius: var(--r-field); background: var(--c-panel); color: var(--c-text); box-shadow: var(--shadow-pop); }
.language-panel a { display: flex; align-items: center; min-height: 44px; width: 100%; padding: 10px 14px; border-radius: var(--r-small); }
.language-panel a:hover { background: var(--c-panel-2); color: var(--c-text); }
.language-panel a[aria-current="true"] { color: var(--c-accent); }
.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-field); background: var(--c-panel); color: var(--c-text); }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-drawer { display: none; position: absolute; left: 0; right: 0; top: var(--header-height); z-index: 35; padding: 16px var(--gutter) 24px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; border-bottom: 1px solid var(--c-border); background: var(--c-bg); color: var(--c-text); }
.mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 12px 8px; border-bottom: 1px solid var(--c-border); }
.mobile-drawer a[aria-current] { color: var(--c-accent); }
.mobile-drawer__label { margin-top: 24px; margin-bottom: 8px; color: var(--c-muted); font-size: var(--fs-small); }
.menu-veil { position: fixed; inset: var(--header-height) 0 0; z-index: 20; width: 100%; background: var(--c-black-a70); color: var(--c-text); }
.footer { margin-top: 32px; padding-top: 64px; padding-bottom: 28px; border-top: 1px solid var(--c-border); background: var(--c-bg); color: var(--c-text); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.5fr; gap: 48px; }
.footer__grid > * { min-width: 0; }
.footer__intro { max-width: 340px; margin-top: 20px; color: var(--c-muted); font-size: var(--fs-nav); }
.footer__heading { font-size: var(--fs-nav); font-weight: var(--fw-bold); margin-bottom: 16px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-nav); color: var(--c-muted); }
.footer__links a { display: inline-block; padding-block: 5px; overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--c-accent); }
.footer__languages { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 24px; color: var(--c-muted); font-size: var(--fs-small); }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
.reveal.shown { opacity: 1; transform: none; transition: opacity var(--motion-reveal) var(--ease),transform var(--motion-reveal) var(--ease); }
.stage { position: relative; height: max(780px,calc(100vh - 32px)); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right,var(--c-grid) 1px,var(--c-clear) 1px),linear-gradient(to bottom,var(--c-grid) 1px,var(--c-clear) 1px); background-size: 96px 96px; background-position: calc(50% + 48px) 20px; -webkit-mask-image: radial-gradient(ellipse 74% 82% at 50% 52%,var(--m-on) 42%,var(--c-clear) 100%); mask-image: radial-gradient(ellipse 74% 82% at 50% 52%,var(--m-on) 42%,var(--c-clear) 100%); }
.hero { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 24px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; padding: 3px 14px 3px 11px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-panel-a60); color: var(--c-muted); font-size: 12.5px; letter-spacing: .01em; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: var(--r-circle); background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-a18); }
.hero__title { margin-top: 20px; font-size: var(--fs-hero); font-weight: var(--fw-display); line-height: 1.1; letter-spacing: -.02em; color: var(--c-text); }
.hero__title > span { display: block; }
.hl { background: var(--c-accent); color: var(--c-ink); padding: 0 .16em; margin: 0 .06em; border-radius: var(--r-row); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__cta { display: flex; gap: 12px; margin-top: 24px; }
.hero__lead { margin-top: 20px; max-width: 620px; font-size: var(--fs-button); line-height: 1.65; color: var(--c-muted); }
.hero__lead strong { color: var(--c-text); font-weight: var(--fw-medium); }
.protos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.protos li { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 11px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-panel-a60); color: var(--c-muted); font-family: var(--f-mono); font-size: var(--fs-xs); }
.platforms { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; margin-top: 14px; font-size: var(--fs-small); color: var(--c-muted); }
.platforms__label { color: var(--c-muted); font-size: var(--fs-xs); padding-right: 22px; border-right: 1px solid var(--c-border); line-height: 1; }
.platforms a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; cursor: pointer; }
.platforms a:hover { color: var(--c-text); }
.platforms svg { width: 15px; height: 15px; }
.decorated, [data-hero-visual] { overflow-x: clip; }
@media (max-width: 1024px) {
  .topbar { gap: 16px; }
  .mainnav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer:not([hidden]) { display: block; }
}
@media (max-width: 768px) {
  :root { --fs-h1: clamp(24px,4vw,30px); --fs-hero: clamp(24px,4vw,30px); --gutter: 24px; }
  .grid, .footer__grid { grid-template-columns: minmax(0,1fr); }
  .footer__grid { gap: 32px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --edge: 20px; }
  .tilt, [data-tilt] { transform: none !important; }
  .panel { margin-inline: 8px; padding: 48px var(--gutter); border-radius: var(--r-card); }
  .hero__copy { padding-inline: var(--gutter); }
  .hero__cta { flex-direction: column; width: 100%; max-width: 320px; }
  .platforms { gap: 14px; }
  .platforms__label { display: none; }
  .card { padding: 22px; }
  .topbar { gap: 10px; }
  .header-tools { gap: 8px; margin-left: auto; }
  .lang { min-height: 44px; padding-inline: 10px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .footer__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.reveal-ready .reveal:not(.shown), .reveal.shown { opacity: 1; transform: none; transition: none; }
}