:root {
  --bg: #070a0e;
  --surface: #121820;
  --border: #243041;
  --text: #e7eef7;
  --muted: #7f8fa3;
  --accent: #1ec8a8;
  --ok: #3dd68c;
  --warn: #e6b35a;
  --err: #ff6b6b;
  --field: #0d1218;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(30, 200, 168, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
button, input { font: inherit; color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px 72px; }
header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 0 -20px 0;
  padding: 14px 20px;
  background: rgba(7, 10, 14, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; font-family: Bahnschrift, "Segoe UI Semibold", sans-serif; letter-spacing: 0.04em; font-size: 28px; line-height: 1; margin: 0; color: var(--text); }
.brand span { color: var(--accent); }
nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-link, .lang {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.lang.on { color: #04110e; background: var(--accent); border-color: var(--accent); }
.lang-pick { display: inline-flex; margin-left: 8px; }
.lang-select {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 28px 6px 12px;
  color: var(--text);
  background: var(--field);
  cursor: pointer;
  max-width: 168px;
}
.hero { padding: 32px 0 8px; }
.eyebrow { color: var(--accent); letter-spacing: 0.14em; font-size: 12px; text-transform: uppercase; margin: 0 0 10px; }
h1 { font-size: 40px; line-height: 1.15; margin: 0 0 14px; font-weight: 650; }
h2 { margin: 0 0 12px; font-size: 26px; }
.lead, .section-lead { color: var(--muted); max-width: 720px; margin: 0 0 16px; }
.section-lead { margin: 0 0 16px; }
.block { scroll-margin-top: 84px; margin-top: 42px; }
.grid { display: grid; gap: 16px; }
.grid.three { margin-top: 22px; }
.card, .panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.card h2, .panel h2 { font-size: 18px; margin-bottom: 12px; }
.card p, .quiet { margin: 0; color: var(--muted); }
.card p + p { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { background: var(--field); border: 1px solid var(--border); border-radius: 999px; padding: 6px 10px; font-size: 13px; color: var(--text); }
a.chip { display: inline-block; }
a.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.on { background: var(--accent); color: #04110e; border-color: var(--accent); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.field {
  flex: 1;
  min-width: 180px;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.mono { font-family: "Cascadia Mono", Consolas, monospace; letter-spacing: 0.04em; }
#vin-input { text-transform: uppercase; }
.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--accent);
  color: #04110e;
  font-weight: 650;
  cursor: pointer;
  line-height: 1.2;
}
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pay-row { display: flex; align-items: stretch; gap: 10px; margin-top: 12px; }
.pay-row .btn {
  flex: 1 1 0;
  min-height: 48px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab, .gen {
  border: 1px solid var(--border);
  background: var(--field);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.tab.on, .gen.on { background: var(--accent); color: #04110e; border-color: var(--accent); }
.tile { background: var(--field); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.tile span, .kicker { display: block; color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.tile strong { display: block; margin-top: 4px; word-break: break-word; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.err { color: var(--err); }
.status { min-height: 1.4em; margin: 10px 0 0; color: var(--muted); }
.version {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.version p { margin: 0; }
.note { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.hidden { display: none; }
#contacts, #contacts .card, footer { text-align: center; }
.contacts p { margin: 0 0 10px; }
.contacts a { margin: 0 10px; }
ol { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
ol li + li { margin-top: 6px; }
footer { margin-top: 48px; padding-top: 8px; color: var(--muted); font-size: 14px; }
.catalog-search { margin: 18px 0 14px; }
.catalog-list { display: grid; gap: 10px; margin-top: 16px; }
.catalog-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
}
.catalog-item strong { min-width: 0; overflow-wrap: anywhere; }
.catalog-item span { flex: 0 0 auto; white-space: nowrap; color: var(--muted); }
.pager, .crumb { color: var(--muted); }
.pager { display: flex; gap: 16px; align-items: center; margin: 20px 0 0; }
.crumb { display: block; margin: 22px 0 18px; font-size: 14px; line-height: 1.5; }
.product { display: grid; gap: 28px; align-items: start; margin-top: 0; }
.product > * { min-width: 0; }
.spec, .product-buy { overflow: hidden; }
.product h1 { font-size: 32px; line-height: 1.15; margin: 0 0 14px; overflow-wrap: anywhere; }
.product-buy .lead { max-width: none; margin: 0 0 18px; }
.spec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--border); }
.spec-row span { color: var(--muted); flex: 0 1 auto; }
.spec-row strong { text-align: right; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(30, 200, 168, 0.15);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card p.badge { margin: 0 0 12px; color: var(--accent); }
.filebox { margin-top: 18px; background: var(--field); border-radius: 12px; padding: 14px 14px 6px; }
.filebox .kicker { margin: 0 0 6px; }
.file-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.file-line p { margin: 0; min-width: 0; }
.file-line strong { display: block; font-size: 13px; color: var(--text); }
.file-line em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-family: Consolas, monospace;
}
.file-line b { color: var(--muted); font-weight: 500; white-space: nowrap; font-size: 12px; }
.product-buy .field { width: 100%; display: block; }
.facts { margin: 18px 0 0; padding: 0; list-style: none; }
.facts li { position: relative; margin: 0; padding: 8px 0 8px 18px; color: var(--muted); }
.facts li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.how-step { padding: 22px 0; border-top: 1px solid var(--border); }
.how-step:first-child { border-top: 0; padding-top: 0; }
.how-step:last-child { padding-bottom: 0; }
.how-step h3 { margin: 0 0 10px; font-size: 22px; }
.how-num { color: var(--accent); margin-right: 8px; }
.story h2 { font-size: 22px; margin-top: 28px; }
.story h2:first-child { margin-top: 0; }
.story p { margin: 0 0 12px; }
.member-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.member-table td { border-top: 1px solid var(--border); padding: 10px 12px 10px 0; vertical-align: top; }
.member-table td:last-child { white-space: nowrap; color: var(--muted); text-align: right; }
.member-table .mono { word-break: break-all; font-size: 13px; }
.price { font-size: 32px; font-weight: 700; margin: 0 0 18px; line-height: 1.15; }
.price span { display: block; margin-top: 6px; color: var(--muted); font-size: 16px; font-weight: 450; }
label.note { display: block; margin: 0 0 6px; }
@media (min-width: 800px) {
  .grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .grid.two { grid-template-columns: 1fr 1fr; }
  .grid.vehicle { grid-template-columns: 1fr 1fr 1fr; }
  .product { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
}
.shots {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 12px;
}
.shots-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
}
.shots-row {
  display: flex;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  gap: 12px;
  padding-right: 12px;
}
.shot {
  flex: 0 0 340px;
  width: 340px;
  height: 174px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #070a0e;
  cursor: zoom-in;
  appearance: none;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-dialog {
  width: min(1560px, calc(100vw - 16px));
  max-height: calc(100vh - 16px);
  padding: 40px 52px 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #070a0e;
}
.shot-dialog::backdrop { background: rgba(0, 0, 0, 0.78); }
.shot-dialog img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 68px);
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.shot-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.shot-nav {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 64px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}
.shot-prev { left: 12px; }
.shot-next { right: 12px; }
@media (max-width: 720px) {
  h1 { font-size: 32px; }
  header { align-items: flex-start; }
  .version { flex-direction: column; align-items: flex-start; }
}
.topic p { color: var(--text); max-width: 760px; }
.topic h2 { margin-top: 28px; }
.topic-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
a.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.topic-card h2 { font-size: 18px; }
.topic-card p { margin-top: 8px; }
.faq-item { margin-top: 16px; }
.faq-item h3 { font-size: 18px; margin: 0 0 6px; }
