/* Таксист — Цена поездки · лендинг
   Палитра: асфальт / янтарный фонарь / зелёный таксометр */

/* Шрифты — самохостинг (change selfhost-landing-fonts): те же вариативные
   woff2, что Google Fonts отдаёт по css2-ссылке юрстраниц, с font-display:
   swap и unicode-range из его официального CSS. Знак ₽ живёт в сабсете
   latin-ext (U+20AD-20C0). Файлы — landing/fonts/, кэш 7 дней. */

/* JetBrains Mono · cyrillic (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* JetBrains Mono · cyrillic-ext (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* JetBrains Mono · greek (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* JetBrains Mono · latin (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-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;
}

/* JetBrains Mono · latin-ext (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-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;
}

/* JetBrains Mono · vietnamese (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* Manrope · cyrillic (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope · cyrillic-ext (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Manrope · greek (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/manrope-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* Manrope · latin (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/manrope-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;
}

/* Manrope · latin-ext (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/manrope-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;
}

/* Manrope · vietnamese (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/manrope-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* Unbounded · cyrillic (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Unbounded · cyrillic-ext (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  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;
}

/* Unbounded · latin (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  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;
}

/* Unbounded · latin-ext (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  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;
}

/* Unbounded · vietnamese (вариативный, как отдаёт Google) */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/unbounded-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

:root {
  --asphalt: #131519;
  --asphalt-2: #1b1e24;
  --asphalt-3: #22262e;
  --line: #2a2e36;
  --amber: #ffb300;
  --amber-deep: #e09600;
  --meter-green: #34d977;
  --paper: #f4f2ec;
  --muted: #9aa0aa;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--asphalt);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1040px, 100% - 40px);
  margin-inline: auto;
}

/* ---- клетчатая лента (разделитель секций) ---- */
.ribbon {
  height: 12px;
  background: repeating-conic-gradient(#0d0e11 0% 25%, var(--amber) 0% 50%);
  background-size: 24px 24px;
  border-block: 1px solid #000;
}

/* ---- шапка ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(19, 21, 25, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.wordmark {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark em {
  font-style: normal;
  color: var(--amber);
}

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 22px;
  transition: background 0.15s, transform 0.15s;
}

.btn-amber {
  background: var(--amber);
  color: #141005;
}

.btn-amber:hover { background: var(--amber-deep); }

.btn-amber:active { transform: scale(0.98); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--paper);
}

.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- герой ---- */
.hero { padding-block: 56px 64px; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 7.5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 15ch;
}

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

.hero .lead {
  margin-top: 20px;
  max-width: 44ch;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
}

.hero-note strong { color: var(--paper); font-weight: 700; }

/* ---- таксометр ---- */
.meter {
  margin-top: 44px;
  max-width: 460px;
  background: #0b0d10;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px 16px;
  box-shadow: 0 0 0 1px #000, 0 18px 40px rgba(0, 0, 0, 0.45);
}

.meter-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.meter-value {
  margin-top: 8px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(44px, 10vw, 64px);
  color: var(--meter-green);
  text-shadow: 0 0 24px rgba(52, 217, 119, 0.35);
  line-height: 1;
}

.meter-caption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: #4d5560;
  letter-spacing: 0.08em;
}

.meter-caption .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--meter-green);
  margin-right: 8px;
  animation: blink 1.6s infinite;
}

@keyframes blink { 50% { opacity: 0.25; } }

/* ---- секции ---- */
.section { padding-block: 64px; }

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 36px;
}

/* ---- преимущества ---- */
.benefits {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.benefit {
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.benefit h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit h3 .num {
  font-family: var(--mono);
  color: var(--amber);
  font-weight: 700;
  margin-right: 10px;
}

.benefit p { color: var(--muted); font-size: 15px; }

/* ---- экраны (плейсхолдеры) ---- */
.screens {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.screen-card {
  scroll-snap-align: start;
  aspect-ratio: 9 / 19;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--asphalt-2);
  display: grid;
  place-items: center;
}

.screen-inner {
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 2px dashed #3a404b;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #4d5560;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.screens-hint {
  margin-top: 12px;
  font-size: 13px;
  color: #565d68;
}

/* ---- тарифы ---- */
.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.plan {
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-name {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  margin-block: 8px;
}

.plan-price small {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.plan-desc { color: var(--muted); font-size: 15px; }

.plan ul {
  list-style: none;
  margin: 16px 0 20px;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.plan li::before {
  content: "✓";
  color: var(--meter-green);
  font-weight: 700;
  margin-right: 10px;
}

.plan .btn { margin-top: auto; text-align: center; }

.plan-hot {
  border-color: var(--amber);
  background: linear-gradient(180deg, #241d0c, var(--asphalt-2) 55%);
  position: relative;
}

.plan-hot .plan-name { color: var(--amber); }

.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--amber);
  color: #141005;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
}

.fineprint {
  margin-top: 20px;
  font-size: 13px;
  color: #6b7280;
  max-width: 72ch;
}

/* ---- оплата ---- */
.payline {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 14px;
}

.payline .yk {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
}

/* ---- FAQ ---- */
.faq { display: grid; gap: 12px; max-width: 720px; }

.faq details {
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 20px;
  color: var(--amber);
  transition: transform 0.15s;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

/* ---- подвал ---- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 40px 48px;
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

.footer h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 12px;
}

.footer a { color: var(--paper); text-decoration: none; }

.footer a:hover { color: var(--amber); }

.footer-links { display: grid; gap: 8px; }

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: #565d68;
}

/* ---- документ-страницы (оферта/политика) ---- */
.doc { padding-block: 48px 72px; }

.doc h1 {
  font-family: var(--display);
  font-size: clamp(24px, 5vw, 36px);
  margin-bottom: 8px;
}

.doc .doc-date { color: var(--muted); font-size: 14px; margin-bottom: 32px; }

.doc h2 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
}

.doc p, .doc li { color: #c6cad2; font-size: 15px; margin-bottom: 10px; }

.doc ul { padding-left: 22px; margin-bottom: 12px; }

/* ---- адаптив ---- */
@media (min-width: 720px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .screens {
    grid-auto-flow: column;
    grid-auto-columns: 250px;
  }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .meter-caption .dot { animation: none; }
  .btn { transition: none; }
}
