/* Лендинг «СТО Приёмка»: тот же язык, что у программы — графит, синие «чернила», жёлтый сигнал,
   белорусский номерной знак как фирменная деталь. */
:root {
  --bg: #e4e8eb; --sheet: #fbfcfc; --graphite: #1f2429; --muted: #5a646e; --rule: #c8cfd5;
  --ink: #1f45b5; --ink-deep: #16328a; --ink-soft: #e3e9fb; --signal: #f2b705; --on-ink: #fff;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #14171a; --sheet: #1d2125; --graphite: #e5e8eb; --muted: #98a2ac; --rule: #353c43;
    --ink: #92aaff; --ink-deep: #b6c6ff; --ink-soft: #24305a; --signal: #f2c230; --on-ink: #0d1736;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #14171a; --sheet: #1d2125; --graphite: #e5e8eb; --muted: #98a2ac; --rule: #353c43;
  --ink: #92aaff; --ink-deep: #b6c6ff; --ink-soft: #24305a; --signal: #f2c230; --on-ink: #0d1736;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--graphite);
  font: 400 17px/1.55 'Golos Text', 'Segoe UI', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
main { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 28px; }
h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
section { padding: 72px 0 0; scroll-margin-top: 72px; }

/* Шапка */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 24px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid color-mix(in srgb, var(--rule) 60%, transparent); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--graphite); text-decoration: none; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav nav a:hover { color: var(--graphite); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 10px; font-weight: 700; font-size: 17px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-deep); }
.btn-ghost { border-color: var(--rule); color: var(--graphite); background: var(--sheet); }
.btn-ghost:hover { border-color: var(--graphite); }
.btn[aria-disabled='true'] { background: var(--bg); color: var(--muted); border-color: var(--rule); cursor: default; }

/* Первый экран */
.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-top: 64px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.lead { margin: 0 0 28px; font-size: 19px; color: var(--muted); max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-note { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: var(--muted); font-size: 15px; flex-wrap: wrap; }

/* Номерной знак — фирменная деталь, как в программе */
.plate {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 4px; border: 2px solid #1b1b1b; border-radius: 4px;
  background: #fff; color: #111; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; white-space: nowrap;
}
.plate-flag { width: 7px; height: 18px; border-radius: 1px; background: linear-gradient(#c8312b 0 66%, #2f8a3e 66%); }
.plate[hidden] { display: none; }

/* Скриншоты в «окне» */
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: var(--sheet); box-shadow: 0 40px 80px -40px rgb(20 35 80 / 0.45); }
.shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); }
.shot-hero { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
@media (prefers-reduced-motion: reduce) { .shot-hero { transform: none; } }

/* Возможности */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--graphite); }
.feature-grid article { padding: 22px 24px 26px 0; border-bottom: 1px solid var(--rule); }
.feature-grid article:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--rule); }
.feature-grid p { margin: 0; color: var(--muted); font-size: 16px; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }

/* Как начать — это последовательность, поэтому номера */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: #1b1b1b; font-weight: 800; margin-bottom: 8px; }
.steps strong { font-size: 19px; }
.steps span { color: var(--muted); font-size: 16px; }

/* Скачать */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dl { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.dl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dl-head h3 { font-size: 24px; margin: 0; }
.dl-meta { color: var(--muted); font-size: 15px; }
.dl p { margin: 0; }
.dl .btn { align-self: flex-start; }
.dl-hint { font-size: 14px; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--rule); }
.dl.is-soon { opacity: 0.75; }

/* Что нового */
.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.news-list > li { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 22px; }
.news-head { display: flex; gap: 12px; align-items: baseline; }
.news-head span { color: var(--muted); font-size: 14px; }
.news-list ul { margin: 8px 0 0; padding-left: 20px; }
.news-list p { margin: 8px 0 0; }

.foot { max-width: 1200px; margin: 80px auto 0; padding: 24px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--rule); }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .shot-hero { transform: none; }
  .feature-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .feature-grid article, .feature-grid article:not(:nth-child(3n + 1)) { padding: 18px 0; border-left: 0; }
  .shots, .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .nav nav { display: none; }
}
@media (max-width: 480px) {
  main { padding: 0 16px; }
  .nav { padding: 10px 16px; }
  .btn { width: 100%; }
  .dl .btn { align-self: stretch; }
}
