/* COMPNETS — визитка. Токены, раскладка, компоненты. */

:root {
  --red: #97070a;
  --red-2: #b30c11;
  --red-3: #d0191e;
  --ink: #100e0f;
  --ink-2: #181415;
  --ink-3: #221c1d;
  --paper: #f7f3ef;
  --paper-2: #efe8e1;
  --white: #fff;
  --text: #191415;
  --muted: #6d6461;
  --muted-d: rgba(255, 255, 255, .58);
  --line: rgba(25, 20, 21, .14);
  --line-d: rgba(255, 255, 255, .13);
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --w: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

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

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -.02em; }

p { margin: 0; }

::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

:where(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--red-3);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── шапка ─────────────────────────────────────────────── */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.hdr.is-stuck {
  background: rgba(16, 14, 15, .9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-d);
}
.hdr__in {
  display: flex; align-items: center; gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 15px; letter-spacing: .16em; }
.brand svg { width: 34px; height: auto; color: #fff; flex: none; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word small {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em;
  color: var(--muted-d); margin-top: 6px; text-transform: uppercase;
}

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-size: 14.5px; color: var(--muted-d); padding: 6px 0; position: relative;
  transition: color .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--red-3); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

.hdr .btn { margin-left: 8px; }

.burger {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line-d); border-radius: 10px;
  color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor;
  transition: transform .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed; inset: 76px 0 auto; z-index: 49;
  background: var(--ink-2); border-bottom: 1px solid var(--line-d);
  padding: 8px var(--pad) 24px; display: none;
}
body.menu-open .menu { display: block; }
.menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 17px; }
.menu a:last-child { border: 0; padding-bottom: 0; }

/* ── кнопки ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .22s var(--ease), color .22s, border-color .22s, transform .22s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--red); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn--primary:hover { background: var(--red-2); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-d); color: #fff; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .04); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* ── герой ─────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(120px, 15vh, 190px) 0 clamp(56px, 8vh, 96px);
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(151, 7, 10, .42) 0%, rgba(151, 7, 10, 0) 58%),
    var(--ink);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(90% 70% at 60% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 70% at 60% 30%, #000 0%, transparent 78%);
}
.hero__in {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(24px, 5vw, 64px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72); margin-bottom: 26px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--red-3); }

.hero h1 {
  font-size: clamp(2.05rem, 3.55vw, 3.4rem);
  line-height: 1.06; letter-spacing: -.03em; font-weight: 500;
  max-width: 21ch;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--red-3); }
.hero__lead {
  margin-top: 22px; max-width: 46ch;
  font-size: clamp(1rem, 1.15vw, 1.12rem); color: rgba(255, 255, 255, .74);
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  margin: 46px 0 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid var(--line-d);
}
.hero__facts li { font-size: 13.5px; color: rgba(255, 255, 255, .72); line-height: 1.45; }
.hero__facts b {
  display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red-3); margin-bottom: 7px; font-weight: 400;
}

.hero__art { position: relative; display: flex; justify-content: flex-end; }
.hero__art::after {
  content: ''; position: absolute; inset: 8% 0 0; z-index: -1;
  background: radial-gradient(closest-side, rgba(151, 7, 10, .55), transparent 72%);
  filter: blur(28px);
}
.mark-mask {
  width: 100%; max-width: 540px; margin-right: -18px; margin-bottom: -10px; aspect-ratio: 1507 / 1100;
  background: linear-gradient(178deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .18) 46%, rgba(255, 255, 255, .52) 100%);
  -webkit-mask: url('../assets/logo-mark.svg') 0 0 / 100% 100% no-repeat;
  mask: url('../assets/logo-mark.svg') 0 0 / 100% 100% no-repeat;
  position: relative;
}
.mark-mask::after {
  content: ''; position: absolute; inset: -20%;
  background: linear-gradient(104deg, transparent 34%, rgba(255, 255, 255, .85) 48%, #ffd9d7 51%, transparent 66%);
  background-size: 260% 260%;
  animation: sweep 9s linear infinite;
  mix-blend-mode: screen;
}
@keyframes sweep {
  0% { background-position: 130% 0; }
  55%, 100% { background-position: -60% 0; }
}


/* ── серверы ──────────────────────────────────────────── */
.srv { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.flow--dark { border-top-color: var(--line-d); }
.flow--dark li { border-bottom-color: var(--line-d); }
.flow--dark b { color: var(--red-3); }
.flow.flow--dark li span { color: rgba(255, 255, 255, .62); }
.flow.flow--dark li strong { color: #fff; }
.flow__t {
  display: inline-block; margin-left: 6px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .38); white-space: nowrap;
}

.spec { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.spec__i { padding: 18px 20px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.spec__k {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42); margin-bottom: 8px;
}
.spec__v { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .86); }

.hdr__support { display: none; }
.btn__ext { width: 14px; height: 14px; opacity: .8; }
.hdr__support { display: none; }

.support-card {
  display: grid; gap: 6px; margin-top: 34px; padding: 18px 20px; position: relative;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  transition: background .2s, border-color .2s;
}
.support-card:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.support-card__k { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.support-card b { font-size: 16px; line-height: 1.3; }
.support-card__t { font-size: 13px; color: rgba(255, 255, 255, .68); }
.support-card svg { position: absolute; right: 16px; bottom: 16px; width: 18px; height: 18px; opacity: .7; }

@media (min-width: 1180px) {
  .hdr__support { display: inline-flex; }
}


/* плитки без фото — для блоков вроде MCP */
.spec--plain .spec__i {
  background: var(--ink-3); border-color: var(--line-d);
  min-height: clamp(132px, 12vw, 168px);
}
.spec--plain .spec__i:hover { border-color: rgba(255, 255, 255, .32); }
.spec--plain .spec__k { color: rgba(255, 255, 255, .55); }
.mcp-stack {
  margin: clamp(16px, 2.2vw, 26px) 0 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}

/* плитки характеристик с фото-фоном */
.spec {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--tile-gap);
  border: 0;
}
.spec__i {
  position: relative; overflow: hidden;
  min-height: clamp(170px, 16vw, 210px); padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  background-color: var(--ink-2); background-size: cover; background-position: center;
  border: 1px solid var(--line-d);
  transition: border-color .25s;
}
.spec__i:hover { border-color: rgba(255, 255, 255, .34); }
.spec__k {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255, 255, 255, .72); margin: 0;
}
.spec__v { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .94); }
.spec__credit { margin-top: 14px; font-size: 11px; line-height: 1.6; color: rgba(255, 255, 255, .32); }
.spec__credit a { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.spec__credit a:hover { color: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .4); }

/* ── секции ────────────────────────────────────────────── */
.sec { padding: clamp(64px, 9vw, 118px) 0; }
section[id] { scroll-margin-top: 88px; }
.sec--paper { background: var(--paper); color: var(--text); }
.sec--dark { background: var(--ink); }
.sec--ink2 { background: var(--ink-2); }

.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(20px, 4vw, 56px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.sec__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px; display: block;
}
.sec--dark .sec__label, .sec--ink2 .sec__label { color: var(--red-3); }
.sec h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.7rem); line-height: 1.08; letter-spacing: -.03em;
  text-wrap: balance;
}
.sec__lead { color: var(--muted); font-size: clamp(.98rem, 1.1vw, 1.06rem); text-wrap: pretty; }
.sec--dark .sec__lead, .sec--ink2 .sec__lead { color: rgba(255, 255, 255, .62); }

.sec--sep { border-top: 1px solid var(--line); padding-top: clamp(46px, 6vw, 78px); }

/* локальный контур */
.onprem { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(26px, 5vw, 70px); align-items: start; }
.onprem__intro { align-self: start; position: sticky; top: 104px; }
.onprem__intro h2 { margin-bottom: 18px; }
.onprem__intro .sec__lead { max-width: 40ch; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  font-size: 15px; font-weight: 600; color: var(--red);
  border-bottom: 1px solid rgba(151, 7, 10, .3); padding-bottom: 3px;
  transition: border-color .2s, gap .2s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { border-color: var(--red); gap: 12px; }

.flow { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.flow li {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.flow b { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--red); padding-top: 2px; }
.flow span { font-size: 15.5px; color: var(--muted); text-wrap: pretty; }
.flow strong { color: var(--text); font-weight: 600; }

.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; margin-top: 30px; }
.cap__k {
  display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 7px;
}
.cap p { font-size: 14.8px; color: var(--muted); line-height: 1.5; text-wrap: pretty; }

/* услуги — строки, не карточки */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 66px minmax(180px, .82fr) minmax(0, 1.35fr);
  gap: clamp(12px, 2.4vw, 40px); align-items: start;
  padding: 26px clamp(0px, 1vw, 16px) 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.row:hover { background: rgba(151, 7, 10, .045); }
.row__n { font-family: var(--mono); font-size: 12px; color: var(--red); padding-top: 5px; letter-spacing: .04em; }
.row h3 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.22; letter-spacing: -.02em; }
.row p { color: var(--muted); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.row__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); border: 1px solid rgba(151, 7, 10, .28); border-radius: 999px; padding: 4px 9px;
}

/* процесс */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-d); }
.step {
  padding: 30px clamp(14px, 1.6vw, 26px) 6px 0;
  border-right: 1px solid var(--line-d);
}
.step:last-child { border-right: 0; padding-right: 0; }
.step__n {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--red-3);
  display: block; margin-bottom: 18px;
}
.step h3 { font-size: clamp(1.05rem, 1.4vw, 1.22rem); margin-bottom: 10px; }
.step p { color: rgba(255, 255, 255, .6); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.step__t {
  display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
}

/* принципы */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pr { padding: clamp(24px, 3vw, 38px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pr__k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); display: block; margin-bottom: 16px;
}
.pr h3 { font-size: clamp(1.08rem, 1.5vw, 1.28rem); margin-bottom: 10px; }
.pr p { color: var(--muted); font-size: 15.5px; text-wrap: pretty; }

/* стек */
.stack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.stack__col { border-top: 1px solid var(--line-d); padding-top: 20px; }
.stack__col h3 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .48); font-weight: 400; margin-bottom: 16px;
}
.stack__col ul { list-style: none; margin: 0; padding: 0; }
.stack__col li { font-size: 15px; color: rgba(255, 255, 255, .82); padding: 5px 0; }
.stack__col li span { color: rgba(255, 255, 255, .42); }

/* контакты */
.contact { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .13), transparent 70%);
}
.contact__in {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
}
.contact .sec__label { color: rgba(255, 255, 255, .72); }
.contact h2 { font-size: clamp(1.75rem, 3.4vw, 2.9rem); line-height: 1.06; text-wrap: balance; }
.contact__lead { margin-top: 18px; color: rgba(255, 255, 255, .8); max-width: 40ch; text-wrap: pretty; }
.contact__meta { margin-top: 40px; display: grid; gap: 22px; }
.contact__meta dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62); margin-bottom: 6px;
}
.contact__meta dd { margin: 0; font-size: 18px; }
.contact__meta a { border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 1px; }
.contact__meta a:hover { border-color: #fff; }

.card {
  background: var(--paper); color: var(--text); border-radius: 14px;
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card__sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

.field { margin-bottom: 14px; }
.field label {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--body); font-size: 15.5px; color: var(--text);
  background: #fff; border: 1px solid rgba(25, 20, 21, .16); border-radius: 8px;
  padding: 12px 13px; min-height: 46px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(151, 7, 10, .12); outline: none;
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input::placeholder, .field textarea::placeholder { color: #a9a09c; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 18px; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--red); flex: none; }
.consent label { font-family: var(--body); font-size: 12.5px; line-height: 1.45; color: var(--muted); text-transform: none; letter-spacing: 0; }
.consent a { color: var(--red); border-bottom: 1px solid rgba(151, 7, 10, .35); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.card .btn { width: 100%; }
.form__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.form__msg { margin-top: 14px; font-size: 14px; display: none; }
.form__msg.is-err { display: block; color: #a8100f; }
.form__msg.is-ok { display: block; color: #186a3b; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

.next { list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .28); display: grid; gap: 14px; }
.next li { display: flex; gap: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .86); line-height: 1.45; }
.next b { font-family: var(--mono); font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, .55); padding-top: 2px; flex: none; }

/* подвал */
.ftr { border-top: 1px solid var(--line-d); padding: 44px 0 34px; background: var(--ink); }
.ftr__in { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; justify-content: space-between; }
.ftr__brand { display: flex; align-items: center; gap: 12px; }
.ftr__brand svg { width: 30px; height: auto; color: rgba(255, 255, 255, .9); }
.ftr__brand b { font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .16em; }
.ftr__brand span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: rgba(255, 255, 255, .45); margin-top: 6px; text-transform: uppercase; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 18px 26px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.ftr__links a:hover { color: #fff; }
.ftr__ver { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; }
.ftr__ver b { font-weight: 400; color: rgba(255, 255, 255, .55); }

.ftr__legal {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-d);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 12.5px; color: rgba(255, 255, 255, .42);
}

/* страница политики */
.doc { padding: clamp(110px, 14vh, 160px) 0 90px; }
.doc h1 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); margin-bottom: 26px; max-width: 26ch; line-height: 1.1; }
.doc h2 { font-size: 1.18rem; margin: 34px 0 10px; }
.doc p, .doc li { color: rgba(255, 255, 255, .72); font-size: 16px; max-width: 74ch; text-wrap: pretty; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 12px 0; }
.doc li { margin: 6px 0; }
.doc a { color: var(--red-3); border-bottom: 1px solid rgba(208, 25, 30, .4); }
.doc .back { display: inline-block; margin-bottom: 30px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.doc .muted { font-size: 14px; color: rgba(255, 255, 255, .45); margin-top: 36px; }

/* страница 404 и «спасибо» */
.center { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
.center h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.center p { color: rgba(255, 255, 255, .66); max-width: 44ch; margin: 0 auto 28px; }
.center .code { font-family: var(--mono); letter-spacing: .3em; color: var(--red-3); font-size: 12px; margin-bottom: 18px; }

/* появление при скролле */
.has-io .rise { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.has-io .rise.in { opacity: 1; transform: none; }

/* ── адаптив ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 1020px) {
  .hero__in { grid-template-columns: 1fr; }
  .onprem__intro { position: static; }
  .hero { padding-top: clamp(96px, 13vh, 130px); }
  .hero__art { order: -1; justify-content: center; }
  .mark-mask { max-width: 250px; margin: 0 auto 8px; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .sec__head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--line-d); padding-bottom: 24px; }
  .step:nth-child(2n) { border-right: 0; padding-right: 0; }
  .stack { grid-template-columns: 1fr 1fr; }
  .contact__in { grid-template-columns: 1fr; }
  .onprem { grid-template-columns: 1fr; }
  .srv { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr 1fr; }
  .onprem__intro .sec__lead { max-width: none; }
}

@media (max-width: 860px) {
  .nav, .hdr .btn { display: none; }
  .burger { display: inline-flex; }
  .row { grid-template-columns: 34px 1fr; gap: 6px 12px; padding: 22px 0; }
  .row > div { grid-column: 2; }
  .row h3 { grid-column: 2; }
  .grid2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding-right: 0; }
  .stack { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; gap: 20px; }
  .spec { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .ftr__in { flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .has-io .rise, .js .rise { opacity: 1; transform: none; }
}
