/* ALIX landing — ranglar ilovadagi AppPalette bilan bir xil (lib/core/theme/app_palette.dart). */

/* ─── Fonts ─────────────────────────────────────────────────────────────── */
@font-face { font-family: 'Manrope'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/manrope-regular.woff') format('woff'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/manrope-medium.woff') format('woff'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/manrope-semibold.woff') format('woff'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/manrope-bold.woff') format('woff'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/manrope-extrabold.woff') format('woff'); }

/* ─── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --orange: #FF6A13;
  --orange-deep: #E05605;
  --orange-soft: #FFF0E6;
  --orange-text: #B23F00;
  --ink: #3A3A3A;
  --ink-strong: #1E1E1E;
  --success: #12A150;
  --success-soft: #E7F6EE;

  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --sand: #F4F2EE;
  --border: #E8E6E2;
  --text: #2A2A2A;
  --muted: #616161;
  --mark-ink: #3A3A3A;
  --header-bg: rgba(255, 255, 255, 0.82);

  --map-bg: #EEEBE5;
  --map-block: #E3DFD8;
  --map-road: #FFFFFF;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(30, 30, 30, 0.06);
  --shadow: 0 12px 32px -12px rgba(30, 30, 30, 0.18);
  --shadow-lg: 0 40px 80px -24px rgba(30, 30, 30, 0.28);

  --container: 1180px;
  --gutter: 24px;
  --header-h: 72px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --orange-soft: rgba(255, 106, 19, 0.14);
    --orange-text: #FF8A47;
    --success-soft: rgba(18, 161, 80, 0.16);

    --bg: #141414;
    --surface: #1E1E1E;
    --sand: #1A1A1A;
    --border: #2E2E2E;
    --text: #F4F2EE;
    --muted: #A3A3A3;
    --mark-ink: #E8E6E2;
    --header-bg: rgba(20, 20, 20, 0.8);

    --map-bg: #232323;
    --map-block: #2B2B2B;
    --map-road: #353535;

    --shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 40px 80px -24px rgba(0, 0, 0, 0.7);

    color-scheme: dark;
  }
}

/* ─── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: var(--text); }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink-strong); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; border-radius: 16px; }

.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(255, 106, 19, 0.7);
}
.btn-primary:hover { background: var(--orange-deep); }

.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-ghost .icon { transition: transform .2s; }
.btn-ghost:hover .icon { transform: translateX(3px); }

/* ─── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 46px; height: auto; }
.brand-mark .mark-ink { fill: var(--mark-ink); }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: 0.04em; line-height: 1; display: flex; flex-direction: column; }
.brand-sub { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a:not(.btn) {
  padding: 8px 12px; border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.site-nav a:not(.btn):hover { color: var(--text); background: var(--sand); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
}
.lang-switch button {
  border: 0; background: transparent;
  min-width: 38px; height: 32px; padding: 0 8px; border-radius: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted);
  transition: background-color .2s, color .2s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.is-active { background: var(--ink-strong); color: #fff; }
@media (prefers-color-scheme: dark) {
  .lang-switch button.is-active { background: var(--orange); }
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  align-items: center; justify-content: center;
}
.nav-toggle .icon-close { display: none; }
.is-open .nav-toggle .icon-open { display: none; }
.is-open .nav-toggle .icon-close { display: block; }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(255, 106, 19, 0.16), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, rgba(255, 106, 19, 0.07), transparent 70%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  opacity: 0.6;
}

.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center; gap: 56px;
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-text);
  font-size: 13px; font-weight: 700;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 19, 0.22);
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(38px, 5.4vw, 64px);
  letter-spacing: -0.035em; line-height: 1.04;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--orange); }

.hero-sub { margin-top: 22px; max-width: 540px; font-size: 18px; color: var(--muted); }

.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-points { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.hero-points .icon {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  background: var(--success-soft); color: var(--success); stroke-width: 3;
}

/* Phone mock */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone {
  position: relative; width: 310px; aspect-ratio: 310 / 640;
  padding: 11px; border-radius: 48px;
  background: #121212;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c2c2c;
  transform: rotate(-2deg);
}
.phone-notch {
  position: absolute; top: 20px; left: 50%; z-index: 3;
  width: 92px; height: 26px; margin-left: -46px;
  border-radius: 20px; background: #121212;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  background: var(--map-bg);
}
.map { position: absolute; inset: 0; width: 100%; height: 72%; }
.map-bg { fill: var(--map-bg); }
.map-block { fill: var(--map-block); }
.map-road { stroke: var(--map-road); stroke-width: 9; fill: none; }
.map-road.thin { stroke-width: 4; }
.route-shadow { fill: none; stroke: rgba(255, 106, 19, 0.25); stroke-width: 12; stroke-linecap: round; }
.route {
  fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: draw 2.4s .4s cubic-bezier(.6, 0, .2, 1) forwards;
}
.pin-a circle:first-child { fill: var(--ink-strong); }
.pin-b path { fill: var(--orange); }
.pin-core { fill: #fff; }
.truck-dot circle { fill: var(--orange); }
.truck-dot .pulse { fill: rgba(255, 106, 19, 0.25); transform-origin: center; transform-box: fill-box; animation: pulse 2s ease-out infinite; }
.truck-glyph { fill: #fff; }

.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 18px 18px;
  background: var(--surface);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.25);
}
.sheet-grip { width: 40px; height: 4px; margin: 0 auto 12px; border-radius: 4px; background: var(--border); }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.sheet-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sheet-number { font-size: 17px; font-weight: 800; margin-top: 2px; }
.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-text);
  font-size: 11px; font-weight: 700;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: blink 1.4s infinite; }

.route-list { position: relative; margin-top: 12px; display: grid; gap: 8px; }
.route-list::before {
  content: ''; position: absolute; left: 5px; top: 14px; bottom: 14px;
  border-left: 2px dashed var(--border);
}
.route-row { display: flex; align-items: center; gap: 12px; }
.route-mark { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.mark-a { background: var(--ink-strong); box-shadow: 0 0 0 3px var(--surface); }
@media (prefers-color-scheme: dark) { .mark-a { background: #F4F2EE; } }
.mark-b { background: var(--orange); box-shadow: 0 0 0 3px var(--surface); }
.route-label { font-size: 10px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.route-city { font-size: 14px; font-weight: 700; line-height: 1.3; }

.progress { margin-top: 12px; height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange-deep), var(--orange)); }

.driver-row {
  margin-top: 12px; padding: 10px; border-radius: 14px; background: var(--sand);
  display: flex; align-items: center; gap: 10px;
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--ink-strong); color: #fff; font-size: 12px; font-weight: 800;
}
.driver-info { flex: 1; min-width: 0; }
.driver-label { font-size: 10px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.plate {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 2px;
  padding: 1px 6px 1px 1px; border: 1.5px solid var(--text); border-radius: 4px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.4;
}
.plate span { padding: 0 4px; border-right: 1.5px solid var(--text); }
.tariff-chip {
  padding: 4px 9px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 11px; font-weight: 700;
}
.eta { margin-top: 10px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.eta .icon { width: 14px; height: 14px; color: var(--orange); }

.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip-icon {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange);
}
.chip-icon.ok { background: var(--success-soft); color: var(--success); }
.chip-icon .icon { width: 18px; height: 18px; stroke-width: 2.5; }
.chip-found { top: 18%; left: -2%; }
.chip-price { bottom: 22%; right: -4%; animation-delay: -3s; }

/* ─── Stats ─────────────────────────────────────────────────────────────── */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 24px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat-value::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 2px; background: var(--orange); vertical-align: 0.2em; }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 220px; }

/* ─── Sections ──────────────────────────────────────────────────────────── */
.section { padding: 104px 0; }
.section-sand { background: var(--sand); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.align-left { margin: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-text);
}
.eyebrow::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--orange); }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.03em; }
.section-sub { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* Audience */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-card {
  display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.audience-card h3 { margin-top: 22px; font-size: 24px; }
.card-text { margin-top: 8px; color: var(--muted); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange);
}
.card-icon .icon { width: 28px; height: 28px; }

.check-list { margin-top: 24px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.45; }
.check-list .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--orange); stroke-width: 2.6; }

.audience-card.is-ink { background: var(--ink-strong); border-color: var(--ink-strong); color: #F4F2EE; }
.audience-card.is-ink h3 { color: #fff; }
.audience-card.is-ink .card-text { color: #B8B5AF; }
.audience-card.is-ink .card-icon { background: var(--orange); color: #fff; }
@media (prefers-color-scheme: dark) {
  .audience-card.is-ink { background: #262626; border-color: #333; }
}

.card-link {
  margin-top: auto; padding-top: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--orange-text);
}
.card-link .icon { width: 16px; height: 16px; }
.card-link:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
}
.step::after {
  content: ''; position: absolute; top: 47px; right: -21px; width: 22px;
  border-top: 2px dashed var(--orange); opacity: .55;
}
.step:last-child::after { display: none; }
.step-num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink-strong); color: #fff; font-weight: 800; font-size: 14px;
}
.step:last-child .step-num { background: var(--orange); }
.step h3 { margin-top: 20px; font-size: 19px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.feature { padding: 36px 32px; background: var(--surface); transition: background-color .2s; }
.feature:hover { background: var(--sand); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange);
}
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { margin-top: 20px; font-size: 19px; }
.feature p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Transport */
.transport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.transport-card {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.transport-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.truck-art {
  width: 100%; height: auto; padding: 18px 10px 6px;
  border-radius: var(--radius); background: var(--sand);
}
.truck-art .ground { stroke: var(--border); stroke-width: 2; stroke-dasharray: 6 6; }
.truck-art .body { fill: var(--orange); }
.truck-art .load { fill: #C9A57B; }
.truck-art .body-line { stroke: rgba(0, 0, 0, 0.16); stroke-width: 2; }
.truck-art .cab { fill: var(--ink); }
.truck-art .window { fill: #9FC3D9; }
.truck-art .chassis { stroke: var(--ink-strong); stroke-width: 5; stroke-linecap: round; }
.truck-art .wheel circle { fill: var(--ink-strong); stroke: var(--sand); stroke-width: 3; }
@media (prefers-color-scheme: dark) {
  .truck-art .cab { fill: #4A4A4A; }
  .truck-art .chassis { stroke: #555; }
  .truck-art .wheel circle { fill: #0E0E0E; }
}
.transport-card h3 { margin-top: 22px; font-size: 22px; }
.transport-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  padding: 5px 11px; border-radius: 999px;
  background: var(--sand); font-size: 12px; font-weight: 700; color: var(--muted);
}

/* Payment */
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pay {
  display: flex; flex-direction: column; gap: 18px;
  padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.pay-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink-strong); color: #fff;
}
@media (prefers-color-scheme: dark) { .pay-icon { background: #2E2E2E; color: var(--orange); } }
.pay-icon .icon { width: 24px; height: 24px; }
.pay h3 { font-size: 18px; }
.pay p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Download */
.download-section { padding-top: 0; }
.download {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 64px; border-radius: 32px;
  background: var(--ink-strong); color: #fff;
  isolation: isolate;
}
@media (prefers-color-scheme: dark) { .download { background: #232323; border: 1px solid var(--border); } }
.download-stripes {
  position: absolute; right: -40px; top: -60px; bottom: -60px; z-index: -1;
  display: flex; gap: 14px; transform: rotate(14deg); opacity: .9;
}
.download-stripes span { width: 46px; background: rgba(255, 255, 255, 0.05); border-radius: 6px; }
.download-stripes span:last-child { width: 90px; background: var(--orange); opacity: .9; }
.download-copy { max-width: 520px; }
.download h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.download p { margin-top: 12px; color: #B8B5AF; font-size: 17px; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  height: 62px; padding: 0 22px 0 18px; border-radius: 16px;
  background: #fff; color: var(--ink-strong);
  transition: transform .2s, box-shadow .2s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5); }
.store-btn .icon { width: 28px; height: 28px; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-text small { font-size: 11px; font-weight: 600; opacity: .7; }
.store-text strong { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.soon-badge {
  position: absolute; top: -10px; right: -8px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 800;
  display: none;
}
.store-btn.is-soon { cursor: default; }
.store-btn.is-soon:hover { transform: none; box-shadow: none; }
.store-btn.is-soon .soon-badge { display: inline-block; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { display: grid; gap: 12px; }
.faq {
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: border-color .2s;
}
.faq[open] { border-color: var(--orange); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 32px; height: 32px; padding: 7px; border-radius: 10px;
  background: var(--sand); transition: background-color .2s, color .2s;
}
.faq summary .icon use { transform-box: fill-box; transform-origin: center; transition: transform .25s; }
.faq[open] summary .icon { background: var(--orange); color: #fff; }
.faq[open] summary .icon use { transform: rotate(45deg); }
.faq p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer { padding: 72px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 300px; color: var(--muted); font-size: 15px; }
.footer-title { margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.footer-col a:hover { color: var(--orange-text); }
.footer-col .icon { width: 18px; height: 18px; }
.footer-bottom {
  position: relative; margin-top: 56px; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 14px; color: var(--muted);
}
.footer-bottom::before {
  content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid var(--border);
}
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.to-top .icon { width: 16px; height: 16px; }
.to-top:hover { color: var(--text); }

/* ─── Motion ────────────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.audience-grid .reveal:nth-child(2), .steps .reveal:nth-child(2), .feature-grid .reveal:nth-child(3n+2),
.transport-grid .reveal:nth-child(2), .pay-grid .reveal:nth-child(2), .stats-grid .reveal:nth-child(2) { transition-delay: .08s; }
.audience-grid .reveal:nth-child(3), .steps .reveal:nth-child(3), .feature-grid .reveal:nth-child(3n),
.transport-grid .reveal:nth-child(3), .pay-grid .reveal:nth-child(3), .stats-grid .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4), .stats-grid .reveal:nth-child(4) { transition-delay: .24s; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes blink { 50% { opacity: .3; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .route { stroke-dashoffset: 0; }
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .site-nav a:not(.btn) { padding: 8px 9px; font-size: 14px; }
  .header-inner { gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .download { flex-direction: column; align-items: flex-start; padding: 48px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; }

  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 20px var(--gutter) 32px; margin: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    overflow-y: auto;
  }
  .is-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav a:not(.btn) { padding: 14px 12px; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--border); border-radius: 0; }
  .site-nav a:not(.btn):hover { background: transparent; }
  .nav-cta-mobile { display: inline-flex; margin-top: 20px; height: 54px; }

  .hero { padding: 40px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-points { justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px; border-left: 0; }
  .stat:first-child { padding-left: 24px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }

  .audience-grid, .transport-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout .section-head { position: static; text-align: center; margin: 0 auto; }

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

@media (max-width: 600px) {
  :root { --gutter: 16px; }

  .brand-mark { width: 40px; }
  .brand-name { font-size: 18px; }
  .lang-switch button { min-width: 34px; padding: 0 6px; }

  .hero-title { font-size: clamp(32px, 9.4vw, 42px); }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-points { flex-direction: column; align-items: center; gap: 10px; }

  .phone { width: 272px; }
  .chip-found { left: 0; top: 8%; }
  .chip-price { right: 0; bottom: -2%; }
  .float-chip { font-size: 13px; padding: 8px 12px 8px 8px; }

  .stat { padding: 20px 14px; }
  .stat:first-child { padding-left: 14px; }
  .stat-value { font-size: 26px; }
  .stat-label { font-size: 13px; }

  .section { padding: 64px 0; }
  .section-sub { font-size: 16px; }
  .audience-card, .transport-card { padding: 24px; }
  .steps, .feature-grid, .pay-grid { grid-template-columns: 1fr; }
  .feature { padding: 28px 24px; }

  .download { padding: 36px 24px; border-radius: 24px; }
  .download-stripes { opacity: .35; }
  .store-buttons { width: 100%; flex-direction: column; }
  .store-btn { width: 100%; }

  .faq summary { padding: 18px; font-size: 16px; }
  .faq p { padding: 0 18px 18px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Legal (offerta) pages ─────────────────────────────────────────────── */
.legal { padding: 48px 0 96px; }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }

.legal-toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto;
  padding-right: 8px;
}
.toc-title { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.legal-toc ol { display: grid; gap: 2px; }
.legal-toc a {
  display: flex; gap: 8px; padding: 7px 10px; border-radius: 10px;
  font-size: 13.5px; line-height: 1.35; color: var(--muted);
  transition: background-color .2s, color .2s;
}
.legal-toc a:hover { background: var(--sand); color: var(--text); }
.legal-toc a.is-current { background: var(--orange-soft); color: var(--orange-text); font-weight: 700; }
.toc-num { flex: none; min-width: 22px; font-weight: 700; }
.legal-toc li.is-appendix .toc-num { min-width: 0; }
.legal-toc li.is-appendix a { flex-direction: column; gap: 0; }
.legal-toc li.is-appendix .toc-num { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--orange-text); }

.legal-doc { min-width: 0; max-width: 820px; }
.legal-head { padding-bottom: 32px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal-head h1 { margin-top: 14px; font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.03em; }
.legal-subtitle { margin-top: 10px; font-size: 18px; font-weight: 600; color: var(--muted); }
.legal-meta { margin-top: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.legal-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.legal-actions .icon { width: 18px; height: 18px; }
.legal-notice {
  margin-top: 20px; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px;
  background: var(--orange-soft); color: var(--orange-text); font-size: 14px; font-weight: 600;
}
.legal-notice .icon { width: 18px; height: 18px; }
html[lang="ru"] .legal-notice { display: none; }

.legal-body { font-size: 16px; line-height: 1.72; }
.legal-body h2 {
  display: flex; flex-direction: column; gap: 4px;
  margin: 48px 0 16px; padding-top: 8px;
  font-size: 24px; letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal-body h2.appendix { margin-top: 64px; padding-top: 32px; border-top: 1px dashed var(--border); }
.h-num { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-text); }
.legal-body h3 { margin: 24px 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.legal-body p { margin: 0 0 12px; }
.legal-body p.clause { padding-left: 0; }
.clause-num { font-weight: 800; color: var(--text); margin-right: 2px; }
.legal-body p.term { padding: 12px 16px; margin-bottom: 8px; border-radius: 12px; background: var(--sand); }
.legal-body dfn { font-style: normal; font-weight: 800; }
.legal-body ul { margin: 4px 0 16px; padding-left: 4px; display: grid; gap: 6px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); }
.legal-body a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

.table-wrap { margin: 12px 0 20px; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-body th, .legal-body td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.legal-body th { background: var(--sand); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.legal-body tr:last-child td { border-bottom: 0; }

.legal-footer { padding: 0 0 32px; border-top: 0; }
.legal-footer .footer-bottom { margin-top: 0; }

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc {
    position: static; max-height: none; overflow: visible; padding: 16px;
    border: 1px solid var(--border); border-radius: var(--radius); order: 0;
  }
  .legal-toc nav { max-height: 320px; overflow-y: auto; }
}
@media (max-width: 600px) {
  .legal { padding-top: 28px; }
  .legal-back span { display: none; }
  .legal-back { padding: 0 12px; }
  .legal-body { font-size: 15px; }
  .legal-body h2 { font-size: 21px; }
  .legal-actions .btn { flex: 1 1 auto; }
}

@media print {
  .site-header, .legal-toc, .legal-actions, .legal-notice, .site-footer { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .legal { padding: 0; }
  .legal-layout { display: block; }
  .legal-doc { max-width: none; }
  .legal-body p.term { background: none; padding: 0; }
  .legal-body a { color: #000; text-decoration: none; }
  .legal-body h2 { break-after: avoid; }
  .legal-body h2.appendix { break-before: page; border: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
