:root {
  --color-canvas: #FFFFFF;
  --color-panel: #F7F7F8;
  --color-ink-panel: #101115;
  --color-border: #E6E7EA;
  --color-accent: #ED2E7E;
  --color-accent-deep: #C4125E;
  --color-trunk-start: #FF7A45;
  --color-trunk-end: #ED2E7E;
  --color-text: #15171C;
  --color-text-muted: #63666E;
  --color-success: #27C46B;
  --color-warning: #F7DB1F;
  --color-error: #E5484D;
  --color-mesh: #ECECEF;
  --color-dark-text: #EDEEF2;
  --color-dark-muted: #A6A9B2;
  --color-dark-line: #30323A;
  --color-dark-edge: #3A3C45;
  --color-button-text: #15171C;
  --color-focus: #C4125E;
  --color-code-key: #FF8CB8;
  --color-code-string: #8CE7B2;
  --color-code-value: #FFC28F;
  --glow-trunk-start: rgba(255, 122, 69, 0.85);
  --glow-trunk-end: rgba(237, 46, 126, 0.50);
  --glow-node: rgba(237, 46, 126, 0.50);
  --glow-exit: rgba(39, 196, 107, 0.65);
  --glow-button: rgba(237, 46, 126, 0.20);
  --shadow-float: 0 18px 44px -32px rgba(21, 23, 28, 0.32);
  --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;
  --radius-small: 10px;
  --radius-medium: 14px;
  --radius-large: 28px;
  --radius-panel: 32px;
  --radius-pill: 999px;
  --content-width: 1216px;
  --reading-width: 780px;
  --header-height: 68px;
  --gutter: clamp(16px, 3vw, 32px);
  --section-space: clamp(72px, 10vw, 132px);
  --ease-standard: 180ms ease;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--color-canvas);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.nav-open {
  overflow: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--color-canvas);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.72;
}

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

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  flex-shrink: 0;
}

svg[data-decorative-wide] {
  width: 100%;
  height: 100%;
}

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

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

::selection {
  background: var(--color-warning);
  color: var(--color-text);
}

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

.header-wrap {
  width: 100%;
  max-width: min(100%, calc(1280px + 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);
}

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

.section-compact {
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: clamp(52px, 7vw, 88px);
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
blockquote,
pre {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-text);
  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.02em;
  line-height: 1.15;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.18;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 760;
  line-height: 1.28;
}

h4 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

p {
  margin-bottom: 1.25em;
}

strong {
  color: var(--color-text);
  font-weight: 750;
}

.keyword-lock {
  white-space: nowrap;
}

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

.eyebrow {
  margin-bottom: 14px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gradient-text {
  color: var(--color-accent-deep);
  background: linear-gradient(100deg, var(--color-accent-deep), var(--color-accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prose {
  color: var(--color-text);
  font-size: 16px;
}

.prose > * {
  max-width: 100%;
}

.prose h2 {
  margin-top: 2.4em;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.prose h3 {
  margin-top: 1.8em;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.prose a:not(.button) {
  color: var(--color-accent-deep);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 0.2em;
}

.prose a:not(.button):hover {
  text-decoration-color: var(--color-accent-deep);
}

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

li + li {
  margin-top: 0.45em;
}

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

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

pre {
  max-width: 100%;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid var(--color-dark-edge);
  border-radius: var(--radius-medium);
  background: var(--color-ink-panel);
  color: var(--color-dark-text);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.72;
  tab-size: 2;
  -webkit-overflow-scrolling: touch;
}

pre code {
  color: inherit;
  font: inherit;
  white-space: pre;
}

.code-key {
  color: var(--color-code-key);
}

.code-string {
  color: var(--color-code-string);
}

.code-value {
  color: var(--color-code-value);
}

hr {
  margin: 48px 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 25px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: transform var(--ease-standard), border-color var(--ease-standard), background var(--ease-standard);
}

.button:hover {
  transform: translateY(-1px);
}

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

.button svg {
  width: 16px;
  height: 16px;
}

.button-primary {
  border-color: var(--color-accent-deep);
  background: linear-gradient(96deg, var(--color-trunk-start), var(--color-trunk-end) 72%, var(--color-accent-deep));
  color: var(--color-button-text);
  box-shadow: 0 10px 26px -8px var(--glow-button);
}

.button-secondary {
  border-color: var(--color-border);
  background: var(--color-canvas);
  color: var(--color-text);
}

.button-secondary:hover {
  border-color: var(--color-text-muted);
}

.button-dark {
  border-color: var(--color-ink-panel);
  background: var(--color-ink-panel);
  color: var(--color-dark-text);
}

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

.panel,
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-canvas);
  color: var(--color-text);
}

.panel {
  padding: clamp(22px, 4vw, 42px);
}

.card {
  padding: clamp(20px, 3vw, 30px);
  transition: border-color var(--ease-standard), transform var(--ease-standard);
}

.card:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-2px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid > * {
  min-width: 0;
}

.surface-soft {
  background: var(--color-panel);
  color: var(--color-text);
}

.surface-dark {
  background: var(--color-ink-panel);
  color: var(--color-dark-text);
}

.surface-dark h2,
.surface-dark h3,
.surface-dark strong {
  color: var(--color-dark-text);
}

.surface-dark p {
  color: var(--color-dark-muted);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-canvas);
  color: var(--color-text);
}

.data-table th,
.data-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

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

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

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

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

.site-head {
  position: relative;
  z-index: 80;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-canvas);
  color: var(--color-text);
}

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

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  height: var(--header-height);
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  padding-inline: 14px;
  color: var(--color-text-muted);
  font-size: 14.5px;
  font-weight: 550;
  transition: color var(--ease-standard);
}

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

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

.desktop-nav a.is-active::after {
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-trunk-start), var(--color-trunk-end));
  content: "";
}

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

.language-menu {
  position: relative;
}

.language-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-canvas);
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 13.5px;
  white-space: nowrap;
}

.language-button:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.language-short {
  display: none;
}

.language-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 95;
  width: 178px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-canvas);
  color: var(--color-text);
  box-shadow: var(--shadow-float);
}

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

.language-popover a {
  display: flex;
  min-height: 44px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: var(--radius-small);
  font-size: 14px;
}

.language-popover a:hover,
.language-popover a[aria-current="true"] {
  background: var(--color-panel);
  color: var(--color-text);
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-canvas);
  color: var(--color-text);
  cursor: pointer;
}

.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-text);
  content: "";
  transition: transform var(--ease-standard);
}

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

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

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

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

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

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

.mobile-drawer {
  display: none;
}

.mobile-drawer[hidden] {
  display: none;
}

.menu-veil {
  display: none;
}

.site-foot {
  overflow-x: clip;
  border-top: 1px solid var(--color-border);
  background: var(--color-canvas);
  color: var(--color-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  padding-top: 72px;
  padding-bottom: 52px;
}

.footer-brand p {
  max-width: 390px;
  margin-top: 18px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.footer-heading {
  margin-bottom: 15px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 14px;
}

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

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

.hero {
  position: relative;
  overflow-x: clip;
  background: var(--color-canvas);
  color: var(--color-text);
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: radial-gradient(var(--color-mesh) 1px, transparent 1.4px);
  background-size: 28px 28px;
  content: "";
  mask-image: radial-gradient(ellipse 46% 40% at 50% 30%, var(--color-text) 0%, transparent 100%);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 46% 40% at 50% 30%, var(--color-text) 0%, transparent 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 340px;
  background: linear-gradient(180deg, transparent, var(--color-panel));
  content: "";
  pointer-events: none;
}

.hero-in {
  position: relative;
  z-index: 1;
  padding-top: 88px;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-canvas);
  color: var(--color-text-muted);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-trunk-start), var(--color-trunk-end));
}

.hero-title {
  max-width: 900px;
  margin: 30px auto 0;
  font-size: clamp(34px, 3.4vw, 48px);
}

.hero-summary {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  justify-content: center;
  margin-top: 34px;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.platform-chip {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-canvas);
  color: var(--color-text-muted);
  font-size: 13.5px;
  font-weight: 650;
  transition: border-color var(--ease-standard), color var(--ease-standard);
}

.platform-chip:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.platform-chip svg {
  width: 16px;
  height: 16px;
}

.trunk-shell {
  position: relative;
  z-index: 1;
  margin-top: 56px;
}

.trunk-panel {
  position: relative;
  overflow: hidden;
  padding: 30px 56px 26px;
  border: 1px solid var(--color-dark-edge);
  border-radius: var(--radius-large);
  background: var(--color-ink-panel);
  color: var(--color-dark-text);
}

.trunk-grid {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, var(--color-dark-line) 0 1px, transparent 1px 104px);
  content: "";
  mask-image: linear-gradient(180deg, transparent 0%, var(--color-text) 26%, var(--color-text) 72%, transparent 100%);
  opacity: 0.35;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, var(--color-text) 26%, var(--color-text) 72%, transparent 100%);
}

.trunk-head,
.trunk-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trunk-tag,
.trunk-protocol,
.trunk-foot span {
  color: var(--color-dark-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

.trunk-tag strong,
.trunk-protocol strong,
.trunk-foot strong {
  color: var(--color-dark-text);
  font-weight: 600;
}

.trunk-track {
  position: relative;
  height: 84px;
  margin-top: 22px;
}

.trunk-line,
.trunk-glow {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-trunk-start), var(--color-trunk-end));
  transform: translateY(-50%);
}

.trunk-glow {
  height: 8px;
  filter: blur(12px);
  opacity: 0.55;
}

.trunk-node {
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
}

.trunk-node.station-0 {
  left: 0;
}

.trunk-node.station-1 {
  left: 33.333%;
}

.trunk-node.station-2 {
  left: 66.666%;
}

.trunk-node.station-3 {
  left: 100%;
}

.trunk-node-ring,
.trunk-node-core,
.trunk-node-light {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--radius-pill);
  transform: translate(-50%, -50%);
}

.trunk-node-ring {
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-dark-muted);
  background: var(--color-ink-panel);
}

.trunk-node-core {
  width: 10px;
  height: 10px;
  background: var(--color-dark-muted);
}

.trunk-node-light {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--color-trunk-start), var(--color-trunk-end));
  box-shadow: 0 0 22px 5px var(--glow-node);
  opacity: 0;
  animation: node-light 6s linear infinite;
}

.station-1 .trunk-node-light {
  animation-delay: 1.95s;
}

.station-2 .trunk-node-light {
  animation-delay: 3.9s;
}

.station-3 .trunk-node-light {
  animation-delay: 5.7s;
}

.trunk-node-stem {
  position: absolute;
  top: 13px;
  left: 0;
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--color-dark-muted), transparent);
  opacity: 0.5;
}

.trunk-exit-dot {
  position: absolute;
  top: -19px;
  left: 11px;
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  box-shadow: 0 0 10px 2px var(--glow-exit);
}

.trunk-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  animation: pulse-run 6s linear infinite;
}

.trunk-pulse-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: var(--radius-pill);
  background: var(--color-canvas);
  box-shadow: 0 0 7px 2px var(--glow-trunk-start), 0 0 26px 8px var(--glow-trunk-end);
  transform: translate(-50%, -50%);
}

.trunk-stations {
  position: relative;
  height: 58px;
  margin-top: 2px;
}

.trunk-station {
  position: absolute;
  top: 0;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.trunk-station.station-0 {
  left: 0;
  text-align: left;
  transform: none;
}

.trunk-station.station-1 {
  left: 33.333%;
}

.trunk-station.station-2 {
  left: 66.666%;
}

.trunk-station.station-3 {
  left: 100%;
  text-align: right;
  transform: translateX(-100%);
}

.trunk-station-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
}

.station-0 .trunk-station-title {
  justify-content: flex-start;
}

.station-3 .trunk-station-title {
  justify-content: flex-end;
}

.trunk-role {
  color: var(--color-dark-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.trunk-name {
  color: var(--color-dark-text);
  font-size: 14.5px;
  font-weight: 750;
}

.trunk-description {
  display: block;
  margin-top: 7px;
  color: var(--color-dark-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.trunk-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-dark-line);
}

@keyframes node-light {
  0%,
  100% {
    opacity: 0;
  }

  2% {
    opacity: 1;
  }

  58% {
    opacity: 0.85;
  }

  82% {
    opacity: 0;
  }
}

@keyframes pulse-run {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

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

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

  .mobile-drawer {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 91;
    display: block;
    max-height: calc(100dvh - var(--header-height));
    padding: 12px var(--gutter) 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-canvas);
    color: var(--color-text);
  }

  .mobile-drawer a {
    display: flex;
    min-height: 48px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 11px 8px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 650;
  }

  .mobile-drawer a.is-active {
    color: var(--color-accent-deep);
  }

  .mobile-language-label {
    margin: 20px 8px 4px;
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.1em;
  }

  .menu-veil {
    position: fixed;
    z-index: 70;
    inset: var(--header-height) 0 0;
    display: block;
    border: 0;
    background: rgba(21, 23, 28, 0.42);
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

@media (max-width: 768px) {
  h1,
  .hero-title {
    font-size: clamp(24px, 7.4vw, 30px);
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: clamp(25px, 7vw, 34px);
  }

  .hero-in {
    padding-top: 58px;
  }

  .trunk-panel {
    padding: 25px 26px 22px;
  }

  .trunk-description {
    display: none;
  }

  .trunk-stations {
    height: 34px;
  }

  .trunk-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 640px) {
  .language-full {
    display: none;
  }

  .language-short {
    display: inline;
  }

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

  .brand-name {
    font-size: 14px;
  }

  .button-row,
  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .platform-row {
    flex-direction: row;
    gap: 8px;
  }

  .platform-chip {
    padding-inline: 12px;
    font-size: 12.5px;
  }

  .trunk-shell {
    margin-top: 42px;
  }

  .trunk-panel {
    border-radius: var(--radius-medium);
  }

  .trunk-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .trunk-role {
    display: none;
  }

  .trunk-name {
    font-size: 12px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

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

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

  .absolute-decoration,
  .decorative-orb,
  .decorative-watermark {
    right: 0;
    left: 0;
    max-width: 100%;
  }

  .data-table {
    min-width: 0;
    table-layout: fixed;
  }

  .data-table th,
  .data-table td,
  .data-table a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 390px) {
  .brand-name {
    max-width: 116px;
    white-space: normal;
    line-height: 1.15;
  }

  .platform-chip {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .trunk-panel {
    padding-inline: 18px;
  }
}

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

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

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

  .trunk-pulse {
    animation: none;
    transform: translateX(50%);
  }

  .trunk-node-light {
    animation: none;
    opacity: 1;
  }
}