:root {
  --color-bg: #F7FAF9;
  --color-surface: #FFFFFF;
  --color-surface-soft: #EFF4F2;
  --color-border: #E3EAE7;
  --color-accent: #0C9B62;
  --color-accent-dark: #087A4C;
  --color-accent-soft: rgba(12, 155, 98, 0.10);
  --color-accent-line: rgba(12, 155, 98, 0.28);
  --color-accent-shadow: rgba(12, 155, 98, 0.50);
  --color-text: #1B2420;
  --color-text-muted: #5B6862;
  --color-success: #0C9B62;
  --color-warning: #D97706;
  --color-error: #DC2626;
  --color-shadow: rgba(27, 36, 32, 0.16);
  --color-shadow-soft: rgba(27, 36, 32, 0.10);
  --color-shadow-chip: rgba(27, 36, 32, 0.08);
  --color-shadow-toggle: rgba(27, 36, 32, 0.25);
  --color-hero-mint: rgba(12, 155, 98, 0.09);
  --color-hero-blue: rgba(147, 197, 253, 0.14);
  --color-header: rgba(247, 250, 249, 0.88);
  --color-transparent: transparent;
  --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', Menlo, Consolas, monospace;
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-float: 0 24px 60px -18px var(--color-shadow), 0 8px 24px -12px var(--color-shadow-soft);
  --shadow-soft: 0 10px 30px -12px var(--color-shadow);
  --shadow-chip: 0 2px 8px -2px var(--color-shadow-chip);
  --shadow-button: 0 10px 24px -8px var(--color-accent-shadow);
  --shadow-fab: 0 14px 32px -10px var(--color-accent-shadow);
  --nav-height: 68px;
  --content-width: 1180px;
  --reading-width: 820px;
  --gutter: clamp(16px, 3vw, 32px);
  --section-space: clamp(64px, 9vw, 116px);
  --transition-fast: 180ms ease;
  --transition-reveal: 560ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

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

html.nav-open {
  overflow: hidden;
}

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

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

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

svg[aria-hidden="true"] {
  pointer-events: none;
}

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

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

button,
input,
select,
textarea {
  color: var(--color-text);
  font: inherit;
}

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

button {
  border: 0;
}

ul,
ol {
  margin-top: 0;
}

p {
  margin: 0 0 1.15em;
}

strong {
  font-weight: 700;
}

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

code {
  font-size: 0.92em;
}

pre {
  max-width: 100%;
  margin: 1.4rem 0;
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-family: var(--font-mono);
  line-height: 1.65;
  -webkit-overflow-scrolling: touch;
}

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

table {
  border-collapse: collapse;
}

th,
td {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 4vw, 48px);
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
}

h3 {
  font-size: clamp(21px, 2vw, 28px);
}

h4 {
  font-size: 18px;
}

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

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

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

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

.reading-wrap {
  width: min(100%, 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);
}

.section-soft {
  border-block: 1px solid var(--color-border);
  background: var(--color-surface-soft);
  color: var(--color-text);
}

.section-white {
  background: var(--color-surface);
  color: var(--color-text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 6px 14px;
  overflow: hidden;
  border: 1px solid var(--color-accent-line);
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 700;
}

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

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

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

.panel,
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

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

.card {
  padding: 24px;
}

.card-flat {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
}

.button,
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border: 1px solid var(--color-transparent);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  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 svg,
.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-primary,
.btn-primary {
  background: var(--color-accent);
  color: var(--color-surface);
  box-shadow: var(--shadow-button);
}

.button-primary:hover,
.btn-primary:hover {
  background: var(--color-accent-dark);
  color: var(--color-surface);
}

.button-secondary,
.btn-ghost {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-chip);
}

.button-secondary:hover,
.btn-ghost:hover {
  border-color: var(--color-accent-line);
  background: var(--color-surface);
  color: var(--color-accent-dark);
}

.button-soft {
  border-color: var(--color-accent-line);
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

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

.button:not([disabled]):active,
.btn:not([disabled]):active {
  transform: translateY(1px);
}

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

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

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--nav-height);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-header);
  color: var(--color-text);
  backdrop-filter: blur(10px);
}

.head-row {
  position: relative;
  z-index: 3;
  width: min(100%, calc(1280px + var(--gutter) * 2));
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

.brand-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

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

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

.desktop-nav a {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  padding-inline: 13px;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 13px;
  bottom: 0;
  left: 13px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--color-transparent);
  content: "";
}

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

.desktop-nav a:hover::after {
  background: var(--color-border);
}

.desktop-nav a[aria-current="page"] {
  color: var(--color-text);
  font-weight: 700;
}

.desktop-nav a[aria-current="page"]::after {
  background: var(--color-accent);
}

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

.language-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  box-shadow: var(--shadow-chip);
  font-size: 14px;
}

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

.language-short {
  display: none;
}

.language-caret {
  font-size: 10px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 170px;
  padding: 7px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

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

.language-menu a {
  display: flex;
  min-height: 42px;
  width: 100%;
  align-items: center;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.language-menu a:hover,
.language-menu a[aria-current="true"] {
  background: var(--color-surface-soft);
  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-sm);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

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

.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: "";
}

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

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

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

.mobile-drawer {
  display: none;
}

.mobile-veil {
  display: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}

.footer-grid {
  width: min(100%, calc(1280px + var(--gutter) * 2));
  margin-inline: auto;
  padding: 64px var(--gutter) 36px;
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, 1fr));
  gap: 44px;
}

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

.footer-heading {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
}

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

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

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

.footer-bottom {
  width: min(100%, calc(1280px + var(--gutter) * 2));
  margin-inline: auto;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  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 system */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height) - 76px);
  overflow-x: clip;
  display: grid;
  align-content: center;
}

.hero-inner {
  width: min(100%, calc(1280px + var(--gutter) * 2));
  margin-inline: auto;
  padding: 48px var(--gutter) 64px;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  gap: 24px;
}

.hero-copy {
  max-width: 560px;
}

.hero-badges,
.fact-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.badge-pill,
.fact-pill,
.chip {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-chip);
  font-size: 13px;
}

.badge-pill,
.fact-pill {
  padding: 6px 13px;
  font-weight: 600;
}

.badge-pill code {
  color: var(--color-text);
  font-size: 12px;
}

.hero-title,
.hero-h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 3.3vw, 46px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.hero-title .word,
.hero-h1 .word {
  display: inline-block;
}

.hero-title .highlight,
.hero-h1 .highlight {
  padding-inline: 2px;
  border-radius: 4px;
  background: linear-gradient(to top, var(--color-accent-soft) 34%, var(--color-transparent) 34%);
  color: var(--color-accent-dark);
  font-style: normal;
}

.hero-subtitle,
.hero-sub {
  max-width: 31em;
  margin-bottom: 28px;
  color: var(--color-text-muted);
  font-size: 16.5px;
  line-height: 1.75;
}

.hero-subtitle strong,
.hero-sub strong {
  color: var(--color-text);
}

.hero-actions,
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.hero-checks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-checks svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--color-success);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip {
  padding: 6px 13px;
  background: var(--color-surface-soft);
  box-shadow: none;
  text-decoration: none;
}

.chip:hover {
  border-color: var(--color-accent-line);
  background: var(--color-surface);
  color: var(--color-accent-dark);
}

.rise {
  opacity: 0;
  transform: translateY(16px);
  animation: rise-in 550ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 50ms;
}

.delay-2 {
  animation-delay: 160ms;
}

.delay-3 {
  animation-delay: 270ms;
}

.delay-4 {
  animation-delay: 380ms;
}

.delay-5 {
  animation-delay: 500ms;
}

.delay-6 {
  animation-delay: 600ms;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-stage {
  position: relative;
  padding: 56px 8px 30px 60px;
}

.stage-glow {
  position: absolute;
  z-index: 0;
  inset: 6% 0 4% 4%;
  border-radius: 32px;
  background: linear-gradient(132deg, var(--color-hero-mint), var(--color-hero-blue));
}

.client-mock {
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: rotate(2deg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-float);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}

.window-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.window-dot-error {
  background: var(--color-error);
}

.window-dot-warning {
  background: var(--color-warning);
}

.window-dot-success {
  background: var(--color-success);
}

.mock-title {
  margin-left: 10px;
  color: var(--color-text-muted);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mock-body {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
}

.mock-side {
  padding: 16px 10px;
  border-right: 1px solid var(--color-border);
  background: var(--color-surface-soft);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-side span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 13.5px;
}

.mock-side span::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-border);
  content: "";
}

.mock-side .is-current {
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-chip);
  font-weight: 700;
}

.mock-side .is-current::before {
  background: var(--color-accent);
}

.mock-main {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.setting-row,
.subscription-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
}

.setting-meta b,
.subscription-meta b {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.setting-meta small,
.subscription-meta small {
  color: var(--color-text-muted);
  font-size: 12px;
}

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

.mock-toggle {
  position: relative;
  width: 44px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
  background: var(--color-border);
}

.mock-toggle::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: 0 1px 3px var(--color-shadow-toggle);
  content: "";
}

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

.mock-toggle.is-on::after {
  right: 3px;
  left: auto;
}

.segment-label {
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.segment-control {
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  color: var(--color-text);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.segment-control span {
  padding: 8px 2px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 13px;
  text-align: center;
}

.segment-control .is-current {
  background: var(--color-surface);
  color: var(--color-accent-dark);
  box-shadow: var(--shadow-chip);
  font-weight: 700;
}

.mock-small-button {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid var(--color-accent-line);
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.platform-float {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 0;
  padding: 14px 18px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.platform-icons {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.platform-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--color-text);
  font-size: 10px;
}

.platform-icon svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.platform-note {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

/* Generic content */
.prose {
  color: var(--color-text);
}

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

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

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

.prose p,
.prose li {
  color: var(--color-text-muted);
}

.prose a {
  overflow-wrap: anywhere;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 640px;
  background: var(--color-surface);
  color: var(--color-text);
}

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

.data-table th {
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-size: 13px;
}

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

.data-table tr:last-child td {
  border-bottom: 0;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }

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

@media (max-width: 1040px) {
  .desktop-nav a {
    padding-inline: 9px;
    font-size: 14px;
  }

  .hero-inner {
    grid-template-columns: 46% 54%;
  }

  .platform-icons {
    gap: 10px;
  }
}

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

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

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

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

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

  .mobile-drawer {
    position: fixed;
    z-index: 4;
    top: var(--nav-height);
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-soft);
  }

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

  .mobile-drawer-inner {
    width: min(100%, calc(var(--content-width) + var(--gutter) * 2));
    margin-inline: auto;
    padding: 12px var(--gutter) 22px;
  }

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

  .mobile-drawer a:hover,
  .mobile-drawer a[aria-current="page"] {
    background: var(--color-surface-soft);
    color: var(--color-text);
  }

  .drawer-languages {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
  }

  .drawer-label {
    padding: 4px 12px 7px;
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 700;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-stage {
    width: min(100%, 680px);
    margin-inline: auto;
  }

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

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

@media (max-width: 640px) {
  :root {
    --nav-height: 62px;
    --section-space: 64px;
  }

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

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

  .brand-logo {
    width: 34px;
    height: 34px;
  }

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

  .language-full {
    display: none;
  }

  .language-short {
    display: inline;
  }

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

  .hero-inner {
    padding-top: 38px;
    padding-bottom: 54px;
  }

  .hero-badges,
  .fact-pills,
  .hero-chips {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-subtitle,
  .hero-sub {
    margin-bottom: 22px;
    font-size: 15px;
  }

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

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

  .hero-checks {
    gap: 8px 14px;
    font-size: 13px;
  }

  .hero-stage {
    padding: 58px 0 10px;
  }

  .platform-float {
    left: 0;
    max-width: calc(100% - 12px);
    padding-inline: 12px;
  }

  .platform-icons {
    gap: 9px;
  }

  .platform-icon {
    font-size: 9px;
  }

  .client-mock {
    transform: none;
  }

  .mock-body {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .mock-side {
    padding-inline: 6px;
  }

  .mock-side span {
    padding-inline: 8px;
    font-size: 11px;
  }

  .mock-main {
    padding: 14px 12px 16px;
    gap: 10px;
  }

  .setting-row,
  .subscription-row {
    padding: 10px;
  }

  .setting-meta small {
    display: none;
  }

  .subscription-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .mock-small-button {
    align-self: flex-end;
  }

  .tilt,
  [class*="tilt"],
  [class*="rotate"] {
    transform: none !important;
  }

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

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

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

  .panel,
  .card {
    border-radius: var(--radius-md);
  }
}

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

  .head-row {
    gap: 8px;
  }

  .hero-actions,
  .hero-cta {
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-cta .btn {
    width: 100%;
    flex-basis: auto;
  }

  .platform-icons {
    gap: 7px;
  }

  .platform-icon svg {
    width: 17px;
    height: 17px;
  }

  .mock-body {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .mock-side span {
    gap: 5px;
    padding-inline: 5px;
  }
}