/* FONTS - Montserrat (variable, локално) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/montserrat-cyrillic-wght-normal.woff2) format('woff2-variations'),
       url(/assets/fonts/montserrat-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/montserrat-latin-wght-normal.woff2) format('woff2-variations'),
       url(/assets/fonts/montserrat-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

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

:root {
  --bg: #FAFAF8;
  --bg-alt: #F4F3F0;
  --surface: #FFFFFF;
  --ink: #0E0E0D;
  --ink-soft: #4A4A47;
  --muted: #8B8B86;
  --border: #E6E4DE;
  --navy: #1E3A5F;
  --navy-soft: #4F6E91;
  --navy-tint: #EEF2F6;
  --good: #2E6B4F;
  --warn: #9A6B1F;
  --bad: #A33B3B;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

::selection { background: var(--navy); color: #fff; }

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(250,250,248,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.btn-nav {
  background: var(--navy); color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; border-radius: 6px;
  text-decoration: none; transition: background 0.15s;
}
.btn-nav:hover { background: #16314f; }

/* HERO */
.hero {
  padding: 168px 48px 100px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--navy);
  background: var(--navy-tint);
  border: 1px solid #DDE6EF;
  padding: 6px 14px 6px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  flex-shrink: 0;
}
.hero-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -2px;
  margin-bottom: 22px;
  color: var(--ink);
  max-width: 800px;
}
.hero-h1 .accent { color: var(--navy-soft); }
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-cta-group { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; margin-bottom: 64px; }
.btn-primary {
  background: var(--navy); color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px; font-weight: 600;
  padding: 13px 26px; border-radius: 7px;
  text-decoration: none; display: inline-block;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: #16314f; transform: translateY(-1px); }
.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px; font-weight: 600;
  padding: 13px 26px; border-radius: 7px;
  text-decoration: none; display: inline-block;
  transition: border-color 0.15s;
}
.btn-secondary:hover { border-color: #C7C4BA; }

/* HERO VISUAL - Score card */
.hero-visual {
  width: 100%; max-width: 760px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(14,14,13,0.04), 0 12px 32px rgba(14,14,13,0.05);
  overflow: hidden;
  text-align: left;
}
.visual-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.visual-topbar-label {
  font-family: 'Montserrat', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.5px;
}
.visual-dots { display: flex; gap: 6px; }
.visual-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }

.visual-body { padding: 32px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.visual-car-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px; font-weight: 600; color: var(--ink);
  margin-bottom: 4px;
}
.visual-car-meta {
  font-family: 'Montserrat', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 11.5px; color: var(--muted);
  margin-bottom: 24px;
}
.visual-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.visual-price-item { }
.visual-price-label {
  font-size: 11px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.visual-price-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--ink);
}
.visual-price-value.accent { color: var(--good); }
.visual-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--good);
  background: #EAF4EE; border: 1px solid #D3E9DB;
  padding: 5px 12px; border-radius: 100px;
}
.visual-badges { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.visual-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: 5px 11px; border-radius: 100px;
}
.visual-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.visual-badge.dot-green::before { background: var(--good); }
.visual-badge.dot-orange::before { background: var(--warn); }

/* GAUGE */
.gauge-col { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.gauge-logo { height: 46px; width: auto; opacity: .9; }
.gauge-svg-wrap { position: relative; width: 120px; height: 120px; }
.gauge-svg-wrap svg { width: 120px; height: 120px; }
.gauge-number {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 32px; font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.gauge-caption {
  font-size: 12px; color: var(--muted); text-align: center;
}
.gauge-caption strong { color: var(--ink); font-weight: 600; }

/* trust row */
.trust-row {
  margin-top: 40px;
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--muted);
}

/* SECTION COMMON */
section { padding: 96px 48px; max-width: 1180px; margin: 0 auto; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--navy-soft); text-transform: uppercase;
  margin-bottom: 14px;
}
.section-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; letter-spacing: -1px;
  line-height: 1.15; color: var(--ink);
  margin-bottom: 14px;
}
.section-lead {
  font-size: 16px; color: var(--ink-soft);
  line-height: 1.7;
}

/* PROBLEM */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.problem-item {
  padding: 32px 28px;
  background: var(--surface);
}
.problem-num {
  font-family: 'Montserrat', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 12px; color: var(--muted);
  margin-bottom: 18px;
}
.problem-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
.problem-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* HOW IT WORKS */
.steps-list {
  display: flex; flex-direction: column;
}
.step-row {
  display: grid; grid-template-columns: 60px 1fr 1.4fr;
  gap: 24px; align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.step-row:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: 'Montserrat', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 13px; color: var(--muted);
}
.step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--ink);
}
.step-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

/* SCORE SECTION */
.score-section { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.score-explain-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start;
}
.score-tiers { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.score-tier {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 24px;
  background: var(--surface);
}
.tier-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.tier-dot.green { background: var(--good); }
.tier-dot.yellow { background: var(--warn); }
.tier-dot.red { background: var(--bad); }
.tier-range {
  font-family: 'Montserrat', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 14px; font-weight: 700; color: var(--ink);
  min-width: 64px;
}
.tier-info { }
.tier-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 2px;
}
.tier-sub { font-size: 13px; color: var(--ink-soft); }

/* FEATURES */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 30px 28px;
}
.feature-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--navy-tint);
  border: 1px solid #DDE6EF;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-mark svg { width: 16px; height: 16px; stroke: var(--navy); }
.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 600; color: var(--ink);
  margin-bottom: 8px;
}
.feature-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }

/* CTA */
.cta-section {
  text-align: center;
  padding: 110px 48px;
  border-top: 1px solid var(--border);
}
.cta-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700; letter-spacing: -1.3px;
  line-height: 1.1; color: var(--ink);
  max-width: 640px; margin: 0 auto 16px;
}
.cta-sub {
  font-size: 16px; color: var(--ink-soft);
  max-width: 460px; margin: 0 auto 32px;
}
.cta-note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.cta-note a { color: var(--navy); text-decoration: none; font-weight: 600; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); }
.footer-inner {
  padding: 36px 48px 16px;
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.footer-logo { display: flex; align-items: center; text-decoration: none; }
.footer-by { font-size: 13px; color: var(--muted); }
.footer-by a { color: var(--muted); text-decoration: none; }
.footer-by a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a, .footer-links .linklike { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links .linklike:hover { color: var(--ink); }
.footer-copy { max-width: 1180px; margin: 0 auto; padding: 0 48px 32px; font-size: 12px; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .site-nav { padding: 16px 22px; }
  .nav-links { gap: 20px; }
  .hero { padding: 130px 22px 72px; }
  section { padding: 64px 22px; }
  .visual-body { grid-template-columns: 1fr; gap: 24px; }
  .gauge-col { flex-direction: column; align-items: center; gap: 10px; }
  .visual-body { padding: 24px 20px; }
  .visual-price-value { font-size: 15px; white-space: nowrap; }
  .problem-grid { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 40px 1fr; }
  .step-row > .step-desc { grid-column: 1 / -1; }
  .score-explain-grid { grid-template-columns: 1fr; gap: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 18px; text-align: center; padding: 32px 22px 12px; }
  .footer-links { justify-content: center; }
  .footer-copy { text-align: center; padding: 0 22px 28px; }
}

/* PRODUCT SCREENSHOTS */
.screenshots-section { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.screenshots-tabs {
  display: flex; gap: 0; margin-bottom: 40px;
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; background: var(--surface);
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}
.stab {
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--muted); background: transparent;
  border: none; cursor: pointer;
  border-right: 1px solid var(--border);
  transition: all 0.15s;
}
.stab:last-child { border-right: none; }
.stab.active { background: var(--navy); color: #fff; }
.stab:hover:not(.active) { color: var(--ink); background: var(--bg-alt); }
.screenshot-frame {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(14,14,13,0.04), 0 16px 40px rgba(14,14,13,0.07);
  background: var(--surface);
}
.screenshot-frame img { width: 100%; height: auto; display: block; }
.spanel { display: none; }
.spanel.active { display: block; }
@media (max-width: 640px) {
  .stab { padding: 9px 14px; font-size: 12px; }
}

/* ANIMATIONS */
.js .fade-in {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ACCESSIBILITY */
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px;
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit;
}
.nav-links .nav-login { color: var(--ink); font-weight: 600; }

/* TRUST ROW */
.trust-row { flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-soft); }
.trust-item svg { width: 14px; height: 14px; stroke: var(--good); flex-shrink: 0; }

/* PROBLEM principle */
.principle {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  background: var(--navy-tint); border: 1px solid #DDE6EF; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--navy);
}
.principle::before { content: ''; width: 4px; align-self: stretch; border-radius: 2px; background: var(--navy); flex-shrink: 0; }

/* FEATURES - широка карта */
.feature-card.wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 32px 1fr auto; gap: 18px; align-items: center;
  background: var(--navy-tint);
}
.feature-card.wide .feature-mark { margin-bottom: 0; background: #fff; }
.feature-card.wide .feature-title { margin-bottom: 4px; }
.feature-pill {
  font-size: 12px; font-weight: 700; color: var(--good);
  background: #EAF4EE; border: 1px solid #D3E9DB;
  padding: 5px 12px; border-radius: 100px; white-space: nowrap;
}

/* DEMO FORM */
.demo-section { border-top: 1px solid var(--border); }
.demo-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.demo-points { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.demo-points li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.demo-points svg { width: 16px; height: 16px; stroke: var(--good); flex-shrink: 0; margin-top: 3px; }
.demo-alt { margin-top: 28px; font-size: 13.5px; color: var(--muted); }
.demo-alt a { color: var(--navy); font-weight: 600; text-decoration: none; }
.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(14,14,13,0.04), 0 12px 32px rgba(14,14,13,0.05);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 13px; transition: border-color .15s, background .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-soft); background: #fff; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.field-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--navy); flex-shrink: 0; }
.field-check a { color: var(--navy); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-submit .btn-primary { border: 0; cursor: pointer; }
.form-submit .btn-primary[disabled] { opacity: .6; cursor: default; }
.form-note { font-size: 12px; color: var(--muted); }
.form-alert { margin-bottom: 18px; padding: 12px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 500; }
.form-alert.error { background: #FBEEEE; border: 1px solid #F0D2D2; color: var(--bad); }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 760px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 8px 40px rgba(14,14,13,0.14);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { padding: 20px 22px; display: flex; gap: 20px; align-items: center; }
.cookie-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.cookie-text a { color: var(--navy); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-sm { font-size: 13px; padding: 10px 18px; cursor: pointer; }
.cookie-actions .btn-primary, .cookie-actions .btn-secondary { border: 1px solid var(--navy); min-width: 150px; text-align: center; }
.cookie-actions .btn-secondary { color: var(--navy); }

/* LEGAL / INNER PAGES */
.page-hero { padding: 150px 48px 24px; max-width: 860px; margin: 0 auto; }
.breadcrumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.page-h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -1.2px; line-height: 1.12; margin-bottom: 12px; }
.page-meta { font-size: 13px; color: var(--muted); }
.legal { padding: 24px 48px 96px; max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 20px; font-weight: 700; letter-spacing: -.3px; margin: 40px 0 12px; }
.legal h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 15px; color: var(--ink-soft); line-height: 1.75; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 0; padding-left: 0; list-style: none; }
.legal li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.legal li::before { content: '-'; position: absolute; left: 2px; color: var(--muted); }
.legal a { color: var(--navy); font-weight: 500; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin: 8px 0 16px; }
.legal-box p { margin-bottom: 4px; }
.table-wrap { overflow-x: auto; margin: 8px 0 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.legal table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--ink-soft); }
.legal th { font-size: 12px; font-weight: 700; color: var(--ink); background: var(--bg-alt); }
.legal tr:last-child td { border-bottom: 0; }
.legal code { font-size: 13px; background: var(--bg-alt); padding: 1px 6px; border-radius: 4px; }

/* SIMPLE CENTER PAGES (404, благодарим) */
.center-page { padding: 180px 48px 120px; max-width: 640px; margin: 0 auto; text-align: center; }
.center-page .code { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--navy-soft); text-transform: uppercase; margin-bottom: 14px; }
.center-page p { color: var(--ink-soft); margin-bottom: 28px; }
.center-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 960px) {
  .demo-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .feature-card.wide { grid-template-columns: 32px 1fr; }
  .feature-card.wide .feature-pill { grid-column: 2; justify-self: start; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { flex-direction: column-reverse; }
  .cookie-actions .btn-primary, .cookie-actions .btn-secondary { width: 100%; }
  .page-hero { padding: 120px 22px 16px; }
  .legal { padding: 16px 22px 64px; }
  .center-page { padding: 140px 22px 80px; }
}

/* HERO H1 (описателен) */
.hero-kicker {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
  background: var(--navy-tint);
  border: 1px solid #DDE6EF;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
  max-width: 720px;
}

/* FAQ */
.faq-section { border-top: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.faq-definition { color: var(--ink); font-weight: 500; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--border); }
.faq-q { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.faq-a { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

@media (max-width: 960px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-kicker { border-radius: 14px; padding: 8px 14px; }
}
.visual-price-value { white-space: nowrap; }
@media (min-width: 961px) { .visual-price-value { font-size: 17px; } }

/* CONTENT PAGES */
.page-lead { font-size: 17px; color: var(--ink-soft); line-height: 1.65; margin-top: 4px; }
.content .score-tiers { margin: 12px 0 20px; }
.content .screenshot-frame { margin: 16px 0 24px; }
.content ol.num-steps { list-style: none; counter-reset: s; margin: 8px 0 18px; padding: 0; }
.content ol.num-steps li { counter-increment: s; padding-left: 44px; position: relative; margin-bottom: 14px; }
.content ol.num-steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1px;
  font-size: 13px; font-weight: 700; color: var(--navy-soft); font-variant-numeric: tabular-nums;
}
.content .def { font-size: 17px; color: var(--ink); font-weight: 500; line-height: 1.7; }
.content-faq { margin-top: 8px; }
.cta-band {
  margin: 48px 0 32px; padding: 28px 30px; border-radius: 14px;
  background: var(--navy-tint); border: 1px solid #DDE6EF;
  display: flex; gap: 24px; align-items: center; justify-content: space-between;
}
.cta-band-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px !important; }
.cta-band-sub { font-size: 14px !important; margin: 0 !important; }
.cta-band-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.content .cta-band a.btn-primary { color: #fff; }
.content .cta-band a.btn-secondary { color: var(--ink); }
.related { border-top: 1px solid var(--border); padding-top: 20px; }
.related-title { font-size: 12px !important; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted) !important; }
.related ul { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.related li { padding: 0 !important; margin: 0 !important; }
.related li::before { content: none !important; }
.related a { display: inline-block; font-size: 13.5px; font-weight: 600; text-decoration: none; padding: 7px 14px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface); }
.related a:hover { border-color: var(--navy-soft); }
.section-more { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; }
.section-more:hover { text-decoration: underline; }
.feature-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; }
.feature-link:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .cta-band { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}

.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 1180px) and (min-width: 961px) { .nav-links { gap: 22px; } }
.footer-product { max-width: 1180px; margin: 0 auto; padding: 0 48px 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-product a { font-size: 13px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.footer-product a:hover { color: var(--ink); }
@media (max-width: 960px) { .footer-product { justify-content: center; padding: 0 22px 14px; } }

img { max-width: 100%; height: auto; }

/* MOBILE MENU */
.nav-mobile { display: none; align-items: center; gap: 10px; }
.nav-toggle {
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-bar { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-nav.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.btn-nav-sm { padding: 9px 14px; }

@media (max-width: 960px) {
  .nav-mobile { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(14,14,13,0.08);
    padding: 8px 22px 20px;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .site-nav.is-open .nav-links { display: flex; }
  .site-nav.is-open { background: var(--bg); }
  .nav-links a {
    font-size: 16px; font-weight: 500; color: var(--ink);
    padding: 14px 2px; border-bottom: 1px solid var(--border);
  }
  .nav-links a.nav-login { border-bottom: 0; }
  .nav-links a.btn-nav {
    margin-top: 12px; text-align: center; padding: 14px; border-bottom: 0;
    font-size: 15px; font-weight: 600; color: #fff;
  }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle-bar { transition: none; } }
