:root {
  --color-page: #FFFFFF;
  --color-panel: #F6F7F9;
  --color-panel-strong: #EFF1F6;
  --color-line: #E4E7EE;
  --color-line-hover: #CBD1DF;
  --color-line-focus: #DCD9F8;
  --color-brand: #6357F2;
  --color-brand-deep: #4438C9;
  --color-gradient-start: #7B61FF;
  --color-gradient-end: #3D7BF7;
  --color-ink: #191C28;
  --color-ink-muted: #5C6273;
  --color-ink-soft: #72798B;
  --color-white: #FFFFFF;
  --color-success: #087A49;
  --color-success-bg: #E7F8F0;
  --color-warning: #9A5700;
  --color-warning-bg: #FFF3DF;
  --color-danger: #B4232A;
  --color-danger-bg: #FDEBEC;
  --color-switch-off: #D9DDE7;
  --color-shadow-soft: rgba(25, 28, 40, 0.07);
  --color-shadow-faint: rgba(25, 28, 40, 0.04);
  --color-shadow-button: rgba(68, 56, 201, 0.3);
  --color-shadow-brand: rgba(68, 56, 201, 0.16);
  --color-stripe-a: rgba(123, 97, 255, 0.62);
  --color-stripe-b: rgba(61, 123, 247, 0.55);
  --color-fade-clear: rgba(255, 255, 255, 0);
  --color-fade-mid: rgba(255, 255, 255, 0.55);
  --font-display: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --gradient-brand: linear-gradient(96deg, var(--color-gradient-start) 8%, var(--color-gradient-end) 92%);
  --radius-small: 10px;
  --radius-control: 12px;
  --radius-card: 20px;
  --radius-panel: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 6px var(--color-shadow-faint), 0 12px 32px var(--color-shadow-soft);
  --shadow-deep: 0 4px 10px var(--color-shadow-soft), 0 24px 60px var(--color-shadow-brand);
  --shadow-button: 0 10px 26px var(--color-shadow-button);
  --content-width: 1152px;
  --reading-width: 780px;
  --header-width: 1280px;
  --header-height: 76px;
  --gutter: 40px;
  --section-space: 96px;
  --transition-fast: 150ms ease;
  --transition-base: 260ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--color-page);
  color: var(--color-ink);
}

html.nav-open {
  overflow: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--color-page);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main,
section,
article,
aside,
header,
footer,
nav,
div {
  min-width: 0;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: var(--color-brand-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-brand);
}

p,
ul,
ol,
dl,
blockquote,
pre,
table {
  margin-top: 0;
  margin-bottom: 1.25em;
}

ul,
ol {
  padding-left: 1.35em;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.16;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.22;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 750;
  line-height: 1.35;
}

h4 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

strong {
  color: var(--color-ink);
  font-weight: 650;
}

code,
kbd,
samp,
pre {
  font-family: var(--font-mono);
}

:not(pre) > code {
  padding: 0.15em 0.38em;
  overflow-wrap: anywhere;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: var(--color-panel);
  color: var(--color-ink);
  font-size: 0.88em;
}

pre {
  max-width: 100%;
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-control);
  background: var(--color-ink);
  color: var(--color-white);
  font-size: 13px;
  line-height: 1.7;
  tab-size: 2;
  -webkit-overflow-scrolling: touch;
}

pre code {
  color: inherit;
  white-space: pre;
  overflow-wrap: normal;
}

hr {
  height: 1px;
  margin: 48px 0;
  border: 0;
  background: var(--color-line);
}

::selection {
  background: var(--color-line-focus);
  color: var(--color-ink);
}

:focus-visible {
  outline: 3px solid var(--color-line-focus);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.reading-wrap {
  width: 100%;
  max-width: calc(var(--reading-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header-wrap {
  width: 100%;
  max-width: min(100%, calc(var(--header-width) + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-panel {
  overflow-x: clip;
  background: var(--color-panel);
  color: var(--color-ink);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--color-brand-deep);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gradient-text {
  background: var(--gradient-brand);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.keep-word {
  white-space: nowrap;
}

.muted {
  color: var(--color-ink-muted);
}

.mono {
  font-family: var(--font-mono);
}

.surface-card {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-page);
  color: var(--color-ink);
  box-shadow: var(--shadow-card);
}

.surface-panel {
  padding: 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-panel);
  background: var(--color-panel);
  color: var(--color-ink);
}

.grid-two,
.grid-three,
.grid-four {
  display: grid;
  gap: 24px;
}

.grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.button,
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast);
}

.button:hover,
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button:active,
.btn:active {
  transform: translateY(0);
}

.button-primary,
.btn-main {
  border-color: transparent;
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: var(--shadow-button);
}

.button-primary:hover,
.btn-main:hover {
  color: var(--color-white);
  filter: brightness(1.05);
}

.button-secondary,
.btn-ghost {
  border-color: var(--color-line);
  background: var(--color-page);
  color: var(--color-ink);
  box-shadow: 0 1px 3px var(--color-shadow-faint);
}

.button-secondary:hover,
.btn-ghost:hover {
  border-color: var(--color-line-hover);
  color: var(--color-ink);
}

.button-muted {
  border-color: var(--color-line);
  background: var(--color-panel);
  color: var(--color-ink-muted);
}

.button[disabled],
.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.button svg,
.btn svg,
.icon-fixed {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-head {
  position: relative;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: var(--color-page);
  color: var(--color-ink);
}

.head-bar {
  display: flex;
  height: var(--header-height);
  align-items: center;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--color-ink);
  text-decoration: none;
}

.site-brand:hover {
  color: var(--color-ink);
}

.site-brand img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.site-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 4px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 14px;
  color: var(--color-ink-muted);
  font-size: 14px;
  font-weight: 520;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--color-ink);
}

.desktop-nav a.is-active {
  font-weight: 650;
}

.desktop-nav a.is-active::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  content: "";
}

.header-tools {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.language-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-page);
  color: var(--color-ink-muted);
  font-size: 13px;
  font-weight: 550;
}

.language-toggle:hover {
  border-color: var(--color-line-hover);
  color: var(--color-ink);
}

.language-short {
  display: none;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 54;
  width: 174px;
  padding: 8px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-control);
  background: var(--color-page);
  color: var(--color-ink);
  box-shadow: var(--shadow-card);
}

.language-menu[hidden] {
  display: none;
}

.language-menu a {
  display: flex;
  min-height: 44px;
  width: 100%;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--radius-small);
  color: var(--color-ink-muted);
  text-decoration: none;
}

.language-menu a:hover,
.language-menu a.is-current {
  background: var(--color-panel);
  color: var(--color-ink);
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-page);
  color: var(--color-ink);
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-drawer {
  display: none;
}

.mobile-veil {
  display: none;
}

.site-foot {
  padding-top: 72px;
  padding-bottom: 28px;
  border-top: 1px solid var(--color-line);
  background: var(--color-panel);
  color: var(--color-ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: 48px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .site-brand {
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--color-ink-muted);
  font-size: 14px;
  line-height: 1.75;
}

.footer-title {
  margin-bottom: 15px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.footer-links {
  display: grid;
  gap: 7px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  color: var(--color-ink-muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-brand-deep);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  color: var(--color-ink-muted);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--color-ink-muted);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.shown {
  opacity: 1;
  transform: none;
}

.prose {
  color: var(--color-ink-muted);
}

.prose h2,
.prose h3,
.prose h4,
.prose strong {
  color: var(--color-ink);
}

.prose h2 {
  margin-top: 2.3em;
}

.prose h3 {
  margin-top: 1.8em;
}

.prose a {
  overflow-wrap: anywhere;
}

.prose blockquote {
  margin-inline: 0;
}

.data-table,
.prose > .data-table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.prose > .data-table {
  display: block;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table th,
.data-table td {
  min-width: 140px;
  padding: 14px 16px;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--color-panel);
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 700;
}

.data-table td {
  background: var(--color-page);
  color: var(--color-ink-muted);
}

.data-table tr > :first-child {
  border-left: 1px solid var(--color-line);
}

.data-table thead tr:first-child > * {
  border-top: 1px solid var(--color-line);
}

.data-table thead tr:first-child > :first-child {
  border-top-left-radius: var(--radius-small);
}

.data-table thead tr:first-child > :last-child {
  border-top-right-radius: var(--radius-small);
}

.tilt,
.tilt-card {
  transform: rotate(-0.45deg);
}

.decorated-section,
.hero,
.hero-stage,
.preview-hero {
  overflow-x: clip;
}

.full-background-svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 1080px) {
  :root {
    --gutter: 28px;
    --section-space: 80px;
  }

  .desktop-nav {
    display: none;
  }

  .header-tools {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-veil {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 47;
    background: var(--color-shadow-soft);
  }

  .mobile-veil.is-open {
    display: block;
  }

  .mobile-drawer {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 52;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    background: var(--color-page);
    color: var(--color-ink);
    box-shadow: var(--shadow-card);
  }

  .mobile-drawer.is-open {
    display: block;
  }

  .mobile-drawer-inner {
    padding: 12px var(--gutter) 20px;
  }

  .mobile-drawer a {
    display: flex;
    min-height: 48px;
    width: 100%;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius-small);
    color: var(--color-ink-muted);
    text-decoration: none;
  }

  .mobile-drawer a:hover,
  .mobile-drawer a.is-active,
  .mobile-drawer a.is-current {
    background: var(--color-panel);
    color: var(--color-ink);
  }

  .mobile-drawer-divider {
    height: 1px;
    margin: 10px 0;
    background: var(--color-line);
  }

  .mobile-drawer-label {
    margin: 12px 12px 4px;
    color: var(--color-ink-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --section-space: 64px;
  }

  h1 {
    font-size: clamp(24px, 7.5vw, 30px);
    letter-spacing: -0.01em;
  }

  h2 {
    font-size: clamp(24px, 6vw, 30px);
  }

  .grid-three {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --header-height: 68px;
  }

  body {
    font-size: 15px;
  }

  .site-brand-name {
    font-size: 16px;
  }

  .site-brand img {
    width: 28px;
    height: 28px;
  }

  .language-full {
    display: none;
  }

  .language-short {
    display: inline;
  }

  .language-toggle {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding-inline: 11px;
  }

  .grid-two,
  .grid-four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .surface-card,
  .surface-panel {
    padding: 22px;
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .button,
  .button-row .btn {
    flex: 1 1 150px;
  }

  .tilt,
  .tilt-card,
  [class*="tilt"] {
    transform: none;
  }

  .footer-grid {
    gap: 32px;
  }

  .site-foot {
    padding-top: 56px;
  }
}

@media (max-width: 380px) {
  .site-brand-name {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}