:root {
  --color-page: #FFFFFF;
  --color-panel: #F7F7F8;
  --color-panel-strong: #EFEFF2;
  --color-line: #E4E4E8;
  --color-accent: #C2189E;
  --color-accent-deep: #8F1275;
  --color-accent-secondary: #7743E6;
  --color-text: #131417;
  --color-text-muted: #5C6068;
  --color-success: #178A50;
  --color-warning: #B7791F;
  --color-error: #C43333;
  --color-white: #FFFFFF;
  --color-window: #131417;
  --color-window-side: #1A1B20;
  --color-window-line: #2A2B32;
  --color-window-row: #1C1D23;
  --color-window-text: #E9E9EE;
  --color-window-muted: #9B9DA6;
  --color-window-direct-line: rgba(23, 138, 80, 0.45);
  --color-window-proxy-line: rgba(194, 24, 158, 0.5);
  --color-shadow-light: rgba(19, 20, 23, 0.06);
  --color-shadow-medium: rgba(19, 20, 23, 0.1);
  --color-shadow-soft: rgba(19, 20, 23, 0.08);
  --color-overlay: rgba(19, 20, 23, 0.42);
  --font-display: 'Inter', 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, 'Courier New', monospace;
  --radius-large: 24px;
  --radius-xlarge: 28px;
  --radius-medium: 14px;
  --radius-small: 10px;
  --radius-pill: 999px;
  --gutter: clamp(16px, 4vw, 32px);
  --content-width: 1160px;
  --reading-width: 820px;
  --header-width: 1280px;
  --header-height: 64px;
  --section-space: clamp(72px, 10vw, 132px);
  --transition-fast: 150ms ease;
  --transition-reveal: 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--color-page);
}

html.nav-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -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 {
  color: inherit;
  font: inherit;
}

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

button {
  border: 0;
}

a {
  color: var(--color-accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

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

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

h1 {
  margin-bottom: 0.45em;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

h2 {
  margin-bottom: 0.65em;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 850;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 0.65em;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 800;
}

h4 {
  margin-bottom: 0.5em;
  font-size: 18px;
  font-weight: 750;
}

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

small {
  font-size: 0.875em;
}

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

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

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

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

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

::selection {
  background: var(--color-accent);
  color: var(--color-white);
}

.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-shell {
  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;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-panel);
  color: var(--color-text);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.text-accent {
  color: var(--color-accent-deep);
}

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

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

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

.card {
  padding: clamp(20px, 3vw, 30px);
}

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

.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: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 11px 26px;
  background: var(--color-page);
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

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

.button:focus-visible,
.menu-toggle:focus-visible,
.language-button:focus-visible,
.tab-button:focus-visible,
.faq-summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.button-primary {
  background: var(--color-accent-deep);
  color: var(--color-white);
}

.button-primary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

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

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

.button-danger {
  background: var(--color-error);
  color: var(--color-white);
}

.button[aria-disabled="true"],
.button:disabled {
  border-color: var(--color-line);
  background: var(--color-panel-strong);
  color: var(--color-text-muted);
  cursor: not-allowed;
  transform: none;
}

.badge,
.platform-chip,
.status-chip {
  display: inline-flex;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
  background: var(--color-page);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.badge-accent {
  border-color: var(--color-accent);
  color: var(--color-accent-deep);
}

.badge-success {
  border-color: var(--color-success);
  color: var(--color-success);
}

.badge-warning {
  border-color: var(--color-warning);
  color: var(--color-warning);
}

.badge-error {
  border-color: var(--color-error);
  color: var(--color-error);
}

.badge-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-accent);
}

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

.platform-chip {
  padding-inline: 16px;
  color: var(--color-text-muted);
  text-decoration: none;
}

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

.platform-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

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

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

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

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

.prose {
  min-width: 0;
}

.prose h2 {
  margin-top: 2.2em;
  scroll-margin-top: 92px;
}

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

.prose a {
  overflow-wrap: anywhere;
}

.prose img {
  border-radius: var(--radius-medium);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--transition-reveal),
    transform var(--transition-reveal);
}

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

.tilt-soft {
  transform: rotate(-0.35deg);
}

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

.head-row {
  position: relative;
  z-index: 4;
  display: flex;
  height: var(--header-height);
  align-items: stretch;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
}

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

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

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

.desktop-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin-left: clamp(24px, 4vw, 56px);
}

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

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

.desktop-nav a.is-active {
  color: var(--color-text);
  font-weight: 750;
}

.desktop-nav a.is-active::after {
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--color-accent);
  content: "";
}

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

.language-control {
  position: relative;
}

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

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

.language-short {
  display: none;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: 176px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: var(--color-page);
  color: var(--color-text);
  box-shadow: 0 16px 36px var(--color-shadow-medium);
}

.language-control.is-open .language-menu {
  display: block;
}

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

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

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

.menu-toggle-lines {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after,
.menu-toggle-lines span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  content: "";
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle-lines::before {
  top: 0;
}

.menu-toggle-lines span {
  top: 5px;
}

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

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

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span {
  opacity: 0;
}

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

.mobile-drawer {
  position: fixed;
  z-index: 3;
  top: var(--header-height);
  right: 0;
  left: 0;
  display: none;
  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-text);
}

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

.mobile-drawer-inner {
  width: 100%;
  padding: 10px var(--gutter) 20px;
}

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

.mobile-drawer a.is-active,
.mobile-drawer a.is-current {
  color: var(--color-accent-deep);
  font-weight: 750;
}

.mobile-language-title {
  margin: 20px 4px 4px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.nav-veil {
  position: fixed;
  z-index: 2;
  inset: var(--header-height) 0 0;
  display: none;
  background: var(--color-overlay);
}

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

.site-footer {
  margin-top: var(--section-space);
  border-top: 1px solid var(--color-line);
  background: var(--color-panel);
  color: var(--color-text);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  padding-top: 64px;
  padding-bottom: 54px;
}

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

.footer-heading {
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 800;
}

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

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

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

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

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

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

.hero {
  overflow-x: clip;
  padding-top: 44px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  background: var(--color-page);
  color: var(--color-accent-deep);
  font-size: 13px;
  font-weight: 650;
}

.hero-title {
  max-width: 920px;
  margin: 18px auto 14px;
  font-size: clamp(34px, 3.3vw, 46px);
  line-height: 1.22;
}

.hero-highlight {
  padding-bottom: 2px;
  background:
    linear-gradient(to top, var(--color-accent) 2px, transparent 2px);
  color: var(--color-accent-deep);
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.hero-platforms {
  margin-top: 24px;
}

.hero-device {
  margin-top: 40px;
  padding-bottom: 28px;
}

.app-window {
  overflow: hidden;
  border: 1px solid var(--color-window-line);
  border-radius: var(--radius-large);
  background: var(--color-window);
  color: var(--color-window-text);
  box-shadow:
    0 1px 2px var(--color-shadow-light),
    0 12px 32px var(--color-shadow-medium),
    0 32px 72px var(--color-shadow-soft);
  text-align: left;
}

.window-bar {
  display: flex;
  height: 44px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--color-window-line);
  padding-inline: 18px;
}

.window-dots {
  display: flex;
  flex-shrink: 0;
  gap: 7px;
}

.window-dots i {
  display: block;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border-radius: 50%;
}

.window-dots i:nth-child(1) {
  background: var(--color-error);
}

.window-dots i:nth-child(2) {
  background: var(--color-warning);
}

.window-dots i:nth-child(3) {
  background: var(--color-success);
}

.window-title {
  color: var(--color-window-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.window-body {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  min-height: 376px;
}

.window-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid var(--color-window-line);
  padding: 16px 10px;
  background: var(--color-window-side);
  color: var(--color-window-muted);
}

.window-side-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-small);
  padding: 10px 14px;
  color: var(--color-window-muted);
  font-size: 13px;
}

.window-side-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.window-side-item.is-current {
  background: var(--color-window-row);
  color: var(--color-window-text);
  font-weight: 700;
}

.window-side-item.is-current::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--color-accent);
  content: "";
}

.window-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px 26px 18px;
}

.window-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
}

.window-panel-head h2 {
  margin: 0;
  color: var(--color-window-text);
  font-size: 16px;
  font-weight: 750;
}

.window-hint {
  color: var(--color-window-muted);
  font-size: 12px;
}

.window-gradient-line {
  height: 2px;
  margin-bottom: 14px;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
}

.route-row {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 9px;
  border: 1px solid var(--color-window-line);
  border-radius: var(--radius-medium);
  padding: 12px 18px;
  background: var(--color-window-row);
  color: var(--color-window-text);
}

.route-match {
  overflow: hidden;
  color: var(--color-window-text);
  font-family: var(--font-mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-description {
  overflow: hidden;
  color: var(--color-window-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-output {
  border: 1px solid var(--color-window-line);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.route-direct {
  border-color: var(--color-window-direct-line);
  color: var(--color-success);
}

.route-proxy {
  border-color: var(--color-window-proxy-line);
  color: var(--color-accent);
}

.route-block {
  color: var(--color-window-muted);
}

.setting-toggle {
  position: relative;
  width: 38px;
  height: 21px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: var(--color-window-line);
}

.setting-toggle::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-window-muted);
  content: "";
}

.setting-toggle.is-on {
  background: var(--color-accent);
}

.setting-toggle.is-on::after {
  right: 3px;
  left: auto;
  background: var(--color-white);
}

.window-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
}

.window-foot-note {
  color: var(--color-window-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-window-muted);
  font-size: 12px;
}

.window-status-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-success);
}

@media (max-width: 1080px) {
  .desktop-nav a {
    padding-inline: 10px;
  }

  .desktop-nav a.is-active::after {
    right: 10px;
    left: 10px;
  }
}

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

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

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

  .window-body {
    grid-template-columns: 1fr;
  }

  .window-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--color-window-line);
  }

  .window-side-item {
    flex-shrink: 0;
  }

  .route-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .route-description {
    display: none;
  }

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

@media (max-width: 768px) {
  h1,
  .hero-title {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  h2 {
    font-size: clamp(25px, 6vw, 32px);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-device {
    margin-top: 32px;
  }

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

@media (max-width: 640px) {
  .brand-name {
    font-size: 15px;
  }

  .language-full {
    display: none;
  }

  .language-short {
    display: inline;
  }

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

  .language-menu {
    display: none !important;
  }

  .hero-actions .button {
    min-width: min(100%, 220px);
  }

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

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

  .window-main {
    padding: 16px;
  }

  .window-panel-head {
    display: block;
  }

  .window-hint {
    display: block;
    margin-top: 5px;
  }

  .route-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 11px 12px;
  }

  .route-output {
    display: none;
  }

  .route-match {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .window-panel-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

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

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

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

  .platform-chip {
    padding-inline: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

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