/* «Контур» — kontur.zone. Стиль Arcanis, як у грі: темне тло, тонкі лінії, прямокутні панелі. */

:root {
  --bg: #060b0d;
  --panel: #0b1518;
  --line: #1d3438;
  --ink: #dbf0eb;
  --dim: #91b8ba;
  --cyan: #29e8d9;
  --gold: #ffc759;
  --red: #ff3b33;

  --btn: #0e2125;        /* кнопка рядка стану в спокої */
  --fill: #12474d;       /* обрана кнопка, як «1×» у грі */
  --fill-hi: #18606a;
  --tile: #0e1d21;
  --cyan-line: rgba(41, 232, 217, 0.45);

  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --bar: 57px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", "Noto Sans", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-padding-top: calc(var(--bar) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #fff;
}

a:not([href]) {
  color: inherit;
  text-decoration: none;
}

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

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

.skip {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--cyan);
  color: #041214;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 8px;
  color: #041214;
}

/* ───── Рядок стану (шапка) ───── */

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--cyan-line);
}

.bar__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  min-height: 56px;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 6px;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.brand:hover {
  color: var(--cyan);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav a,
.langs a,
.menu-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  background: var(--btn);
  color: var(--ink);
  font: 400 0.78rem/1.2 var(--font);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.nav a:hover,
.langs a:hover,
.menu-btn:hover {
  background: var(--fill);
  color: #fff;
}

.nav a[aria-current],
.langs a[aria-current],
.menu-btn[aria-expanded="true"] {
  background: var(--fill);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.bar__status {
  display: none;
  margin-left: auto;
  color: var(--cyan);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.bar__status b {
  font-weight: 600;
}

.langs {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.bar__status:not([hidden]) + .langs {
  margin-left: 0;
}

.langs a {
  padding: 6px 9px;
  color: var(--dim);
}

.menu-btn {
  display: none;
}

@media (min-width: 1160px) {
  .bar__status {
    display: block;
  }
}

@media (max-width: 1159.98px) {
  .bar__status:not([hidden]) + .langs {
    margin-left: auto;
  }
}

/* Вузький екран: розділи ховаються під кнопку «Меню». Без скриптів вони лишаються рядком під назвою. */
@media (max-width: 919.98px) {
  .nav {
    order: 5;
    width: 100%;
    padding-bottom: 10px;
  }

  .nav a {
    min-height: 44px;
  }

  .langs a,
  .menu-btn {
    min-height: 40px;
  }

  .js .menu-btn {
    display: inline-flex;
    order: 4;
  }

  .js .nav {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 0 0 12px;
  }

  .js .bar--open .nav {
    display: flex;
  }

  .js .nav a {
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 0.86rem;
  }
}

/* ───── Перший екран ───── */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__shot {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(1640px, 70%);
}

.hero__shot picture,
.hero__shot img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__shot img {
  object-fit: cover;
  object-position: 42% 50%;
}

/* Затемнення зліва й знизу — щоб текст читався на кадрі; саме зображення не змінюється. */
.hero__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(6, 11, 13, 0.86) 16%, rgba(6, 11, 13, 0.35) 44%, rgba(6, 11, 13, 0) 66%),
    linear-gradient(0deg, rgba(6, 11, 13, 0.7) 0%, rgba(6, 11, 13, 0) 26%);
  pointer-events: none;
}

.hero__shot figcaption {
  position: absolute;
  right: var(--pad);
  bottom: 14px;
  z-index: 1;
  padding: 4px 9px;
  background: rgba(6, 11, 13, 0.8);
  border: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__in {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1920px;
  min-height: min(840px, calc(100vh - var(--bar)));
  min-height: min(840px, calc(100svh - var(--bar)));
  margin: 0 auto;
  padding: clamp(48px, 9vh, 104px) var(--pad);
}

.hero__panel {
  max-width: 600px;
}

.kicker {
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker span {
  margin: 0 0.35em;
  opacity: 0.7;
}

.hero h1 {
  margin: 6px 0 0 -0.04em;
  color: #fff;
  font-size: clamp(3.5rem, 11vw, 8rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hero__map {
  margin-top: 12px;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__rule {
  width: min(420px, 100%);
  height: 1px;
  margin: 22px 0;
  border: 0;
  background: var(--cyan);
  opacity: 0.65;
}

.hero__lead {
  max-width: 31em;
  color: var(--ink);
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 26px;
  color: var(--dim);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.hero__meta li + li::before {
  content: "·";
  margin-right: 18px;
  color: var(--line);
}

.online {
  color: var(--cyan);
}

.online b,
.bar__status b {
  font-variant-numeric: tabular-nums;
}

.note {
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.9rem;
}

/* ───── Кнопки ───── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  font: 600 0.84rem/1.25 var(--font);
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn--go {
  background: var(--cyan);
  color: #041214;
}

.btn--go:hover {
  background: #8ff6ec;
  color: #041214;
}

.btn--hud {
  background: var(--fill);
  border-color: var(--cyan-line);
  color: #fff;
}

.btn--hud:hover {
  background: var(--fill-hi);
  color: #fff;
}

.btn--line {
  background: transparent;
  border-color: var(--line);
  color: var(--cyan);
}

.btn--line:hover {
  border-color: var(--cyan);
  color: #fff;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px dashed rgba(255, 199, 89, 0.5);
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.soon::before,
.dia::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: currentColor;
  transform: rotate(45deg);
}

/* ───── Розділи ───── */

.sec {
  padding: clamp(56px, 9vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}

.sec--tight {
  padding: clamp(40px, 6vw, 72px) 0;
}

.sec__head {
  max-width: 46rem;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tag::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

.tag--gold {
  color: var(--gold);
}

.tag--gold::before {
  background: var(--gold);
}

h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.lead {
  margin-top: 16px;
  font-size: clamp(1.04rem, 1.3vw, 1.14rem);
}

.prose p + p {
  margin-top: 1em;
}

.prose {
  max-width: 40rem;
}

.dim {
  color: var(--dim);
}

.small {
  font-size: 0.88rem;
}

/* ───── Панелі ───── */

.panel {
  padding: 20px 22px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top-color: var(--cyan);
}

.panel--gold {
  border-top-color: var(--gold);
}

.panel--alert {
  border-top-color: var(--red);
}

.panel__title,
.panel h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.panel--gold h3 {
  color: var(--gold);
}

.panel--alert h3 {
  color: var(--red);
}

.panel p {
  color: var(--dim);
  font-size: 0.95rem;
}

.panel p + p {
  margin-top: 0.7em;
}

.key {
  flex: none;
  padding: 3px 7px;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: nowrap;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.span-2 {
  grid-column: span 2;
}

@media (max-width: 1019.98px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639.98px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .span-2 {
    grid-column: auto;
  }
}

/* ───── Кадр у рамці ───── */

.shot {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
}

.shot::before,
.shot::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 0 solid var(--cyan);
  pointer-events: none;
}

.shot::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.shot::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.shot img {
  width: 100%;
}

.shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(26px, 4.5vw, 64px);
  align-items: start;
}

@media (max-width: 919.98px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.facts {
  margin-top: clamp(30px, 5vw, 56px);
}

/* ───── Оборона ───── */

/* Ліворуч — підрозділи на всю висоту, праворуч — п'ять коротких панелей одна під одною.
   Колонки різної висоти вирівнюються самі: якщо вища ліва, зайве місце ділиться порівну між
   правими панелями; якщо вища права — його забирає відступ перед приміткою під підрозділами. */
.defence {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 14px;
}

.defence > .panel {
  grid-column: 2;
}

.defence > .defence__units {
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1 / span 5;
}

.defence__units .fine {
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.86rem;
}

/* Вужче текст у правих панелях переноситься частіше, і п'ять панелей стають вищими за ліву колонку —
   тож остання лягає під обидві колонки на всю ширину. */
@media (max-width: 1099.98px) {
  .defence > .defence__units {
    grid-row: 1 / span 4;
  }

  .defence > .defence__last {
    grid-column: 1 / -1;
  }
}

/* Планшет: підрозділи й «Що летить» — на всю ширину, решта — парами. */
@media (max-width: 919.98px) {
  .defence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .defence > .panel {
    grid-column: auto;
  }

  .defence > .defence__units,
  .defence > .defence__threats {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 639.98px) {
  .defence {
    grid-template-columns: minmax(0, 1fr);
  }
}

.units {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

/* Групи підрозділів — ті самі чотири, що й у меню гри: назва й тихіший підпис через крапку.
   Коли підпис не вміщається поруч, він переходить на свій рядок, а крапка лишається за лівим краєм
   заголовка й не показується (тому overflow: hidden). */
.units__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 17px;
  overflow: hidden;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.units__head span {
  position: relative;
  color: var(--dim);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.units__head span::before {
  content: "·";
  position: absolute;
  left: -10px;
}

.panel h3 + .units__head {
  margin-top: 0;
}

.units__head + .units {
  margin-top: 8px;
}

/* Картки одного ряду однакові на зріст; вид підрозділу притиснуто донизу, щоб у ряду з назвою
   на два рядки золоті підписи стояли на одній лінії. */
.unit {
  display: flex;
  flex-direction: column;
  padding: 6px 6px 10px;
  background: var(--tile);
  border: 1px solid var(--line);
  text-align: center;
}

.unit img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.unit__name {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.25;
}

.unit__kind {
  display: block;
  margin-top: auto;
  padding-top: 3px;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (max-width: 479.98px) {
  .units {
    gap: 6px;
  }

  .unit {
    padding: 4px 4px 8px;
  }

  .unit__name {
    font-size: 0.78rem;
  }

  .unit__kind {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }
}

.threats li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.threats li:first-child {
  padding-top: 2px;
}

.threats li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--red);
  transform: translateY(-1px) rotate(45deg);
}

.threats + p {
  margin-top: 16px;
}

.after {
  margin-top: 14px;
}

.fine {
  margin-top: 22px;
  color: var(--dim);
  font-size: 0.86rem;
}

/* ───── Сервер ───── */

.srv-status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 22px;
  padding: 10px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.posts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 14px;
}

.posts li {
  padding: 4px 10px;
  border: 1px solid rgba(255, 199, 89, 0.4);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ───── Галерея ───── */

.gal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gal__item--big {
  grid-column: span 2;
  grid-row: span 2;
}

.gal__item--wide {
  grid-column: span 2;
}

.gal a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.gal__item--big a,
.gal__item--wide a {
  height: 100%;
  aspect-ratio: auto;
}

.gal a:hover,
.gal a:focus-visible {
  border-color: var(--cyan);
}

.gal picture {
  position: absolute;
  inset: 0;
}

.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gal__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  padding: 5px 10px;
  background: rgba(6, 11, 13, 0.86);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 919.98px) {
  .gal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gal__item--big {
    grid-row: auto;
  }

  .gal__item--big a {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .gal__item--wide a {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Перегляд кадру */

.lb {
  width: min(96vw, 1640px);
  max-width: none;
  max-height: 96vh;
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top-color: var(--cyan);
  color: var(--ink);
  overflow: hidden;
}

.lb::backdrop {
  background: rgba(2, 5, 6, 0.9);
}

.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 6px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lb__tools {
  display: flex;
  gap: 4px;
}

.lb button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 6px 12px;
  border: 0;
  background: var(--btn);
  color: var(--ink);
  font: 400 0.78rem/1 var(--font);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
}

.lb button:hover {
  background: var(--fill);
  color: #fff;
}

.lb__fig {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Сцена сталого розміру: вікно не стрибає, коли кадри різних пропорцій; кадр не розтягується понад свій розмір. */
.lb__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(calc(96vh - 112px), 64vw);
  background: #020506;
}

.lb__stage img {
  flex: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lb__fig figcaption {
  padding: 10px 14px 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.92rem;
}

/* ───── Як почати ───── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 919.98px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.step {
  display: flex;
  flex-direction: column;
}

.step__n {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 2.3rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.step .actions {
  margin-top: auto;
  padding-top: 20px;
}

.addr {
  margin-top: auto;
  padding-top: 20px;
}

.addr dt {
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.addr dd {
  margin: 6px 0 0;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 0.98rem;
  word-break: break-all;
  user-select: all;
}

/* ───── У планах ───── */

.plans {
  padding: 24px 26px;
  border: 1px dashed rgba(255, 199, 89, 0.45);
}

.plans h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.plans p {
  max-width: 44rem;
  margin-top: 10px;
  color: var(--dim);
}

.plans ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 18px;
}

.plans li {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--gold);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ───── Службові сторінки ───── */

.page {
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}

.page h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page__head {
  max-width: 46rem;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page .panel + .panel,
.stack > * + * {
  margin-top: 14px;
}

.narrow {
  max-width: 56rem;
}

.list li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.95rem;
}

.list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.1em;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.list b,
.list strong {
  color: var(--ink);
  font-weight: 600;
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 26px;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lost {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--bar));
  padding: 48px 0;
}

.lost .wrap {
  width: 100%;
}

.lost__code {
  color: var(--red);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lost h1,
.lost h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.12;
}

.lost h1 + p,
.lost h2 + p {
  margin-top: 12px;
  color: var(--dim);
}

.lost hr {
  width: min(420px, 100%);
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--line);
}

/* ───── Підвал ───── */

.foot {
  padding: 44px 0 56px;
  color: var(--dim);
  font-size: 0.9rem;
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 30px clamp(30px, 6vw, 90px);
}

@media (max-width: 759.98px) {
  .foot__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.foot__name {
  margin-top: 4px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 16px;
}

.foot__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.foot__legal p + p {
  margin-top: 0.8em;
}

.foot__legal strong {
  color: var(--ink);
  font-weight: 600;
}

.foot__copy {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

/* ───── Телефон ───── */

@media (max-width: 759.98px) {
  .hero__shot {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .hero__shot img {
    object-position: 50% 50%;
  }

  .hero__shot::after {
    background: linear-gradient(0deg, var(--bg) 0%, rgba(6, 11, 13, 0.55) 22%, rgba(6, 11, 13, 0) 52%);
  }

  .hero__shot figcaption {
    top: 10px;
    right: 10px;
    bottom: auto;
  }

  .hero__in {
    min-height: 0;
    margin-top: -72px;
    padding-top: 0;
    padding-bottom: 44px;
  }

  .actions .btn,
  .actions .soon {
    flex: 1 1 100%;
  }

  .hero__meta li + li::before {
    display: none;
  }

  .hero__meta {
    flex-direction: column;
  }

  .panel {
    padding: 18px 18px 20px;
  }

  .plans {
    padding: 20px 18px;
  }
}

/* ───── Рух ───── */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .btn,
  .nav a,
  .langs a,
  .menu-btn,
  .gal a,
  .lb button {
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }

  .gal img {
    transition: transform 0.4s ease;
  }

  .gal a:hover img {
    transform: scale(1.03);
  }
}

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

@media (forced-colors: active) {
  .btn,
  .nav a,
  .langs a,
  .menu-btn,
  .panel,
  .unit {
    border: 1px solid ButtonText;
  }
}

@media print {
  .bar,
  .lb,
  .skip {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
