/*
  «Щит» — оформление сайта, строгая версия. Цвета и блоки с холста «Лендинг ассистента КП»
  (дизайн-система «Щит»): серая гамма, зелёная кнопка «Пуск», жёлтая пометка «Проверьте», зелёное табло.
  Пример черновика показан таблицей, как его видит менеджер, без рисунка щита.

  Шрифты подключает fonts.css: его ссылка стоит на странице перед этим файлом.
  Страница не обращается к внешним сервисам: всё, что ей нужно, отдаёт наш сервер.
*/

/* Токены дизайн-системы «Щит». */
:root {
  --shell: #d3d6d2;
  --panel: #e6e8e4;
  --door: #dee1dd;
  --device: #f7f7f4;
  --paper: #ffffff;
  --ink: #1d2125;
  --ink-muted: #4a5157;
  --line: #9da3a6;
  --line-soft: #c5cac6;
  --line-faint: #e3e5e1;
  --control-border: #80868a;
  --card-border: #a7adaf;
  --tag: #ffcb2e;
  --go: #1f7a43;
  --go-edge: #165e33;
  --go-soft: #eef6f1;
  --go-line: #9cc5ac;
  --lcd: #c5d0b3;
  --error: #a61f1f;
  --phase-l1: #f2b705;
  --phase-l2: #2e7d3f;
  --phase-l3: #b9372b;
  /* Нейтраль N — синий, как в щите */
  --phase-n: #2f5d9e;
  --space-1: 6px;
  --space-2: 14px;
  --space-3: 24px;
  --space-4: 32px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-btn: 7px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --shadow-button: inset 0 -4px 0 #165e33, 0 1px 0 rgba(255, 255, 255, .7);
  --shadow-device: inset 0 -3px 0 #e1e2de, 0 2px 0 rgba(0, 0, 0, .1);
  --shadow-panel: inset 0 2px 0 rgba(255, 255, 255, .75), 0 22px 40px -28px rgba(29, 33, 37, .55);
  --font-display: "Tektur", "Arial Narrow", sans-serif;
  --font-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Основа */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: 16px; }
body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
b, strong { font-weight: 600; }
a { color: var(--ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
mark.todo { padding: 0 4px; border-radius: 3px; background: var(--tag); color: var(--ink); }

.sh-skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.sh-skip:focus { top: 12px; color: var(--paper); }

.sh-wrap { max-width: 1344px; margin: 0 auto; padding: 0 var(--space-4); }
.sh-h1, .sh-h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-stretch: 92%; letter-spacing: -.01em; text-wrap: balance; }
.sh-h1 { max-width: 820px; font-size: 4.125rem; line-height: 1.02; }
.sh-h2 { font-size: 2.875rem; line-height: 1.05; }
.sh-lead { margin: 28px 0 0; font-size: 1.25rem; line-height: 1.55; max-width: 640px; text-wrap: pretty; }
.sh-sub { margin: 14px 0 0; max-width: 62ch; color: var(--ink-muted); text-wrap: pretty; }
.sh-hint { color: var(--ink-muted); font-size: 1rem; }
.sh-note { margin: 14px 0 0; color: var(--ink-muted); font-size: .9375rem; }
.sh-sec { padding-top: 96px; }
.sh-sec > .sh-steps, .sh-sec > .sh-plates, .sh-sec > .sh-bars { margin-top: 36px; }

/* Кнопка «Пуск» */
.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--go);
  color: var(--paper);
  box-shadow: var(--shadow-button);
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 87%;
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sh-btn-sm { min-height: 46px; padding: 0 20px; font-size: 1.0625rem; }

/* Шапка-полоса и подвал */
.sh-strip { background: var(--device); border-bottom: 1px solid var(--line); }
.sh-strip-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; min-height: 74px; }
.sh-logo {
  margin-right: auto;
  padding: 8px 24px 8px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
}
.sh-nav { display: flex; flex-wrap: wrap; }
.sh-nav a {
  padding: 12px 22px;
  border-left: 1px solid var(--line-soft);
  color: var(--ink);
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 600;
  font-size: 1.1875rem;
  text-decoration: none;
}
.sh-nav a:last-child { border-right: 1px solid var(--line-soft); }
.sh-nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--go-edge); }
.sh-strip .sh-btn { margin-left: 22px; }

.sh-foot { margin-top: 96px; border-top: 1px solid var(--line); border-bottom: 0; }
.sh-foot .sh-strip-in { min-height: 64px; font-size: .9375rem; }
.sh-foot .sh-strip-in > * { padding: 10px 20px; border-left: 1px solid var(--line-soft); }
.sh-foot .sh-strip-in > :first-child { padding-left: 0; border-left: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; }
.sh-foot .sh-strip-in > :last-child { margin-left: auto; }
.sh-foot a { display: inline-block; padding: 4px 0; }
.sh-foot-note { margin: 0; padding: 0 0 20px; color: var(--ink-muted); font-size: .875rem; }

/* Первый экран */
.sh-hero { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 44px 64px; align-items: center; padding: 60px 0 52px; }
.sh-hero-hub { grid-template-columns: minmax(0, 1fr) 430px; padding-top: 72px; }
.sh-hero-wide { grid-template-columns: minmax(0, 1fr) 520px; gap: 44px 56px; }
/* Главная: в первом экране только текст, без примера справа */
.sh-hero-solo { grid-template-columns: minmax(0, 1fr); padding-bottom: 20px; }
.sh-chip + .sh-h1 { margin-top: 26px; }
.sh-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 34px; }

/* Плашка над заголовком; у страниц сегментов — с цветом фазы */
.sh-chip {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--device);
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
}
.sh-chip > span:last-child { padding: 8px 14px; }
.sh-chip .sh-ph { width: 10px; min-height: 0; font-size: 0; }

/* Карман с примером запроса */
.sh-pocket {
  position: relative;
  margin: 0;
  padding: 30px 22px 24px;
  border: 1px solid rgba(29, 33, 37, .28);
  border-radius: 5px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .2) 48%, rgba(255, 255, 255, .45));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.sh-pocket::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 16px;
  border-bottom: 1px solid rgba(29, 33, 37, .22);
  border-radius: 5px 5px 0 0;
  background: rgba(255, 255, 255, .4);
}
.sh-pocket-l {
  position: absolute;
  top: -13px;
  right: 18px;
  z-index: 2;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 600;
  font-size: .9375rem;
  line-height: 22px;
}
.sh-paper { position: relative; padding: 20px 22px 18px; background: var(--paper); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.sh-paper-h { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-faint); color: var(--ink-muted); font-size: .875rem; }
.sh-paper p { margin: 0; font-size: .96875rem; line-height: 1.7; }
.sh-paper .sh-gap { margin-bottom: 6px; }
.sh-paper .sh-gap-b { margin-top: 6px; }
.sh-paper table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.35; }
.sh-paper th { padding: 6px 8px; border: 1px solid #d9dcd8; background: #f1f2ef; font-weight: 600; text-align: left; vertical-align: bottom; }
.sh-paper td { padding: 6px 8px; border: 1px solid #d9dcd8; vertical-align: top; }
.sh-paper th[scope="row"] { width: 34%; vertical-align: top; }
.sh-paper .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-paper .sh-doc-t { margin: 0 0 2px; font-family: var(--font-display); font-stretch: 75%; font-weight: 700; font-size: 1.1875rem; line-height: 1.2; }
.sh-paper ol { margin: 8px 0 0; padding-left: 22px; font-size: .9375rem; line-height: 1.6; }

/* Пример из двух листов: что пришло и что получилось */
.sh-flow { margin: 12px 0; padding-left: 22px; color: var(--ink-muted); font-family: var(--font-display); font-stretch: 75%; font-weight: 600; font-size: 1.0625rem; }
.sh-flow span { margin-right: 8px; color: var(--ink); font-size: 1.25rem; }
.sh-paper .sh-paper-t { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; }
.sh-paper tfoot td { border-top: 2px solid #b9bdb9; font-weight: 600; }
.sh-paper .sh-why { margin-top: 10px; }
/* Подпись над примером */
.sh-cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin: 0 0 16px;
  color: var(--ink-muted);
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 600;
  font-size: 1.125rem;
}
.sh-cap-t { margin: 0; font: inherit; }

/* Табло: итог, цены, часы */
.sh-lcd {
  display: inline-block;
  margin: 0;
  padding: 10px 12px 8px;
  border-radius: var(--radius-sm);
  background: var(--lcd);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.875rem;
  line-height: 1.1;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Черновик КП таблицей */
.sh-draft { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow-panel); }
.sh-draft-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--device); }
.sh-draft-title { margin: 0; font-family: var(--font-display); font-stretch: 88%; font-weight: 700; font-size: 1.25rem; }
.sh-draft-meta { color: var(--ink-muted); font-size: .9375rem; }
.sh-draft-counts { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.sh-draft-scroll { overflow-x: auto; overscroll-behavior-x: contain; background: var(--device); }
.sh-draft-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.sh-draft-table th { padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--ink-muted); font-family: var(--font-display); font-stretch: 80%; font-weight: 600; font-size: .9375rem; text-align: left; white-space: nowrap; }
.sh-draft-table td { padding: 12px 16px; border-bottom: 1px solid var(--line-faint); vertical-align: top; }
.sh-draft-table .num { width: 44px; color: var(--ink-muted); }
.sh-draft-table .r { text-align: right; white-space: nowrap; }
.sh-draft-table .src { color: var(--ink-muted); }
.sh-why { display: block; margin-top: 2px; color: var(--ink-muted); font-size: .875rem; }
.sh-status { display: inline-block; padding: 1px 10px; border: 1px solid transparent; border-radius: var(--radius-sm); font-family: var(--font-display); font-stretch: 82%; font-weight: 600; font-size: .9375rem; line-height: 1.5; white-space: nowrap; }
.sh-status-ok { border-color: var(--go-line); background: var(--go-soft); color: var(--go-edge); }
.sh-status-check { background: var(--tag); color: var(--ink); }
.sh-status-none { border: 1px dashed #7e8588; color: var(--ink-muted); }
.sh-draft-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 20px; }
.sh-guard { margin: 0; max-width: 34em; color: var(--ink-muted); font-size: .9375rem; }
.sh-total { display: flex; align-items: center; gap: 14px; }
.sh-total small { color: var(--ink-muted); font-size: .875rem; text-align: right; }
.sh-total .sh-lcd { font-size: 1.75rem; }
.sh-scroll-hint { display: none; }

/* Сравнение: вручную и с программой */
.sh-vs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: 36px; }
.sh-vs-card { padding: 28px 32px; border: 1px solid var(--card-border); border-radius: var(--radius-md); background: var(--device); box-shadow: var(--shadow-device); }
.sh-vs-card h3 { margin: 0 0 14px; font-family: var(--font-display); font-stretch: 82%; font-weight: 700; font-size: 1.375rem; }
.sh-vs-card ol { display: grid; gap: 8px; margin: 0; padding-left: 1.4em; }
.sh-vs-old { color: var(--ink-muted); }
.sh-vs-old h3 { color: var(--ink); }
.sh-vs-new { border-color: var(--go); box-shadow: inset 0 4px 0 var(--go), var(--shadow-device); }
.sh-vs-new h3 { color: var(--go-edge); }
.sh-vs-new ol { font-size: 1.25rem; }
.sh-vs + .sh-sub { margin-top: 24px; }

/* Калькулятор: табло показывает часы */
.sh-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 36px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow-panel); }
.sh-calc-in { display: grid; align-content: start; gap: 18px; padding: 28px 32px; }
.sh-calc-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.sh-calc-row label { font-family: var(--font-display); font-stretch: 82%; font-weight: 600; font-size: 1.125rem; }
.sh-stepper { display: flex; overflow: hidden; border: 1px solid var(--control-border); border-radius: var(--radius-sm); background: var(--paper); }
.sh-stepper button { width: 48px; height: 48px; border: 0; background: var(--device); color: var(--ink); font-family: var(--font-text); font-size: 1.375rem; cursor: pointer; }
.sh-stepper input { width: 76px; height: 48px; border: 0; border-left: 1px solid var(--line-faint); border-right: 1px solid var(--line-faint); color: var(--ink); font-family: var(--font-text); font-size: 1.25rem; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.sh-stepper input::-webkit-outer-spin-button, .sh-stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.sh-calc-out { padding: 28px 32px; border-left: 1px solid var(--line); background: var(--device); }
.sh-calc-out .sh-lcd { min-width: 220px; margin: 0 0 12px; font-size: 2.75rem; }
.sh-calc-out p { margin: 0; }

/* Шаги */
.sh-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--device);
  box-shadow: var(--shadow-device);
}
.sh-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 24px 26px 26px 22px; border-right: 1px solid var(--line-soft); }
.sh-step:last-child { border-right: 0; }
.sh-term { display: flex; flex-direction: column; align-items: center; }
.sh-term-n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  border: 1px solid #9aa0a3;
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
}
.sh-step h3 { margin: 2px 0 6px; font-family: var(--font-display); font-stretch: 75%; font-weight: 700; font-size: 1.4375rem; line-height: 1.15; }
.sh-step p { margin: 0; color: var(--ink-muted); font-size: 1.03125rem; }

/* Карточки отличий */
.sh-plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: var(--space-3); }
.sh-plate { padding: 30px 40px 32px; border: 1px solid var(--card-border); border-radius: var(--radius-md); background: var(--device); box-shadow: var(--shadow-device); }
.sh-plate h3 { margin: 0 0 8px; font-family: var(--font-display); font-stretch: 75%; font-weight: 700; font-size: 1.6875rem; line-height: 1.1; }
.sh-plate p { margin: 0; font-size: 1.0625rem; max-width: 54ch; }
.sh-plate p + p { margin-top: 12px; }
.sh-tested { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 24px 0 0; font-size: 1.0625rem; }
.sh-tested b { padding: 4px 12px; border-radius: var(--radius-sm); background: var(--ink); color: var(--paper); font-family: var(--font-display); font-stretch: 75%; font-weight: 600; font-size: 1rem; }

/* Галочки: списки, пункты первого экрана, данные */
.sh-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.sh-list li, .sh-spec { position: relative; }
.sh-list li { padding-left: 30px; }
.sh-list li::before, .sh-spec::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 7px;
  border-left: 3px solid var(--go);
  border-bottom: 3px solid var(--go);
  transform: rotate(-45deg);
}
.sh-list li::before { left: 3px; top: .42em; }
.sh-points { gap: 10px; max-width: 640px; margin-top: 20px; font-size: 1.125rem; }

/* Данные */
.sh-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.sh-specs-3 { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
.sh-spec { padding: 22px 24px 24px 58px; border: 1px solid var(--card-border); border-radius: var(--radius-md); background: var(--device); box-shadow: var(--shadow-device); }
.sh-spec::before { left: 25px; top: 31px; }
.sh-spec h3 { margin: 0 0 6px; font-family: var(--font-display); font-stretch: 75%; font-weight: 700; font-size: 1.4375rem; line-height: 1.15; }
.sh-spec p { margin: 0; color: var(--ink-muted); font-size: 1.03125rem; }

/* Цена */
.sh-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: var(--space-3); margin-top: 36px; }
.sh-price { display: flex; flex-direction: column; padding: 28px 32px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow-panel); }
.sh-price h3 { margin: 0; font-family: var(--font-display); font-stretch: 75%; font-weight: 700; font-size: 1.6875rem; line-height: 1.1; }
.sh-price .sh-lcd { align-self: flex-start; min-width: 240px; margin: 16px 0 14px; font-size: 2rem; }
.sh-price p { margin: 0; color: var(--ink-muted); }

/* Сегменты: цветная полоса фазы L1, L2, L3 */
.sh-bars { display: grid; gap: 16px; }
.sh-bar {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 28px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--device);
  color: var(--ink);
  text-decoration: none;
}
.sh-bar > div { padding: 22px 0; }
.sh-ph { align-self: stretch; }
.sh-l1 { background: var(--phase-l1); }
.sh-l2 { background: var(--phase-l2); }
.sh-l3 { background: var(--phase-l3); }
.sh-ln { background: var(--phase-n); }
.sh-bar h3 { margin: 0; font-family: var(--font-display); font-stretch: 75%; font-weight: 700; font-size: 1.6875rem; line-height: 1.1; }
.sh-bar p { margin: 4px 0 0; color: var(--ink-muted); font-size: 1.0625rem; }
.sh-more { margin-right: 28px; font-family: var(--font-display); font-stretch: 75%; font-weight: 600; font-size: 1.125rem; text-decoration: underline; text-underline-offset: 4px; }
.sh-bar[aria-current="page"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sh-bar[aria-current="page"] .sh-more { text-decoration: none; }

/* Вопросы и ответы */
.sh-faq { display: grid; gap: 12px; max-width: 960px; margin-top: 36px; }
.sh-faq details { border: 1px solid var(--card-border); border-radius: var(--radius-md); background: var(--device); box-shadow: var(--shadow-device); }
.sh-faq summary {
  position: relative;
  display: block;
  padding: 18px 64px 18px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.2;
}
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(45deg);
}
.sh-faq details[open] summary::after { margin-top: -2px; transform: rotate(225deg); }
.sh-faq details p { margin: 0; padding: 0 24px 22px; max-width: 70ch; color: var(--ink-muted); }

/* Блок с формой */
.sh-door {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 40px 64px;
  margin-top: 96px;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--door);
  box-shadow: var(--shadow-panel);
}
.sh-door p { margin: 20px 0 0; max-width: 56ch; }
.sh-qual { color: var(--ink-muted); font-size: 1.0625rem; }
.sh-qual b { display: block; margin-bottom: 2px; color: var(--ink); font-family: var(--font-display); font-stretch: 75%; font-weight: 700; font-size: 1.1875rem; }
.sh-form { display: grid; gap: var(--space-2); align-self: start; }
.sh-field { display: grid; gap: 6px; }
.sh-field > label { font-family: var(--font-display); font-stretch: 75%; font-weight: 600; font-size: 1.125rem; }
.sh-field input[type="text"],
.sh-field input[type="tel"],
.sh-field input[type="email"],
.sh-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  font-family: var(--font-text);
  font-size: 1.125rem;
}
.sh-field textarea { min-height: 110px; padding: 12px 14px; line-height: 1.45; resize: vertical; }
.sh-field input::placeholder, .sh-field textarea::placeholder { color: #6b7276; }
.sh-field input:focus, .sh-field textarea:focus, .sh-stepper input:focus { outline: 3px solid var(--go); outline-offset: 1px; }
.sh-field input[aria-invalid="true"], .sh-field textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.sh-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 1rem; line-height: 1.45; cursor: pointer; }
.sh-field > .sh-check { font-family: var(--font-text); font-stretch: 100%; font-weight: 400; font-size: 1rem; }
.sh-check input { width: 24px; height: 24px; margin: 0; accent-color: var(--go); cursor: pointer; }
.sh-opt { color: var(--ink-muted); font-family: var(--font-text); font-stretch: 100%; font-weight: 400; font-size: .9375rem; }
fieldset.sh-field { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset.sh-field > legend { margin-bottom: 6px; padding: 0; font-family: var(--font-display); font-stretch: 75%; font-weight: 600; font-size: 1.125rem; }
.sh-choices { display: grid; gap: 10px; }
.sh-error { margin: 0; color: var(--error); font-size: 1rem; font-weight: 500; }
.sh-error[hidden] { display: none; }
.sh-form .sh-btn { width: 100%; margin-top: 8px; }

/* Страница после заявки */
.sh-doc { max-width: 760px; padding: 72px 0 0; }
.sh-doc .sh-h1 { font-size: 3.375rem; }
.sh-doc p, .sh-doc ul { margin: 20px 0 0; }
.sh-doc li + li { margin-top: 6px; }
.sh-doc h2 { margin: 44px 0 0; font-family: var(--font-display); font-stretch: 82%; font-weight: 700; font-size: 1.625rem; line-height: 1.15; }
.sh-doc h2 + p, .sh-doc h2 + ul { margin-top: 12px; }
.sh-doc ul:not(.sh-list) { padding-left: 1.3em; }
.sh-doc .sh-draft-note { margin: 0 0 24px; }

/* Наведение — только там, где есть мышь: на сенсорном экране :hover залипает после касания. */
@media (hover: hover) {
  a:hover { color: var(--go-edge); }
  .sh-btn:hover { background: var(--go-edge); color: var(--paper); }
  .sh-nav a:hover { background: var(--panel); color: var(--ink); }
  .sh-bar:hover { border-color: var(--ink); color: var(--ink); }
  .sh-faq summary:hover { background: var(--panel); }
  .sh-stepper button:hover { background: var(--panel); }
}

/* Узкие экраны */
@media (max-width: 1100px) {
  .sh-hero, .sh-hero-hub, .sh-hero-wide { grid-template-columns: minmax(0, 1fr); }
  .sh-pocket { max-width: 560px; }
  .sh-door { grid-template-columns: minmax(0, 1fr); padding: 40px 32px 44px; }
  .sh-h1 { font-size: 3.375rem; }
  .sh-scroll-hint { display: block; margin: 10px 0 0; color: var(--ink-muted); font-size: .9375rem; }
}
@media (max-width: 760px) {
  .sh-wrap { padding: 0 16px; }
  .sh-nav { display: none; }
  /* Шапка не закреплена: на телефоне та же кнопка стоит в первом экране сразу под ней. */
  .sh-strip .sh-btn { display: none; }
  .sh-hero, .sh-hero-hub, .sh-hero-wide { padding: 44px 0 36px; }
  .sh-h1, .sh-doc .sh-h1 { font-size: 2.5rem; }
  .sh-h2 { font-size: 2.25rem; }
  .sh-lead { font-size: 1.125rem; }
  .sh-sec { padding-top: 72px; }
  .sh-pocket { padding: 26px 12px 18px; }
  .sh-paper { padding: 16px 14px; }
  .sh-vs, .sh-calc { grid-template-columns: minmax(0, 1fr); }
  .sh-vs-card, .sh-calc-in, .sh-calc-out { padding: 22px 20px; }
  .sh-calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .sh-draft-foot { justify-content: flex-start; }
  .sh-bar { grid-template-columns: 10px minmax(0, 1fr); }
  .sh-more { grid-column: 2; margin: -10px 0 16px; }
  .sh-door { margin-top: 72px; padding: 28px 20px 32px; }
  .sh-plate { padding: 28px 26px; }
  .sh-price { padding: 24px 20px 26px; }
  .sh-price .sh-lcd { min-width: 0; align-self: stretch; }
  .sh-faq summary { padding: 16px 52px 16px 18px; font-size: 1.1875rem; }
  .sh-faq summary::after { right: 20px; }
  .sh-faq details p { padding: 0 18px 18px; }
  .sh-foot { margin-top: 72px; }
  .sh-foot .sh-strip-in { padding: 10px 0; }
  .sh-foot .sh-strip-in > * { padding: 6px 0; border-left: 0; flex-basis: 100%; }
  .sh-foot .sh-strip-in > :last-child { margin-left: 0; }
}
