:root {
  color-scheme: light;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ink: oklch(0.2 0.045 238);
  --muted: oklch(0.47 0.035 238);
  --surface: oklch(0.975 0.01 238);
  --surface-strong: oklch(0.935 0.018 238);
  --panel: oklch(0.992 0.006 238);
  --panel-deep: oklch(0.9 0.03 238);
  --border: oklch(0.86 0.018 238);
  --brand: oklch(0.38 0.14 235);
  --brand-deep: oklch(0.24 0.095 238);
  --brand-soft: oklch(0.91 0.052 235);
  --signal: oklch(0.62 0.145 155);
  --amber: oklch(0.72 0.13 76);
  --rose: oklch(0.58 0.16 24);
  --white-tint: oklch(0.995 0.004 238);
  --shadow-soft: 0 24px 60px oklch(0.25 0.08 238 / 0.13);
  --shadow-tight: 0 12px 32px oklch(0.25 0.08 238 / 0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 18px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 4%, oklch(0.86 0.12 155 / 0.55), transparent 20rem),
    linear-gradient(135deg, var(--surface), oklch(0.955 0.018 214));
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

.inline-link {
  color: var(--brand);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 200;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--white-tint);
  background: var(--brand-deep);
  border-radius: var(--radius-sm);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  max-width: none;
  min-height: 68px;
  margin: 0;
  padding: 0.75rem max(1rem, calc((100vw - 1180px) / 2));
}

@media (max-width: 759px) {
  .site-header {
    min-height: 118px;
    align-items: flex-start;
  }

  .language-switcher {
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    left: 1rem;
  }

  .language-switcher select {
    width: 100%;
    max-width: none;
  }

  .site-header::before {
    height: 118px;
  }
}

.site-header::before {
  position: fixed;
  z-index: -1;
  inset: 0 0 auto;
  height: 72px;
  content: "";
  background: oklch(0.975 0.01 238 / 0.86);
  border-bottom: 1px solid oklch(0.86 0.018 238 / 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 820;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white-tint);
  background: var(--brand-deep);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 -10px 20px oklch(0.18 0.08 238 / 0.28);
}

.primary-nav,
.header-cta,
.menu-toggle {
  display: none;
}

.language-switcher {
  display: block;
}

.language-switcher select {
  min-height: 40px;
  max-width: 142px;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 650;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .ops-device {
  transform: rotate(2deg);
}

html[dir="rtl"] .route-map {
  right: auto;
  left: 0;
}

.menu-toggle {
  justify-self: end;
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.menu-icon::before {
  transform: translateY(-6px);
}

.menu-icon::after {
  transform: translateY(4px);
}

.nav-open .menu-icon {
  transform: rotate(45deg);
}

.nav-open .menu-icon::before {
  opacity: 0;
}

.nav-open .menu-icon::after {
  transform: translateY(-2px) rotate(90deg);
}

.nav-open .primary-nav {
  position: fixed;
  inset: 72px 1rem auto;
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-tight);
}

.primary-nav a {
  padding: 0.75rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.section-band {
  width: calc(100vw - 2rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero-copy,
.hero-actions,
.trust-strip {
  width: 100%;
  max-width: 100%;
}

.hero {
  display: grid;
  min-height: auto;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-top: clamp(2.25rem, 4vw, 4rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.hero > *,
.split-layout > *,
.contact-layout > *,
.section-heading > * {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 var(--space-3);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: min(100%, 18ch);
  margin-bottom: var(--space-6);
  font-size: clamp(3rem, 6.7vw, 5.8rem);
  font-weight: 820;
}

h2 {
  max-width: 12ch;
  margin-bottom: var(--space-6);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 820;
}

h3 {
  margin-bottom: var(--space-2);
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-lead,
.split-layout > div > p,
.contact-layout > div > p {
  width: 100%;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-8) 0 var(--space-6);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-weight: 760;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: transform 180ms var(--ease-quart), background 180ms var(--ease-quart), border-color 180ms var(--ease-quart);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white-tint);
  background: var(--brand-deep);
  box-shadow: 0 16px 36px oklch(0.24 0.095 238 / 0.22);
}

.button-secondary {
  color: var(--brand-deep);
  background: var(--panel);
  border-color: var(--border);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-strip li {
  padding: 0.45rem 0.65rem;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
}

.ops-device {
  position: relative;
  z-index: 2;
  width: min(360px, 82vw);
  padding: 0.75rem;
  color: var(--white-tint);
  background: var(--brand-deep);
  border: 1px solid oklch(0.45 0.07 238);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-2deg);
}

.device-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem 0.7rem;
}

.device-bar span {
  width: 8px;
  height: 8px;
  background: oklch(0.78 0.045 238);
  border-radius: 999px;
}

.device-screen {
  display: grid;
  gap: var(--space-3);
  min-height: 430px;
  padding: var(--space-4);
  background:
    linear-gradient(160deg, oklch(0.32 0.09 238), oklch(0.19 0.065 238)),
    var(--brand-deep);
  border-radius: 20px;
}

.screen-topline,
.signal-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: oklch(0.88 0.025 238);
  font-size: 0.84rem;
}

.priority-task {
  display: grid;
  gap: var(--space-2);
  align-self: start;
  padding: var(--space-4);
  background: oklch(0.985 0.006 238);
  border-radius: var(--radius-md);
  color: var(--ink);
}

.priority-task small {
  color: var(--brand);
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.priority-task strong {
  font-size: 1.35rem;
  line-height: 1.15;
}

.priority-task span {
  color: var(--muted);
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

.module-list span {
  min-height: 64px;
  padding: var(--space-3);
  background: oklch(0.41 0.07 238 / 0.7);
  border: 1px solid oklch(0.64 0.045 238 / 0.45);
  border-radius: var(--radius-md);
  color: oklch(0.93 0.018 238);
  font-weight: 650;
}

.signal-panel {
  justify-content: flex-start;
  gap: var(--space-2);
  padding: var(--space-3);
  background: oklch(0.25 0.06 238);
  border-radius: var(--radius-md);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 0 0 oklch(0.62 0.145 155 / 0.5);
  animation: pulse 2s infinite;
}

.route-map {
  position: absolute;
  right: 0;
  bottom: 1rem;
  z-index: 1;
  width: min(310px, 70vw);
  padding: var(--space-4);
  color: var(--brand-deep);
  background: oklch(0.98 0.015 155);
  border: 1px solid oklch(0.82 0.07 155);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-tight);
}

.route-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.route-map path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 8;
}

.route-base {
  stroke: oklch(0.78 0.06 155);
}

.route-live {
  stroke: var(--brand);
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw-route 4.8s var(--ease-out) infinite;
}

.route-map circle {
  fill: var(--brand-deep);
}

.split-layout,
.contact-layout {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
}

.description-stack {
  display: grid;
  gap: var(--space-4);
}

.description-stack article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}

.description-stack p,
.outcome-card p,
.price-card p,
.help-shell p,
.site-footer p {
  color: var(--muted);
}

.number {
  grid-row: span 2;
  color: var(--brand);
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

.section-heading {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p:not(.section-kicker) {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.outcome-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
  align-items: stretch;
}

.outcome-card,
.price-card {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px oklch(0.25 0.08 238 / 0.06);
}

.outcome-card:nth-child(2) {
  background: oklch(0.96 0.036 155);
  border-color: oklch(0.82 0.07 155);
}

.outcome-card:nth-child(3) {
  background: oklch(0.97 0.027 76);
  border-color: oklch(0.84 0.075 76);
}

.icon-badge {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white-tint);
  background: var(--brand-deep);
  border-radius: var(--radius-sm);
  font-weight: 820;
}

.proof {
  width: 100%;
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  background: var(--brand-deep);
}

.proof-panel {
  display: grid;
  gap: var(--space-8);
  color: var(--white-tint);
}

.proof .section-kicker {
  color: oklch(0.78 0.11 155);
}

.proof h2 {
  max-width: 14ch;
}

.proof-list {
  display: grid;
  gap: var(--space-4);
}

.proof-list p {
  margin: 0;
  padding: var(--space-4) 0;
  border-top: 1px solid oklch(0.58 0.04 238 / 0.45);
  color: oklch(0.9 0.018 238);
}

.price-card {
  position: relative;
}

.price-card.featured {
  color: var(--white-tint);
  background:
    radial-gradient(circle at 80% 12%, oklch(0.58 0.13 155 / 0.75), transparent 13rem),
    var(--brand-deep);
  border-color: oklch(0.47 0.08 238);
  box-shadow: var(--shadow-soft);
}

.price-card.featured p,
.price-card.featured li {
  color: oklch(0.9 0.018 238);
}

.plan-label {
  width: max-content;
  padding: 0.35rem 0.6rem;
  color: var(--brand-deep);
  background: oklch(0.83 0.12 155);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 820;
  line-height: 1;
}

.featured .price {
  color: var(--white-tint);
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.featured .price span {
  color: oklch(0.84 0.026 238);
}

.price-card ul {
  display: grid;
  gap: var(--space-2);
  padding-left: 1.1rem;
  margin: 0 0 var(--space-3);
}

.checkout-status {
  min-height: 1.35rem;
  margin: -0.15rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.checkout-status:empty {
  display: none;
}

.checkout-status-error {
  color: var(--rose);
}

.featured .checkout-status {
  color: oklch(0.84 0.026 238);
}

.featured .checkout-status-error {
  color: oklch(0.82 0.12 24);
}

.help-shell {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-4);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-tight);
}

.tab-list {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
}

.tab-button {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}

.tab-button.active {
  color: var(--white-tint);
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.tab-panel {
  max-width: 78ch;
}

details {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}

summary {
  cursor: pointer;
  font-weight: 760;
}

summary + p {
  margin: var(--space-3) 0 0;
}

.contact {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.contact-aside {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.contact-aside p {
  margin: 0;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
}

.contact-form {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-tight);
}

.form-row {
  display: grid;
  gap: var(--space-2);
}

label {
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: oklch(0.982 0.006 238);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.tab-button:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.field-error,
.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--rose);
  font-size: 0.9rem;
}

.form-status.success {
  color: oklch(0.42 0.14 155);
  font-weight: 650;
}

.site-footer {
  display: grid;
  gap: var(--space-6);
  width: calc(100vw - 2rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-nav {
  max-width: 42rem;
  justify-content: flex-start;
}

.site-footer a:not(.brand) {
  color: var(--muted);
  font-weight: 650;
}

.subpage-body {
  background:
    radial-gradient(circle at 82% 0%, oklch(0.86 0.12 155 / 0.38), transparent 18rem),
    linear-gradient(135deg, var(--surface), oklch(0.955 0.018 214));
}

.subpage-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.75rem max(1rem, calc((100vw - 1180px) / 2));
  background: oklch(0.975 0.01 238 / 0.88);
  border-bottom: 1px solid oklch(0.86 0.018 238 / 0.8);
  backdrop-filter: blur(18px);
}

.subpage-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-3);
}

.subpage-nav a {
  color: var(--muted);
  font-weight: 650;
}

.subpage-main {
  width: min(1180px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.doc-hero {
  display: grid;
  gap: var(--space-4);
  min-width: 0;
  max-width: 78ch;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.doc-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

.doc-hero p {
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.doc-card,
.doc-section {
  min-width: 0;
  padding: var(--space-6);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px oklch(0.25 0.08 238 / 0.055);
}

.doc-section {
  margin-bottom: var(--space-4);
}

.doc-card h2,
.doc-card h3,
.doc-section h2,
.doc-section h3 {
  margin-bottom: var(--space-3);
}

.doc-card p,
.doc-card li,
.doc-section p,
.doc-section li {
  color: var(--muted);
  overflow-wrap: break-word;
}

.doc-card ul,
.doc-section ul {
  display: grid;
  gap: var(--space-2);
  padding-left: 1.1rem;
}

.doc-card .button {
  width: max-content;
  margin-top: var(--space-2);
}

.doc-section code {
  color: var(--brand-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.checkout-result-main {
  min-height: calc(100vh - 150px);
  display: grid;
  align-items: center;
  justify-items: stretch;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  padding-right: var(--space-4);
  padding-left: var(--space-4);
}

.checkout-result {
  display: grid;
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
  max-width: min(48rem, 100%);
  padding: var(--space-8);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-tight);
}

.checkout-result h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  overflow-wrap: anywhere;
}

.checkout-result p:not(.section-kicker) {
  max-width: min(62ch, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  overflow-wrap: break-word;
}

.checkout-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0;
  margin: 0;
  list-style: none;
}

.doc-meta li {
  padding: 0.45rem 0.65rem;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 650;
}

.status-list {
  display: grid;
  gap: var(--space-3);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}

.status-badge {
  padding: 0.35rem 0.6rem;
  color: var(--brand-deep);
  background: oklch(0.9 0.07 155);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 820;
  white-space: nowrap;
}

.subpage-footer {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

@media (max-width: 760px) {
  .subpage-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .subpage-nav {
    justify-content: flex-start;
  }

  .doc-hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    overflow-wrap: anywhere;
  }

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

  .checkout-result {
    padding: var(--space-6);
  }

  .checkout-result-actions {
    flex-direction: column;
  }

  .checkout-result-actions .button {
    width: 100%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 16px oklch(0.62 0.145 155 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 oklch(0.62 0.145 155 / 0);
  }
}

@keyframes draw-route {
  0% {
    stroke-dashoffset: 420;
  }
  50%,
  100% {
    stroke-dashoffset: 0;
  }
}

@media (min-width: 760px) {
  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    display: flex;
    justify-self: center;
    gap: var(--space-2);
  }

  .primary-nav a {
    padding: 0.55rem 0.75rem;
  }

  .header-cta {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0.55rem 0.8rem;
    color: var(--white-tint);
    background: var(--brand-deep);
    border-radius: var(--radius-sm);
    font-weight: 760;
  }

  .language-switcher {
    position: static;
    display: block;
  }

  .language-switcher select {
    max-width: 160px;
  }

  .hero,
  .split-layout,
  .contact-layout,
  .proof-panel {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  }

  .section-heading {
    grid-template-columns: 1fr minmax(280px, 0.8fr);
    align-items: end;
  }

  .section-heading .section-kicker {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (min-width: 1040px) {
  .featured {
    transform: translateY(-1rem);
  }
}

@media (max-width: 520px) {
  .hero-copy,
  .hero-actions,
  .trust-strip {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }

  h1 {
    max-width: 10.8ch;
    font-size: clamp(2.45rem, 11.4vw, 2.85rem);
  }

  .hero-lead {
    max-width: 21.5rem;
    font-size: 1rem;
  }

  .problem {
    padding-top: 2rem;
  }

  .hero-actions .button,
  .form-submit {
    width: calc(100vw - 2rem);
    max-width: 21.5rem;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: minmax(0, 21.5rem);
  }

  .hero-visual {
    display: none;
  }

  .route-map {
    right: auto;
    left: 0;
    bottom: -1rem;
  }

  .ops-device {
    width: min(320px, 92vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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