/* =========================================================
   TripScan | ТрипСкан Вход — trip75…trip85
   Макет v9 «Swiss Grid» — плоский редакционный стиль:
   волосяные линии, крупная типографика, никаких теней.
   Палитра auth-register: #D1E4F5 · #76ADE5 · #297FD5
   ========================================================= */

:root {
  --blue: #76ade5;
  --blue-hover: #63a0de;
  --blue-light: #d1e4f5;
  --blue-pale: #eaf3fc;
  --link: #297fd5;
  --ink: #14213a;
  --muted: #5d6d87;
  --line: #dde8f6;
  --line-soft: #eef4fb;
  --tint: #f7faff;
  --white: #ffffff;

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Consolas", "SF Mono", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  font-family: var(--font);
  background-color: var(--white);
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

.container { width: min(1240px, 100% - 56px); margin-inline: auto; }

/* ---------- Прогресс ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--link);
  z-index: 99;
  transition: width .1s linear;
}

/* ---------- Кнопки-пилюли (как были) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn--light { background: var(--blue-light); color: var(--link); }
.btn--light:hover { background: #bfd9f4; transform: translateY(-2px); }
.btn--soft { background: var(--white); color: var(--link); border-color: var(--blue-light); }
.btn--soft:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .65); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--link); }
.btn--white:hover { background: var(--blue-light); transform: translateY(-2px); }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Шапка ---------- */
.hdr {
  background: var(--white);
  border-bottom: 1px solid var(--ink);
}
.hdr__micro {
  background: var(--blue);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 2.2px;
}
.hdr__micro-in {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 13px 0;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 36px; width: auto; }
.brand__wm {
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.6px;
  line-height: 1.15;
  color: var(--ink);
}
.brand__wm em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 2px;
  color: var(--link);
}
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid transparent;
  transition: all .16s ease;
}
.nav a:hover { color: var(--link); border-color: var(--blue-light); }
.nav a.is-on { color: var(--white); background: var(--ink); border-color: var(--ink); }
.hdr__act { margin-left: auto; display: flex; gap: 10px; }
.navbtn {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 11px 18px;
  cursor: pointer;
  transition: all .18s ease;
}
.navbtn:hover, .navbtn[aria-expanded="true"] { background: var(--ink); color: var(--white); }

/* ---------- Указатель (панель навигации) ---------- */
.navpanel {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  opacity: 0;
  transition: opacity .22s ease, visibility .22s ease;
}
.navpanel.is-open { visibility: visible; opacity: 1; }
.navpanel__bd { position: absolute; inset: 0; background: rgba(14, 30, 55, .5); }
.navpanel__sheet {
  position: relative;
  background: var(--white);
  border-bottom: 4px solid var(--blue);
  padding: 30px 0 34px;
  transform: translateY(-18px);
  transition: transform .24s ease;
  max-height: 92vh;
  overflow-y: auto;
}
.navpanel.is-open .navpanel__sheet { transform: none; }
.navpanel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.navpanel__head b {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.navpanel__close {
  width: 40px; height: 40px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  transition: all .16s ease;
}
.navpanel__close:hover { background: var(--ink); color: var(--white); }
.navpanel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.navpanel__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--link);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.navpanel__col a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
  color: var(--ink);
  border-bottom: 1px dashed var(--line-soft);
  transition: color .16s ease, padding-left .16s ease;
}
.navpanel__col a i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--blue);
}
.navpanel__col a:hover { color: var(--link); padding-left: 6px; }
.navpanel__act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

/* ---------- Оболочка ---------- */
.shell { min-height: 60vh; }

/* ---------- Крошки ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 26px 0 0;
}
.crumbs a { color: var(--link); border-bottom: 1px solid var(--blue-light); }
.crumbs a:hover { border-color: var(--link); }
.crumbs__sep { color: var(--blue); }
.crumbs__cur { color: var(--muted); }

/* ---------- Герой ---------- */
.hero { padding: 62px 0 0; border-bottom: 1px solid var(--ink); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 0;
}
.hero__type { padding-right: 48px; }
.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  background: var(--link);
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -2.2px;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--link); }
.hero__lead {
  font-size: 18.5px;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 28px;
}
.hero__spec {
  border-left: 1px solid var(--ink);
  padding-left: 36px;
  align-self: end;
}
.spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.spec__row:first-child { border-top: 1px solid var(--line); }
.spec__row span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
}
.spec__row b { font-size: 15px; font-weight: 700; text-align: right; }
.spec__ok { color: var(--link); }
.spec__ok::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--link);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.hero__band { margin-top: 54px; border-top: 1px solid var(--ink); }
.hero__band img { width: 100%; max-height: 380px; object-fit: cover; object-position: top; }
.hero__band figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 11px 4px;
}
.hero__band figcaption span:first-child { color: var(--link); }

/* ---------- Секции ---------- */
.sec { padding: 80px 0; border-top: 1px solid var(--line); }
.sec--tint { background: var(--tint); }
.sec__head {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 44px;
}
.sec__n {
  font-family: var(--mono);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -5px;
  color: var(--blue-light);
  flex: 0 0 auto;
}
@supports (-webkit-text-stroke: 1px black) {
  .sec__n { color: transparent; -webkit-text-stroke: 1.6px var(--blue); }
}
.sec__label {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 12px;
}
.sec__txt { min-width: 0; }
.sec__title {
  font-size: clamp(27px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -1.4px;
}
.sec__note { color: var(--muted); font-size: 16.5px; margin-top: 14px; max-width: 760px; }

/* ---------- Таблица ключей ---------- */
.keytable { border: 1px solid var(--ink); background: var(--white); }
.keytable__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ink);
  background: var(--blue-pale);
}
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 13px;
  cursor: pointer;
  transition: all .16s ease;
}
.tab:hover { border-color: var(--link); color: var(--link); }
.tab.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.keysearch {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 10px 14px;
  min-width: 210px;
}
.keysearch:focus { outline: none; border-color: var(--link); }
.keylist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.keyrow {
  display: grid;
  grid-template-columns: 32px 1fr 78px 86px auto;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  transition: background-color .16s ease;
}
.keyrow:nth-child(2n) { border-left: 1px solid var(--line); }
.keyrow:hover { background: var(--blue-pale); }
.keyrow.is-hidden { display: none; }
.keyrow__n { font-family: var(--mono); font-size: 11.5px; color: var(--blue); }
.keyrow__k { font-family: var(--mono); font-size: 15.5px; font-weight: 700; color: var(--ink); }
.keyrow__g {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.keyrow__s {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  color: var(--link);
}
.keyrow__s i {
  width: 7px; height: 7px;
  background: var(--link);
  border-radius: 50%;
  display: inline-block;
}
.keyrow__copy {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--link);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 9px;
  cursor: pointer;
  transition: all .16s ease;
  justify-self: end;
}
.keyrow__copy:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.keyrow__go {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  justify-self: end;
  white-space: nowrap;
}
.keyrow__go:hover { color: var(--link); border-color: var(--link); }
.keytable__foot {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 18px;
  background: var(--blue-pale);
  border-top: 1px solid var(--ink);
}
.keytable__foot b { color: var(--link); }

/* ---------- Указатель материалов (список) ---------- */
.index { list-style: none; border-top: 1px solid var(--ink); }
.idx {
  display: grid;
  grid-template-columns: 64px 1fr 200px 56px;
  align-items: center;
  gap: 26px;
  padding: 26px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color .18s ease;
}
.idx:hover { background: var(--blue-pale); }
.idx__n {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: -2px;
}
.idx:hover .idx__n { color: var(--blue); }
.idx__body { min-width: 0; }
.index--tight .idx { padding: 18px 12px; }
.index--tight .idx__n { font-size: 22px; }
.idx__cat {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 7px;
}
.idx__title {
  display: block;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.5px;
  transition: color .16s ease;
}
.idx:hover .idx__title { color: var(--link); }
.idx__txt { font-size: 15px; color: var(--muted); margin-top: 8px; max-width: 640px; }
.idx__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  overflow: hidden;
}
.idx__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.idx:hover .idx__thumb img { transform: scale(1.06); }
.idx__go {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--ink);
  font-size: 19px;
  color: var(--ink);
  transition: all .18s ease;
}
.idx__go:hover { background: var(--ink); color: var(--white); }
.idx--sm { padding: 18px 12px; grid-template-columns: 56px 1fr 150px 48px; gap: 20px; }
.idx--sm .idx__n { font-size: 22px; }
.idx--sm .idx__title { font-size: 18px; }
.idx--sm .idx__go { width: 44px; height: 44px; }

/* ---------- Стена локаций ---------- */
.wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}
.cellw {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color .18s ease;
}
.cellw:hover { background: var(--blue-pale); }
.cellw__n { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--blue); }
.cellw__logo {
  height: 78px;
  display: flex;
  align-items: center;
  margin: 6px 0 8px;
}
.cellw__logo img { max-height: 64px; max-width: 100%; object-fit: contain; }
.cellw__name { font-size: 20px; font-weight: 700; letter-spacing: -.4px; }
.cellw__note { font-size: 14.5px; color: var(--muted); }
.cellw__go {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--link);
}
.cellw:hover .cellw__go { letter-spacing: 3px; }

/* ---------- Колонки (шаги / возможности) ---------- */
.cols {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.cols--4 { grid-template-columns: repeat(4, 1fr); }
.col { padding: 32px 30px 34px; border-right: 1px solid var(--line); }
.col:last-child { border-right: none; }
.col__n {
  display: block;
  font-family: var(--mono);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -4px;
  color: var(--blue-light);
  margin-bottom: 18px;
}
.col h3 { font-size: 20px; letter-spacing: -.4px; margin-bottom: 10px; }
.col p { font-size: 15.5px; color: var(--muted); }

/* ---------- Промо-полоса ---------- */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink);
  background: var(--white);
}
.band__media { border-right: 1px solid var(--line); }
.band__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.band__txt { padding: 36px 34px; }
.band__txt p { font-size: 17.5px; color: var(--muted); margin-bottom: 20px; }
.ticks { list-style: none; display: grid; gap: 9px; margin-bottom: 24px; }
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 9px;
}
.ticks li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--link);
  font-weight: 700;
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(115deg, var(--blue) 0%, #5b9bd9 55%, #4a8fd4 100%);
  color: var(--white);
  border-top: 1px solid var(--ink);
  padding: 66px 0;
}
.cta__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta__txt { max-width: 640px; }
.cta__kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 16px;
}
.cta__txt h2 {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.07;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.cta__txt p { font-size: 17px; opacity: .92; }
.cta__act { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Футер ---------- */
.ftr {
  background: var(--white);
  border-top: 1px solid var(--ink);
  padding: 54px 0 26px;
}
.ftr__wm {
  font-size: clamp(30px, 6.4vw, 82px);
  font-weight: 800;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 34px;
}
.ftr__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr .9fr;
  gap: 34px;
  border-top: 1px solid var(--ink);
  padding-top: 30px;
}
.ftr__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 14px;
}
.ftr__col a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14.5px;
  color: var(--muted);
  padding: 5px 0;
  border-bottom: 1px dashed var(--line-soft);
  transition: color .16s ease, padding-left .16s ease;
}
.ftr__col a i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
}
.ftr__col a:hover { color: var(--link); padding-left: 5px; }
.ftr__col--brand img { height: 30px; width: auto; margin-bottom: 14px; }
.ftr__col--brand p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; max-width: 330px; }
.ftr__keys {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.9;
  letter-spacing: .6px;
  color: var(--muted);
  background: var(--tint);
  border: 1px dashed var(--blue-light);
  padding: 13px 17px;
  margin-top: 30px;
}
.ftr__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--ink);
  margin-top: 22px;
  padding-top: 18px;
}

/* ---------- Шапка страницы ---------- */
.ph { padding: 34px 0 42px; border-bottom: 1px solid var(--ink); }
.ph__kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--link);
  padding: 6px 13px;
  margin-bottom: 22px;
}
.ph h1 {
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -2px;
  max-width: 1000px;
}
.ph__lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 820px;
  margin-top: 20px;
}
.ph__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
}
.ph__meta i { font-style: normal; color: var(--blue); }

/* ---------- Статья ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 46px;
  padding: 46px 0 76px;
}
.prose { counter-reset: h2; max-width: 780px; }
.prose--center { max-width: 880px; margin-inline: auto; }
.prose h2 {
  counter-increment: h2;
  position: relative;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -1px;
  margin: 40px 0 16px;
  padding: 0 0 12px 66px;
  border-bottom: 1px solid var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h2::before {
  content: counter(h2, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--link);
}
.prose h3 { font-size: 19px; margin: 26px 0 10px; color: var(--link); }
.prose p { font-size: 17px; color: #32405c; margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: #32405c; font-size: 17px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }

.aside {
  position: sticky;
  top: 26px;
  align-self: start;
  display: grid;
  gap: 30px;
  border-left: 1px solid var(--ink);
  padding-left: 26px;
}
.aside__blk h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--link);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 9px;
  margin-bottom: 8px;
}
.toc { list-style: none; counter-reset: t; }
.toc li { border-bottom: 1px dashed var(--line); }
.toc a {
  display: block;
  counter-increment: t;
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 0;
  transition: color .16s ease, padding-left .16s ease;
}
.toc a::before {
  content: counter(t, decimal-leading-zero) " · ";
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
}
.toc a:hover { color: var(--link); padding-left: 5px; }
.minigrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.minikey {
  display: block;
  text-align: center;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--link);
  border: 1px solid var(--line);
  padding: 9px 6px;
  transition: all .16s ease;
}
.minikey:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.aside__more {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--link);
  border-bottom: 1px solid var(--blue-light);
}
.aside__more:hover { border-color: var(--link); }

/* ---------- Локация ---------- */
.mh {
  display: grid;
  grid-template-columns: 4fr 8fr;
  border: 1px solid var(--ink);
  margin-top: 28px;
  background: var(--white);
}
.mh__logo {
  display: grid;
  place-items: center;
  background: var(--blue-pale);
  border-right: 1px solid var(--line);
  padding: 36px;
  min-height: 250px;
}
.mh__logo img { max-height: 140px; max-width: 100%; object-fit: contain; }
.mh__txt { padding: 38px 36px; }
.mh__txt h1 {
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.06;
  letter-spacing: -1.8px;
  margin-bottom: 16px;
}
.mh__txt .ph__lead { margin-top: 0; margin-bottom: 26px; font-size: 17.5px; }

/* ---------- Появление ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .spec__ok::before { animation: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .aside {
    position: static;
    border-left: none;
    border-top: 1px solid var(--ink);
    padding-left: 0;
    padding-top: 26px;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .prose { max-width: none; }
  .cols--4 { grid-template-columns: repeat(2, 1fr); }
  .cols--4 .col:nth-child(2) { border-right: none; }
}

@media (max-width: 980px) {
  .hdr__act { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__type { padding-right: 0; }
  .hero__spec {
    border-left: none;
    border-top: 1px solid var(--ink);
    padding-left: 0;
    margin-top: 34px;
    padding-top: 6px;
  }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; }
  .col { border-right: none; border-bottom: 1px solid var(--line); }
  .col:last-child { border-bottom: none; }
  .cols--4 { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; }
  .band__media { border-right: none; border-bottom: 1px solid var(--line); }
  .band__media img { min-height: 220px; }
  .mh { grid-template-columns: 1fr; }
  .mh__logo { border-right: none; border-bottom: 1px solid var(--line); min-height: 190px; }
  .ftr__grid { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 60px 0; }
  .navpanel__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .keylist { grid-template-columns: 1fr; }
  .keyrow:nth-child(2n) { border-left: none; }
  .idx { grid-template-columns: 52px 1fr 150px 50px; gap: 18px; }
  .cta__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(1240px, 100% - 32px); }
  .hdr__micro-in span:last-child { display: none; }
  .wall { grid-template-columns: 1fr; }
  .cols--4 { grid-template-columns: 1fr; }
  .cols--4 .col { border-right: none; }
  .aside { grid-template-columns: 1fr; }
  .idx { grid-template-columns: 44px 1fr 48px; }
  .idx__thumb { display: none; }
  .idx--sm { grid-template-columns: 44px 1fr 44px; }
  .keyrow { grid-template-columns: 28px 1fr auto; }
  .keyrow__g, .keyrow__s { display: none; }
  .keyrow__copy { display: none; }
  .keysearch { min-width: 0; width: 100%; }
  .keytable__bar { flex-direction: column; align-items: stretch; }
  .sec__head { gap: 16px; flex-direction: column; }
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__wm { letter-spacing: -1.6px; }
  .btnrow .btn, .cta__act .btn { flex: 1 1 100%; }
  .navpanel__grid { grid-template-columns: 1fr; }
  .ph h1 { letter-spacing: -1.2px; }
}
