/* ==========================================================================
   Одометр — лендинг. Токены из брендбука (ТЗ §2).
   ========================================================================== */

:root {
  --asphalt: #0B0F14;
  --graphite: #161C24;
  --steel: #6E7885;
  --steel-2: #97A2AE;
  --line-dark: #252E39;
  --line-dark-2: #303A47;
  --steel-dark: #5C6673;
  --paper: #F3F5F0;
  --paper-2: #E7EBE3;
  --paper-3: #EDF0E9;
  --line-light: #DCE1D6;
  --signal: #FF6A1A;
  --signal-dark: #E4570A;
  --success: #17A673;
  --warning: #E8A317;
  --error: #E5484D;
  --error-light: #FF9A9D;

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-xl: 24px;

  --container: 1160px;
  --header-height: 72px;

  --font-ui: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--asphalt);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

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

a {
  color: inherit;
  text-underline-offset: 3px;
}

button,
input {
  font: inherit;
}

::selection {
  background: rgba(255, 106, 26, 0.28);
  color: var(--asphalt);
}

:focus-visible {
  outline: 3px solid rgba(255, 106, 26, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  background: var(--signal);
  color: var(--asphalt);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* --- Кнопки -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-m);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--signal);
  color: var(--asphalt);
}

.btn--primary:hover {
  background: var(--signal-dark);
}

.btn--ghost {
  border-color: var(--line-dark-2);
  background: transparent;
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: #47525F;
  background: rgba(255, 255, 255, 0.04);
}

.btn--outline {
  border-color: #C3CABF;
  background: transparent;
  color: var(--asphalt);
}

.btn--outline:hover {
  border-color: var(--asphalt);
  background: var(--paper);
}

.btn--small {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
}

.btn--wide {
  width: 100%;
}

.btn--disabled,
.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--paper-2);
  border-color: transparent;
  color: var(--steel-dark);
  cursor: not-allowed;
  pointer-events: none;
}

/* --- Шапка --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(11, 15, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.site-header__logo {
  flex-shrink: 0;
  border-radius: var(--radius-s);
}

.site-header__logo img {
  width: auto;
  height: 40px;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  color: #C3CCD6;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-nav a:hover {
  color: var(--paper);
}

.site-header .btn {
  flex-shrink: 0;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background: var(--asphalt);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  top: -280px;
  right: -160px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255, 106, 26, 0.18), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line-dark-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: #B9C3CE;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px rgba(255, 106, 26, 0.8);
}

.hero__title {
  margin: 24px 0 20px;
  font-size: clamp(2.5rem, 5.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero__title .accent {
  color: var(--signal);
}

.hero__lead {
  max-width: 540px;
  color: #B7C1CC;
  font-size: 17px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  color: var(--steel-2);
  font-size: 13px;
}

.hero__notes li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line-dark);
}

/* --- Макет дашборда ------------------------------------------------------ */

.hero__visual {
  min-width: 0;
}

.dash {
  position: relative;
  padding: 18px;
  border: 1px solid #2A3441;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #171E27 0%, #11161D 100%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  color: var(--paper);
}

.dash__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dash__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
}

.dash__title {
  font-size: 13px;
  font-weight: 600;
}

.dash__car {
  color: var(--steel-2);
  font-size: 12px;
}

.dash__chip {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid var(--line-dark-2);
  border-radius: 999px;
  color: var(--steel-2);
  font-family: var(--font-mono);
  font-size: 11px;
}

.dash__hero {
  padding-top: 18px;
}

.dash__label {
  color: var(--steel-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dash__big {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.dash__big span {
  color: var(--steel-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.dash__trend {
  margin-top: 4px;
  color: var(--steel-2);
  font-size: 12px;
}

.dash__trend-value {
  color: #4DD4A0;
  font-family: var(--font-mono);
}

.dash__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.dash__stat {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.025);
}

.dash__stat span {
  display: block;
  color: var(--steel-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dash__stat strong {
  display: inline-block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.dash__stat em {
  margin-left: 3px;
  color: var(--steel-2);
  font-size: 10.5px;
  font-style: normal;
}

.dash__structure {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.dash__subhead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--steel-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dash__subhead-num {
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.dash__structure .bar {
  display: grid;
  grid-template-columns: 88px 1fr 50px;
  gap: 10px;
  align-items: center;
  padding: 4px 0;
  font-size: 11.5px;
}

.bar__name {
  overflow: hidden;
  color: #C6CFD9;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bar__track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--signal);
}

.bar__fill--fuel {
  width: 43.8%;
  opacity: 1;
}

.bar__fill--service {
  width: 20.8%;
  opacity: 0.82;
}

.bar__fill--tires {
  width: 13.6%;
  opacity: 0.66;
}

.bar__fill--insurance {
  width: 14.6%;
  opacity: 0.5;
}

.bar__fill--other {
  width: 7.2%;
  opacity: 0.36;
}

.bar__val {
  color: var(--steel-2);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}

.dash__last {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--steel-2);
  font-size: 11.5px;
}

.dash__last-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.dash__last-num {
  margin-left: auto;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  white-space: nowrap;
}

/* --- Секции -------------------------------------------------------------- */

.section {
  padding: 104px 0;
}

.section--tint {
  background: var(--paper-2);
}

.section--dark {
  background: var(--asphalt);
  color: var(--paper);
}

.section__head {
  max-width: 760px;
  margin-bottom: 48px;
}

.kicker {
  margin-bottom: 14px;
  color: var(--steel-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.kicker--light {
  color: var(--signal);
}

.kicker--dark {
  color: var(--steel-dark);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section__lead {
  max-width: 620px;
  margin-top: 16px;
  color: var(--steel-dark);
  font-size: 17px;
  line-height: 1.6;
}

.section--dark .section__lead,
.section--dark .cost__lead {
  color: #B7C1CC;
}

/* --- Карточки «зачем» ---------------------------------------------------- */

.cards {
  display: grid;
  gap: 16px;
}

.cards--three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.35);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.card:hover {
  border-color: #C6CEC0;
  background: rgba(255, 255, 255, 0.6);
}

.card__icon,
.module__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-m);
  background: rgba(255, 106, 26, 0.12);
  color: var(--signal-dark);
}

.card__icon svg,
.module__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin: 20px 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.card p {
  color: var(--steel-dark);
  font-size: 15px;
  line-height: 1.6;
}

/* --- Модули -------------------------------------------------------------- */

.modules {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.module {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-l);
  background: var(--paper);
}

.module:nth-child(4),
.module:nth-child(5) {
  grid-column: span 3;
}

.module h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.module p {
  color: var(--steel-dark);
  font-size: 14.5px;
  line-height: 1.6;
}

.module__metric {
  align-self: flex-start;
  margin-top: 18px;
  padding: 6px 10px;
  border-radius: var(--radius-s);
  background: var(--paper-2);
  color: #3D4650;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --- Арифметика ---------------------------------------------------------- */

.cost {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: start;
}

.cost h2 {
  margin-bottom: 16px;
}

.cost__lead {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.65;
}

.formula {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius-m);
  background: #10161D;
}

.formula__label {
  display: block;
  margin-bottom: 6px;
  color: var(--steel-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.formula__body {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 500;
  white-space: nowrap;
}

.cost__note {
  max-width: 480px;
  margin-top: 20px;
  color: var(--steel-2);
  font-size: 13px;
  line-height: 1.65;
}

.calc {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius-l);
  border-collapse: collapse;
  background: #0F151C;
  font-size: 14px;
}

.calc th,
.calc td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  vertical-align: middle;
}

.calc thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  color: var(--steel-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.calc tbody th {
  color: #D5DDE6;
  font-weight: 400;
}

.calc .num {
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.calc tbody .num {
  color: #C6CFD9;
}

.calc tfoot th,
.calc tfoot td {
  border-bottom: 0;
  background: rgba(255, 106, 26, 0.08);
  color: var(--paper);
  font-weight: 600;
}

.calc tfoot th {
  font-size: 13px;
}

.calc .num--accent {
  color: var(--signal);
  font-weight: 700;
}

/* --- Шаги ---------------------------------------------------------------- */

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

.step {
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.step__num {
  color: var(--steel-dark);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.step h3 {
  margin: 12px 0 6px;
  font-size: 19px;
  font-weight: 600;
}

.step p {
  color: var(--steel-dark);
  font-size: 15px;
  line-height: 1.6;
}

/* --- Android ------------------------------------------------------------- */

.android {
  padding: 56px 0;
  border-block: 1px solid var(--line-light);
  background: var(--paper-2);
}

.android__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.android__copy {
  max-width: 660px;
}

.android h2 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.android p {
  color: var(--steel-dark);
  font-size: 15px;
  line-height: 1.6;
}

.android .kicker {
  margin-bottom: 10px;
}

/* --- Цена ---------------------------------------------------------------- */

.pricing {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.pricing__head h2 {
  margin-bottom: 16px;
}

.pricing__head p {
  max-width: 480px;
  color: var(--steel-dark);
  font-size: 16px;
  line-height: 1.65;
}

.price-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--asphalt);
  box-shadow: 0 30px 70px rgba(11, 15, 20, 0.22);
  color: var(--paper);
}

.price-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}

.price-card__badge {
  align-self: center;
  padding: 5px 10px;
  border: 1px solid rgba(255, 106, 26, 0.5);
  border-radius: 999px;
  color: var(--signal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.price-card__price {
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-card__period {
  color: var(--steel-2);
  font-size: 13px;
}

.checklist {
  display: grid;
  gap: 13px;
  margin: 24px 0;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--signal);
}

.price-card__note {
  margin-top: 12px;
  color: var(--steel-2);
  font-size: 12px;
  text-align: center;
}

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

.faq {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 64px;
  align-items: start;
}

.faq__head h2 {
  margin-bottom: 0;
}

.faq__list {
  border-top: 1px solid #CFD6C9;
}

.faq__item {
  border-bottom: 1px solid #CFD6C9;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__toggle {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--asphalt);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.faq__toggle::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__toggle::after {
  opacity: 0;
  transform: rotate(0deg);
}

.faq__answer p {
  max-width: 680px;
  padding-bottom: 24px;
  color: var(--steel-dark);
  font-size: 15px;
  line-height: 1.7;
}

/* --- Ранний доступ ------------------------------------------------------- */

.access {
  padding: 96px 0;
  background: var(--asphalt);
  color: var(--paper);
  color-scheme: dark;
}

.access__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
}

.access__copy h2 {
  margin-bottom: 16px;
}

.access__copy > p:not(.kicker) {
  max-width: 460px;
  color: #B7C1CC;
  font-size: 16px;
  line-height: 1.65;
}

.access__list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: #C6CFD9;
  font-size: 14px;
}

.access__list li {
  position: relative;
  padding-left: 20px;
}

.access__list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.access__form-wrap {
  padding: 28px;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius-xl);
  background: var(--graphite);
}

.form {
  display: grid;
  gap: 16px;
}

.field__label {
  display: block;
  margin-bottom: 7px;
  color: #D5DDE6;
  font-size: 13px;
  font-weight: 600;
}

.field__input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius-m);
  background: var(--asphalt);
  color: var(--paper);
  font-size: 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field__input::placeholder {
  color: var(--steel);
}

.field__input:hover {
  border-color: #3C4755;
}

.field__input:focus {
  border-color: var(--signal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.18);
}

.field__input:-webkit-autofill {
  -webkit-text-fill-color: var(--paper);
  box-shadow: 0 0 0 1000px var(--asphalt) inset;
}

.field--invalid .field__input {
  border-color: var(--error);
}

.field__help {
  margin-top: 6px;
  color: var(--steel-2);
  font-size: 12.5px;
}

.field__error {
  margin-top: 6px;
  color: var(--error-light);
  font-size: 12.5px;
  line-height: 1.45;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check__input {
  flex-shrink: 0;
  display: grid;
  place-content: center;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid #3C4755;
  border-radius: 5px;
  background: var(--asphalt);
  accent-color: var(--signal);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.check__input:hover {
  border-color: #4C5866;
}

.check__input::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--asphalt);
  clip-path: polygon(14% 44%, 0 59%, 41% 100%, 100% 18%, 84% 4%, 39% 69%);
  transform: scale(0);
  transition: transform 0.12s var(--ease);
}

.check__input:checked {
  border-color: var(--signal);
  background: var(--signal);
}

.check__input:checked::before {
  transform: scale(1);
}

.check__label {
  color: #BFC9D4;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.check__label a {
  color: var(--paper);
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.check__label a:hover {
  text-decoration-color: var(--signal);
}

.check--invalid .check__input {
  outline: 2px solid var(--error);
  outline-offset: 2px;
}

.form__alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid rgba(229, 72, 77, 0.4);
  border-radius: var(--radius-m);
  background: rgba(229, 72, 77, 0.12);
  color: #FFB9BB;
  font-size: 13px;
  line-height: 1.5;
}

.form__alert svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.form__note {
  color: var(--steel-2);
  font-size: 12px;
  text-align: center;
}

.access__done {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 8px;
  text-align: center;
}

.access__done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(23, 166, 115, 0.16);
  color: #4DD4A0;
}

.access__done-icon svg {
  width: 24px;
  height: 24px;
}

.access__done-title {
  overflow-wrap: anywhere;
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.access__done-note {
  margin-top: 10px;
  color: var(--steel-2);
  font-size: 12.5px;
}

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

.site-footer {
  padding: 56px 0 30px;
  background: var(--asphalt);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--paper);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.site-footer__brand img {
  width: auto;
  height: 40px;
}

.site-footer__slogan {
  max-width: 260px;
  margin-top: 14px;
  color: var(--steel-2);
  font-size: 13px;
}

.site-footer__nav {
  display: flex;
  gap: 72px;
}

.site-footer__nav h2 {
  margin-bottom: 14px;
  color: var(--steel-2);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__nav a {
  display: block;
  margin: 9px 0;
  color: #C3CCD6;
  font-size: 14px;
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--paper);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--steel-2);
  font-size: 12.5px;
}

/* --- Внутренние страницы ------------------------------------------------- */

.page {
  padding: 64px 0 104px;
}

.page__inner {
  max-width: 820px;
}

.backlink {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--steel-dark);
  font-size: 13.5px;
  text-decoration: none;
}

.backlink:hover {
  color: var(--asphalt);
}

.page h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page__lead {
  max-width: 640px;
  color: var(--steel-dark);
  font-size: 17px;
  line-height: 1.65;
}

.status-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 40px 0 48px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-l);
  background: var(--line-light);
}

.status-card > div {
  padding: 20px;
  background: var(--paper);
}

.status-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--steel-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-card strong {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
}

.page h2 {
  margin: 40px 0 14px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.page p,
.page li {
  color: #3D4650;
  font-size: 15.5px;
  line-height: 1.7;
}

.page p + p {
  margin-top: 14px;
}

.page ul {
  display: grid;
  gap: 9px;
  margin: 16px 0;
}

.page ul li {
  position: relative;
  padding-left: 20px;
}

.page ul li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.page .btn {
  margin-top: 8px;
}

.page__note {
  margin-top: 40px;
  padding: 16px 18px;
  border-left: 3px solid var(--signal);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--paper-2);
  color: var(--steel-dark);
  font-size: 13.5px;
  line-height: 1.6;
}

.draft-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 11px;
  border: 1px solid #D9C08A;
  border-radius: 999px;
  background: rgba(232, 163, 23, 0.1);
  color: #7A5A12;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

@media (max-width: 1120px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    max-width: 640px;
    margin-inline: auto;
  }

  .hero::before {
    right: -300px;
  }

  .cost {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .price-card {
    max-width: 520px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .access__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .access__form-wrap {
    max-width: 520px;
  }

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

  .module,
  .module:nth-child(4),
  .module:nth-child(5) {
    grid-column: span 1;
  }

  .module--wide {
    grid-column: span 2 !important;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .site-header .btn {
    margin-left: auto;
  }

  .cards--three {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    padding: 64px 0 72px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .section__head {
    margin-bottom: 32px;
  }

  .hero__title {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .hero__lead {
    font-size: 16px;
  }

  .br-desktop {
    display: none;
  }

  .dash {
    padding: 14px;
  }

  .dash__big {
    font-size: 34px;
  }

  .dash__structure .bar {
    grid-template-columns: 78px 1fr 46px;
    font-size: 11px;
  }

  .dash__stat strong {
    font-size: 15px;
  }

  .android__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .access {
    padding: 64px 0;
  }

  .access__form-wrap {
    padding: 20px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 36px;
  }

  .site-footer__nav {
    gap: 48px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 6px;
    margin-top: 32px;
  }

  .status-card {
    grid-template-columns: 1fr;
  }

  /* Таблица → карточки (FR-UI-01) */
  .calc thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .calc,
  .calc tbody,
  .calc tfoot,
  .calc tr,
  .calc th,
  .calc td {
    display: block;
    width: 100%;
  }

  .calc {
    border: 0;
    background: transparent;
  }

  .calc tr {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 12px;
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid var(--line-dark-2);
    border-radius: var(--radius-m);
    background: #0F151C;
  }

  .calc thead,
  .calc tfoot tr {
    display: block;
    border: 0;
    background: none;
    padding: 0;
  }

  .calc tfoot tr {
    display: grid;
    margin-top: 10px;
    border: 1px solid rgba(255, 106, 26, 0.45);
    background: rgba(255, 106, 26, 0.08);
  }

  .calc tbody th,
  .calc tfoot th {
    grid-column: 1 / -1;
    padding: 0 0 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
  }

  .calc td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    padding: 4px 0;
    border: 0;
    text-align: left;
    white-space: normal;
  }

  .calc td::before {
    content: attr(data-label);
    color: var(--steel-2);
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .calc .num {
    font-size: 12.5px;
    text-align: left;
  }

  .calc tfoot .num--accent {
    font-size: 13px;
  }

  .calc tfoot th,
  .calc tfoot td {
    border-bottom: 0;
    background: none;
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    gap: 12px;
  }

  .site-header__logo img {
    width: auto;
    height: 36px;
  }

  .site-header .btn {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__notes {
    flex-direction: column;
    gap: 8px;
  }

  .hero__notes li + li {
    padding-left: 0;
    border-left: 0;
  }

  .dash__structure .bar {
    grid-template-columns: 84px 1fr 44px;
  }

  .dash__stat em {
    display: block;
    margin-top: 2px;
    margin-left: 0;
  }

  .dash__car {
    display: none;
  }

  .modules {
    grid-template-columns: 1fr;
  }

  .module--wide {
    grid-column: span 1 !important;
  }

  .price-card {
    padding: 22px;
  }

  .price-card__price {
    font-size: 44px;
  }

  .faq__question {
    font-size: 15.5px;
    padding: 18px 0;
  }

  .site-footer__nav {
    gap: 32px;
  }

  .page {
    padding: 40px 0 72px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Аккаунты и кабинет
   ========================================================================== */

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 20px;
}

.site-header__login,
.site-header__account {
  color: #C3CCD6;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__login:hover,
.site-header__account:hover {
  color: var(--paper);
}

.site-header__logout {
  margin: 0;
}

.auth-page {
  background: var(--asphalt);
}

.auth {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background: var(--asphalt);
  color: var(--paper);
}

.auth::before {
  content: "";
  position: absolute;
  top: -240px;
  left: -180px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(255, 106, 26, 0.14), transparent 64%);
  pointer-events: none;
}

.auth__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 80px;
  align-items: center;
}

.auth__intro {
  max-width: 520px;
}

.auth__intro h2 {
  margin-bottom: 16px;
  color: var(--paper);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.1;
}

.auth__intro p:not(.kicker) {
  color: #B7C1CC;
  font-size: 16px;
  line-height: 1.65;
}

.auth__points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: #C6CFD9;
  font-size: 14px;
}

.auth__points li {
  position: relative;
  padding-left: 20px;
}

.auth__points li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.auth__card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
  color: var(--asphalt);
}

.auth__logo {
  display: inline-block;
  border-radius: var(--radius-s);
}

.auth__logo img {
  width: 180px;
  height: auto;
}

.auth__title {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.auth__subtitle {
  color: var(--steel-dark);
  font-size: 14px;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.auth .field__label {
  color: var(--asphalt);
}

.auth .field__input {
  height: 50px;
  border-color: transparent;
  background: var(--paper-2);
  color: var(--asphalt);
}

.auth .field__input::placeholder {
  color: var(--steel-dark);
}

.auth .field__input:hover {
  border-color: #C3CBBE;
}

.auth .field__input:focus {
  border-color: var(--signal);
  background: #FFFFFF;
}

.auth .field--invalid .field__input {
  border-color: var(--error);
}

.auth .field__help {
  color: var(--steel-dark);
}

.auth .field__help--rules ul {
  display: grid;
  gap: 3px;
  margin: 4px 0 0 16px;
  list-style: disc;
  font-size: 12px;
  line-height: 1.5;
}

.auth .field__error {
  color: #B42326;
}

.auth .check__label {
  color: var(--steel-dark);
}

.auth .check__label a {
  color: var(--asphalt);
}

.auth .check__input {
  border-color: #B9C1B4;
  background: var(--paper-2);
}

.auth .check__input:checked {
  border-color: var(--signal);
  background: var(--signal);
}

.auth .form__alert {
  border-color: #F0C4C6;
  background: #FDECEC;
  color: #8A1C1F;
  font-size: 13px;
}

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

.auth__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.auth__remember .check__input {
  margin-top: 0;
}

.auth__link {
  color: var(--asphalt);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: #C3CBBE;
  text-underline-offset: 3px;
}

.auth__link:hover {
  text-decoration-color: var(--signal);
}

.auth__alt {
  margin-top: 18px;
  color: var(--steel-dark);
  font-size: 13.5px;
  text-align: center;
}

.auth__note {
  margin: 20px 0;
  padding: 12px 14px;
  border-radius: var(--radius-m);
  background: var(--paper-2);
  color: #3D4650;
  font-size: 13px;
  line-height: 1.55;
}

.auth__message {
  margin-top: 18px;
  padding: 11px 13px;
  border: 1px solid #BFDCCB;
  border-radius: var(--radius-m);
  background: #EAF6EF;
  color: #1C5B3B;
  font-size: 13px;
  line-height: 1.5;
}

.auth__card .btn--outline {
  border-color: #C3CBBE;
}

.auth__card .btn + .btn {
  margin-top: 10px;
}

/* --- Кабинет ------------------------------------------------------------- */

.app {
  padding: 64px 0 96px;
}

.app__head h1 {
  margin: 4px 0 6px;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.app__email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--steel-dark);
  font-size: 14px;
}

.app__verified {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(23, 166, 115, 0.12);
  color: #14734F;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.app__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: 32px;
}

.app-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.4);
}

.app-card h2 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
}

.app-card p {
  color: var(--steel-dark);
  font-size: 14.5px;
  line-height: 1.6;
}

.app-card--primary {
  border-color: transparent;
  background: var(--asphalt);
  color: var(--paper);
}

.app-card--primary h2 {
  color: var(--paper);
}

.app-card--primary p {
  color: #B7C1CC;
}

.app-card__step {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 106, 26, 0.5);
  border-radius: 999px;
  color: var(--signal);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-card__soon {
  align-self: flex-start;
  margin-top: 20px;
  padding: 9px 14px;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius-m);
  color: var(--steel-2);
  font-size: 12.5px;
}

.app-profile {
  display: grid;
  gap: 0;
  margin: 18px 0 24px;
}

.app-profile > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
}

.app-profile dt {
  color: var(--steel-dark);
  font-size: 12px;
}

.app-profile dd {
  margin: 0;
  color: var(--asphalt);
  font-size: 13px;
  text-align: right;
  overflow-wrap: anywhere;
}

.app-card form {
  margin-top: auto;
}

.app__back {
  margin-top: 28px;
  font-size: 13.5px;
}

.app__back a {
  color: var(--steel-dark);
  text-decoration: none;
}

.app__back a:hover {
  color: var(--asphalt);
}

@media (max-width: 1024px) {
  .auth__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .auth__intro {
    display: none;
  }

  .auth__card {
    max-width: 460px;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .site-header__actions {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .auth {
    padding: 40px 0 64px;
  }

  .auth__card {
    padding: 24px;
  }

  .app {
    padding: 40px 0 64px;
  }

  .app__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header__actions {
    gap: 10px;
    margin-left: auto;
  }

  .site-header__login {
    font-size: 13px;
  }

  .site-header__actions .btn {
    height: 36px;
    padding: 0 10px;
    font-size: 12.5px;
  }

  .auth__card {
    padding: 20px;
  }

  .auth__title {
    font-size: 24px;
  }

  .auth__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* Фокусные страницы без маркетинговой навигации */
.auth-page .site-nav {
  display: none;
}

.auth-page:not(.auth-page--authed) .site-header__login,
.auth-page:not(.auth-page--authed) .site-header__actions .btn {
  display: none;
}

.app-page .site-nav {
  display: none;
}

.auth .check__label a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-page .site-header__actions {
  margin-left: auto;
}

.app-card__next {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  color: #C6CFD9;
  font-size: 13.5px;
}

.app-card__next li {
  position: relative;
  padding-left: 18px;
}

.app-card__next li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.app__settings-link {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--steel-dark);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: var(--line-light);
  text-underline-offset: 3px;
}

.app__settings-link:hover {
  color: var(--asphalt);
  text-decoration-color: var(--signal);
}

.app__message {
  margin-top: 20px;
  padding: 11px 14px;
  border: 1px solid #BFDCCB;
  border-radius: var(--radius-m);
  background: #EAF6EF;
  color: #1C5B3B;
  font-size: 13px;
}
