/* Синод landing — «командный пункт»: три экрана-секции со scroll-snap,
   топографический фон, циан/зелёный + красный «опасность».
   Один файл, без внешних ресурсов (offline-принцип проекта). */

:root {
  --bg0: #05080f;
  --bg1: #0a1018;
  --panel: rgba(13, 23, 37, .62);
  --panel-2: rgba(9, 16, 27, .5);
  --line: rgba(126, 215, 255, .14);
  --line-hi: rgba(126, 215, 255, .38);
  --cyan: #59e3ff;
  --cyan-soft: #9ceeff;
  --green: #43f0a8;
  --amber: #ffd489;
  --red: #ff5b6e;
  --text: #dfe8f3;
  --muted: #97a5b8;
  --dim: #6f7d92;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
  --pad: clamp(16px, 4vw, 32px);
  --r: 14px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── фон: топография + координатная сетка + виньетка ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    url("assets/topo.svg") 0 0 / 640px 640px repeat,
    linear-gradient(rgba(89, 227, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(89, 227, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(89, 227, 255, .05) 1px, transparent 1px) 0 0 / 240px 240px,
    linear-gradient(90deg, rgba(89, 227, 255, .05) 1px, transparent 1px) 0 0 / 240px 240px,
    linear-gradient(180deg, #081019 0%, var(--bg0) 55%, #040710 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 42% at 50% 0%, rgba(35, 140, 190, .16), transparent 70%),
    radial-gradient(38% 30% at 85% 12%, rgba(67, 240, 168, .06), transparent 70%),
    radial-gradient(120% 90% at 50% 115%, rgba(2, 4, 9, .9), transparent 60%);
}

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

a { color: var(--cyan-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: rgba(89, 227, 255, .32); color: #f2fbff; }

/* ── доступность: скип-линк и фокус ── */
.skip {
  position: absolute; left: 12px; top: -48px;
  padding: 8px 14px; border-radius: 8px;
  background: var(--bg1); border: 1px solid var(--line-hi);
  color: var(--cyan-soft); z-index: 100; transition: top .15s;
}
.skip:focus { top: 12px; text-decoration: none; }

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

/* ── шапка ── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 15, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: .04em; color: var(--text);
}
.brand:hover { text-decoration: none; color: #fff; }
.brand svg { flex: none; filter: drop-shadow(0 0 6px rgba(89, 227, 255, .45)); }
.brand-sub {
  font-family: var(--mono); font-weight: 400; font-size: .72rem;
  color: var(--dim); letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 99px;
  padding: 2px 9px; margin-left: 2px;
}
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.top-nav > a { color: var(--muted); }
.top-nav > a:hover { color: var(--cyan-soft); }

/* ── точки-индикаторы экранов ── */
.dots {
  position: fixed; right: 18px; top: 50%; translate: 0 -50%;
  z-index: 60; display: flex; flex-direction: column; gap: 14px;
}
.dots a {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(126, 215, 255, .2);
  border: 1px solid rgba(126, 215, 255, .4);
  transition: background .2s, box-shadow .2s, scale .2s;
}
.dots a:hover { scale: 1.25; text-decoration: none; }
.dots a.is-active {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(89, 227, 255, .65);
}

/* ── кнопки и бейджи ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  border: 1px solid var(--line-hi);
  color: var(--cyan-soft); font-weight: 600; font-size: .98rem;
  background: rgba(89, 227, 255, .05);
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover {
  text-decoration: none; transform: translateY(-1px);
  background: rgba(89, 227, 255, .12); border-color: rgba(126, 215, 255, .6);
  box-shadow: 0 6px 26px rgba(89, 227, 255, .16);
}
.btn-primary {
  background: linear-gradient(135deg, #6eeaff, #2fb8e0);
  border-color: transparent; color: #04222c;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #8af0ff, #3ecdf2);
  box-shadow: 0 8px 32px rgba(89, 227, 255, .35);
}
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

.badge {
  display: inline-block;
  font-size: .72rem; letter-spacing: .08em;
  color: var(--green); border: 1px solid rgba(67, 240, 168, .3);
  border-radius: 99px; padding: 2px 10px;
  background: rgba(67, 240, 168, .05);
}
.badge-amber { color: var(--amber); border-color: rgba(255, 212, 137, .35); background: rgba(255, 212, 137, .05); }
.badge-red { color: #ffb3be; border-color: rgba(255, 91, 110, .4); background: rgba(255, 91, 110, .06); }
.badge-neutral { color: var(--cyan-soft); border-color: rgba(126, 215, 255, .35); }

/* ── строка сигналов ГО и строка ссылок ── */
.sig-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 0; }
.sig-label {
  font-family: var(--mono); font-size: .72rem; color: var(--dim);
  letter-spacing: .1em; text-transform: uppercase; margin-right: 2px;
}
.links-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.dl-note { font-family: var(--mono); font-size: .72rem; color: var(--dim); }

/* ── заглушки под текст (заполнить позже) ── */
.fill {
  display: block;
  border: 1px dashed rgba(255, 212, 137, .45);
  background: repeating-linear-gradient(45deg, rgba(255, 212, 137, .045) 0 10px, transparent 10px 20px);
  border-radius: 10px; padding: 12px 16px;
  color: var(--amber); font-family: var(--mono); font-size: .84rem;
}
.fill-inline {
  display: inline-block; vertical-align: middle;
  padding: 1px 14px; font-size: .68em; font-weight: 500;
  border-radius: 8px;
}
.fill-s {
  display: block;
  border: 1px dashed rgba(255, 212, 137, .4);
  border-radius: 8px; padding: 7px 12px;
  color: var(--amber); font-family: var(--mono); font-size: .8rem;
}

/* ── экраны (секции-«слайды») ── */
.screen {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  display: grid; align-content: center;
  padding-block: 96px 64px;
  overflow: hidden;
}
.screen + .screen { border-top: 1px solid rgba(126, 215, 255, .08); }
.screen-num {
  position: absolute; right: 1vw; top: 8vh;
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(120px, 22vw, 300px); line-height: 1;
  color: rgba(89, 227, 255, .045);
  letter-spacing: -.05em; pointer-events: none; user-select: none;
}
.screen-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
#screen-2 .screen-art { order: -1; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--green);
  border: 1px solid rgba(67, 240, 168, .3); border-radius: 99px;
  padding: 5px 14px; margin: 0 0 24px;
  background: rgba(67, 240, 168, .06);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(67, 240, 168, .6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(67, 240, 168, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(67, 240, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(67, 240, 168, 0); }
}

h1 {
  font-size: clamp(1.62rem, 3.6vw, 2.5rem);
  line-height: 1.22; letter-spacing: -.01em;
  margin: 0 0 26px; max-width: 24ch;
  text-wrap: balance;
}
/* медленный скан-эффект по названию */
.scan {
  background: linear-gradient(100deg,
    var(--cyan-soft) 0%, var(--cyan-soft) 42%,
    #ffffff 50%, var(--cyan-soft) 58%, var(--cyan-soft) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: scan 7s ease-in-out infinite;
}
@keyframes scan {
  0%   { background-position: 120% 0; }
  55%  { background-position: -60% 0; }
  100% { background-position: -60% 0; }
}

.sec-tag {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--cyan); margin: 0 0 12px;
}
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.25; margin: 0 0 14px; letter-spacing: -.01em; }
.lead {
  max-width: 56ch; margin: 0 0 22px;
  color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem);
}
.lead strong { color: var(--text); font-weight: 600; }
.note-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }

/* ── макет телефона: рамка «как настоящая» ── */
.phone {
  width: min(300px, 80vw); margin-inline: auto;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(150deg, #2b3849 0%, #101825 28%, #182333 55%, #0b1119 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, .6),
    0 0 46px rgba(255, 91, 110, .08),
    inset 0 0 0 1px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  position: relative;
}
/* «динамический остров» */
.phone::before {
  content: ""; position: absolute; top: 52px; left: 50%; translate: -50% 0;
  width: 86px; height: 22px; border-radius: 12px;
  background: #04070c; border: 1px solid rgba(255, 255, 255, .06);
  z-index: 5;
}
/* кнопка питания на торце */
.phone::after {
  content: ""; position: absolute; right: -3.5px; top: 150px;
  width: 3.5px; height: 62px; border-radius: 2px;
  background: linear-gradient(180deg, #3a4859, #151d29);
}
/* единая геометрия макетов-телефонов: одна ширина (.phone), один отступ
   под «остров», скругления и пропорция экрана 9:19.4 — телефоны на
   соседних экранах одинаковы по размеру и перспективе */
.phone-screen,
.cam-screen {
  margin-top: 34px; border-radius: 34px; overflow: hidden;
  aspect-ratio: 9 / 19.4;
  display: flex; flex-direction: column;
}
.phone-screen { background: #080d16; }
/* лёгкий 3D-наклон на больших экранах */
@media (min-width: 901px) {
  .screen-art .phone {
    transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
    transition: transform .5s ease;
  }
  .screen-art .phone:hover {
    transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
  }
}
/* статус-бар */
.statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 20px 6px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .06em;
  color: rgba(255, 255, 255, .85);
}
.sb-right { display: flex; align-items: center; gap: 8px; }
.sb-bt {
  color: #aef3c8; border: 1px solid rgba(174, 243, 200, .4);
  border-radius: 4px; padding: 0 4px; font-size: .56rem;
}
.home-bar {
  width: 110px; height: 4px; border-radius: 99px;
  background: rgba(255, 255, 255, .35);
  margin: 8px auto 10px; flex: none;
}
.alert-head {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 26px 20px 20px; text-align: center; color: #fff;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(255, 120, 140, .35), transparent 60%),
    linear-gradient(165deg, #a92138, #6e1128);
  border-bottom: 1px solid rgba(255, 91, 110, .5);
  box-shadow: 0 10px 34px rgba(229, 60, 92, .25);
}
.alert-head svg { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .5)); margin-bottom: 4px; }
.alert-title { font-size: 1.3rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.alert-sub { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: rgba(255, 220, 226, .85); }
.alert-body { padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.alert-line { margin: 0; font-size: .95rem; }
.alert-line.strong { color: #ffe9ed; }
.alert-line.dim { color: var(--muted); }
.alert-line b { color: #fff; }
.alert-route {
  margin: 0; color: var(--green); font-family: var(--mono);
  font-size: .76rem; line-height: 1.6;
  border: 1px dashed rgba(67, 240, 168, .45); border-radius: 8px;
  padding: 8px 10px;
}
.alert-meta {
  font-family: var(--mono); font-size: .72rem; color: var(--dim);
  border-top: 1px dashed rgba(126, 215, 255, .18); padding-top: 12px;
}
.alert-actions { display: flex; gap: 10px; margin-top: auto; }
.pbtn {
  flex: 1; text-align: center; padding: 10px 12px; border-radius: 10px;
  font-weight: 600; font-size: .92rem;
  background: linear-gradient(135deg, #ff7085, #d8385a); color: #2a0510;
  box-shadow: 0 6px 22px rgba(255, 91, 110, .3);
}
.pbtn-ghost {
  background: rgba(255, 91, 110, .08); color: #ffb3be;
  border: 1px solid rgba(255, 91, 110, .35); box-shadow: none;
}
.phone-status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em;
  color: var(--dim); text-transform: uppercase;
}

/* ── стеклянная панель (общая) ── */
.panel {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--panel), var(--panel-2));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 34px rgba(89, 227, 255, .07);
  overflow: hidden;
}

/* ── макет телефона: экран камеры (доклад об опасности) ── */
.phone-cam {
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .55),
    0 0 46px rgba(103, 224, 168, .09),
    inset 0 0 0 1px rgba(0, 0, 0, .4);
}
.cam-screen { position: relative; background: #0a130d; }
.cam-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
/* видоискатель: углы + сетка третей */
.cam-screen::before {
  content: ""; position: absolute; inset: 12px; z-index: 1; pointer-events: none;
  background:
    linear-gradient(rgba(191, 233, 216, .5), rgba(191, 233, 216, .5)) left 0 top 0 / 16px 2px,
    linear-gradient(rgba(191, 233, 216, .5), rgba(191, 233, 216, .5)) left 0 top 0 / 2px 16px,
    linear-gradient(rgba(191, 233, 216, .5), rgba(191, 233, 216, .5)) right 0 top 0 / 16px 2px,
    linear-gradient(rgba(191, 233, 216, .5), rgba(191, 233, 216, .5)) right 0 top 0 / 2px 16px;
  background-repeat: no-repeat;
}
.cam-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(rgba(191, 233, 216, .1), rgba(191, 233, 216, .1)) 0 33.3% / 100% 1px no-repeat,
    linear-gradient(rgba(191, 233, 216, .1), rgba(191, 233, 216, .1)) 0 66.6% / 100% 1px no-repeat,
    linear-gradient(rgba(191, 233, 216, .1), rgba(191, 233, 216, .1)) 33.3% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(191, 233, 216, .1), rgba(191, 233, 216, .1)) 66.6% 0 / 1px 100% no-repeat;
}
.cam-top {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 8px; padding: 40px 16px 12px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: #bfe9d8;
  background: linear-gradient(180deg, rgba(4, 9, 6, .8), transparent);
}
.cam-clock { margin-left: auto; color: var(--dim); }
.rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.cam-reticle {
  position: absolute; left: 46%; top: 30.5%; translate: -50% -50%;
  z-index: 2; width: 22px; height: 22px; pointer-events: none;
}
.cam-reticle::before, .cam-reticle::after {
  content: ""; position: absolute; background: rgba(191, 233, 216, .75);
}
.cam-reticle::before { left: 50%; top: 0; bottom: 0; width: 1.5px; translate: -50% 0; }
.cam-reticle::after { top: 50%; left: 0; right: 0; height: 1.5px; translate: 0 -50%; }
.cam-box {
  position: absolute; left: 17%; top: 17%; width: 58%; height: 27%; z-index: 2;
  border: 1.5px dashed rgba(255, 91, 110, .85); border-radius: 8px;
  box-shadow: 0 0 22px rgba(255, 91, 110, .18), inset 0 0 22px rgba(255, 91, 110, .08);
}
.cam-box-tag {
  position: absolute; top: -24px; left: -1.5px;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .08em;
  text-transform: uppercase; color: #ffd6dc;
  background: rgba(120, 16, 34, .85);
  border: 1px solid rgba(255, 91, 110, .5); border-radius: 5px;
  padding: 2px 7px; white-space: nowrap;
}
.cam-bottom {
  position: relative; z-index: 3; margin-top: auto;
  background: rgba(5, 9, 14, .93); border-top: 1px solid var(--line);
  padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 9px;
}
.cam-coords { margin: 0; font-family: var(--mono); font-size: .72rem; line-height: 1.75; color: var(--cyan-soft); }
.cam-attach {
  font-family: var(--mono); font-size: .68rem; color: var(--green);
  border: 1px dashed rgba(67, 240, 168, .4); border-radius: 7px;
  padding: 4px 9px; align-self: flex-start;
}
.cam-send { margin-top: 2px; }

/* ── консоль «ситуационный центр»: нарисованная схема карты + задачи ── */
.console { max-width: 520px; margin-inline: auto; }
.console-map { position: relative; height: 300px; border-bottom: 1px solid var(--line); background: #e9eef3; }
.console-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* пульс у отметки ситуации на схеме */
.mk-pulse {
  transform-box: fill-box; transform-origin: center;
  animation: mkp 2.6s ease-out infinite;
}
@keyframes mkp {
  0%   { opacity: .9; scale: .4; }
  70%  { opacity: 0;  scale: 1.5; }
  100% { opacity: 0;  scale: 1.5; }
}
.map-tag {
  position: absolute; translate: 0 -140%;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em;
  color: var(--cyan-soft); background: rgba(5, 8, 15, .82);
  border: 1px solid rgba(126, 215, 255, .3); border-radius: 6px;
  padding: 2px 8px; white-space: nowrap;
}
.console-side { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 11px; }
.console-title { font-weight: 700; letter-spacing: .02em; }
/* задачи с карты: кому/что/статус — вторая часть консоли */
.task-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.task-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(89, 227, 255, .04);
  padding: 8px 11px; font-size: .86rem;
}
.t-msg { color: var(--text); }
.t-meta {
  font-family: var(--mono); font-size: .72rem; color: var(--dim);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 7px;
}

/* ── регистрация: поле почты (пока локально, без бэкенда) ── */
.reg-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.reg-label {
  font-family: var(--mono); font-size: .72rem; color: var(--dim);
  letter-spacing: .1em; text-transform: uppercase;
}
.reg-input {
  flex: 1; min-width: 190px; max-width: 320px;
  padding: 9px 13px; border-radius: 10px;
  border: 1px solid var(--line-hi); background: rgba(89, 227, 255, .04);
  color: var(--text); font: inherit; font-size: .92rem;
}
.reg-input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.reg-input::placeholder { color: var(--dim); }
.reg-note { margin: 8px 0 0; font-family: var(--mono); font-size: .76rem; color: var(--green); }

/* ── экран «Преимущества»: карточки закрытой инфраструктуры ── */
.adv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px); margin-top: clamp(22px, 4vh, 42px);
}
.adv {
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(165deg, var(--panel), var(--panel-2));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .38);
  padding: clamp(18px, 2vw, 24px);
}
.adv svg {
  width: 38px; height: 38px; color: var(--cyan);
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(89, 227, 255, .35));
}
.adv svg .adv-cut { stroke: var(--red); }
.adv h3 { margin: 14px 0 8px; font-size: 1.02rem; letter-spacing: .01em; }
.adv p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ── футер: одна строка — номер сборки ── */
footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(6, 12, 20, .8));
  padding-block: 20px;
}
.foot-bottom {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono); font-size: .75rem; color: var(--dim);
}

/* ── адаптив ── */
@media (max-width: 900px) {
  .screen-grid { grid-template-columns: 1fr; }
  #screen-2 .screen-art { order: 0; }
  .screen { padding-top: 80px; }
  .screen-text { text-align: left; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .dots { display: none; }
  .top-nav a.nav-link { display: none; }
  .top-in { height: 56px; }
  .screen-num { font-size: 34vw; top: auto; bottom: 2vh; opacity: .8; }
  .adv-grid { grid-template-columns: 1fr; }
}

/* ── аккуратность: меньше движения ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .scan { color: var(--cyan-soft); background: none; -webkit-text-fill-color: currentColor; }
}

/* ── APK-раздатка: бейдж версии (из /apk/index.json) и QR рядом с кнопкой ── */
.apk-row { gap: 14px; }
.apk-ver {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .04em;
  color: var(--green); border: 1px solid rgba(67, 240, 168, .3);
  border-radius: 99px; padding: 2px 10px;
  background: rgba(67, 240, 168, .05); white-space: nowrap;
}
/* QR генерируется локально (assets/qrcode.js → SVG) на адрес текущего origin */
.apk-qr {
  display: block; background: #fff; border-radius: 8px; padding: 6px;
  flex: none; width: 108px; height: 108px;
}
.apk-qr[hidden] { display: none; }
