/* шрифты хостятся у нас (раньше @import с Google Fonts): без позднего обнаружения и подмены шрифта при загрузке. font-display: block — текст ждёт шрифт, а не мигает запасным */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: block; src: url('../fonts/figtree-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: block; src: url('../fonts/figtree-latin.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; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 700; font-display: block; src: url('../fonts/unbounded-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 700; font-display: block; src: url('../fonts/unbounded-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 700; font-display: block; src: url('../fonts/unbounded-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 700; font-display: block; src: url('../fonts/unbounded-latin.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; }


:root {
  --font-head: 'Unbounded', sans-serif;
  --font-body: 'Figtree', sans-serif;

  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #e9ecf1;
  --surface-3: #dbdfe6;
  --text: #11151c;
  --text-muted: #5b6472;
  --border: #dde2e9;
  --border-strong: #b9c1cd;

  --accent: #1868db;
  --accent-hover: #12508f;
  --accent-contrast: #ffffff;
  --accent-shadow: rgba(24,104,219,.4);
  --accent-soft: rgba(24,104,219,.10);
  --brass: #1868db;

  --header-bg: rgba(243,245,248,.92);
  --hero-bg: linear-gradient(135deg, #0c1420 0%, #142544 55%, #1a3c72 100%);
  --hero-text: #f3f5f8;
  --hero-heading: #ffffff;

  --footer-bg: #0d1017;
  --footer-text: #e9ecf1;
  --footer-text-muted: #8b93a0;
  --footer-border: #232833;

  --radius-card: 18px;
  --radius-btn: 14px;
  --radius-logo: 12px;
  --shadow-1: 0 26px 50px -24px rgba(17,21,28,.28);
}

body { font-feature-settings: "ss01"; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
.logo { letter-spacing: -.01em; font-weight: 700; }
.logo__mark { font-family: var(--font-head); border-radius: var(--radius-logo); }

.hero h1 { letter-spacing: -0.02em; font-weight: 700; }
.hero .eyebrow { letter-spacing: .14em; font-weight: 600; }

.eyebrow { position: relative; padding-left: 22px; text-transform: uppercase; font-size: .74rem; letter-spacing: .14em; }
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 2px; background: var(--accent); transform: translateY(-50%); }

.btn { font-weight: 600; }
.btn--primary { letter-spacing: .01em; font-size: .92rem; }

.usp-card { position: relative; }
.usp-card::before {
  content: ""; position: absolute; top: 14px; left: 22px; width: 28px; height: 3px;
  background: var(--accent); border-radius: 2px;
}
.usp-card b { display: block; margin-top: 14px; font-family: var(--font-head); font-weight: 700; }

.car-card__badge { background: var(--accent); color: var(--accent-contrast); text-transform: uppercase; letter-spacing: .04em; }
.section-head h2 { font-weight: 700; }

.brand-tile__mark { background: var(--surface-2); font-weight: 700; }

.condition-tabs a { font-weight: 600; font-size: .84rem; }

/* Mobile hero headings: the display face is very wide, keep lines short and even */
@media (max-width: 680px) {
  .hero h1, .hero h2 { font-size: clamp(1.45rem, 6.6vw, 1.85rem); line-height: 1.18; letter-spacing: -0.01em; overflow-wrap: normal; hyphens: manual; }
  .hero p.lead { font-size: 1.02rem; }
}
