:root {
  --bg: #FFE6C8;
  --bg-panel: #FFFFFF;
  --bg-panel2: #F8EEFB;
  --bg-chrome: #F4F0EC;
  --bg-input: #FBF8F5;
  --border: #1C1814;
  --accent: #E24A2B;
  --accent-dark: #B5361B;
  --text: #1C1814;
  --text-muted: #6A5E54;
  --text-faint: #A89A8D;
  --on-dark: #FFFFFF;
  --success: #2E8A58;
  --warn: #B9800F;
  --error: #C2352A;
  --line-soft: #EADDCF;
  --line-mid: #D8C6B3;
  --shadow-hard: #1C1814;
  --veil: rgba(28, 24, 20, .32);
  --clear: transparent;
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "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-body: 400;
  --weight-medium: 600;
  --weight-bold: 800;
  --weight-display: 900;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --radius-circle: 50%;
  --shadow-card: 6px 6px 0 var(--shadow-hard);
  --shadow-card-press: 3px 3px 0 var(--shadow-hard);
  --shadow-btn: 4px 4px 0 var(--shadow-hard);
  --shadow-btn-accent: 4px 4px 0 var(--accent);
  --shadow-btn-press: 2px 2px 0 var(--shadow-hard);
  --shadow-btn-accent-press: 2px 2px 0 var(--accent);
  --shadow-window: 14px 14px 0 var(--shadow-hard);
  --shadow-window-mobile: 8px 8px 0 var(--shadow-hard);
  --shadow-doc: 10px 10px 0 var(--shadow-hard);
  --shadow-soft: 0 8px 24px rgba(28, 24, 20, .10);
  --container: 1180px;
  --header-container: 1280px;
  --reading: 800px;
  --gutter: 24px;
  --device-bleed: 140px;
  --section-space: 96px;
  --motion-fast: .12s;
  --motion-normal: .2s;
  --motion-reveal: .5s;
}

*, *::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-panel);
  color: var(--text);
  font: var(--weight-body) 18px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
svg, .tag__dot, .window__dot, .sw, .plat__icon { flex-shrink: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding-left: 1.5em; }
h1, h2, h3, h4 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 2.4vw + 14px, 48px); line-height: 1.12; }
h2 { font-size: clamp(26px, 2.5vw, 36px); }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
strong, b { font-weight: var(--weight-bold); }
small { font-size: 14px; }
code {
  font-family: var(--font-mono);
  font-size: .88em;
  overflow-wrap: anywhere;
}
pre {
  max-width: 100%;
  margin: 20px 0;
  padding: 20px;
  overflow-x: auto;
  background: var(--bg-input);
  color: var(--text);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  font: 14px/1.8 var(--font-mono);
  tab-size: 2;
}
pre code { font-size: inherit; overflow-wrap: normal; white-space: pre; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}
::selection { background: var(--bg-panel2); color: var(--text); }
.wrap {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading {
  width: 100%;
  max-width: calc(var(--reading) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section--peach { background: var(--bg); color: var(--text); }
.section--lilac { background: var(--bg-panel2); color: var(--text); }
.section--white { background: var(--bg-panel); color: var(--text); }
.section__intro { max-width: 760px; margin-bottom: 40px; }
.section__intro p, .muted { color: var(--text-muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid > *, .hero__grid > *, .window__body > *, .footer__grid > *, .prose, .prose div { min-width: 0; }
.stack > * + * { margin-top: 24px; }
.nowrap { white-space: nowrap; }
.text-link, .prose a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.text-link:hover, .prose a:hover { text-decoration-thickness: 2px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.prose > * + *, .prose section > * + * { margin-top: 20px; }
.prose h2 { margin-top: 64px; }
.prose h3 { margin-top: 36px; }
.prose li + li { margin-top: 8px; }
.prose :not(pre) > code {
  padding: 2px 5px;
  background: var(--bg-panel2);
  color: var(--text);
  border-radius: var(--radius-xs);
}
.prose [id], section[id] { scroll-margin-top: 24px; }
.prose img { max-width: 100%; }
.prose blockquote {
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: var(--bg);
  color: var(--text);
}
.btn, .btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: var(--weight-bold);
  line-height: 1.25;
  text-align: center;
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--text);
  color: var(--on-dark);
  box-shadow: var(--shadow-btn-accent);
}
.btn--ghost {
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-btn);
}
.btn:hover, .btn.is-hover { transform: translate(2px, 2px); }
.btn--primary:hover, .btn--primary.is-hover { box-shadow: var(--shadow-btn-accent-press); }
.btn--ghost:hover, .btn--ghost.is-hover { box-shadow: var(--shadow-btn-press); }
.btn:active, .btn.is-pressed { transform: translate(4px, 4px); box-shadow: none; }
.btn:disabled { background: var(--bg-chrome); color: var(--text-muted); box-shadow: none; transform: none; }
.btn-nav {
  min-height: 42px;
  padding: 9px 18px;
  gap: 8px;
  background: var(--text);
  color: var(--on-dark);
  font-size: 15px;
}
.btn-nav:hover { background: var(--accent-dark); color: var(--on-dark); border-color: var(--accent-dark); }
.btn-nav svg { width: 16px; height: 16px; }
.card, .panel {
  padding: 28px;
  background: var(--bg-panel);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}
.card { transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.card:hover { transform: translate(3px, 3px); box-shadow: var(--shadow-card-press); }
.card p + p { margin-top: 16px; }
.card__footer { margin-top: 24px; }
.tag, .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 30px;
  max-width: 100%;
  padding: 5px 14px 5px 11px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.tag__dot { width: 8px; height: 8px; border-radius: var(--radius-circle); background: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { gap: 7px; padding-inline: 10px 13px; }
.pill svg { width: 13px; height: 13px; color: var(--success); }

.notice { background: var(--accent); color: var(--text); font-size: 14px; line-height: 18px; }
.notice .wrap { display: flex; align-items: center; gap: 18px; padding-top: 9px; padding-bottom: 9px; }
.notice__text { font-weight: var(--weight-medium); }
.notice__link { font-weight: var(--weight-bold); border-bottom: 1.5px solid currentColor; line-height: 16px; }
.notice__link:hover { text-decoration: underline; }
.topbar { position: relative; z-index: 30; background: var(--bg-panel); color: var(--text); border-bottom: 1px solid var(--line-soft); }
.header-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: min(100%, calc(var(--header-container) + var(--gutter) * 2));
  min-height: 68px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font: var(--weight-display) 17px/1.2 var(--font-display); letter-spacing: -.01em; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.mainnav { margin-left: 52px; min-width: 0; }
.mainnav__list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.mainnav__link, .more__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: var(--weight-medium);
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}
.mainnav__link:hover, .more__toggle:hover { background: var(--bg-chrome); color: var(--text); }
.mainnav__link[aria-current="page"], .more__item[aria-current="page"] { font-weight: var(--weight-bold); }
.mainnav__link[aria-current="page"]::after {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: var(--radius-circle);
  background: var(--accent);
}
.more { position: relative; }
.more__toggle { list-style: none; }
.more__toggle::-webkit-details-marker { display: none; }
.more__chev { width: 12px; height: 12px; transition: transform var(--motion-normal) ease; }
.more[open] .more__chev { transform: rotate(180deg); }
.more__panel, .language__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 256px;
  padding: 8px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  z-index: 3;
}
.more__item { display: block; padding: 10px 12px; border-radius: var(--radius-sm); line-height: 1.4; }
.more__item:hover { background: var(--bg-panel2); color: var(--text); }
.more__name { display: block; font-size: 15px; font-weight: var(--weight-bold); }
.more__desc { display: block; margin-top: 2px; font-size: 13px; color: var(--text-muted); }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.language { position: relative; }
.lang, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1.5px solid var(--line-mid);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: var(--weight-medium);
  line-height: 1.4;
  white-space: nowrap;
}
.lang:hover { border-color: var(--border); }
.lang svg { width: 16px; height: 16px; }
.lang__short { display: none; }
.language__panel { left: auto; right: 0; width: 190px; }
.language__panel a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: 15px; }
.language__panel a:hover, .language__panel a[aria-current] { background: var(--bg-panel2); color: var(--text); border-radius: var(--radius-xs); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 9px; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }
.nav-veil { position: fixed; inset: 0; border: 0; background: var(--veil); color: var(--text); z-index: 20; }

.hero { position: relative; background: var(--bg); color: var(--text); padding-top: 32px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: end; gap: 56px; }
.hero__title { margin: 18px 0 24px; font-size: clamp(34px, 2.4vw + 14px, 48px); line-height: 1.12; letter-spacing: -.02em; }
.hero__title span { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__aside { max-width: 480px; padding-bottom: 2px; }
.hero__desc { color: var(--text-muted); font-size: 18px; line-height: 1.7; }
.hero__desc strong { color: var(--text); box-shadow: inset 0 -.36em 0 var(--bg-panel); }
.platforms { display: flex; align-items: center; gap: 30px; margin-top: 24px; }
.platforms__label { font: var(--weight-medium) 12px/1.4 var(--font-mono); letter-spacing: .04em; color: var(--text-muted); }
.platforms__list { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.plat { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.plat__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--bg-panel); color: var(--text); border: 1.5px solid var(--border); border-radius: var(--radius-sm); }
.plat__icon svg { width: 15px; height: 15px; }
.plat:hover .plat__icon { background: var(--text); color: var(--on-dark); }
.plat:hover .plat__name { text-decoration: underline; text-underline-offset: 4px; }
.platforms__all { margin-left: auto; font-size: 14px; font-weight: var(--weight-bold); border-bottom: 1.5px solid var(--border); line-height: 18px; }
.platforms__all:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.decor-section, [data-decorative-section] { position: relative; overflow-x: clip; }
.after { background: var(--bg-panel); color: var(--text); padding-top: calc(var(--device-bleed) + 56px); padding-bottom: 72px; }
.statusbar { display: flex; flex-wrap: wrap; border: 2px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-panel2); color: var(--text); font: 13px/1.4 var(--font-mono); }
.statusbar__cell { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 180px; padding: 14px 18px; border-right: 1px solid var(--line-mid); }
.statusbar__cell:last-child { border-right: 0; }
.statusbar__key { color: var(--text-muted); }
.statusbar__val { font-weight: 700; }
.footer { background: var(--bg); color: var(--text); padding-top: 72px; padding-bottom: 32px; border-top: 2px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1.25fr .8fr 1.3fr .7fr; gap: 40px; }
.footer__intro { margin-top: 20px; max-width: 320px; font-size: 15px; color: var(--text-muted); }
.footer__title { font-size: 16px; margin-bottom: 18px; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li + li { margin-top: 8px; }
.footer__links a { display: inline-block; font-size: 14px; padding-block: 3px; overflow-wrap: anywhere; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-mid); font-size: 13px; color: var(--text-muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a:hover { color: var(--text); text-decoration: underline; }
.reveal { opacity: 1; transform: none; }
.reveal.is-observed { opacity: 0; transform: translateY(14px); transition: opacity var(--motion-reveal) ease, transform var(--motion-reveal) ease; }
.reveal.shown { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .mainnav { margin-left: 28px; }
}
@media (max-width: 1080px) {
  .mainnav { display: none; }
  .topbar__end { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) {
    display: block;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px var(--gutter) 24px;
    background: var(--bg-panel);
    color: var(--text);
    border-bottom: 2px solid var(--border);
    z-index: 4;
  }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav a { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--radius-xs); font-size: 16px; }
  .mobile-nav a:hover, .mobile-nav a[aria-current] { background: var(--bg-panel2); color: var(--text); }
  .mobile-nav__languages { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 980px) {
  :root { --device-bleed: 80px; --section-space: 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 22px; }
  .hero__aside { max-width: 700px; }
  .platforms { flex-wrap: wrap; gap: 16px 24px; }
  .platforms__list { gap: 14px 22px; }
  .platforms__all { margin-left: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  h1, .hero__title { font-size: clamp(24px, 4vw, 30px); line-height: 1.2; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-space: 56px; }
  .notice .wrap { flex-wrap: wrap; gap: 4px 14px; }
  .notice { font-size: 12px; }
  .hero { padding-top: 24px; }
  .hero__actions { gap: 12px; }
  .hero__desc { font-size: 16px; }
  .btn { min-height: 48px; padding: 11px 18px; font-size: 15px; }
  .topbar__end { gap: 8px; margin-left: auto; }
  .topbar__end > .btn-nav { display: none; }
  .lang { min-height: 44px; padding-inline: 10px; }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .brand { font-size: 15px; gap: 8px; }
  .brand__mark { width: 28px; height: 28px; }
  .grid, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .card, .panel { padding: 22px; }
  .platforms__label { flex-basis: 100%; }
  .platforms__list { gap: 12px 18px; }
  .plat { font-size: 13px; gap: 6px; }
  .pills { flex-direction: row; flex-wrap: wrap; }
  .statusbar__cell { min-width: 0; flex-basis: 50%; padding: 12px; flex-wrap: wrap; gap: 6px; }
  .statusbar__cell:nth-child(2) { border-right: 0; }
  .statusbar__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line-mid); }
  .tilt, [data-tilt] { transform: none !important; }
  .footer { padding-top: 48px; }
  .footer__grid { gap: 32px; }
  pre { padding: 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.is-observed { opacity: 1; transform: none; }
}