/* Extracted from index.html and used as the shared 2026 site theme. */

    :root {
      --bg: #ffffff;
      --bg-soft: #f6f7fb;
      --bg-tint: #eef1f8;
      --ink: #0B1020;
      --ink-2: #1a2238;
      --muted: #5a6479;
      --muted-2: #8a93a8;
      --line: rgba(11, 16, 32, 0.08);
      --line-2: rgba(11, 16, 32, 0.14);

      --brand-1: #00BFFF;
      --brand-2: #471AFF;
      --brand-grad: linear-gradient(135deg, #00BFFF 0%, #471AFF 100%);

      --good: #0fa672;
      --good-bg: #e7f8f0;
      --warn: #d97706;
      --warn-bg: #fef3e0;
      --bad: #dc2626;
      --bad-bg: #fee8e8;

      --radius-sm: 12px;
      --radius: 18px;
      --radius-lg: 24px;
      --radius-xl: 32px;

      --container: 1180px;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Manrope', system-ui, -apple-system, sans-serif;
      background: var(--bg);
      color: var(--ink);
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      font-feature-settings: "ss01", "cv11";
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button { font-family: inherit; }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 24px;
    }
    @media (max-width: 600px) { .container { padding: 0 16px; } }

    /* ============== HEADER ============== */
    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.82);
      backdrop-filter: saturate(180%) blur(18px);
      -webkit-backdrop-filter: saturate(180%) blur(18px);
      border-bottom: 1px solid var(--line);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
      gap: 24px;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo-mark {
      width: 38px; height: 38px;
      border-radius: 12px;
      background: var(--brand-grad);
      color: #fff;
      display: inline-flex; align-items: center; justify-content: center;
      font-weight: 800; font-size: 18px;
      letter-spacing: -0.02em;
      box-shadow: 0 6px 18px rgba(71, 26, 255, 0.35);
    }
    .logo-text-main { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
    .logo-text-sub { font-size: 11px; color: var(--muted); font-weight: 500; }

    .nav {
      display: flex;
      gap: 4px;
      font-size: 14px;
      font-weight: 500;
      color: var(--muted);
    }
    .nav a {
      padding: 8px 14px;
      border-radius: 999px;
      transition: background .15s, color .15s;
    }
    .nav a:hover { background: var(--bg-soft); color: var(--ink); }

    .header-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 16px;
      border-radius: 999px;
      background: var(--ink);
      color: #fff;
      font-weight: 600;
      font-size: 14px;
      white-space: nowrap;
      flex-shrink: 0;
      transition: transform .12s, box-shadow .15s;
    }
    .header-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,16,32,0.25); }
    .header-cta::before {
      content: "";
      width: 8px; height: 8px; border-radius: 999px;
      background: #34d399;
      box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
      animation: pulse 2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25); }
      50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.05); }
    }

    .burger {
      display: none;
      width: 42px;
      height: 42px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      cursor: pointer;
      flex-shrink: 0;
    }
    .burger span {
      width: 18px;
      height: 2px;
      border-radius: 999px;
      background: var(--ink);
      transition: transform .15s ease, opacity .15s ease;
    }
    .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    @media (max-width: 900px) {
      .header-inner {
        flex-wrap: wrap;
      }
      .nav {
        display: none;
        order: 10;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px;
        border-radius: 20px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 18px 42px rgba(11,16,32,0.1);
      }
      .nav.is-open { display: flex; }
      .nav a { width: 100%; }
      .burger { display: inline-flex; }
      .header-cta {
        margin-left: auto;
        padding: 10px 14px;
      }
      .header-cta span.long { display: none; }
    }

    /* ============== HERO ============== */
    .hero {
      position: relative;
      overflow: hidden;
      background: #f4f6fb;
      padding: 40px 0 56px;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(800px 400px at 8% -10%, rgba(0, 191, 255, 0.18) 0%, transparent 60%),
        radial-gradient(900px 500px at 100% 0%, rgba(71, 26, 255, 0.14) 0%, transparent 55%);
      pointer-events: none;
    }
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(11,16,32,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,16,32,0.04) 1px, transparent 1px);
      background-size: 56px 56px;
      mask-image: radial-gradient(800px 500px at 50% 30%, #000 30%, transparent 70%);
      pointer-events: none;
    }
    .hero-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
      gap: 56px;
      align-items: center;
    }
    @media (max-width: 1000px) {
      .hero { padding: 40px 0 56px; }
      .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    }

    .pain-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px 6px 6px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--line);
      font-size: 13px;
      font-weight: 600;
      color: var(--ink-2);
      margin-bottom: 24px;
      box-shadow: 0 4px 14px rgba(11,16,32,0.04);
    }
    .pain-pill .dot {
      width: 22px; height: 22px;
      border-radius: 999px;
      background: var(--bad);
      color: #fff;
      display: inline-flex;
      align-items: center; justify-content: center;
      font-size: 13px; font-weight: 800;
    }
    .pain-pill em { font-style: normal; color: var(--bad); }

    h1.hero-title {
      font-size: clamp(36px, 5.4vw, 64px);
      line-height: 0.98;
      letter-spacing: -0.035em;
      font-weight: 800;
      margin-bottom: 22px;
    }
    h1.hero-title .grad {
      background: var(--brand-grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      white-space: nowrap;
    }
    h1.hero-title .strike {
      position: relative;
      display: inline-block;
      color: var(--ink);
    }
    h1.hero-title .strike::after {
      content: "";
      position: absolute;
      left: -2%; right: -2%; top: 55%;
      height: 0.18em;
      background: var(--bad);
      border-radius: 999px;
      transform: rotate(-2deg);
      opacity: 0.85;
    }

    .hero-text {
      font-size: 18px;
      line-height: 1.55;
      color: var(--muted);
      max-width: 540px;
      margin-bottom: 28px;
    }
    .hero-text strong { color: var(--ink); font-weight: 700; }

    .hero-cta-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 22px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 16px 26px;
      border-radius: 14px;
      font-weight: 700;
      font-size: 16px;
      letter-spacing: -0.01em;
      transition: transform .12s, box-shadow .15s, background .15s, color .15s;
      cursor: pointer;
      border: none;
      white-space: nowrap;
    }
    .btn-max {
      background: var(--brand-grad);
      color: #fff;
      box-shadow: 0 14px 32px rgba(71, 26, 255, 0.32);
    }
    .btn-max:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(71, 26, 255, 0.4); }
    .btn-max svg { width: 18px; height: 18px; }

    .btn-telegram {
      background: #fff;
      color: var(--ink);
      border: 1px solid var(--line-2);
      box-shadow: 0 8px 20px rgba(11,16,32,0.06);
    }
    .btn-telegram:hover { transform: translateY(-2px); border-color: #229ED9; color: #229ED9; }
    .btn-telegram svg { width: 18px; height: 18px; color: #229ED9; }

    .btn-outline {
      background: transparent;
      color: var(--ink);
      border: 1px solid var(--line-2);
    }
    .btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

    .btn-light {
      background: #fff;
      color: var(--ink);
      box-shadow: 0 14px 32px rgba(11,16,32,0.18);
    }
    .btn-light:hover { transform: translateY(-2px); }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 500;
      align-items: center;
    }
    .hero-meta .item { display: inline-flex; align-items: center; gap: 6px; }
    .hero-meta .item svg { width: 16px; height: 16px; color: var(--good); }

    /* Hero right — risk report card */
    .hero-card {
      position: relative;
      background: #fff;
      border-radius: 24px;
      padding: 22px;
      box-shadow:
        0 30px 80px rgba(11,16,32,0.18),
        0 4px 12px rgba(11,16,32,0.06);
      border: 1px solid rgba(255,255,255,0.7);
    }
    .hero-card::before {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: 24px;
      padding: 1px;
      background: linear-gradient(160deg, rgba(0,191,255,0.4), rgba(71,26,255,0.15), transparent 60%);
      -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
              mask-composite: exclude;
      pointer-events: none;
    }
    .hc-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 16px;
      border-bottom: 1px dashed var(--line-2);
    }
    .hc-plate {
      display: inline-flex;
      align-items: stretch;
      gap: 0;
      background: #fff;
      border: 2px solid var(--ink);
      border-radius: 6px;
      overflow: hidden;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 700;
    }
    .hc-plate .main {
      padding: 6px 10px;
      font-size: 16px;
      letter-spacing: 0.04em;
    }
    .hc-plate .region {
      padding: 6px 8px 4px;
      font-size: 11px;
      border-left: 2px solid var(--ink);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }
    .hc-plate .region small { font-size: 8px; font-weight: 800; margin-top: 2px; }
    .hc-status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--bad-bg);
      color: var(--bad);
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .hc-status .blink {
      width: 7px; height: 7px;
      border-radius: 999px;
      background: var(--bad);
      animation: pulse-red 1.4s ease-in-out infinite;
    }
    @keyframes pulse-red {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.8); }
    }
    .hc-car {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 0 16px;
    }
    .hc-car-thumb {
      width: 52px; height: 52px;
      border-radius: 12px;
      background: linear-gradient(135deg, #1a2238, #0B1020);
      color: #fff;
      display: inline-flex;
      align-items: center; justify-content: center;
    }
    .hc-car-thumb svg { width: 28px; height: 28px; }
    .hc-car h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
    .hc-car p { font-size: 12px; color: var(--muted); margin-top: 2px; }

    .hc-row {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 11px 0;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
    }
    .hc-row:last-of-type { border-bottom: none; }
    .hc-row .label { color: var(--muted); display: flex; align-items: center; gap: 8px; font-weight: 500; }
    .hc-row .label .ico {
      width: 26px; height: 26px;
      border-radius: 8px;
      background: var(--bg-soft);
      display: inline-flex;
      align-items: center; justify-content: center;
      color: var(--ink-2);
    }
    .hc-row .label .ico svg { width: 14px; height: 14px; }
    .hc-row .value { font-weight: 700; font-size: 13px; }
    .hc-row .tag {
      display: inline-flex; align-items: center; gap: 4px;
      padding: 4px 10px; border-radius: 999px;
      font-size: 12px; font-weight: 700;
    }
    .tag-bad { background: var(--bad-bg); color: var(--bad); }
    .tag-warn { background: var(--warn-bg); color: var(--warn); }
    .tag-good { background: var(--good-bg); color: var(--good); }

    .hc-footer {
      margin-top: 14px;
      padding: 14px 16px;
      background: #fff7e6;
      border: 1px solid #fde2a7;
      border-radius: 14px;
      font-size: 13px;
      color: #7a4d00;
      display: flex; gap: 10px;
      line-height: 1.45;
    }
    .hc-footer svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: #b45309; }
    .hc-footer strong { color: #6b3500; }

    .hc-floating-1, .hc-floating-2 {
      position: absolute;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 10px 14px;
      box-shadow: 0 12px 30px rgba(11,16,32,0.12);
      font-size: 12px;
      font-weight: 600;
      display: flex; align-items: center; gap: 8px;
    }
    .hc-floating-1 {
      top: -14px; right: -14px;
      animation: float 6s ease-in-out infinite;
    }
    .hc-floating-2 {
      top: 150px; left: -28px;
      animation: float 7s ease-in-out infinite 0.5s;
    }
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }
    .hc-floating-1 .ico, .hc-floating-2 .ico {
      width: 26px; height: 26px;
      border-radius: 8px;
      display: inline-flex; align-items: center; justify-content: center;
    }
    .hc-floating-1 .ico { background: var(--bad-bg); color: var(--bad); }
    .hc-floating-2 .ico { background: var(--good-bg); color: var(--good); }
    @media (max-width: 1000px) {
      .hc-floating-1, .hc-floating-2 { display: none; }
    }

    /* ============== PAIN TRIGGER STRIP ============== */
    .pain-strip {
      background: #0B1020;
      color: #fff;
      padding: 56px 0;
      position: relative;
      overflow: hidden;
    }
    .pain-strip::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(600px 300px at 0% 0%, rgba(220, 38, 38, 0.12) 0%, transparent 70%),
        radial-gradient(700px 400px at 100% 100%, rgba(71, 26, 255, 0.18) 0%, transparent 70%);
      pointer-events: none;
    }
    .pain-strip-inner { position: relative; z-index: 1; }
    .pain-head {
      max-width: 700px;
      margin-bottom: 28px;
    }
    .pain-head .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(220, 38, 38, 0.18);
      color: #fca5a5;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 18px;
    }
    .pain-head h2 {
      font-size: clamp(28px, 3.6vw, 44px);
      letter-spacing: -0.025em;
      line-height: 1.05;
      font-weight: 800;
      margin-bottom: 14px;
    }
    .pain-head p {
      font-size: 17px;
      line-height: 1.55;
      color: rgba(255,255,255,0.65);
    }
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    @media (max-width: 900px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 520px) { .pain-grid { grid-template-columns: 1fr; } }

    .pain-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 20px;
      padding: 24px 22px;
      backdrop-filter: blur(10px);
      transition: transform .2s, border-color .2s;
    }
    .pain-card:hover {
      transform: translateY(-4px);
      border-color: rgba(255,255,255,0.18);
    }
    .pain-card .pct {
      font-family: 'Manrope', sans-serif;
      font-size: 52px;
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1;
      background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.55) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .pain-card .pct sup {
      font-size: 24px;
      vertical-align: top;
      margin-left: 2px;
      opacity: 0.85;
    }
    .pain-card .bar {
      margin: 16px 0 14px;
      height: 6px;
      background: rgba(255,255,255,0.08);
      border-radius: 999px;
      overflow: hidden;
    }
    .pain-card .bar i {
      display: block;
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(90deg, #ef4444, #f97316);
    }
    .pain-card.warn .bar i { background: linear-gradient(90deg, #f59e0b, #f97316); }
    .pain-card.bad .bar i { background: linear-gradient(90deg, #dc2626, #ef4444); }
    .pain-card.purple .bar i { background: var(--brand-grad); }
    .pain-card h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 6px;
      letter-spacing: -0.01em;
    }
    .pain-card p {
      font-size: 13px;
      line-height: 1.5;
      color: rgba(255,255,255,0.55);
    }

    .pain-source {
      margin-top: 24px;
      font-size: 12px;
      color: rgba(255,255,255,0.4);
    }

    /* ============== HOW IT WORKS ============== */
    .how {
      padding: 64px 0;
      background: #fff;
    }
    .section-head {
      max-width: 720px;
      margin-bottom: 32px;
    }
    .section-head .eyebrow {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--brand-2);
      margin-bottom: 14px;
    }
    .section-head h2 {
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.02;
      letter-spacing: -0.03em;
      font-weight: 800;
      margin-bottom: 16px;
    }
    .section-head p {
      font-size: 17px;
      line-height: 1.55;
      color: var(--muted);
    }
    .how-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      position: relative;
    }
    @media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }

    .how-step {
      position: relative;
      padding: 32px 28px;
      background: var(--bg-soft);
      border-radius: 24px;
      border: 1px solid var(--line);
    }
    .how-step .num {
      font-family: 'JetBrains Mono', monospace;
      font-size: 13px;
      font-weight: 700;
      color: var(--brand-2);
      letter-spacing: 0.1em;
      margin-bottom: 18px;
      display: block;
    }
    .how-step h3 {
      font-size: 22px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 10px;
    }
    .how-step p {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.55;
      margin-bottom: 20px;
    }
    .how-visual {
      height: 120px;
      border-radius: 14px;
      background: #fff;
      border: 1px solid var(--line);
      padding: 14px;
      overflow: hidden;
      position: relative;
    }

    /* Step 1 visual: input */
    .step1-visual {
      display: flex; flex-direction: column;
      justify-content: center; align-items: stretch;
      gap: 8px;
    }
    .step1-input {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 14px;
      border: 2px solid var(--brand-2);
      border-radius: 12px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 13px;
      font-weight: 700;
      color: var(--ink);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(71, 26, 255, 0.08);
    }
    .step1-input .caret {
      width: 2px; height: 16px; background: var(--brand-2);
      animation: blink 1s steps(2) infinite;
    }
    @keyframes blink { 50% { opacity: 0; } }
    .step1-hint { font-size: 11px; color: var(--muted); padding-left: 4px; }

    /* Step 2 visual: progress */
    .step2-visual { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
    .step2-row {
      display: grid;
      grid-template-columns: 90px 1fr auto;
      align-items: center;
      gap: 10px;
      font-size: 11px;
      font-weight: 600;
    }
    .step2-row .src { color: var(--muted); }
    .step2-row .bar {
      height: 4px; background: var(--bg-tint); border-radius: 999px; overflow: hidden;
    }
    .step2-row .bar i {
      display: block; height: 100%;
      background: var(--brand-grad);
      animation: fill 2s ease-out forwards;
    }
    @keyframes fill { from { width: 0; } }
    .step2-row.r1 .bar i { width: 100%; animation-delay: .1s; }
    .step2-row.r2 .bar i { width: 100%; animation-delay: .4s; }
    .step2-row.r3 .bar i { width: 78%; animation-delay: .7s; }
    .step2-row .chk { color: var(--good); }
    .step2-row.r3 .chk { color: var(--brand-2); }

    /* Step 3 visual: report */
    .step3-visual {
      display: flex; flex-direction: column; gap: 6px; justify-content: center;
    }
    .step3-line {
      display: flex; justify-content: space-between; align-items: center;
      padding: 6px 10px;
      background: var(--bg-soft);
      border-radius: 8px;
      font-size: 11px;
      font-weight: 600;
    }
    .step3-line .dot {
      width: 8px; height: 8px; border-radius: 999px;
    }
    .step3-line.good .dot { background: var(--good); }
    .step3-line.warn .dot { background: var(--warn); }
    .step3-line.bad .dot { background: var(--bad); }
    .step3-line .right { display: flex; align-items: center; gap: 6px; color: var(--muted); }

    /* ============== INLINE CTA STRIP ============== */
    .cta-inline {
      background: #fff;
      padding: 0 0 64px;
    }
    .cta-band {
      background: var(--brand-grad);
      border-radius: 28px;
      padding: 36px 40px;
      color: #fff;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 32px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(71, 26, 255, 0.3);
    }
    .cta-band::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(400px 200px at 100% 0%, rgba(255,255,255,0.2) 0%, transparent 60%);
    }
    .cta-band > * { position: relative; z-index: 1; }
    .cta-band h3 {
      font-size: clamp(22px, 2.4vw, 30px);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.2;
      margin-bottom: 8px;
    }
    .cta-band p {
      font-size: 15px;
      color: rgba(255,255,255,0.85);
      max-width: 480px;
    }
    .cta-band-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
    .cta-band .btn-light { background: #fff; color: var(--brand-2); }
    .cta-band .btn-ghost {
      background: rgba(255,255,255,0.15);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.3);
    }
    .cta-band .btn-ghost:hover { background: rgba(255,255,255,0.25); }
    @media (max-width: 800px) {
      .cta-band { grid-template-columns: 1fr; padding: 28px 24px; }
    }

    /* ============== SAMPLE REPORT ============== */
    .sample {
      padding: 64px 0;
      background: var(--bg-soft);
    }
    .sample-frame {
      background: #fff;
      border-radius: 28px;
      border: 1px solid var(--line);
      box-shadow: 0 30px 80px rgba(11,16,32,0.1);
      overflow: hidden;
    }
    .sample-toolbar {
      display: flex; align-items: center; gap: 12px;
      padding: 14px 22px;
      border-bottom: 1px solid var(--line);
      background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
    }
    .sample-toolbar .dots { display: flex; gap: 6px; }
    .sample-toolbar .dots span {
      width: 10px; height: 10px; border-radius: 999px; background: #d1d5db;
    }
    .sample-toolbar .dots span:nth-child(1) { background: #ef4444; }
    .sample-toolbar .dots span:nth-child(2) { background: #f59e0b; }
    .sample-toolbar .dots span:nth-child(3) { background: #10b981; }
    .sample-toolbar .url {
      flex: 1;
      padding: 8px 14px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 8px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--muted);
      max-width: 360px;
    }
    .sample-toolbar .url strong { color: var(--ink); }

    .sample-body {
      display: grid;
      grid-template-columns: 280px 1fr;
      min-height: 540px;
    }
    @media (max-width: 900px) { .sample-body { grid-template-columns: 1fr; } }

    .sample-side {
      padding: 24px;
      background: linear-gradient(180deg, #0B1020 0%, #1a2238 100%);
      color: #fff;
    }
    .sample-side h4 {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: rgba(255,255,255,0.5);
      margin-bottom: 16px;
    }
    .sample-vehicle {
      padding-bottom: 18px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      margin-bottom: 20px;
    }
    .sample-vehicle .vin {
      font-family: 'JetBrains Mono', monospace;
      font-size: 13px;
      color: rgba(255,255,255,0.7);
      margin-bottom: 8px;
    }
    .sample-vehicle h3 {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 4px;
    }
    .sample-vehicle .sub {
      font-size: 13px;
      color: rgba(255,255,255,0.6);
    }
    .sample-spec {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px 12px;
    }
    .sample-spec dt {
      font-size: 11px;
      color: rgba(255,255,255,0.5);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 4px;
    }
    .sample-spec dd {
      font-size: 14px;
      font-weight: 600;
    }

    .sample-main { padding: 28px; }
    .sample-main-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
      flex-wrap: wrap; gap: 16px;
    }
    .sample-main-head h3 {
      font-size: 20px;
      letter-spacing: -0.02em;
      font-weight: 700;
    }
    .risk-overall {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 16px;
      background: var(--warn-bg);
      color: var(--warn);
      border-radius: 999px;
      font-weight: 700;
      font-size: 13px;
    }
    .risk-overall.bad { background: var(--bad-bg); color: var(--bad); }

    .sample-bento {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 14px;
    }
    .sb {
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 18px;
      background: #fff;
    }
    .sb h5 {
      font-size: 12px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .sb-donut { grid-column: span 2; }
    .sb-mileage { grid-column: span 4; }
    .sb-owners { grid-column: span 4; }
    .sb-flags { grid-column: span 2; }
    @media (max-width: 800px) {
      .sb-donut, .sb-mileage, .sb-owners, .sb-flags { grid-column: span 6; }
    }

    /* Donut */
    .donut-wrap { display: flex; align-items: center; gap: 14px; }
    .donut-wrap svg { width: 100px; height: 100px; flex-shrink: 0; }
    .donut-center {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.02em;
    }
    .donut-legend { display: grid; gap: 8px; font-size: 12px; }
    .donut-legend .row { display: flex; align-items: center; gap: 8px; color: var(--muted); }
    .donut-legend .row span:first-child {
      width: 10px; height: 10px; border-radius: 3px;
    }
    .donut-legend .row strong { color: var(--ink); font-weight: 700; margin-left: auto; }

    /* Mileage chart */
    .chart-mileage {
      display: block; width: 100%; height: 140px;
    }
    .chart-x {
      display: flex; justify-content: space-between;
      font-size: 10px; color: var(--muted-2);
      margin-top: 4px;
      font-family: 'JetBrains Mono', monospace;
    }
    .mileage-note {
      margin-top: 10px;
      font-size: 12px;
      color: var(--bad);
      display: flex; align-items: center; gap: 6px;
      font-weight: 600;
    }

    /* Owners timeline */
    .owners-timeline {
      display: flex; align-items: center;
      gap: 4px;
      margin-top: 4px;
    }
    .ot-seg {
      flex: 1;
      height: 38px;
      border-radius: 8px;
      position: relative;
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700;
      color: #fff;
      padding: 0 6px;
      overflow: hidden;
      white-space: nowrap;
    }
    .ot-seg.s1 { background: linear-gradient(135deg, #0ea5e9, #0284c7); flex: 3; }
    .ot-seg.s2 { background: linear-gradient(135deg, #6366f1, #4f46e5); flex: 2; }
    .ot-seg.s3 { background: linear-gradient(135deg, #f59e0b, #d97706); flex: 1.4; }
    .ot-seg.s4 { background: linear-gradient(135deg, #ef4444, #dc2626); flex: 1.2; }
    .ot-labels { display: flex; gap: 4px; margin-top: 8px; font-size: 11px; color: var(--muted); }
    .ot-labels span { flex: 1; text-align: center; }
    .ot-labels span:nth-child(1) { flex: 3; }
    .ot-labels span:nth-child(2) { flex: 2; }
    .ot-labels span:nth-child(3) { flex: 1.4; }
    .ot-labels span:nth-child(4) { flex: 1.2; }

    /* Flags */
    .sb-flags ul { list-style: none; display: grid; gap: 10px; }
    .sb-flags li {
      display: flex; align-items: center; gap: 10px;
      font-size: 13px; font-weight: 600;
    }
    .sb-flags .ic {
      width: 26px; height: 26px;
      border-radius: 8px;
      display: inline-flex; align-items: center; justify-content: center;
    }
    .sb-flags .ic svg { width: 14px; height: 14px; }
    .sb-flags .ic.bad { background: var(--bad-bg); color: var(--bad); }
    .sb-flags .ic.warn { background: var(--warn-bg); color: var(--warn); }
    .sb-flags .ic.good { background: var(--good-bg); color: var(--good); }

    /* ============== WHAT'S IN REPORT (bento) ============== */
    .features {
      padding: 64px 0;
      background: #fff;
    }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      grid-auto-rows: minmax(150px, auto);
      gap: 14px;
    }
    .fc {
      background: var(--bg-soft);
      border: 1px solid var(--line);
      border-radius: 22px;
      padding: 26px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 16px;
      transition: transform .2s, border-color .2s, box-shadow .2s;
    }
    .fc:hover {
      transform: translateY(-3px);
      border-color: var(--line-2);
      box-shadow: 0 16px 36px rgba(11,16,32,0.06);
    }
    .fc h3 {
      font-size: 19px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 6px;
    }
    .fc p { font-size: 14px; color: var(--muted); line-height: 1.5; }
    .fc .ico {
      width: 44px; height: 44px;
      border-radius: 12px;
      background: #fff;
      border: 1px solid var(--line);
      display: inline-flex; align-items: center; justify-content: center;
      color: var(--brand-2);
    }
    .fc .ico svg { width: 22px; height: 22px; }

    .fc-1 { grid-column: span 3; }
    .fc-2 { grid-column: span 3; }
    .fc-3 { grid-column: span 2; }
    .fc-4 { grid-column: span 2; }
    .fc-5 { grid-column: span 2; }
    .fc-6 { grid-column: span 3; background: var(--ink); color: #fff; border-color: var(--ink); }
    .fc-6 p { color: rgba(255,255,255,0.65); }
    .fc-6 .ico { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: #fff; }
    .fc-7 { grid-column: span 3; }
    @media (max-width: 900px) {
      .fc-1, .fc-2, .fc-3, .fc-4, .fc-5, .fc-6, .fc-7 { grid-column: span 6; }
    }

    /* visual mini elements inside cards */
    .fc-visual {
      margin-top: auto;
      padding-top: 12px;
    }
    .mini-bar {
      display: flex; gap: 2px; align-items: flex-end; height: 50px;
    }
    .mini-bar i {
      flex: 1; border-radius: 3px 3px 0 0;
      background: linear-gradient(180deg, var(--brand-1), var(--brand-2));
      opacity: 0.85;
    }
    .mini-pills { display: flex; flex-wrap: wrap; gap: 6px; }
    .mini-pills span {
      padding: 4px 10px; border-radius: 999px;
      background: #fff; border: 1px solid var(--line);
      font-size: 11px; font-weight: 600; color: var(--muted);
    }
    .mini-pills span.on { background: var(--ink); color: #fff; border-color: var(--ink); }

    /* ============== SOURCES ============== */
    .sources {
      padding: 64px 0;
      background: #0B1020;
      color: #fff;
      position: relative;
      overflow: hidden;
    }
    .sources::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(800px 400px at 100% 0%, rgba(0, 191, 255, 0.12) 0%, transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(71, 26, 255, 0.18) 0%, transparent 60%);
    }
    .sources-inner { position: relative; z-index: 1; }
    .sources .section-head h2 { color: #fff; }
    .sources .section-head p { color: rgba(255,255,255,0.6); }
    .sources .section-head .eyebrow { color: #00BFFF; }

    .sources-cloud {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 12px;
    }
    .src-tile {
      grid-column: span 3;
      padding: 18px 20px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 16px;
      backdrop-filter: blur(8px);
      transition: background .2s, border-color .2s;
    }
    .src-tile:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); }
    .src-tile .abbr {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 700;
      color: #00BFFF;
      letter-spacing: 0.08em;
      margin-bottom: 8px;
    }
    .src-tile h4 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 4px;
      letter-spacing: -0.01em;
    }
    .src-tile p {
      font-size: 12px;
      color: rgba(255,255,255,0.55);
      line-height: 1.5;
    }
    .src-tile.wide { grid-column: span 6; }
    .src-tile.med { grid-column: span 4; }
    @media (max-width: 900px) {
      .src-tile, .src-tile.wide, .src-tile.med { grid-column: span 6; }
    }
    @media (max-width: 500px) {
      .src-tile, .src-tile.wide, .src-tile.med { grid-column: span 12; }
    }

    /* ============== BLOG ============== */
    .blog {
      padding: 64px 0;
      background: #fff;
      border-top: 1px solid var(--line);
    }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    @media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
    .blog-card {
      display: flex;
      flex-direction: column;
      gap: 14px;
      padding: 24px;
      background: var(--bg-soft);
      border: 1px solid var(--line);
      border-radius: 20px;
      transition: transform .2s, border-color .2s, box-shadow .2s;
    }
    .blog-card:hover {
      transform: translateY(-3px);
      border-color: var(--line-2);
      box-shadow: 0 16px 36px rgba(11,16,32,0.06);
    }
    .blog-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(71,26,255,0.08);
      color: var(--brand-2);
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      width: fit-content;
    }
    .blog-card h3 {
      font-size: 18px;
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.25;
    }
    .blog-card p {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.55;
      flex: 1;
    }
    .blog-card .read {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 600;
      color: var(--ink);
      margin-top: auto;
    }
    .blog-card .read svg {
      width: 16px; height: 16px;
      transition: transform .15s;
    }
    .blog-card:hover .read svg { transform: translateX(3px); }

    /* ============== FAQ ============== */
    .faq {
      padding: 64px 0;
      background: var(--bg-soft);
    }
    .faq-list {
      display: grid;
      gap: 10px;
      max-width: 900px;
    }
    .faq-list details {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 20px 24px;
      transition: box-shadow .2s, border-color .2s;
    }
    .faq-list details[open] {
      box-shadow: 0 16px 40px rgba(11,16,32,0.08);
      border-color: var(--line-2);
    }
    .faq-list summary {
      list-style: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      font-size: 17px;
      font-weight: 700;
      letter-spacing: -0.01em;
    }
    .faq-list summary::-webkit-details-marker { display: none; }
    .faq-list summary .plus {
      width: 28px; height: 28px;
      border-radius: 999px;
      background: var(--bg-tint);
      display: inline-flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: transform .2s, background .2s;
    }
    .faq-list details[open] summary .plus {
      background: var(--brand-grad);
      color: #fff;
      transform: rotate(45deg);
    }
    .faq-list details p {
      margin-top: 14px;
      font-size: 15px;
      color: var(--muted);
      line-height: 1.65;
    }

    /* ============== FINAL CTA ============== */
    .final {
      padding: 64px 0;
      background: #fff;
    }
    .final-card {
      background: #0B1020;
      color: #fff;
      border-radius: 32px;
      padding: 48px 48px;
      position: relative;
      overflow: hidden;
    }
    .final-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(700px 400px at 0% 0%, rgba(0, 191, 255, 0.2) 0%, transparent 60%),
        radial-gradient(900px 500px at 100% 100%, rgba(71, 26, 255, 0.3) 0%, transparent 60%);
    }
    .final-card-inner {
      position: relative; z-index: 1;
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 48px;
      align-items: center;
    }
    @media (max-width: 900px) {
      .final-card { padding: 40px 28px; }
      .final-card-inner { grid-template-columns: 1fr; gap: 32px; }
    }
    .final-card h2 {
      font-size: clamp(28px, 4vw, 48px);
      letter-spacing: -0.03em;
      line-height: 1.02;
      font-weight: 800;
      margin-bottom: 18px;
    }
    .final-card h2 .grad {
      background: linear-gradient(135deg, #00BFFF, #a78bfa);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .final-card p {
      font-size: 17px;
      line-height: 1.55;
      color: rgba(255,255,255,0.7);
      margin-bottom: 28px;
      max-width: 480px;
    }
    .final-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
    .final-side {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 20px;
      padding: 24px;
    }
    .final-side h4 {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(255,255,255,0.5);
      font-weight: 700;
      margin-bottom: 16px;
    }
    .final-side ul { list-style: none; display: grid; gap: 12px; }
    .final-side li {
      display: flex; align-items: center; gap: 10px;
      font-size: 14px;
      color: rgba(255,255,255,0.85);
      font-weight: 500;
    }
    .final-side li svg {
      width: 18px; height: 18px;
      color: #34d399;
      flex-shrink: 0;
    }

    /* ============== FOOTER ============== */
    .footer {
      padding: 40px 0 32px;
      border-top: 1px solid var(--line);
      background: #fff;
      font-size: 13px;
      color: var(--muted);
    }
    .footer-inner {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
    }
    .footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 6px; }
    .footer-links a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
    .pay-row { display: flex; gap: 6px; flex-wrap: wrap; }
    .pay-pill {
      padding: 4px 10px;
      border-radius: 6px;
      background: var(--bg-soft);
      border: 1px solid var(--line);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.05em;
      color: var(--ink-2);
    }
    @media (max-width: 700px) {
      .footer-inner { grid-template-columns: 1fr; }
    }

    /* ============== Floating mobile CTA ============== */
    .floating-cta {
      position: fixed;
      left: 16px; right: 16px;
      bottom: 16px;
      z-index: 60;
      display: none;
      gap: 10px;
    }
    .floating-cta .btn { flex: 1; padding: 14px 18px; font-size: 15px; }
    @media (max-width: 700px) {
      .floating-cta { display: flex; }
      .footer { padding-bottom: 96px; }
    }

    .theme-body {
      font-family: 'Manrope', system-ui, -apple-system, sans-serif;
      color: var(--ink);
      background:
        radial-gradient(800px 400px at 8% -10%, rgba(0, 191, 255, 0.08) 0%, transparent 60%),
        radial-gradient(900px 500px at 100% 0%, rgba(71, 26, 255, 0.08) 0%, transparent 55%),
        var(--bg-soft);
    }

/* === ATEKA engine: SEO/blog additions === */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
                   clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* MAX brand icon — inline в кнопках */
.ic-max {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  border-radius: 5px;
  margin-right: 2px;
}
.ic-max-header { margin-right: 4px; border-radius: 6px; }
.header-cta { padding-left: 8px !important; padding-right: 16px !important; gap: 8px; }
.header-cta::before { display: none !important; } /* убираем зелёный пульсар — иконка MAX вместо него */

/* === MAX icon inside buttons === */
.ic-max {
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 5px;
  display: inline-block;
  vertical-align: -4px;
}
.btn .ic-max { margin-right: 2px; }
.btn-form-primary .ic-max { width: 22px; height: 22px; }
.ic-max-header { width: 18px; height: 18px; border-radius: 4px; margin-right: 2px; }
/* Suppress legacy green pulse dot in header-cta when MAX icon is present */
.header-cta:has(.ic-max-header)::before { display: none; }

/* breadcrumbs */
.breadcrumbs { padding: 12px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { color: var(--muted-2); margin: 0 4px; }

/* legacy link-cloud (use only on internal indexes) */
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.link-pill { display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink); font-size: 13px; font-weight: 600;
  border: 1px solid var(--line); transition: background .15s, border-color .15s, transform .12s; }
.link-pill:hover { background: #fff; border-color: var(--brand-1); transform: translateY(-1px); }
.link-pill-more { background: var(--ink); color: #fff; border-color: var(--ink); }

/* === FAQ — full width === */
.faq-list { max-width: none; }
@media (min-width: 900px) {
  .faq-list summary { font-size: 18px; }
}

/* === Pretty brand cards (home & SEO) === */
.pop-section { padding: 64px 0; background: var(--bg); }
.pop-section + .pop-section { padding-top: 0; }
.pop-section .section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.pop-section-cities { background: var(--bg-soft); }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.brand-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .15s, box-shadow .2s, border-color .15s;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  --bc: #0B1020;
}
.brand-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bc) 0%, transparent 100%);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(11,16,32,0.1);
  border-color: var(--bc);
}
.brand-card:hover::before { opacity: 0.04; }
.brand-card-mark {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--bc);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--bc) 30%, transparent);
  padding: 3px;
  overflow: hidden;
}
.brand-card-mark .brand-card-letter,
.brand-card-mark > img {
  position: relative; z-index: 1;
}
.brand-card-mark > img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 9px;
  padding: 4px;
}
.brand-card-letter {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.brand-card-name {
  flex: 1;
  font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em;
  position: relative; z-index: 1;
}
.brand-card-arrow {
  width: 22px; height: 22px;
  color: var(--muted-2);
  opacity: 0;
  transition: opacity .15s, transform .15s;
  position: relative; z-index: 1;
}
.brand-card:hover .brand-card-arrow { opacity: 1; transform: translateX(2px); color: var(--bc); }
.brand-card-more {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  justify-content: space-between;
}
.brand-card-more .brand-card-arrow { opacity: 1; color: var(--brand-1); }

/* === Catalog (index pages with search) === */
.catalog-section { padding: 32px 0 64px; }
.catalog-toolbar {
  display: flex; gap: 16px; align-items: center;
  margin: 0 auto 24px;
  max-width: 720px;
}
.catalog-search {
  position: relative;
  flex: 1;
  display: flex; align-items: center;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 4px 12px 4px 16px;
  transition: border-color .15s, box-shadow .2s;
}
.catalog-search:focus-within {
  border-color: var(--brand-1);
  box-shadow: 0 0 0 4px rgba(0,191,255,0.15);
}
.catalog-search svg {
  width: 18px; height: 18px;
  color: var(--muted-2);
  flex-shrink: 0;
}
.catalog-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 8px;
  font: inherit; font-size: 15px; font-weight: 500;
  color: var(--ink);
  min-width: 0;
}
.catalog-search input::placeholder {
  color: var(--muted-2);
  font-weight: 400;
}
.catalog-search-clear {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border: 0;
  background: var(--bg-soft);
  color: var(--muted);
  border-radius: 999px;
  font-size: 18px; font-weight: 600; line-height: 1;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.catalog-search-clear:hover { background: var(--bg-tint); color: var(--ink); }
.catalog-count {
  font-size: 14px; font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 4px;
}
.catalog-count-word { font-weight: 500; color: var(--muted-2); }
.catalog-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 15px;
}
.city-card-codes {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 700;
  color: var(--muted-2);
  flex-shrink: 0;
  padding: 4px 8px;
  background: var(--bg-soft);
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.city-card:hover .city-card-codes { background: rgba(255,255,255,0.6); }
.city-card-more .city-card-codes { display: none; }

@media (max-width: 600px) {
  .catalog-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .catalog-count { text-align: center; }
}

/* === Hero brand logo (правая колонка на странице марки/модели/город+марка) === */
.hero-inner-single { grid-template-columns: 1fr !important; }
.hero-brand {
  display: flex; align-items: center; justify-content: center;
  --bc: #0B1020;
}
.hero-brand-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--bc) 0%, color-mix(in srgb, var(--bc) 75%, #000) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px color-mix(in srgb, var(--bc) 25%, transparent);
}
.hero-brand-glow {
  position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.hero-brand-logo {
  position: relative; z-index: 1;
  width: 180px; height: 180px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 24px;
}
.hero-brand-logo img {
  width: 100%; height: 100%; object-fit: contain;
}
.hero-brand-logo-flag { padding: 0; }
.hero-brand-logo-flag img { object-fit: cover; }
.hero-brand-region { --bc: #1A2238; }
.hero-brand-card-light {
  background: linear-gradient(135deg, #1A2238 0%, #0B1020 100%);
}
.hero-brand-letter {
  font-weight: 900;
  font-size: 72px;
  color: #fff;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}
.hero-brand-name {
  position: relative; z-index: 1;
  margin-top: 22px;
  font-weight: 800;
  font-size: 28px;
  color: #fff;
  letter-spacing: -0.03em;
  text-align: center;
}
.hero-brand-vins {
  position: relative; z-index: 1;
  margin-top: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-brand-vins-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-brand-vins-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.hero-brand-vins-list > span {
  display: inline-flex; align-items: center;
  padding: 6px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 8px;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .hero-brand { margin-top: 8px; }
  .hero-brand-card { max-width: 320px; padding: 24px; }
  .hero-brand-logo { width: 130px; height: 130px; border-radius: 24px; }
  .hero-brand-letter { font-size: 56px; }
  .hero-brand-name { font-size: 22px; margin-top: 16px; }
}

/* === City cards === */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.city-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .12s, border-color .15s, background .15s;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  min-height: 64px;
  min-width: 0;
  overflow: hidden;
}
.city-card:hover {
  border-color: var(--brand-1);
  background: var(--bg-soft);
  transform: translateY(-1px);
}
.city-card-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-tint);
  color: var(--brand-2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.city-card-icon svg { width: 16px; height: 16px; }
.city-card-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.city-card-with-flag .city-card-icon { background: #fff; border: 1px solid var(--line); }
.city-card-name {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.city-card-more {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.city-card-more:hover {
  background: var(--ink-2, #1a2238);
  color: #fff;
  border-color: var(--ink);
}
.city-card-more .city-card-icon { background: rgba(255,255,255,0.12); color: var(--brand-1); }
.city-card-more:hover .city-card-icon { background: rgba(255,255,255,0.18); }

/* === Check form (VIN/госномер) === */
.check-form {
  margin: 18px 0 22px;
  max-width: 540px;
}
.check-form-row {
  display: flex; gap: 8px; align-items: stretch;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 18px 38px rgba(11,16,32,0.06);
  transition: border-color .15s, box-shadow .2s;
}
.check-form-row:focus-within {
  border-color: var(--brand-1);
  box-shadow: 0 18px 38px rgba(0,191,255,0.22);
}
.check-form input[name="query"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.check-form input[name="query"]::placeholder {
  color: var(--muted-2);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.check-form input[name="query"].is-error {
  animation: shake .25s ease;
  color: var(--bad);
}
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.btn-form-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
  background: var(--brand-grad);
  color: #fff;
  font-weight: 700; font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s, box-shadow .15s;
}
.btn-form-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(71,26,255,0.3); }
.btn-form-primary svg { width: 16px; height: 16px; }
.check-form-alt {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.check-form-alt > span { color: var(--muted-2); }
.btn-form-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0;
  background: transparent;
  color: #229ED9;
  font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.btn-form-secondary:hover { text-decoration: underline; }
.check-form-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.5;
}
.check-form-hint a { color: var(--muted); text-decoration: underline; }

@media (max-width: 600px) {
  .check-form-row { flex-direction: column; padding: 8px; gap: 6px; }
  .btn-form-primary { justify-content: center; padding: 14px 16px; }
  .check-form input[name="query"] { padding: 10px 12px; font-size: 15px; }
}
