/* «Запуск» · самостоятельный сайт · фирменный зелёный, архитектура, инженерные сети */

@font-face {
  font-family: "Sofia Sans";
  src: url("assets/fonts/sofia-sans.woff2") format("woff2");
  font-weight: 1 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Sans XC";
  src: url("assets/fonts/sofia-sans-xcond.woff2") format("woff2");
  font-weight: 1 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
}

:root {
  --ink: #193C31;
  --ink-2: #52695C;
  --paper: #F3F4EE;
  --paper-2: #E4E9DE;
  --paper-3: #F8F9F3;
  --concrete: #C8D3C3;
  --rule: rgba(25, 60, 49, .2);
  --cobalt: #235D45;
  --cobalt-d: #163E30;
  --cobalt-l: #BDDBA0;
  --night: #123E32;
  --night-2: #194C3B;
  --on-dark: #F3F4EE;
  --on-dark-2: #C4D4C5;
  --rule-dark: rgba(243, 244, 238, .18);
  --err: #B3361F;
  --err-l: #FFA592;
  /* инженерные сети на схеме: материал трубы и сигнал этапа */
  --net-case: #153C2B;
  --net: #3E8654;
  --net-main: #2C6842;
  --net-hi: #B6D59C;
  --net-sig: #B8DE6F;
  --net-sig-hi: #F3FFD9;

  --f-text: "Sofia Sans", "Helvetica Neue", Arial, sans-serif;
  --f-disp: "Sofia Sans XC", "Sofia Sans", "Arial Narrow", sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-h1: clamp(2.15rem, 1.1rem + 4.6vw, 6.25rem);
  --fs-h2: clamp(2.1rem, 1.2rem + 3.6vw, 5rem);
  --fs-h3: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --fs-lead: clamp(1.0625rem, 1rem + .45vw, 1.375rem);
  --fs-mono: .78rem;

  --gx: clamp(16px, 4vw, 48px);
  --sec-y: clamp(56px, 7vw, 112px);
  --head-h: 56px;
  --ease: cubic-bezier(.3, .7, .2, 1);
}
@media (min-width: 900px) { :root { --head-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.5 var(--f-text);
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.sec--night :focus-visible, .sec--ink :focus-visible, .sec--cobalt :focus-visible { outline-color: var(--on-dark); }
.sec--ink .req__form :focus-visible { outline-color: var(--cobalt); }
html:not(.js) .js-only { display: none !important; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gx); }
.mono { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .02em; }
.kicker {
  font: 500 var(--fs-mono)/1.35 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2);
}

.skip {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 8px; }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 12px 22px;
  background: var(--cobalt); color: #fff; border: 1.5px solid var(--cobalt); border-radius: 2px;
  font: 600 1.0625rem/1.15 var(--f-text); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--cobalt-d); border-color: var(--cobalt-d); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .95rem; }
.btn--light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn--light:hover { background: #fff; border-color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn__ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.link {
  font-weight: 600; color: var(--ink); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 4px;
  display: inline-flex; align-items: center; min-height: 44px;
}
.link:hover { color: var(--cobalt); }

/* шапка */
.head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(4px)) { .head { backdrop-filter: blur(6px); } }
.head__row { display: flex; align-items: center; gap: 16px; height: var(--head-h); }
.head__logo { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.head__logo img { height: 18px; width: auto; }
.head__nav { display: none; }
.head__cta { display: none; }
.head__menu {
  display: none; min-height: 44px; padding: 0 14px;
  background: transparent; border: 1.5px solid var(--ink); border-radius: 2px;
  font-weight: 600; cursor: pointer;
}
.has-dialog .head__menu { display: inline-flex; align-items: center; }
@media (min-width: 420px) { .head__cta { display: inline-flex; } }
@media (min-width: 900px) {
  .head__logo img { height: 22px; }
  .head__nav { display: flex; gap: 4px; }
  .head__nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
    text-decoration: none; font-weight: 500;
  }
  .head__nav a:hover { color: var(--cobalt); }
  .has-dialog .head__menu { display: none; }
}

/* меню */
.menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--paper); color: var(--ink);
}
.menu::backdrop { background: rgba(15, 21, 38, .5); }
.menu__in { display: flex; flex-direction: column; gap: 24px; min-height: 100%; padding-bottom: 32px; }
.menu__bar { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); border-bottom: 1px solid var(--rule); }
.menu__bar img { height: 18px; width: auto; }
.menu__close {
  min-height: 44px; padding: 0 14px; background: transparent;
  border: 1.5px solid var(--ink); border-radius: 2px; font-weight: 600; cursor: pointer;
}
.menu__list li { border-bottom: 1px solid var(--rule); }
.menu__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 14px 0;
  font: 700 clamp(1.75rem, 1.2rem + 3vw, 2.6rem)/1 var(--f-disp); text-transform: uppercase; text-decoration: none;
}
.menu__list a span { font: 500 var(--fs-mono) var(--f-mono); color: var(--cobalt); }
.menu__cta { align-self: flex-start; }

/* первый экран */
.hero {
  padding: 18px 0 clamp(40px, 6vw, 80px);
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(22,20,15,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22,20,15,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--ink);
}
.hero__grid { display: grid; gap: 28px; }
.hero__text { display: flex; flex-direction: column; gap: 14px; }
.hero__title {
  font: 800 var(--fs-h1)/.9 var(--f-disp); text-transform: uppercase; letter-spacing: -.005em;
  hyphens: manual;
}
.hero__sub {
  display: block; margin-top: .3em;
  font: 500 clamp(1.05rem, .85rem + 1vw, 1.75rem)/1.2 var(--f-text);
  text-transform: none; letter-spacing: 0; color: var(--cobalt);
}
.hero__lead { font-size: var(--fs-lead); line-height: 1.42; max-width: 36em; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 4px; }
.hero__note { color: var(--ink-2); }
@media (max-width: 419px) {
  .hero .kicker { font-size: .7rem; }
  .hero__lead { font-size: 1rem; line-height: 1.4; }
  .hero__act .btn { width: 100%; }
}
@media (min-width: 900px) {
  .hero { padding-top: 40px; }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
  .hero__text { gap: 20px; padding-top: 24px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .hero__text { gap: 14px; padding-top: 0; }
}

/* схема */
.scheme { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.scheme__canvas {
  margin-inline: calc(var(--gx) * -1);
  border-block: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper-3) 60%, transparent);
}
@media (min-width: 900px) { .scheme__canvas { margin-inline: 0; border: 1px solid var(--rule); } }
.sch { width: 100%; height: auto; overflow: visible; }
.scheme__cap { color: var(--ink-2); }
.scheme__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 560px) { .scheme__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.scheme__tabs button {
  min-height: 46px; padding: 8px 10px; border: 1.5px solid var(--ink); border-radius: 2px;
  background: transparent; font-weight: 600; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 8px;
  transition: background-color .2s, color .2s;
}
.scheme__tabs button .mono { color: var(--cobalt); }
.scheme__tabs button:hover { background: var(--paper-2); }
.scheme__tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.scheme__tabs button[aria-pressed="true"] .mono { color: var(--cobalt-l); }
.scheme__notes p { min-height: 3em; max-width: 46em; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .95rem; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.chip {
  display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px;
  border: 1.4px solid var(--cobalt); border-radius: 11px;
  font: 700 .72rem/1 var(--f-mono); color: var(--cobalt);
}

/* геометрия схемы */
.sch .soil { fill: var(--concrete); stroke: var(--ink); stroke-width: 1.1; }
.sch .soil-h { fill: url(#hatch); stroke: none; }
.sch .hatch-line { stroke: var(--ink); stroke-width: .8; opacity: .35; }
.sch .pipe { fill: var(--net-main); stroke: var(--net-case); stroke-width: 2; }
.sch .ground { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.3; }
.sch .street { fill: var(--concrete); opacity: .65; }
.sch .grid { fill: none; stroke: var(--ink); stroke-width: .8; opacity: .13; }
.sch .curb { stroke: var(--ink); stroke-width: 1; opacity: .7; }
.sch .plot { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 16 5 3 5; }
.sch .paint { font: 600 14px var(--f-mono); letter-spacing: .25em; fill: var(--ink); opacity: .5; }
.sch .ground-l { transition: opacity .6s var(--ease); }

.sch .bld-top { fill: var(--paper-3); stroke: var(--ink); stroke-width: 1.4; }
.sch .bld-side { fill: #D9E0D1; stroke: var(--ink); stroke-width: 1.4; }
.sch .bld-cut { fill: var(--paper-3); }
.sch .basement { fill: url(#hatch); }
.sch .bld-edge { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.sch .floors { stroke: var(--ink); stroke-width: .9; opacity: .45; }
.sch .grade { stroke: var(--ink); stroke-width: 1.8; }
.sch .unit { fill: var(--paper-3); stroke: var(--ink); stroke-width: 1.2; transition: fill .5s; }
.sch .win { fill: var(--paper-3); stroke: var(--ink); stroke-width: .6; transition: fill .5s var(--ease); }

.sch .trench { fill: none; stroke: var(--cobalt); stroke-width: 18; opacity: 0; transition: opacity .5s; }
.sch .main { fill: none; stroke: var(--net-main); stroke-width: 4.6; }
.sch .main--c { stroke: var(--net-case); stroke-width: 7; }
.sch .main--e { stroke-dasharray: 12 4 2 4; }
.sch .main--h { stroke: var(--net-hi); stroke-width: 1.1; opacity: .7; }
.sch .joint { fill: none; stroke: var(--net-case); stroke-width: 2.4; }
.sch .hid { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 5 4; opacity: .6; }
.sch .live, .sch .riser {
  fill: none; stroke: var(--net); stroke-width: 5; stroke-linecap: butt;
  stroke-dasharray: 1 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.sch .live--c { stroke: var(--net-case); stroke-width: 7.5; }
.sch .live--h { stroke: var(--net-hi); stroke-width: 1.3; opacity: .8; }
.sch .riser { stroke-width: 3; transition-delay: calc(300ms + var(--d, 0) * 90ms); }
.sch .riser--c { stroke: var(--net-case); stroke-width: 5; }
.sch .riser--h { stroke: var(--net-hi); stroke-width: .9; opacity: .8; }
.sch .sleeve { fill: var(--concrete); stroke: var(--ink); stroke-width: 1; }
.sch .var { fill: none; stroke: var(--cobalt); stroke-width: 2.6; stroke-dasharray: 9 5; opacity: 0; transition: opacity .4s; }
.sch .pt { fill: var(--paper-3); stroke: var(--ink); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.sch .pt--b { opacity: 0; transition: opacity .4s; }

.sch .codes rect { fill: var(--paper-3); stroke: var(--cobalt); stroke-width: 1.4; }
.sch .codes text, .sch .tags text { font: 700 11px var(--f-mono); fill: var(--cobalt); text-anchor: middle; }
.sch .tags circle { fill: var(--cobalt); }
.sch .tags text { fill: #fff; font-size: 13px; }
.sch .codes, .sch .tags, .sch .call, .sch .stamp__t { transition: opacity .4s; }
.sch .tags, .sch .call { opacity: 0; }
.sch .call__ring { fill: none; stroke: var(--cobalt); stroke-width: 1.6; }
.sch .call__lead { fill: none; stroke: var(--ink); stroke-width: 1; }

.sch .lbl { font: 500 12px var(--f-mono); fill: var(--ink); letter-spacing: .02em; }
.sch .lbl--b { font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.sch .lbl--s { fill: var(--ink-2); font-size: 11.5px; }
.sch .halo { paint-order: stroke; stroke: var(--paper-3); stroke-width: 5px; stroke-linejoin: round; }
.sch .stamp__frame { fill: var(--paper-3); stroke: var(--ink); stroke-width: 1.2; }
.sch .stamp__rule { stroke: var(--ink); stroke-width: 1; }
.sch .stamp__t { opacity: 0; }

/* состояния этапов */
.sch[data-stage="all"] .stamp__t--all,
.sch[data-stage="s1"] .stamp__t--s1,
.sch[data-stage="s2"] .stamp__t--s2,
.sch[data-stage="s3"] .stamp__t--s3 { opacity: 1; }

.sch[data-stage="s1"] .live,
.sch[data-stage="s1"] .riser,
.sch[data-stage="s2"] .riser { stroke-dashoffset: 1; transition-delay: 0s; }
.sch[data-stage="s1"] .var { opacity: 1; }
.sch[data-stage="s1"] .pt { fill: var(--cobalt); stroke: var(--cobalt); }
.sch[data-stage="s1"] .pt--b { opacity: 1; }
.sch[data-stage="s1"] .codes { opacity: 0; }
.sch[data-stage="s1"] .tags,
.sch[data-stage="s1"] .call { opacity: 1; }

.sch[data-stage="s2"] .ground-l { opacity: .38; }
.sch[data-stage="s2"] .trench { opacity: .15; }

.sch[data-stage="s3"] .unit { fill: color-mix(in srgb, var(--cobalt) 18%, var(--paper-3)); }

/* вступление: трассы прорисовываются один раз после загрузки */
.js .sch:not(.is-ready) .live,
.js .sch:not(.is-ready) .riser { stroke-dashoffset: 1; transition: none; }

/* сигнал этапа. Без классов is-armed/is-run это статичное конечное состояние:
   путь этапа прорисован, цель подсвечена. Так схема выглядит без JS и при reduced-motion. */
.sch .sig { pointer-events: none; }
.sch .trail { display: none; fill: none; stroke-dasharray: 1 1; stroke-dashoffset: 0; stroke-linejoin: round; stroke-linecap: butt; }
.sch[data-stage="all"] .trail--all,
.sch[data-stage="s1"] .trail--s1,
.sch[data-stage="s2"] .trail--s2,
.sch[data-stage="s3"] .trail--s3 { display: inline; }
.sch .trail__o { stroke: var(--net-sig); stroke-width: 3.6; }
.sch .trail__i { stroke: var(--net-sig-hi); stroke-width: 1.1; }
.sch.is-armed .trail { stroke-dashoffset: 1; }

.sch .tgt { fill: none; stroke: var(--net-sig); stroke-width: 2.2; opacity: 0; transition: opacity .5s var(--ease); }
.sch .tgt--bld { fill: var(--net-sig-hi); }
.sch:not(.is-run):not(.is-armed)[data-stage="all"] .tgt,
.sch:not(.is-run):not(.is-armed)[data-stage="s1"] .tgt--pt,
.sch:not(.is-run):not(.is-armed)[data-stage="s2"] .tgt--wall,
.sch:not(.is-run):not(.is-armed)[data-stage="s3"] .tgt--wall,
.sch:not(.is-run):not(.is-armed)[data-stage="s3"] .tgt--bld,
.sch.lit-pt .tgt--pt, .sch.lit-wall .tgt--wall, .sch.lit-bld .tgt--bld { opacity: 1; }

/* цель «здание»: окна получают ресурс, когда сигнал дошёл */
.sch:not(.is-run):not(.is-armed)[data-stage="all"] .win.on,
.sch:not(.is-run):not(.is-armed)[data-stage="s3"] .win.on,
.sch.lit-bld .win.on { fill: var(--cobalt-l); }

.sch .pulse { opacity: 0; transition: opacity .35s var(--ease); }
.sch.is-run .pulse { opacity: 1; transition: none; }
.sch .pulse__o { fill: var(--net-sig); stroke: var(--net-case); stroke-width: .8; }
.sch .pulse__i { fill: var(--net-sig-hi); }

.sch .src { transition: opacity .4s; opacity: 0; }
.sch[data-stage="all"] .src, .sch[data-stage="s1"] .src { opacity: 1; }
.sch .src__ring { fill: none; stroke: var(--net-sig); stroke-width: 1.8; }
.sch .src__lead { fill: none; stroke: var(--ink); stroke-width: 1; }

@media (max-width: 559px) {
  .sch .title, .sch .stamp, .sch .call text, .sch .paint, .sch .src text, .sch .src__lead { display: none; }
  .sch .codes text { font-size: 13px; }
  .sch .trail__o { stroke-width: 5; }
  .sch .trail__i { stroke-width: 1.6; }
  .sch .pulse__s { transform: scale(1.5); }
}

/* общие секции */
.sec { padding-block: var(--sec-y); }
.sec__head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 980px; }
.sec h2 { font: 800 var(--fs-h2)/.92 var(--f-disp); text-transform: uppercase; }
.sec__lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 40em; }

.sec--night { background: var(--night); color: var(--on-dark); }
.sec--night .kicker { color: var(--on-dark-2); }
.sec--cobalt { background: var(--cobalt); color: #fff; }
.sec--cobalt .kicker { color: var(--cobalt-l); }
.sec--ink { background: var(--ink); color: var(--on-dark); }
.sec--ink .kicker { color: var(--on-dark-2); }

/* координатор */
.hub { display: grid; gap: 0; position: relative; padding-left: 28px; }
.hub::before {
  content: ""; position: absolute; left: 7px; top: 22px; bottom: 22px;
  border-left: 1.5px solid var(--on-dark-2);
}
.hub__side { display: grid; gap: 10px; padding-block: 10px; }
.hub__side li, .hub__core { position: relative; }
.hub__side li {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 64px; padding: 10px 16px;
  border: 1px solid var(--rule-dark); background: var(--night-2);
}
.hub__side li::before, .hub__core::before {
  content: ""; position: absolute; left: -21px; top: 50%; width: 20px;
  border-top: 1.5px solid var(--on-dark-2);
}
.hub__side .mono { color: var(--on-dark-2); }
.hub__side b { font-size: 1.15rem; font-weight: 600; }
.hub__side--r b { color: #fff; }
.hub__core {
  display: grid; gap: 6px; margin-block: 10px; padding: 18px 18px 16px;
  background: var(--paper); color: var(--ink); border-left: 6px solid var(--cobalt);
}
.hub__core img { height: 20px; width: auto; }
.hub__core p { font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.hub__core .mono { font-weight: 500; color: var(--ink-2); font-size: var(--fs-mono); }
.hub__note { margin-top: 28px; max-width: 46em; color: var(--on-dark-2); }

@media (min-width: 900px) {
  .hub {
    padding-left: 0; align-items: center;
    grid-template-columns: minmax(0, .9fr) 72px minmax(0, 1fr) 72px minmax(0, 1.25fr);
  }
  .hub::before { display: none; }
  .hub__side--l { grid-column: 1; }
  .hub__core { grid-column: 3; margin: 0; }
  .hub__side--r { grid-column: 5; }
  .hub__side { position: relative; padding: 0; gap: 14px; }
  .hub__side li { height: 76px; }
  .hub__side--l li::before { left: 100%; width: 36px; }
  .hub__side--r li::before { left: auto; right: 100%; width: 36px; }
  .hub__side--l::after, .hub__side--r::after {
    content: ""; position: absolute; top: 38px; bottom: 38px;
    border-left: 1.5px solid var(--on-dark-2);
  }
  .hub__side--l::after { left: calc(100% + 36px); }
  .hub__side--r::after { right: calc(100% + 36px); }
  .hub__core::before { left: auto; right: 100%; width: 36px; }
  .hub__core::after {
    content: ""; position: absolute; left: 100%; top: 50%; width: 36px;
    border-top: 1.5px solid var(--on-dark-2);
  }
}

/* этапы */
.step {
  display: grid; gap: 20px; padding-block: clamp(28px, 4vw, 56px);
  border-top: 1.5px solid var(--ink);
}
.step__num {
  font: 800 clamp(4.5rem, 3rem + 7vw, 11rem)/.8 var(--f-disp);
  color: transparent; -webkit-text-stroke: 1.5px var(--cobalt);
}
.step__body { display: grid; gap: 14px; align-content: start; min-width: 0; }
.step h3 { font: 800 var(--fs-h3)/.95 var(--f-disp); text-transform: uppercase; }
.ticks li {
  position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule);
  font-size: 1.1rem; line-height: 1.35;
}
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 7px;
  border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt);
  transform: rotate(-45deg);
}
.step__out { display: grid; gap: 4px; padding: 14px 16px; background: var(--paper-2); border-left: 4px solid var(--cobalt); }
.step__out .mono { text-transform: uppercase; color: var(--cobalt); }
.step__fine { font-size: .95rem; color: var(--ink-2); }
.step__vis { display: grid; gap: 8px; min-width: 0; align-content: start; }
.step__vis img { width: 100%; border: 1px solid var(--ink); }
.step__vis figcaption { color: var(--ink-2); }
.step__vis--tall img { max-width: 440px; }
.step__vis--plan { background: var(--paper-3); border: 1px solid var(--rule); padding: 14px; }
.mini { width: 100%; height: auto; }
.mini__plot { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 14 4 2 4; }
.mini__bld { fill: var(--paper-2); stroke: var(--ink); stroke-width: 2; }
.mini__main { stroke: var(--ink); stroke-width: 2.2; }
.mini__a { fill: none; stroke: var(--cobalt); stroke-width: 3; }
.mini__b { fill: none; stroke: var(--cobalt); stroke-width: 3; stroke-dasharray: 9 6; }
.mini__pt { fill: var(--cobalt); }
.mini__tag { fill: var(--cobalt); }
.mini__tagt { font: 700 13px var(--f-mono); fill: #fff; }
.mini__lbl { font: 500 10.5px var(--f-mono); fill: var(--ink-2); letter-spacing: .06em; }

@media (min-width: 900px) {
  .step { grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 5fr); gap: 40px; }
}

.strip {
  display: grid; gap: 16px; align-items: center;
  padding: 24px; margin-top: clamp(16px, 3vw, 32px);
  background: var(--ink); color: var(--on-dark);
}
.strip p { font-size: var(--fs-lead); line-height: 1.35; max-width: 36em; }
.strip :focus-visible { outline-color: var(--on-dark); }
@media (min-width: 760px) { .strip { grid-template-columns: 1fr auto; padding: 28px 32px; } }

/* результат: штамп чертежа */
.block {
  display: grid; grid-template-columns: minmax(0, 1fr);
  border-top: 1.5px solid #fff; border-left: 1.5px solid #fff;
}
.block li {
  display: grid; gap: 14px; align-content: start;
  padding: 20px 20px 24px;
  border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff;
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); line-height: 1.25; font-weight: 500;
}
.block .mono { color: var(--cobalt-l); text-transform: uppercase; }
.block__bound { background: var(--cobalt-d); font-size: 1.0625rem !important; line-height: 1.45 !important; font-weight: 400 !important; }
@media (min-width: 640px) { .block { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .block { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .block li { min-height: 200px; padding: 24px 28px 28px; }
}

/* заявка */
.req { display: grid; gap: 40px; }
.req__info { display: grid; gap: 18px; align-content: start; }
.req h2 { margin-bottom: 4px; }
.req__sub { font: 800 1.75rem/1 var(--f-disp); text-transform: uppercase; margin-top: 12px; }
.prep { counter-reset: p; border-top: 1px solid var(--rule-dark); }
.prep li {
  counter-increment: p; position: relative;
  padding: 12px 0 12px 44px; border-bottom: 1px solid var(--rule-dark);
}
.prep li::before {
  content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 14px;
  font: 500 var(--fs-mono) var(--f-mono); color: var(--cobalt-l);
}
.prep b { font-weight: 700; }
.req__form {
  background: var(--paper); color: var(--ink);
  padding: clamp(20px, 3vw, 36px); display: grid; gap: 12px; align-content: start;
  border-top: 6px solid var(--cobalt);
}
.req__form .req__sub { margin-top: 0; }
.req__hint { color: var(--ink-2); }
@media (min-width: 1024px) { .req { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }

.cmp { display: grid; gap: 18px; margin-top: 8px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; padding: 0; }
.req-mark, .opt { font: 500 .72rem var(--f-mono); color: var(--ink-2); margin-left: 6px; text-transform: uppercase; letter-spacing: .04em; }
.req-mark { color: var(--cobalt); }
.field input[type="text"], .field textarea {
  width: 100%; min-height: 48px; padding: 11px 12px;
  background: #fff; border: 1.5px solid var(--ink-2); border-radius: 2px;
  font-size: 1.0625rem;
}
.field textarea { resize: vertical; line-height: 1.4; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 1px; border-color: var(--cobalt); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__err { color: var(--err); font-size: .95rem; font-weight: 600; }
.field__err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chipx { position: relative; display: inline-flex; }
.chipx input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chipx span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--ink-2); border-radius: 2px; background: #fff; font-weight: 500;
}
.chipx input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chipx input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.chipx input:hover + span { border-color: var(--ink); }
fieldset.field[data-invalid] .chipx span { border-color: var(--err); }
.cmp__act { display: flex; flex-wrap: wrap; gap: 10px; }
.cmp__out textarea { font: 400 .95rem/1.45 var(--f-mono); }
.cmp__status { font-weight: 600; min-height: 1.5em; }
.cmp__status[data-tone="ok"] { color: var(--cobalt-d); }
.cmp__status[data-tone="warn"] { color: var(--err); }
.cmp__status a { color: inherit; }

/* подвал */
.foot { padding-block: 32px 40px; border-top: 1px solid var(--ink); }
.foot__row { display: grid; gap: 12px; align-items: center; }
.foot__row img { height: 18px; width: auto; }
.foot__row a { font-weight: 600; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.foot__row .mono { color: var(--ink-2); }
@media (min-width: 900px) { .foot__row { grid-template-columns: auto 1fr auto auto; gap: 32px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Existing animated composition; approved identity, green technical palette. */
.head { background:#123E32;color:#F3F4EE; }
.head__logo img,.menu__bar img { width:188px;height:auto; }
.head__nav a { color:inherit; }
.head .btn { background:transparent;border-color:#89AC87;color:#F3F4EE; }
.head .btn:hover { background:#235D45; }
.head__menu { color:#F3F4EE;border-color:#89AC87; }
.foot .foot__row>img { width:220px;height:auto; }
.hub__core img { width:190px;height:auto;max-width:100%; }
.foot { background:#123E32;color:#F3F4EE; }
.foot .mono { color:#C4D4C5; }
.menu__bar>a { flex-shrink:0; }
@media(min-width:900px) { :root { --head-h:80px; } .head__nav a { padding-inline:9px; } }
@media(max-width:899px) { :root { --head-h:72px; } .head__logo img { width:172px; } }

.motion-controls { display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:16px; }
.motion-controls button { appearance:none;background:none;border:0;border-bottom:1px solid currentColor;padding:8px 0;font:500 14px var(--f-text);color:var(--cobalt-d);cursor:pointer;min-height:44px; }
.motion-controls button:hover { color:var(--cobalt); }
.motion-controls button:active { color:var(--ink); }
.motion-controls button:focus-visible { outline:2px solid var(--cobalt);outline-offset:4px; }
.motion-controls button:disabled { opacity:.5;cursor:default; }
