/* Layout: одна узкая колонка для чтения с телефона, крупный шрифт для старшего поколения, одна кнопка в конце каждого шага */
:root {
  --bg: #f6f7f2;
  --card: #ffffff;
  --ink: #1c2317;
  --muted: #566050;
  --line: #dde2d3;
  --accent: #3d6a1c;
  --accent-ink: #ffffff;
  --accent-soft: #e8f0dc;
  --warn: #8a4b0f;
  --warn-soft: #f8ecdc;
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12160f; --card: #1a2015; --ink: #eef1e8; --muted: #a9b29e; --line: #2d3527;
    --accent: #9cc65a; --accent-ink: #12160f; --accent-soft: #24301a; --warn: #f0b36b; --warn-soft: #2e2416;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12160f; --card: #1a2015; --ink: #eef1e8; --muted: #a9b29e; --line: #2d3527;
  --accent: #9cc65a; --accent-ink: #12160f; --accent-soft: #24301a; --warn: #f0b36b; --warn-soft: #2e2416;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  padding-inline: 16px;
  padding-block: 0 120px;
}
.wrap { max-width: 680px; margin-inline: auto; display: grid; gap: 40px; }

.top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-block: 18px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted);
}
.brand { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); letter-spacing: .02em; }
.step { font-variant-numeric: tabular-nums; white-space: nowrap; }
.progress { display: flex; gap: 6px; }
.progress span { width: 28px; height: 6px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--accent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; margin: 0; line-height: 1.2; }
h1 { font-size: clamp(28px, 7vw, 40px); }
h2 { font-size: clamp(22px, 5vw, 28px); }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: 21px; color: var(--muted); }
.section { display: grid; gap: 18px; }
.eyebrow { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

.hero { display: grid; gap: 20px; padding-top: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; font-weight: 600; color: var(--accent); margin: 0; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center 30%; border-radius: 18px; display: block; background: var(--line); }
.quote { margin: 0; border-left: 4px solid var(--accent); padding: 4px 0 4px 18px; display: grid; gap: 6px; }
.quote p { font-family: var(--font-display); font-size: 20px; line-height: 1.35; }
.quote cite { font-style: normal; font-size: 16px; color: var(--muted); }
.quote a, .small-link a { color: var(--accent); }

.lead-form { display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.lead-form label { display: grid; gap: 6px; font-size: 16px; font-weight: 600; }
.lead-form input[type=text], .lead-form input[type=tel] {
  font: inherit; font-size: 19px; padding: 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); width: 100%;
}
.lead-form input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.lead-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--muted); }
.lead-form .consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.lead-form .consent a { color: var(--accent); }
.form-msg { font-size: 16px; }
.form-msg.ok { color: var(--accent); font-weight: 600; }
.form-msg.err { color: var(--warn); }
.price .gain { font-size: 17px; font-weight: 600; color: var(--accent); }
.model .legal { font-size: 15px; color: var(--warn); background: var(--warn-soft); border-radius: 10px; padding: 10px 12px; }

.vs { display: grid; gap: 14px; }
.vs-row { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 12px; min-width: 0; }
.vs-row h3 { font-size: 18px; }
.vs-bad, .vs-good { font-size: 17px; padding-left: 14px; border-left: 3px solid; }
.vs-bad { border-color: var(--warn); }
.vs-bad b { color: var(--warn); }
.vs-good { border-color: var(--accent); }
.vs-good b { color: var(--accent); }
.vs-photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
figure { margin: 0; display: grid; gap: 6px; min-width: 0; }
figure img { width: 100%; height: auto; border-radius: 12px; display: block; background: var(--line); }
figcaption { font-size: 14px; color: var(--muted); line-height: 1.4; }

.top-phone { color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Конфигуратор */
.configurator { display: grid; gap: 28px; }
.cfg-step { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.cfg-step legend { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; padding: 0; margin-bottom: 4px; display: flex; gap: 12px; align-items: center; }
.cfg-n { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 17px; }
.cfg-hint { color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 17px; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; text-align: left; }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.model-pick { display: grid; gap: 12px; }
.mp { display: block; cursor: pointer; }
.mp input, .oi input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mp-body { display: grid; gap: 6px; background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 18px 18px 18px 54px; position: relative; }
.mp-body::before { content: ""; position: absolute; left: 18px; top: 22px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted); box-sizing: border-box; }
.mp input:checked + .mp-body { border-color: var(--accent); background: var(--accent-soft); }
.mp input:checked + .mp-body::before { border: 7px solid var(--accent); }
.mp input:focus-visible + .mp-body { outline: 3px solid var(--accent); outline-offset: 2px; }
.mp-tag { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.mp-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.mp-price { font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.mp-price em { font-style: normal; font-weight: 600; font-size: 16px; color: var(--accent); }
.mp-who { color: var(--muted); font-size: 16px; }
.mp-specs { font-size: 15px; color: var(--ink); }
.mp-legal { font-size: 14px; color: var(--warn); background: var(--warn-soft); border-radius: 10px; padding: 8px 10px; }

.opt-groups { display: grid; gap: 18px; }
.og { display: grid; gap: 8px; }
.og h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 700; }
.pay { display: grid; gap: 8px; }
.oi { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 14px 14px 14px 50px; position: relative; cursor: pointer; }
.oi::before { content: ""; position: absolute; left: 14px; top: 16px; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--muted); box-sizing: border-box; }
.oi:has(input[type=radio])::before { border-radius: 50%; }
.oi:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.oi:has(input[type=checkbox]:checked)::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--accent-soft); }
.oi:has(input[type=radio]:checked)::before { border: 7px solid var(--accent); }
.oi:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.oi-body { display: grid; gap: 2px; min-width: 0; }
.oi-name { font-weight: 600; font-size: 17px; line-height: 1.35; }
.oi-desc { font-size: 15px; color: var(--muted); line-height: 1.4; }
.oi-price { font-size: 15px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 2px; }
.rec { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); vertical-align: 2px; margin-left: 4px; }
.city { display: grid; gap: 6px; font-size: 16px; font-weight: 600; }
.city input { font: inherit; font-size: 19px; padding: 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--ink); width: 100%; }
.city input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }

.summary { background: var(--card); border: 2px solid var(--accent); border-radius: 18px; padding: 22px; display: grid; gap: 14px; scroll-margin-top: 16px; }
.sum-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.sum-lines li span:last-child { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.sum-lines li:first-child span:last-child { color: var(--ink); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sum-total strong { font-family: var(--font-display); font-size: 26px; font-variant-numeric: tabular-nums; }
.sum-note { font-size: 15px; color: var(--muted); }

.sticky-sum .sticky-inner { max-width: 680px; margin-inline: auto; display: flex; gap: 12px; align-items: center; }
.sticky-price { display: grid; flex: 1; min-width: 0; font-size: 14px; color: var(--muted); line-height: 1.3; }
.sticky-price strong { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.sticky-sum .btn { margin: 0; min-height: 50px; padding-inline: 20px; flex: none; }

.hero svg { width: 100%; max-width: 420px; height: auto; color: var(--ink); justify-self: center; }

ul.plain { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
ul.plain li { padding-left: 30px; position: relative; }
ul.plain li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 12px; height: 2px; background: var(--accent); }

.note { background: var(--accent-soft); border-radius: 14px; padding: 20px; display: grid; gap: 8px; }
.note.warn { background: var(--warn-soft); }
.note.warn strong { color: var(--warn); }

ol.timeline { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; }
ol.timeline li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 22px; position: relative; }
ol.timeline li::before {
  content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 2px solid var(--accent); color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums;
}
ol.timeline li::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 2px; background: var(--line); }
ol.timeline li:last-child::after { display: none; }
ol.timeline li > div { display: grid; gap: 4px; padding-top: 8px; min-width: 0; }
ol.timeline small { color: var(--muted); font-size: 16px; }

.mistake { border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 12px; }
.mistake .num { font-family: var(--font-display); font-size: 15px; color: var(--accent); letter-spacing: .06em; }
.mistake .fix { border-left: 3px solid var(--accent); padding-left: 16px; color: var(--ink); }

details { border-bottom: 1px solid var(--line); padding-block: 16px; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; color: var(--muted); }
details p a { color: var(--accent); }
.faq-list { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 8px; color: var(--muted); }
.faq-list b { color: var(--ink); }
.vs { scroll-margin-top: 16px; }

.models { display: grid; gap: 18px; }
.model { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 14px; }
.model.best { border: 2px solid var(--accent); }
.model .tag { justify-self: start; font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.model .who { color: var(--muted); }
.price { display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.price .main { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.price .sub { font-size: 16px; color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 16px; margin: 0; }
.specs div { display: grid; gap: 0; min-width: 0; }
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { margin: 0; font-weight: 600; }

.options { display: grid; gap: 14px; }
.opt { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 12px; }
.opt h3 { color: var(--accent); font-size: 17px; letter-spacing: .02em; }
.opt ul.plain { gap: 10px; font-size: 17px; }

.proof { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.proof div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 4px; }
.proof b { font-size: 17px; }
.proof span { font-size: 16px; color: var(--muted); }

.cta-block { display: grid; gap: 14px; text-align: center; padding-block: 8px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 14px 22px;
  border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 20px;
  text-decoration: none; border: 0; cursor: pointer; font-family: var(--font-body);
}
.btn.ghost { background: var(--card); color: var(--ink); border: 2px solid var(--line); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.small-link { font-size: 16px; color: var(--muted); }
.small-link a { color: var(--accent); }

.contact { background: var(--card); border: 2px solid var(--accent); border-radius: 18px; padding: 22px; display: grid; gap: 14px; }
.codeword { font-family: var(--font-display); font-size: 30px; letter-spacing: .06em; color: var(--accent); text-align: center; }
.phone-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.copy { font: inherit; font-size: 15px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.btn-row { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; background: var(--card); border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
}
.sticky .btn { max-width: 680px; margin-inline: auto; min-height: 54px; font-size: 18px; }

footer { border-top: 1px solid var(--line); padding-top: 20px; font-size: 15px; color: var(--muted); display: grid; gap: 6px; }
footer a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s ease; }
  .btn:active { transform: scale(.98); }
}

.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 300px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.cmp thead th:nth-child(2) { color: var(--warn); }
.cmp thead th:nth-child(3) { color: var(--accent); }
.cmp tbody th { font-weight: 600; width: 32%; }
.cmp td:nth-child(2) { color: var(--muted); }
.cmp td:nth-child(3) { font-weight: 600; }

/* Выбор модели */
.pick { display: grid; gap: 16px; }
.pick-card { display: grid; gap: 10px; background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; color: var(--ink); }
.pick-card:hover { border-color: var(--accent); }
.pick-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.pick-card img { width: 100%; height: auto; border-radius: 12px; display: block; }
.pick-name { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.pick-price { font-family: var(--font-display); font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pick-pre { font-size: 16px; font-weight: 600; color: var(--accent); margin-top: -6px; }
.pick-who { color: var(--muted); font-size: 17px; margin: 0; }
.pick-specs { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 16px; }
.pick-card .btn { margin-top: 6px; }

/* Карточка модели */
.back { color: var(--accent); text-decoration: none; font-weight: 600; }
.product-head { display: grid; gap: 20px; }
@media (min-width: 760px) { .product-head { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.product-info { display: grid; gap: 12px; min-width: 0; }
.product-info h1 { font-size: clamp(28px, 6vw, 36px); }
.gallery { display: grid; gap: 10px; min-width: 0; }
.gal-main { width: 100%; height: auto; border-radius: 16px; display: block; background: var(--card); }
.gal-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.gal-thumbs button { flex: none; width: 72px; height: 72px; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); cursor: pointer; }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.price-box { background: var(--accent-soft); border-radius: 16px; padding: 18px; display: grid; gap: 8px; }
.price-label { font-size: 15px; color: var(--muted); }
.price-box strong { font-family: var(--font-display); font-size: 30px; font-variant-numeric: tabular-nums; }
.included li::before { background: var(--accent); }
.oi-price s { color: var(--muted); margin-right: 4px; }
.cfg-step legend { font-size: 22px; }

/* Цвета */
.dots { display: flex; gap: 6px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); display: block; }
.colors { display: grid; gap: 8px; font-size: 16px; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); border: 3px solid var(--card); box-shadow: 0 0 0 2px var(--line); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent); }
.swatch:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gal-main { max-height: 560px; object-fit: contain; }

/* Развилка: доступный или надёжный */
.fork { display: grid; gap: 14px; }
@media (min-width: 640px) { .fork { grid-template-columns: 1fr 1fr; } }
.fork-card { display: grid; gap: 8px; align-content: start; background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; color: var(--ink); }
.fork-card:hover { border-color: var(--accent); }
.fork-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.fork-main { border-color: var(--accent); background: var(--accent-soft); }
.fork-q { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.fork-name { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.25; }
.fork-price { font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.fork-desc { color: var(--muted); font-size: 16px; }
.fork-card .btn { margin-top: 6px; }
#reliable { scroll-margin-top: 16px; }
.upsell { background: var(--accent-soft); border-radius: 12px; padding: 14px; font-size: 16px; }
.upsell a { color: var(--accent); font-weight: 700; }
