/* ==========================================================================
   Автожурнал — одностраничный сайт
   Шрифты, токены, базовые стили
   ========================================================================== */

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('assets/fonts/manrope-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('assets/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('assets/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  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 {
  color-scheme: light;
  --canvas: #f4f2ed;
  --canvas-rgb: 244 242 237;
  --surface: #ffffff;
  --surface-rgb: 255 255 255;
  --elevated: #f9f7f3;
  --ink: #171f22;
  --ink-rgb: 23 31 34;
  --muted: #5f6a6e;
  --line: #e1ded6;
  --line-strong: #cfcbc1;
  --accent: #d35c19;
  --accent-rgb: 211 92 25;
  --accent-strong: #b34c11;
  --accent-soft: #fbeadf;
  --accent-text: #a8430e;
  --on-accent: #ffffff;
  --success: #1f8a5a;
  --info: #2d6f9e;
  --warning: #b57410;
  --danger: #be3737;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 0.04);
  --shadow-card: 0 1px 2px rgb(16 24 40 / 0.04), 0 10px 30px rgb(16 24 40 / 0.05);
  --shadow-lift: 0 18px 44px rgb(16 24 40 / 0.09);
  --header-bg: rgb(244 242 237 / 0.82);
  --radius: 22px;
  --container: 1180px;
}

[data-theme='dark'] {
  color-scheme: dark;
  --canvas: #0f1315;
  --canvas-rgb: 15 19 21;
  --surface: #171d20;
  --surface-rgb: 23 29 32;
  --elevated: #1d2427;
  --ink: #f1efea;
  --ink-rgb: 241 239 234;
  --muted: #96a1a5;
  --line: #2d3538;
  --line-strong: #3b4448;
  --accent: #ff8a3d;
  --accent-rgb: 255 138 61;
  --accent-strong: #ff9f61;
  --accent-soft: #37261a;
  --accent-text: #ffb07a;
  --on-accent: #14181a;
  --success: #51c78d;
  --info: #64b5f6;
  --warning: #f5b243;
  --danger: #ff7171;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.2);
  --shadow-card: 0 1px 2px rgb(0 0 0 / 0.2), 0 12px 32px rgb(0 0 0 / 0.18);
  --shadow-lift: 0 20px 48px rgb(0 0 0 / 0.36);
  --header-bg: rgb(15 19 21 / 0.82);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  margin: 0;
  background-color: var(--canvas);
  color: var(--ink);
  font-family: 'Manrope Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

svg {
  display: block;
}

::selection {
  background: rgb(var(--accent-rgb) / 0.22);
}

:focus-visible {
  outline: 2px solid rgb(var(--accent-rgb) / 0.8);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 2px;
}

/* ==========================================================================
   Шапка
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 16px rgb(var(--accent-rgb) / 0.22);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-3deg) scale(1.04);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-mark-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}

.brand-tagline {
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.48;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--elevated);
}

.site-nav a.is-active {
  color: var(--ink);
  background: var(--elevated);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: var(--elevated);
  border-color: var(--line-strong);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle .icon {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme='dark'] .theme-toggle .icon-sun {
  display: block;
}

[data-theme='dark'] .theme-toggle .icon-moon {
  display: none;
}

/* ==========================================================================
   Первый экран
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(52px, 6vw, 78px) 0 clamp(72px, 8vw, 106px);
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 52% at 82% 20%, rgb(var(--accent-rgb) / 0.1), transparent 66%),
    radial-gradient(ellipse 44% 44% at 6% 92%, rgb(45 111 158 / 0.05), transparent 72%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(var(--ink-rgb) / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--ink-rgb) / 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 46% 52% at 78% 30%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 46% 52% at 78% 30%, #000 10%, transparent 72%);
  opacity: 0.65;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 4.6vw, 64px);
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.13);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.55rem, 4.9vw, 4.05rem);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero h1 .accent {
  color: var(--accent);
  white-space: nowrap;
}

.hero-lead {
  max-width: 470px;
  margin-top: 24px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.hero-chips li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.12);
}

.hero-visual {
  min-width: 0;
}

.mock-stage {
  position: relative;
  padding-bottom: 26px;
  isolation: isolate;
}

/* --- Макет главного экрана --- */

.dash {
  position: relative;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 28px;
  background: linear-gradient(155deg, #1a2225 0%, #12181b 52%, #161d20 100%);
  color: #ffffff;
  overflow: hidden;
  box-shadow:
    0 50px 90px -40px rgb(10 15 20 / 0.6),
    0 20px 40px -24px rgb(10 15 20 / 0.45),
    inset 0 1px 0 rgb(255 255 255 / 0.07);
}

.dash::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

.dash::after {
  content: '';
  position: absolute;
  top: -130px;
  right: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgb(211 92 25 / 0.26);
  filter: blur(54px);
  pointer-events: none;
}

.dash > * {
  position: relative;
  z-index: 1;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-car {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dash-car-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.06);
  color: #ff9a5c;
}

.dash-car-icon .icon {
  width: 18px;
  height: 18px;
}

.dash-plate {
  display: block;
  max-width: 230px;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-car strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgb(52 211 153 / 0.14);
  border-radius: 999px;
  background: rgb(52 211 153 / 0.08);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6ee7a8;
  white-space: nowrap;
}

.dash-live-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.dash-stat {
  padding: 11px 12px;
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 13px;
  background: rgb(255 255 255 / 0.04);
}

.dash-stat span {
  display: block;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.38);
}

.dash-stat strong {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.dash-chart {
  margin-top: 14px;
  padding: 12px 12px 10px 144px;
  border: 1px solid rgb(255 255 255 / 0.05);
  border-radius: 14px;
  background: rgb(0 0 0 / 0.18);
}

.dash-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dash-chart-head > span {
  font-size: 9px;
  font-weight: 700;
  color: rgb(255 255 255 / 0.6);
}

.dash-legend {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 7px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.38);
}

.legend::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 4px var(--dot);
}

.legend-repair {
  --dot: #e46f2a;
}

.legend-maintenance {
  --dot: #4aa3d8;
}

.legend-fuel {
  --dot: #48b987;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 92px;
  margin-top: 10px;
  background-image: repeating-linear-gradient(
    to top,
    rgb(255 255 255 / 0.055) 0 1px,
    transparent 1px 25%
  );
}

.bar {
  display: flex;
  flex: 1;
  flex-direction: column-reverse;
  gap: 2px;
  justify-content: flex-start;
  height: 100%;
  min-width: 0;
}

.seg {
  display: block;
  width: 100%;
  min-height: 2px;
  border-radius: 2px;
  opacity: 0.92;
}

.seg:last-child {
  border-radius: 3px 3px 2px 2px;
}

.seg-repair {
  background: #e46f2a;
}

.seg-maintenance {
  background: #4aa3d8;
}

.seg-fuel {
  background: #48b987;
}

.chart-months {
  display: flex;
  gap: 7px;
  margin-top: 7px;
}

.chart-months span {
  flex: 1;
  text-align: center;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.3);
}

.dash-reminders {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-left: 144px;
}

.dash-reminder {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgb(255 255 255 / 0.05);
  border-radius: 11px;
  background: rgb(255 255 255 / 0.035);
}

.dash-reminder-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
}

.dash-reminder-icon .icon {
  width: 14px;
  height: 14px;
}

.dash-reminder-icon--warning {
  background: rgb(245 178 67 / 0.12);
  color: #f5b243;
}

.dash-reminder-icon--info {
  background: rgb(100 181 246 / 0.12);
  color: #64b5f6;
}

.dash-reminder strong {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.3;
}

.dash-reminder span {
  display: block;
  margin-top: 1px;
  font-size: 8px;
  line-height: 1.3;
  color: rgb(255 255 255 / 0.34);
}

/* --- Телефон --- */

.phone {
  position: absolute;
  bottom: -30px;
  left: -54px;
  z-index: 3;
  width: 198px;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 30px;
  background: linear-gradient(155deg, #333c40, #0c1012 60%);
  box-shadow:
    0 40px 70px -24px rgb(0 0 0 / 0.55),
    inset 0 1px 0 rgb(255 255 255 / 0.16);
  transform: rotate(-4deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mock-stage:hover .phone {
  transform: rotate(-2deg) translateY(-4px);
}

.phone-screen {
  min-height: 340px;
  padding: 10px;
  border-radius: 24px;
  background: #f7f5f0;
  color: #171f22;
  overflow: hidden;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 0;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.phone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.65;
}

.signal {
  display: inline-block;
  width: 10px;
  height: 6px;
  border-radius: 1px;
  background: repeating-linear-gradient(to right, currentColor 0 2px, transparent 2px 3px);
}

.battery {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.battery::after {
  content: '';
  position: absolute;
  inset: 1px;
  width: 9px;
  border-radius: 0.5px;
  background: currentColor;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 2px;
  font-size: 9px;
  font-weight: 700;
}

.phone-back {
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #687377;
}

.phone-dots {
  font-size: 8px;
  letter-spacing: 0.5px;
  color: #687377;
}

.phone-body {
  margin-top: 12px;
  padding: 0 2px;
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fbeadf;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b34c11;
}

.phone-badge span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d35c19;
}

.phone-body h3 {
  margin-top: 9px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.phone-amount {
  margin-top: 7px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.phone-meta {
  margin-top: 4px;
  font-size: 8px;
  color: #7d898c;
}

.phone-photo {
  position: relative;
  display: grid;
  place-items: center;
  height: 62px;
  margin-top: 11px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 72% 18%, #4b5a58, transparent 46%),
    linear-gradient(135deg, #26302f, #3b4745);
  color: rgb(255 255 255 / 0.75);
  overflow: hidden;
}

.phone-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 14px 14px;
}

.phone-photo .icon {
  position: relative;
  width: 22px;
  height: 22px;
}

.phone-photo span {
  position: absolute;
  right: 6px;
  bottom: 5px;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgb(0 0 0 / 0.35);
  color: #ffffff;
  font-size: 7px;
  font-weight: 700;
}

.phone-list {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e6e2d9;
  font-size: 8px;
  color: #687377;
}

.phone-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.phone-list span:last-child {
  font-weight: 800;
  color: #171f22;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ==========================================================================
   Полоса цифр
   ========================================================================== */

.stats-band {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 26px 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 26px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat strong {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.stat span {
  max-width: 220px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================================
   Общие секции
   ========================================================================== */

.section {
  position: relative;
  padding: clamp(72px, 9vw, 112px) 0;
  scroll-margin-top: 90px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section h2,
.details-copy h2,
.faq-intro h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-lead {
  max-width: 620px;
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

/* ==========================================================================
   Возможности
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease,
    background-color 0.3s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(130px 90px at 18% 0%, rgb(var(--accent-rgb) / 0.07), transparent 72%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgb(var(--accent-rgb) / 0.24);
  box-shadow: var(--shadow-lift);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--elevated);
  color: var(--ink);
}

.feature-icon .icon {
  width: 20px;
  height: 20px;
}

.icon-repair {
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-warning {
  background: color-mix(in srgb, var(--warning) 12%, transparent);
  color: var(--warning);
}

.icon-info {
  background: color-mix(in srgb, var(--info) 12%, transparent);
  color: var(--info);
}

.icon-fuel {
  background: color-mix(in srgb, var(--success) 12%, transparent);
  color: var(--success);
}

.icon-neutral {
  background: var(--elevated);
  color: var(--ink);
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

/* ==========================================================================
   Как это работает
   ========================================================================== */

.section-steps {
  padding-top: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.step h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.step p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

/* ==========================================================================
   Записи
   ========================================================================== */

.section-details {
  padding-top: 0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.details-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.details-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.check .icon {
  width: 12px;
  height: 12px;
}

.entries-mock {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.entry-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--canvas);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.entry-thumb {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 13px;
}

.entry-thumb .icon {
  width: 20px;
  height: 20px;
}

.thumb-repair {
  background: var(--accent-soft);
  color: var(--accent);
}

.thumb-fuel {
  background: color-mix(in srgb, var(--success) 12%, transparent);
  color: var(--success);
}

.thumb-maintenance {
  background: color-mix(in srgb, var(--info) 12%, transparent);
  color: var(--info);
}

.thumb-other {
  background: var(--elevated);
  color: var(--muted);
}

.entry-main {
  flex: 1;
  min-width: 0;
}

.entry-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: var(--muted);
}

.entry-badge {
  padding: 2.5px 6px;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge-repair {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-fuel {
  background: color-mix(in srgb, var(--success) 12%, transparent);
  color: var(--success);
}

.badge-maintenance {
  background: color-mix(in srgb, var(--info) 12%, transparent);
  color: var(--info);
}

.badge-other {
  background: var(--elevated);
  color: var(--muted);
}

.entry-row h4 {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-row p {
  margin-top: 2px;
  font-size: 9.5px;
  line-height: 1.4;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-amount {
  flex: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ==========================================================================
   Приватность
   ========================================================================== */

.privacy {
  position: relative;
  padding: clamp(72px, 9vw, 110px) 0;
  background: #12181b;
  color: #f4f2ed;
  overflow: hidden;
  scroll-margin-top: 76px;
}

.privacy::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse 48% 70% at 22% 45%, #000 5%, transparent 76%);
  mask-image: radial-gradient(ellipse 48% 70% at 22% 45%, #000 5%, transparent 76%);
}

.privacy::after {
  content: '';
  position: absolute;
  top: -140px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgb(211 92 25 / 0.16);
  filter: blur(70px);
  pointer-events: none;
}

.privacy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 70px);
}

.privacy .eyebrow {
  color: rgb(255 255 255 / 0.45);
}

.privacy .eyebrow-dot {
  background: #ff8a3d;
  box-shadow: 0 0 0 3px rgb(255 138 61 / 0.16);
}

.privacy h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #ffffff;
  text-wrap: balance;
}

.privacy-copy > p {
  max-width: 520px;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.55);
  text-wrap: pretty;
}

.privacy-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.privacy-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.75);
}

.privacy-points .icon {
  width: 18px;
  height: 18px;
  color: #ff9a5c;
}

.privacy-card {
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.045);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.privacy-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.privacy-card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: #ff8a3d;
  color: #14181a;
}

.privacy-card-icon .icon {
  width: 18px;
  height: 18px;
}

.privacy-card-head strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
}

.privacy-card-head span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.4;
  color: rgb(255 255 255 / 0.4);
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid rgb(255 255 255 / 0.07);
}

.privacy-row-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  background: rgb(255 255 255 / 0.06);
  color: #ff9a5c;
}

.privacy-row-icon .icon {
  width: 15px;
  height: 15px;
}

.privacy-row strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.privacy-row p {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.42);
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 11px 12px;
  border: 1px solid rgb(245 178 67 / 0.16);
  border-radius: 12px;
  background: rgb(245 178 67 / 0.08);
  font-size: 10.5px;
  line-height: 1.55;
  color: #f5b243;
}

.privacy-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}

/* ==========================================================================
   Вопросы
   ========================================================================== */

.faq {
  scroll-margin-top: 90px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(40px, 6vw, 70px);
}

.faq-intro {
  position: sticky;
  top: 108px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent-text);
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease,
    color 0.25s ease;
}

.faq-icon .icon {
  width: 14px;
  height: 14px;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.faq-answer {
  max-width: 640px;
  padding: 0 44px 20px 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.faq-item[open] .faq-answer {
  animation: faq-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Подвал
   ========================================================================== */

.site-footer {
  padding: 40px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.brand-mark--small {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-mark--small svg {
  width: 19px;
  height: 19px;
}

.footer-brand strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-meta {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* ==========================================================================
   Появление блоков
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.features-grid .feature-card:nth-child(2),
.steps .step:nth-child(2) {
  --delay: 60ms;
}

.features-grid .feature-card:nth-child(3),
.steps .step:nth-child(3) {
  --delay: 120ms;
}

.features-grid .feature-card:nth-child(4) {
  --delay: 40ms;
}

.features-grid .feature-card:nth-child(5) {
  --delay: 100ms;
}

.features-grid .feature-card:nth-child(6) {
  --delay: 160ms;
}

/* ==========================================================================
   Адаптив
   ========================================================================== */

@media (max-width: 1080px) {
  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-lead {
    max-width: 580px;
  }

  .hero-visual {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .details-grid,
  .privacy-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .faq-intro {
    position: static;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone {
    left: -60px;
  }
}

@media (max-width: 800px) {
  .phone {
    display: none;
  }

  .mock-stage {
    padding-bottom: 0;
  }

  .dash-chart {
    padding-left: 12px;
  }

  .dash-reminders {
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 20px 0;
  }

  .stat {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--canvas);
  }

  .stat:first-child {
    padding-left: 16px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: 68px;
  }

  .site-nav {
    display: none;
  }

  .theme-toggle {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .hero-chips li {
    padding: 8px 10px;
    font-size: 11.5px;
  }

  .dash {
    padding: 18px;
    border-radius: 23px;
  }

  .dash-stat strong {
    font-size: 14.5px;
  }

  .phone {
    bottom: -26px;
    left: -10px;
    width: 168px;
  }

  .phone-screen {
    min-height: 300px;
    padding: 8px;
  }

  .phone-photo {
    height: 52px;
  }

  .phone-list {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }

  .footer-meta {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-card {
    padding: 22px;
  }

  .phone {
    display: none;
  }

  .mock-stage {
    padding-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-steps,
  .section-details {
    padding-top: 0;
  }

  .dash-legend {
    display: none;
  }

  .entry-thumb {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .entry-row {
    gap: 10px;
    padding: 10px;
  }

  .entry-amount {
    font-size: 12px;
  }

  .privacy-card {
    padding: 18px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .faq-item summary {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }

  .header-inner {
    gap: 16px;
    height: 64px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .brand-mark svg {
    width: 20px;
    height: 20px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11.4vw, 2.9rem);
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-chips {
    margin-top: 24px;
  }

  .hero-chips li {
    font-size: 11px;
  }

  .stats-grid {
    gap: 8px;
  }

  .stat {
    padding: 13px;
    border-radius: 14px;
  }

  .stat strong {
    font-size: 25px;
  }

  .stat span {
    font-size: 10.5px;
    line-height: 1.45;
  }

  .dash {
    padding: 15px;
    border-radius: 20px;
  }

  .dash-plate {
    max-width: 150px;
    font-size: 7.5px;
  }

  .dash-car strong {
    font-size: 12.5px;
  }

  .dash-live {
    display: none;
  }

  .dash-stat {
    padding: 9px 10px;
  }

  .dash-stat strong {
    font-size: 13.5px;
  }

  .dash-chart {
    padding: 10px;
  }

  .chart-bars {
    height: 76px;
  }

  .dash-reminder {
    padding: 7px 9px;
  }

  .entry-thumb {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .entry-thumb .icon {
    width: 17px;
    height: 17px;
  }

  .entry-top {
    font-size: 8px;
  }

  .entry-row h4 {
    font-size: 11.5px;
  }

  .entry-row p {
    font-size: 8.5px;
  }

  .entry-amount {
    font-size: 11px;
  }

  .privacy-card {
    padding: 16px;
  }

  .privacy-row {
    gap: 10px;
    padding: 13px 0;
  }

  .faq-icon {
    width: 26px;
    height: 26px;
  }

  .faq-icon .icon {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 360px) {
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-amount {
    display: none;
  }
}

@media (max-width: 340px) {
  .hero h1 {
    font-size: 2.1rem;
  }
}

/* ==========================================================================
   Уменьшение движения
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
