:root {
  --c-bg: #F7F8F3;
  --c-panel: #FFFFFF;
  --c-panel-2: #E4E5DE;
  --c-border: #DADBD3;
  --c-border-strong: #C5C6BD;
  --c-accent: #6B6A2C;
  --c-accent-dark: #46451D;
  --c-accent-hl: #D9D7A8;
  --c-accent-ring: #E3E2C4;
  --c-text: #141412;
  --c-muted: #5D5E57;
  --c-ink: #141412;
  --c-ink-hover: #2A2A26;
  --c-on-ink: #FFFFFF;
  --c-success: #3E7A4B;
  --c-warn: #B5761E;
  --c-error: #9C2D24;
  --c-clear: transparent;
  --d-mist: #9AB0C9;
  --d-mist-deep: #2F3F56;
  --d-mist-field: #3B4C65;
  --d-mist-line: #52637D;
  --d-mist-soft: #C9D6E5;
  --d-tan: #A9A46E;
  --d-tan-deep: #47452A;
  --d-tan-line: #646140;
  --d-tan-soft: #D6D19A;
  --d-tan-dim: #9C9771;
  --d-rust: #8A3A22;
  --d-rust-soft: #B9806B;
  --d-cream: #FAF6EB;
  --d-cream-line: #E8E0CD;
  --d-cream-off: #D8D0BF;
  --d-warm-white: #F4F0E3;
  --d-hairline-dark: rgba(255, 255, 255, 0.12);
  --d-hairline-light: rgba(20, 20, 18, 0.08);
  --f-display: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-body: 16px;
  --fs-small: 13px;
  --fs-label: 12px;
  --fs-lede: 17px;
  --fs-h1: clamp(34px, 3.4vw + 0.5rem, 48px);
  --fs-h2: clamp(26px, 3vw, 40px);
  --fs-h3: 22px;
  --r-pill: 999px;
  --r-round: 50%;
  --r-block: 32px;
  --r-card: 28px;
  --r-menu: 18px;
  --r-panel: 12px;
  --r-field: 9px;
  --r-highlight: 3px;
  --weight-body: 400;
  --weight-medium: 500;
  --weight-button: 600;
  --weight-heading: 700;
  --weight-display: 800;
  --nav-h: 76px;
  --gutter: 40px;
  --content-width: 1120px;
  --reading-width: 800px;
  --header-width: 1280px;
  --space-section: clamp(64px, 8vw, 120px);
  --space-card: 28px;
  --card-w: clamp(300px, 42vw, 780px);
  --card-h: max(420px, calc(100vh - 440px));
  --card-gap: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --duration: .2s;
  --reveal-duration: .6s;
  --autoplay-duration: 8s;
}
@supports (height: 100svh) {
  :root { --card-h: max(420px, calc(100svh - 440px)); }
}
*, *::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(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: var(--weight-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main, section, article, aside, nav, div, li { min-width: 0; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
svg { display: block; flex-shrink: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--c-accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--c-accent-dark); }
button, a, summary { -webkit-tap-highlight-color: var(--c-clear); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.2; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: var(--weight-display); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); font-weight: var(--weight-heading); letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); font-weight: var(--weight-heading); }
p { margin: 0 0 1.2em; }
code, pre, kbd { font-family: var(--f-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-panel);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: var(--fs-small);
  line-height: 1.8;
  tab-size: 2;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
hr { border: 0; border-top: 1px solid var(--c-border); margin-block: 32px; }
.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: var(--space-section); padding-bottom: var(--space-section); }
.section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-heading h2 { margin: 0 0 16px; }
.section-heading p { margin: 0; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.mono { font-family: var(--f-mono); }
.nowrap { white-space: nowrap; }
.lede { font-size: var(--fs-lede); color: var(--c-muted); }
.prose { line-height: 1.85; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose li + li { margin-top: .5em; }
.prose img { border-radius: var(--r-panel); }
.prose :is(h2, h3, h4, section) { scroll-margin-top: 24px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid > * { min-width: 0; }
.card, .panel {
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: var(--space-card);
  background: var(--c-panel);
  color: var(--c-text);
}
.panel { border-radius: var(--r-block); background: var(--c-panel-2); color: var(--c-text); }
.card h3 { margin: 0 0 14px; }
.card p:last-child { margin-bottom: 0; }
.decorated, .hero, .case-strip { position: relative; overflow-x: clip; }
.hl { position: relative; display: inline-block; z-index: 0; }
.hl::after {
  content: "";
  position: absolute;
  left: -.06em;
  right: -.06em;
  bottom: .06em;
  height: .36em;
  border-radius: var(--r-highlight);
  background: var(--c-accent-hl);
  z-index: -1;
}
.cta-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 30px;
  border: 1px solid var(--c-clear);
  border-radius: var(--r-pill);
  background: var(--c-panel);
  color: var(--c-text);
  font-family: var(--f-display);
  font-size: var(--fs-body);
  font-weight: var(--weight-button);
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--ink { padding-inline: 30px 32px; background: var(--c-ink); color: var(--c-on-ink); }
.btn--ink:hover, .btn--ink.is-hover { background: var(--c-ink-hover); color: var(--c-on-ink); }
.btn--line { border-color: var(--c-border-strong); background: var(--c-clear); color: var(--c-text); }
.btn--line:hover, .btn--line.is-hover { border-color: var(--c-text); color: var(--c-text); }
.btn:active { border-color: var(--c-accent); }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--c-panel-2);
  color: var(--c-muted);
  border-color: var(--c-border);
  cursor: not-allowed;
}
.btn.is-focus { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.skip-link { position: absolute; top: 8px; left: var(--gutter); z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
#site-header { position: relative; z-index: 40; }
.topbar {
  height: var(--nav-h);
  max-width: min(100%, calc(var(--header-width) + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 40;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  flex-shrink: 0;
  font-family: var(--f-display);
  font-weight: var(--weight-heading);
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--c-text);
  text-decoration: none;
}
.brand:hover { color: var(--c-text); }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.mainnav { min-width: 0; }
.mainnav > ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 6px; }
.mainnav__link, .mainnav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 15.5px;
  font-weight: var(--weight-medium);
  color: var(--c-text);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--duration) var(--ease), background-color var(--duration) var(--ease);
}
.mainnav__link:hover, .mainnav summary:hover { background: var(--c-panel-2); color: var(--c-text); }
.mainnav [aria-current="page"], .mainnav .has-current summary { color: var(--c-accent); font-weight: var(--weight-button); }
.mainnav__link[aria-current="page"]::before {
  content: "";
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: var(--r-round);
  background: var(--c-accent);
}
.chev { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--duration) var(--ease); }
.dropdown { position: relative; }
.dropdown summary { list-style: none; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown[open] > summary .chev { transform: rotate(180deg); }
.dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--c-border);
  border-radius: var(--r-menu);
  background: var(--c-panel);
  color: var(--c-text);
  z-index: 4;
}
.dropdown__menu a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--r-panel);
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: var(--c-text);
  line-height: 1.35;
  text-decoration: none;
}
.dropdown__menu a small { margin-top: 2px; font-size: 12.5px; font-weight: var(--weight-body); color: var(--c-muted); }
.dropdown__menu a:hover { background: var(--c-bg); color: var(--c-text); }
.dropdown__label { padding: 6px 14px 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--c-muted); }
.tools { justify-self: end; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px 8px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-clear);
  color: var(--c-text);
  font-size: 14.5px;
  font-weight: var(--weight-medium);
  white-space: nowrap;
  cursor: pointer;
}
.lang summary:hover { border-color: var(--c-border-strong); }
.globe { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.lang .dropdown__menu { left: auto; right: 0; transform: none; min-width: 168px; }
.lang a[aria-current="true"] { color: var(--c-accent); font-weight: var(--weight-button); }
.lang__short { display: none; }
.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-pill);
  background: var(--c-bg);
  color: var(--c-text);
}
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.mobile-drawer { display: none; }
.hero { overflow: hidden; overflow: clip; }
.hero__copy { padding: 44px var(--gutter) 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge, .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 30px;
  padding: 4px 14px 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);
  font-weight: var(--weight-medium);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.badge__dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-round); background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-ring); }
.badge b { color: var(--c-text); font-weight: var(--weight-button); }
.badge__sep { color: var(--c-muted); }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero__title { margin: 22px 0 0; font-size: var(--fs-h1); font-weight: var(--weight-display); line-height: 1.16; letter-spacing: -.02em; }
.hero__title .line { display: block; }
.hero__lede { max-width: 600px; margin: 18px 0 0; font-size: var(--fs-lede); line-height: 1.65; color: var(--c-muted); }
.hero__lede strong { color: var(--c-text); font-weight: var(--weight-button); }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.platforms a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  color: var(--c-muted);
  font-size: 13.5px;
  font-weight: var(--weight-medium);
  line-height: 1.4;
  text-decoration: none;
}
.platforms a:hover { color: var(--c-text); border-color: var(--c-border-strong); }
.platforms svg { width: 14px; height: 14px; color: var(--c-text); }
.statusline { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; padding: 26px var(--gutter); border-top: 1px solid var(--c-border); font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .02em; color: var(--c-muted); }
.statusline span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: var(--r-round); background: var(--c-accent); vertical-align: 1px; }
.statusline b { color: var(--c-text); font-weight: var(--weight-medium); }
.site-footer { border-top: 1px solid var(--c-border); padding-top: 64px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr .7fr; gap: 40px; }
.footer-brand p { max-width: 300px; margin-top: 18px; color: var(--c-muted); font-size: 14px; }
.site-footer h2 { margin: 0 0 18px; font-size: 14px; font-weight: var(--weight-button); letter-spacing: 0; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li + li { margin-top: 9px; }
.footer-list a { display: inline-block; padding-block: 3px; color: var(--c-muted); font-size: 14px; text-decoration: none; overflow-wrap: anywhere; }
.footer-list a:hover, .footer-list a[aria-current="true"] { color: var(--c-accent); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--c-border); color: var(--c-muted); font-size: var(--fs-small); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--c-muted); }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
html.reveal-ready .reveal { transition: opacity var(--reveal-duration) var(--ease), transform var(--reveal-duration) var(--ease); }
@media (max-width: 1080px) {
  .mainnav__link, .mainnav summary { padding-inline: 12px; font-size: 15px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; --nav-h: 64px; --fs-h1: clamp(24px, 6.6vw, 30px); --fs-lede: 15px; }
  .topbar { display: flex; gap: 12px; }
  .mainnav { display: none; }
  .brand { font-size: 16px; }
  .tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 45;
    padding: 16px var(--gutter) 24px;
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-bg);
    color: var(--c-text);
  }
  .mobile-drawer:not([hidden]) { display: block; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--r-panel); color: var(--c-text); text-decoration: none; }
  .mobile-drawer a:hover { background: var(--c-panel-2); color: var(--c-text); }
  .mobile-drawer [aria-current] { color: var(--c-accent); font-weight: var(--weight-button); }
  .mobile-drawer__languages { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-border); }
  .hero__copy { padding-top: 24px; }
  .hero__title { margin-top: 18px; }
  .hero__lede { margin-top: 14px; }
  .cta-row { margin-top: 22px; }
  .btn { min-height: 48px; padding-inline: 22px; font-size: 15px; }
  .btn--ink { padding-inline: 22px 24px; }
  .platforms { gap: 6px; margin-top: 18px; }
  .platforms a { min-height: 30px; padding: 5px 11px 5px 10px; font-size: 12.5px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --space-card: 22px; }
  .tilt, [data-tilt] { transform: none !important; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .lang summary { min-height: 44px; padding-inline: 12px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand__mark { width: 30px; height: 30px; }
  .tools { gap: 6px; }
  .footer-grid { gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 32px; }
  .section-heading { margin-bottom: 28px; }
  .hero__title .line { max-width: 100%; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .topbar { gap: 6px; }
  .brand { font-size: 13px; }
  .lang .globe { display: none; }
  .lang summary { padding-inline: 10px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}