/* ============================================================
   AUTO.RIA Analytics — Design Tokens & Base
   ============================================================ */

:root {
  /* Accent — фиолетово-синий */
  --accent: #635bff;
  --accent-2: #5146e5;
  --accent-soft: #eef0ff;
  --accent-border: #c4c0ff;

  /* Neutral */
  --bg: #f7f8fc;
  --bg-soft: #f2f4fa;
  --card: #ffffff;
  --border: #e6e9f2;
  --text: #1f2430;
  --muted: #8a91a0;

  /* Status */
  --success: #22c55e;
  --success-2: #16a34a;
  --success-soft: #eafbf1;
  --danger: #ef4444;
  --danger-soft: #fdecec;
  --warning: #f59e0b;
  --warning-soft: #fff6e5;
  --info: #3aa6ff;
  --info-soft: #e6f3ff;

  /* Skoring scale */
  --score-80: #22c55e;
  --score-65: #7c9c5a;
  --score-45: #c9a32e;
  --score-25: #d97a3a;
  --score-0:  #ef4444;

  /* Shadows */
  --shadow: 0 12px 30px rgba(31,36,48,.06);
  --shadow-hover: 0 6px 20px -10px rgba(0,0,0,.15);
  --shadow-accent: 0 4px 16px -8px rgba(99,91,255,.25);
  --shadow-cta: 0 8px 24px -10px rgba(99,91,255,.5);

  /* Radii */
  --r-card: 12px;
  --r-btn: 12px;
  --r-input: 8px;
  --r-icon: 11px;
  --r-pill: 99px;
  --r-bar: 6px 6px 2px 2px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.h1 {
  font-size: clamp(40px, 5.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
.h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.caption {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.tnum { font-variant-numeric: tabular-nums; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--r-btn);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px rgba(99,91,255,.6);
}
.btn--ghost {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}
.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 10px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,248,252,0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.9);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand__mark {
  width: 32px; height: 32px;
  border-radius: var(--r-icon);
  background: linear-gradient(135deg, var(--accent) 0%, #8b7dff 100%);
  display: grid; place-items: center;
  color: white;
  position: relative;
  box-shadow: var(--shadow-accent);
}
.brand__mark svg { width: 18px; height: 18px; }
.brand small {
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 2px;
  display: block;
  line-height: 1;
}
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: 8px;
}
.nav__links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .18s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__signin {
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 10px;
}
.nav__signin:hover { background: var(--accent-soft); color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 540px; height: 540px;
  background: radial-gradient(closest-side, rgba(99,91,255,0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 14px 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}
.hero__eyebrow .flag {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0057B7 50%, #FFDD00 50%);
  font-size: 0;
}
.hero__title {
  font-size: clamp(40px, 5.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #8b7dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 18px;
  max-width: 540px;
  text-wrap: pretty;
}
.hero__cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
}
.hero__trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.hero__trust strong { color: var(--text); font-weight: 700; }
.hero__trust .pipe {
  width: 1px; height: 16px; background: var(--border);
}

/* ============================================================
   HERO MOCKUP CARD — the visual signature
   ============================================================ */
.hero__mock {
  position: relative;
}
.hero__mock-stack {
  position: relative;
  display: grid;
  gap: 14px;
}
.mockup-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
}
.mockup-card__photo {
  width: 88px; height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, #EAE6FA 0%, #B7AEEC 60%, #8C7DDB 100%);
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
}
.mockup-card__photo svg { width: 80%; height: 80%; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)); }
.mockup-card__main { min-width: 0; }
.mockup-card__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
}
.mockup-card__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mockup-card__price {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.mockup-card__meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.mockup-card__chips {
  margin-top: 10px;
  display: flex; gap: 6px; flex-wrap: wrap;
}

/* SKORING circle — visual signature */
.skoring {
  --size: 64px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  font-weight: 800;
  position: relative;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.18);
  flex-shrink: 0;
}
.skoring::before {
  /* outer ring */
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.18;
}
.skoring--80 { background: var(--score-80); color: var(--score-80); }
.skoring--65 { background: var(--score-65); color: var(--score-65); }
.skoring--45 { background: var(--score-45); color: var(--score-45); }
.skoring--25 { background: var(--score-25); color: var(--score-25); }
.skoring--0  { background: var(--score-0);  color: var(--score-0);  }
.skoring__num {
  color: white;
  font-size: calc(var(--size) * 0.42);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.skoring__den {
  color: rgba(255,255,255,0.75);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 2px;
}
.skoring--lg { --size: 88px; }
.skoring--xl { --size: 120px; }

/* CHIP — capsule */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
}
.chip--success { background: var(--success-soft); color: var(--success-2); border-color: rgba(34,197,94,0.18); }
.chip--danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(239,68,68,0.18); }
.chip--warning { background: var(--warning-soft); color: #a16207; border-color: rgba(245,158,11,0.18); }
.chip--accent { background: var(--accent-soft); color: var(--accent); border-color: rgba(99,91,255,0.2); }
.chip i {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  display: inline-block;
  font-style: normal;
}

/* HERO mockup — featured big card */
.hero__featured {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  display: grid;
  gap: 18px;
}
.hero__featured-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.hero__featured-photo {
  width: 96px; height: 72px;
  border-radius: 10px;
  background: linear-gradient(135deg, #D9DBE3 0%, #B0B5C2 60%, #8E94A6 100%);
  display: grid; place-items: center;
  overflow: hidden;
}
.hero__featured-photo svg { width: 85%; height: 85%; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12)); }
.hero__featured-info h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hero__featured-info p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.hero__featured-price {
  text-align: right;
}
.hero__featured-price strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: block;
}
.hero__featured-price span {
  font-size: 11px;
  color: var(--success-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__featured-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.hero__featured-meta .skoring { --size: 56px; }
.hero__featured-meta-text {
  flex: 1;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.hero__featured-meta-text strong { color: var(--text); font-weight: 700; }

.hero__featured-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}

/* mini chart inside hero card */
.mini-chart {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 14px;
}
.mini-chart__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 10px;
}
.mini-chart__head strong { color: var(--text); }
.mini-chart svg { width: 100%; height: 60px; }

/* Floating insights card next to hero */
.hero__float {
  position: absolute;
  right: -16px;
  bottom: -28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  width: 240px;
}
.hero__float-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-icon);
  background: var(--success-soft);
  color: var(--success-2);
  display: grid; place-items: center;
}
.hero__float-icon svg { width: 20px; height: 20px; }
.hero__float-text {
  font-size: 13px;
  line-height: 1.4;
}
.hero__float-text strong { font-weight: 700; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  padding: 80px 0;
  position: relative;
}
.section--white { background: white; }
.section--soft { background: var(--bg-soft); }
.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex; flex-direction: column;
  gap: 14px;
  align-items: center;
}
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section__title {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.section__sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 600px;
  text-wrap: pretty;
}

/* ============================================================
   PAINS — 6 cards grid
   ============================================================ */
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pain {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pain:hover {
  transform: translateY(-2px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-accent);
}
.pain__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-icon);
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.pain__icon svg { width: 24px; height: 24px; }
.pain--success .pain__icon { background: var(--success-soft); color: var(--success-2); }
.pain--warning .pain__icon { background: var(--warning-soft); color: var(--warning); }
.pain--danger  .pain__icon { background: var(--danger-soft); color: var(--danger); }
.pain--info    .pain__icon { background: var(--info-soft); color: var(--info); }
.pain__q {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pain__a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  text-wrap: pretty;
}
.pain__a b { color: var(--text); font-weight: 600; }

/* ============================================================
   HOW IT WORKS — 3 steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.step {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px 24px;
  position: relative;
  display: flex; flex-direction: column;
  gap: 14px;
}
.step__num {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border: 2px solid var(--accent);
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.step__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.step__body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  text-wrap: pretty;
}
.step__visual {
  margin-top: auto;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 14px;
  display: flex; flex-direction: column;
  gap: 10px;
  min-height: 100px;
}
.step__chip-row {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.step__live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--muted);
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}
.step__live .dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  60% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* ============================================================
   FEATURES — alternating left/right
   ============================================================ */
.feat-stack {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.feat {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.feat--rev { grid-template-columns: 1.05fr 1fr; }
.feat--rev .feat__copy { order: 2; }
.feat--rev .feat__visual { order: 1; }
.feat__num {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: max-content;
  margin-bottom: 16px;
}
.feat__title {
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 800;
}
.feat__sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 14px;
  text-wrap: pretty;
}
.feat__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.feat__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.feat__list svg {
  width: 18px; height: 18px;
  color: var(--success-2);
  margin-top: 2px;
}
.feat__list b { font-weight: 700; }

.feat__visual {
  position: relative;
}

/* generic product panel for feature visuals */
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px;
  box-shadow: var(--shadow);
}
.panel__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.panel__title {
  font-size: 14px;
  font-weight: 700;
}
.panel__crumb {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* histogram for "Аналитика модели" */
.histo {
  display: flex; align-items: flex-end;
  gap: 4px;
  height: 120px;
  margin-bottom: 12px;
}
.histo__bar {
  flex: 1;
  background: var(--accent);
  border-radius: var(--r-bar);
  position: relative;
  opacity: 0.55;
  transition: opacity .18s ease, transform .18s ease;
}
.histo__bar:hover { opacity: 1; transform: scaleY(1.04); transform-origin: bottom; }
.histo__bar--peak { opacity: 1; }
.histo__axis {
  display: flex; justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
  font-weight: 600;
}

.q-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.q-cell {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px 12px;
}
.q-cell__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.q-cell__value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

/* car list — for skoring feature */
.car-list {
  display: flex; flex-direction: column;
  gap: 10px;
}
.car-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.car-row__main { min-width: 0; }
.car-row__title {
  font-size: 14px;
  font-weight: 700;
}
.car-row__meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.car-row__price {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.car-row__price small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.car-row__price small.good { color: var(--success-2); }
.car-row__price small.bad { color: var(--danger); }
.car-row__price small.ok { color: var(--muted); }

/* saved searches */
.search-stack {
  display: flex; flex-direction: column;
  gap: 10px;
}
.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.search-row__name {
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.search-row__meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.search-row__deltas {
  display: flex; gap: 6px;
}

/* dossier — feature 3 */
.dossier {
  display: flex; flex-direction: column;
  gap: 12px;
}
.dossier-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.dossier-block__head {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 8px;
}
.dossier-block--blue   .dossier-block__head { background: var(--info-soft); color: #2563eb; }
.dossier-block--green  .dossier-block__head { background: var(--success-soft); color: var(--success-2); }
.dossier-block--orange .dossier-block__head { background: var(--warning-soft); color: #b45309; }
.dossier-block--red    .dossier-block__head { background: var(--danger-soft); color: var(--danger); }
.dossier-block__head svg { width: 14px; height: 14px; }
.dossier-block__rows {
  padding: 4px 0;
}
.dossier-block__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 8px 14px;
  font-size: 13px;
  border-top: 1px solid var(--border);
}
.dossier-block__row:first-child { border-top: 0; }
.dossier-block__row span:first-child { color: var(--muted); }
.dossier-block__row span:last-child {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dossier-block__row .ok { color: var(--success-2); }
.dossier-block__row .no { color: var(--danger); }

/* compare table */
.compare {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}
.compare__head {
  display: grid;
  grid-template-columns: 110px repeat(3, 1fr);
  background: var(--bg-soft);
}
.compare__col-head {
  padding: 14px 12px;
  border-left: 1px solid var(--border);
}
.compare__col-head:first-child { border-left: 0; }
.compare__col-head--label {
  display: flex; align-items: center;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.compare__title {
  font-size: 13px;
  font-weight: 700;
}
.compare__sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.compare__row {
  display: grid;
  grid-template-columns: 110px repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.compare__cell {
  padding: 12px;
  font-size: 13px;
  border-left: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.compare__cell:first-child {
  border-left: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare__cell .good { color: var(--success-2); font-weight: 700; }
.compare__cell .bad  { color: var(--danger); font-weight: 700; }

/* VIN lookup */
.vin-input {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  padding: 6px 6px 6px 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.vin-input:focus-within {
  background: white;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.vin-input__pre {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--muted);
  padding-right: 10px;
  border-right: 1px solid var(--border);
}
.vin-input input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  outline: none;
  text-transform: uppercase;
  min-width: 0;
}
.vin-input .btn { padding: 10px 18px; font-size: 13px; }

.vin-decoded {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.vin-decoded__cell {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px 12px;
}
.vin-decoded__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.vin-decoded__value {
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.vin-sources {
  margin-top: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
}

/* ============================================================
   SOURCES STRIP
   ============================================================ */
.sources {
  background: white;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.sources__caption {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}
.sources__caption strong { color: var(--text); font-weight: 700; }
.sources__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 48px;
}
.sources__item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  opacity: 0.85;
}
.sources__icon {
  width: 32px; height: 32px;
  border-radius: var(--r-icon);
  display: grid; place-items: center;
  background: var(--bg-soft);
  color: var(--accent);
}
.sources__icon svg { width: 18px; height: 18px; }
.sources__item small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

/* ============================================================
   PRICING — 3 columns
   ============================================================ */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.tier {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tier:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); border-color: var(--accent-border); }
.tier--popular {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-accent);
}
.tier__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-accent);
}
.tier__name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.tier__price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tier__price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}
.tier__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
}
.tier__cta {
  width: 100%;
  justify-content: center;
}
.tier__divider {
  height: 1px;
  background: var(--border);
}
.tier__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.tier__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14px;
  align-items: start;
  line-height: 1.45;
}
.tier__list svg {
  width: 16px; height: 16px;
  color: var(--success-2);
  margin-top: 2px;
}
.tier__list li.is-off {
  color: var(--muted);
}
.tier__list li.is-off svg { color: var(--border); }
.tier__list li b { font-weight: 700; color: var(--text); }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 10px;
}
.faq__item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer;
}
.faq__q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform .18s ease;
  width: 22px; text-align: center;
  line-height: 1;
}
.faq__item.is-open .faq__q::after { content: '−'; color: var(--accent); }
.faq__a {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  display: none;
  text-wrap: pretty;
}
.faq__item.is-open .faq__a { display: block; }
.faq__a b { color: var(--text); font-weight: 600; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  margin: 0 24px 80px;
}
.final-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #635bff 0%, #8b7dff 100%);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
  color: white;
}
.final-cta__bg {
  position: absolute;
  inset: 0; pointer-events: none;
  opacity: 0.16;
}
.final-cta__title {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: white;
}
.final-cta__sub {
  margin-top: 14px;
  font-size: 16px;
  opacity: 0.9;
  max-width: 480px;
  line-height: 1.5;
}
.final-cta__actions {
  margin-top: 26px;
  display: flex; gap: 12px;
}
.final-cta .btn--primary {
  background: white;
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.final-cta .btn--ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.45);
}
.final-cta .btn--ghost:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  color: white;
}
.final-cta__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.final-cta__stat {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-card);
  padding: 16px 18px;
}
.final-cta__stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.final-cta__stat span {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: white;
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__about {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 340px;
}
.footer__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer__links {
  display: flex; flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 14px;
  color: var(--muted);
}
.footer__links a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  gap: 24px;
  flex-wrap: wrap;
}
.lang {
  display: inline-flex;
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}
.lang button {
  border: 0;
  background: transparent;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lang button.is-active {
  background: white;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__float { position: static; width: auto; margin-top: 12px; }
  .feat, .feat--rev { grid-template-columns: 1fr; gap: 32px; }
  .feat--rev .feat__copy { order: 1; }
  .feat--rev .feat__visual { order: 2; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .pains { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier--popular { order: -1; }
  .vin-decoded { grid-template-columns: repeat(2, 1fr); }
  .compare__head, .compare__row { grid-template-columns: 90px repeat(3, 1fr); }
  .final-cta__inner { grid-template-columns: 1fr; padding: 36px 28px; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 40px 0 64px; }
  .section { padding: 56px 0; }
  .feat-stack { gap: 56px; }
}
