/* Системы технического зрения. Светлая инженерная тема: линии 1 px, сетка, моноширинные подписи.
   Один тёмный блок — секция продукта. Шрифты локальные, см. fonts.css. */

:root {
  color-scheme: light;

  --paper: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #fbfbfc;
  --ink: #101418;
  --ink-2: #242b33;
  --muted: #5c6672;
  --muted-2: #7b8592;

  --line: #d9dee5;
  --line-soft: #e9edf2;

  --accent: #1b4fd8;
  --accent-dark: #163fb0;
  --accent-soft: #eef2fd;
  --ok: #0f766e;
  --warn: #b45309;

  --dark-bg: #0b0f14;
  --dark-panel: #121a23;
  --dark-panel-2: #16202b;
  --dark-line: #243244;
  --dark-text: #e7eef7;
  --dark-muted: #9fb0c2;
  --dark-muted-2: #7d8fa3;
  --dark-accent: #8cc4ff;
  --dark-ok: #54d6a1;

  --radius: 4px;
  --radius-sm: 2px;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --step: 8px;

  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(27, 79, 216, 0.35);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 22px;
}

.container {
  width: min(100% - (2 * var(--gutter)), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tbd {
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding-block: 10px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-text small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  padding-block: 7px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

@media (max-width: 780px) {
  .header-inner {
    gap: 8px;
    padding-bottom: 0;
  }

  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

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

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
  color: var(--ink);
}

.band .btn {
  background: transparent;
  border-color: var(--dark-line);
  color: var(--dark-text);
}

.band .btn:hover {
  border-color: var(--dark-accent);
  color: var(--dark-accent);
  background: transparent;
}

/* ---------- секции ---------- */

.section {
  padding-block: 64px;
  scroll-margin-top: 84px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px 40px;
  align-items: start;
  margin-bottom: 36px;
}

.section-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

@media (max-width: 820px) {
  .section {
    padding-block: 48px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

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

.hero {
  padding-block: 64px 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px 56px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}

.hero h1 {
  margin: 16px 0 0;
  max-width: 22ch;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero .lead {
  margin: 20px 0 0;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-2);
}

.spec-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 24px;
}

.spec-card h2,
.spec-title {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.spec-list {
  display: grid;
  margin: 0;
}

.spec-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.45;
}

.spec-row:first-child {
  border-top: 0;
}

.spec-row dt {
  color: var(--muted);
}

.spec-row dd {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 900px) {
  .hero {
    padding-block: 48px;
  }

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

  .spec-card {
    order: 2;
  }
}

@media (max-width: 420px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- о компании ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px 56px;
  align-items: start;
}

.prose p {
  max-width: 66ch;
  color: var(--ink-2);
}

.prose p:last-child {
  margin-bottom: 0;
}

.pullquote {
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

.facts {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.45;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- тёмный блок продукта ---------- */

.band {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding-block: 64px;
  scroll-margin-top: 84px;
}

.band h2 {
  color: var(--dark-text);
}

.band .section-label {
  color: var(--dark-accent);
}

.band p {
  color: var(--dark-muted);
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 56px;
  align-items: center;
}

.band .lead {
  margin: 16px 0 0;
  max-width: 54ch;
  font-size: 16.5px;
  line-height: 1.6;
}

.band-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.band-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--dark-text);
}

.band-list .icon {
  margin-top: 2px;
  color: var(--dark-ok);
}

.band .actions {
  margin-top: 26px;
}

.radar {
  width: 100%;
  height: auto;
  display: block;
}

.modules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--dark-line);
  background: var(--dark-line);
}

.module {
  background: var(--dark-panel);
  padding: 16px 18px;
}

.module b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-muted-2);
}

.module span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--dark-text);
}

.band-note {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--dark-muted-2);
}

@media (max-width: 860px) {
  .band-grid {
    grid-template-columns: 1fr;
  }

  .radar {
    max-width: 520px;
  }
}

@media (max-width: 820px) {
  .modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .modules {
    grid-template-columns: 1fr;
  }
}

/* ---------- строки сценариев ---------- */

.rows {
  margin: 0;
  border-top: 1px solid var(--line);
}

.row {
  display: grid;
  grid-template-columns: 44px minmax(0, 260px) minmax(0, 1fr);
  gap: 16px 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.row-num {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.row h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.row p {
  margin: 0;
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.row p strong {
  color: var(--ink);
  font-weight: 600;
}

.rows-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted-2);
}

@media (max-width: 760px) {
  .row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .row p {
    grid-column: 2;
  }
}

/* ---------- технологии ---------- */

.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px 56px;
  align-items: start;
}

.tech-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.tech-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.tech-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.tech-list b {
  display: block;
  margin-bottom: 2px;
  font-size: 15.5px;
  font-weight: 600;
}

.tech-list span {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 820px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- таблицы ---------- */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.45;
}

.table caption {
  padding: 12px 14px 0;
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.table th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: bottom;
}

.table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table td:first-child {
  color: var(--muted);
  white-space: nowrap;
}

.table--plain td:first-child {
  width: 38%;
  white-space: normal;
}

.table-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-2);
}

/* ---------- документы ---------- */

.doc-head {
  padding-block: 48px 28px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
}

.crumbs span[aria-hidden="true"] {
  color: var(--line);
}

.doc h1,
.doc-head h1 {
  margin: 0 0 12px;
  max-width: 24ch;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.doc-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.doc-meta span + span::before {
  content: " · ";
}

.doc {
  max-width: 900px;
  padding-bottom: 64px;
}

.doc-intro {
  margin: 24px 0 0;
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}

.doc h2 {
  margin: 44px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.doc h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

.doc p,
.doc li {
  max-width: 76ch;
  font-size: 16px;
  line-height: 1.65;
}

.doc p {
  color: var(--ink-2);
}

.doc .muted {
  color: var(--muted);
}

.doc .def {
  display: grid;
  margin: 14px 0 0;
  border-top: 1px solid var(--line);
}

.doc .def div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px 24px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.5;
}

.doc .def dt {
  color: var(--muted);
}

.doc .def dd {
  margin: 0;
}

.doc .note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 620px) {
  .doc .def div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- контакты ---------- */

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 56px;
  align-items: start;
}

.contact-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.contact-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.contact-item dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-item dd {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.contact-link {
  color: var(--ink);
  text-decoration-color: var(--line);
}

.contact-link:hover {
  color: var(--accent);
}

.contacts-text {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 820px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

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

.site-footer {
  margin-top: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: 40px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 36ch;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.footer-col h2 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 3px 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 404 ---------- */

.notfound {
  padding-block: 96px;
}

.notfound h1 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
}

.notfound p {
  margin: 14px 0 0;
  max-width: 56ch;
  color: var(--muted);
}

.notfound .actions {
  margin-top: 26px;
}

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

@media print {
  .site-header,
  .site-footer,
  .actions {
    display: none;
  }

  body {
    background: #fff;
  }

  .section,
  .band {
    padding-block: 24px;
    break-inside: avoid;
  }

  .band {
    background: #fff;
    color: #000;
  }

  .band h2,
  .band p,
  .band-list li {
    color: #000;
  }
}

/* --- правки сборки v1 --- */
.doc-head {
  max-width: 900px;
  margin-inline: auto;
}

.doc .note {
  max-width: none;
}

@media (max-width: 780px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav a[data-mobile="hide"] {
    display: none;
  }
}

/* заглушки внутри подвала остаются в строке */
.footer-col .tbd {
  display: inline;
  border-bottom: 0;
  color: var(--muted);
}

.nowrap {
  white-space: nowrap;
}


/* ---------- единая типографическая сетка ---------- */
body {
  font-kerning: normal;
  font-feature-settings: "kern" 1;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.hero-grid > *,
.section-head > *,
.about-grid > *,
.tech-grid > *,
.contacts-grid > *,
.footer-grid > * {
  min-width: 0;
}

.tech-list span {
  display: block;
}

.spec-card .prose p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.spec-card .actions {
  margin-top: 20px;
}

/* Единые текстовые меры и интервалы. Основной текст идёт по левому
   краю: на русском языке это чище, чем растянутые строки по ширине. */
@media (min-width: 900px) {
  .section-head > p,
  .section-head > div > p:not(.section-label) {
    max-width: 64ch;
  }

  .prose p,
  .doc p,
  .doc li {
    line-height: 1.7;
  }

  .row p,
  .tech-list span,
  .contacts-text {
    line-height: 1.65;
  }
}

@media (max-width: 899px) {
  p,
  li,
  dd {
    text-align: left;
    hyphens: none;
  }
}

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

  .site-nav a {
    font-size: 13px;
  }

  .hero .lead {
    font-size: 17px;
  }

  .actions {
    gap: 10px;
  }

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


/* ---------- карточка проекта «Адрон» ---------- */
#adron-details {
  scroll-margin-top: 92px;
}

.project-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--dark-line);
}

.project-notes h3 {
  margin: 0 0 9px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-accent);
}

.project-notes p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark-muted);
}

@media (max-width: 820px) {
  .project-notes {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}


/* ---------- отдельная страница продукта ---------- */
.product-hero {
  padding-top: 24px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-step {
  min-width: 0;
  padding: 22px 24px 24px 0;
}

.flow-step + .flow-step {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.flow-step > span {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}

.flow-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.flow-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.table-tasks td:first-child {
  width: 44px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

.table-tasks td:nth-child(2) {
  min-width: 180px;
  color: var(--ink);
  font-weight: 600;
}

.screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.screen-card {
  min-width: 0;
  margin: 0;
}

.screen-card--wide {
  grid-column: 1 / -1;
}

.screen-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--dark-bg);
}

.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-card figcaption {
  margin-top: 12px;
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.screen-card figcaption span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-cta {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .flow-step:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .screen-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .product-hero {
    padding-top: 8px;
  }

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

  .flow-step,
  .flow-step + .flow-step,
  .flow-step:nth-child(3),
  .flow-step:nth-child(4) {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .flow-step:first-child {
    border-top: 0;
  }

  .flow-step > span {
    margin-bottom: 8px;
  }
}


/* Схемы показываем крупно; по нажатию открывается исходный SVG. */
.screens {
  grid-template-columns: 1fr;
  gap: 34px;
}

.screen-card--wide {
  grid-column: auto;
}

.screen-frame {
  display: block;
  text-decoration: none;
}

.screen-frame:focus-visible {
  outline-offset: 4px;
}


/* Светлые технические схемы оборудования. */
.page-product .screen-frame {
  background: var(--surface);
}
