/* Черновая вёрстка без дизайна. Заменяется дизайн-кодом владельца. */
:root {
  --bg: #ffffff;
  --fg: #111418;
  --muted: #5b6470;
  --line: #e3e6ea;
  --accent: #1f5eff;
  --accent-fg: #ffffff;
  --soft: #f4f6f8;
  --error: #b42318;
  --ok: #067647;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --fg: #eef1f4;
    --muted: #a3acb8;
    --line: #2a3038;
    --accent: #5b8cff;
    --accent-fg: #0f1216;
    --soft: #171b21;
    --error: #ff8a80;
    --ok: #5fd39b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 0 16px 48px; }
section { padding: 40px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
h3 { font-size: 18px; margin: 16px 0 6px; }
p { margin: 0 0 12px; }
a { color: var(--accent); }
.muted { color: var(--muted); font-size: 14px; }
.brand { font-weight: 700; letter-spacing: .02em; padding: 16px 0; }
.brand .logo { display: block; height: 24px; width: auto; aspect-ratio: 537.3 / 88.6; fill: currentColor; }
.brand-link { display: inline-block; color: inherit; }
.price { font-size: 22px; font-weight: 700; }
/* «from» перед ценой первого экрана: мельче цены и приглушённым цветом. До подстановки цены скрыт вместе со слотом. */
.price-from { font-size: .6em; font-weight: 600; color: var(--muted); }
html:not([data-v]) .price-from { visibility: hidden; }
.placeholder { color: var(--muted); font-style: italic; }

.btn {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 14px 20px;
  font: inherit;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-fg);
  text-decoration: none;
  cursor: pointer;
}
.btn[disabled] { opacity: .6; cursor: progress; }

ol.steps { padding-left: 20px; margin: 0; }
ol.steps li { margin-bottom: 8px; }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.choice {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--fg);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.choice { min-height: 44px; }
.choice[aria-pressed="true"] { border-color: var(--accent); outline: 2px solid var(--accent); }
.choices > details { grid-column: 1 / -1; }
details.more > summary { cursor: pointer; padding: 10px 0; font-weight: 600; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
[data-slot="price"] { display: inline-block; min-width: 3.2ch; }
.cards { display: grid; gap: 12px; margin: 16px 0; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: var(--soft); }
.brand .badge { margin-left: 8px; font-weight: 600; }
.quote { border: 1px solid var(--line); border-radius: 12px; margin: 16px 0; overflow: hidden; }
.quote-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.quote-head { border-top: 0; background: var(--soft); font-weight: 600; }
.quote-total { font-weight: 700; }
.price-examples { list-style: none; padding-left: 0; }
.price-examples li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line, #ddd); }
.price-example { font-weight: 700; white-space: nowrap; }
.price-for-car { font-weight: 400; color: var(--muted); }
/* Заглушка цены: видна сразу, чтобы на живой сайт не ушло случайное число. */
summary { cursor: pointer; }
details { margin: 8px 0; }

form { display: grid; gap: 12px; }
label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--fg);
}
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 0; }
legend { font-weight: 600; padding: 0 4px; }
.opt { display: flex; gap: 8px; align-items: center; font-weight: 400; margin: 4px 0; }
.q { font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.launch-note { font-size: 15px; margin: 4px 0 0; }
[data-form-msg] { min-height: 1.5em; margin: 0; }
form[data-state="error"] [data-form-msg] { color: var(--error); }
.form-done { display: none; color: var(--ok); font-weight: 600; }
form[data-state="done"] .form-fields { display: none; }
form[data-state="done"] .form-done { display: block; }

footer { max-width: 720px; margin: 0 auto; padding: 24px 16px 40px; color: var(--muted); font-size: 14px; }
footer a { color: inherit; }
