/* Визитка и «Как попасть» AIR Servers — стиль игровых окон AIR (Forge.MW): тёплый
   графит, золото #D9B525, карточки с кромкой, золотые уголки, сетка с зерном.
   Подача — как у крупных проектов (Majestic): один большой первый экран с героями
   и главной кнопкой, «пути» сторон, крупные шаги. Чистый чёрный не берём (27.09.2026). */

:root {
    --bg0: #0d0c0b;
    --bg1: #141311;
    --card-a: #24221e;
    --card-b: #171615;
    --line: rgba(255, 238, 205, .08);
    --line2: rgba(255, 238, 205, .14);
    --gold: #d9b525;
    --gold-hi: #ecca3c;
    --text: #e4e4e4;
    --warm: #fff9f3;
    --muted: #a8a196;
    --dim: #7a746a;
    --green: #6fbf4a;
    --osve: #c8462e;
    --nato: #4f86b8;
    --radius: 6px;
    /* Bender — как в игровых окнах и на сайте доната; Roboto рисует его мелкие знаки препинания */
    --head: "Bender", "Roboto", "Arial Narrow", sans-serif;
    --body: "Bender", "Roboto", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
    background: radial-gradient(1200px 600px at 75% -10%, rgba(217, 181, 37, .06), transparent 60%), linear-gradient(180deg, var(--bg1), var(--bg0) 40%);
    color: var(--text);
    font: 400 16px/1.6 var(--body);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
/* сетка и зерно — как подложка grid в игровых окнах. ⚠ Зерно — готовая плитка:
   SVG-фильтр feTurbulence на весь экран тормозил прокрутку. */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 238, 205, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 238, 205, .025) 1px, transparent 1px), url("/assets/site/grain.png");
    background-size: 48px 48px, 48px 48px, 128px 128px;
}

img { display: block; max-width: 100%; height: auto; }
input, textarea, select, button.copy { font-family: "Roboto", "Segoe UI", Arial, sans-serif; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
em { font-style: normal; color: var(--gold); }
b { color: var(--warm); font-weight: 500; }
code { font: 500 15px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--warm); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--dim); }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #0b0b0b; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ── кнопки ─────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font: 600 15px/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
    padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent;
    cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-xl { padding: 22px 44px; font-size: 20px; letter-spacing: .14em; }
.btn-xl svg { width: 22px; height: 22px; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #0b0b0b; box-shadow: 0 6px 24px rgba(217, 181, 37, .2); }
.btn-gold:hover { color: #0b0b0b; transform: translateY(-1px); box-shadow: 0 12px 34px rgba(217, 181, 37, .32); }
.btn-ghost { background: rgba(255, 238, 205, .04); color: var(--warm); border-color: var(--line2); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--warm); border-color: var(--gold); background: rgba(217, 181, 37, .1); }

/* ── рамка с золотыми уголками ──────────────────────── */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none; border-color: var(--gold); border-style: solid; z-index: 2; }
.frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.frame::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }

/* ── шапка ──────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(15, 15, 14, .8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--warm); }
.brand:hover { color: var(--warm); }
.brand img { width: 40px; height: 40px; }
.brand-t { font: 500 18px/1 var(--head); letter-spacing: .2em; white-space: nowrap; }
.brand-t b { color: var(--gold); font-weight: 500; }
/* меню: пункт = значок + слово, светлее и крупнее прежнего; золотая черта под текущим
   разделом (подсвечивает site.js при прокрутке) и под текущей страницей (aria-current).
   Чужие сайты — за разделителем и со стрелкой «откроется отдельно». */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 10px; border-radius: 3px; color: #d9d2c6; font: 700 14px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover { color: var(--warm); background: rgba(255, 238, 205, .05); }
.nav a:not(.btn):hover::after, .nav a.is-active::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.is-active, .nav a[aria-current="page"] { color: var(--warm); }
.nav-i { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-ext { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; margin-left: -2px; }
.nav-sep { width: 1px; height: 24px; background: var(--line2); margin: 0 8px; }
.nav .btn { margin-left: 12px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line2); border-radius: var(--radius); width: 44px; height: 40px; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--warm); transition: transform .2s, opacity .2s; }
.menu-btn span:nth-child(1) { top: 12px; } .menu-btn span:nth-child(2) { top: 19px; } .menu-btn span:nth-child(3) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.eyebrow { display: flex; align-items: center; justify-content: inherit; gap: 10px; font: 500 13px/1.3 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.eyebrow .dot { width: 8px; height: 8px; flex: none; background: var(--gold); transform: rotate(45deg); }
.stage-lead { max-width: 36em; font-size: 18px; color: var(--muted); }

/* ── первый экран: сцена AIR (присланная картинка) под затемнением ──
   Затемнение ровное по всей сцене + сильнее к центру под текстом и к низу, где
   начинается страница: бойцы и логотип видны, текст читается. */
.stage { position: relative; min-height: min(840px, calc(100vh - 68px)); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: #1a1512; }
.stage-art { position: absolute; inset: 0; background: url("/assets/site/scene.webp") center 40% / cover no-repeat; }
.stage-art::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 52% 46% at 50% 56%, rgba(10, 9, 8, .62), rgba(10, 9, 8, 0) 100%),
        linear-gradient(180deg, rgba(10, 9, 8, .5) 0%, rgba(10, 9, 8, .42) 45%, rgba(10, 9, 8, .7) 82%, var(--bg0) 100%);
}
.stage-in { position: relative; text-align: center; padding: 60px 0 64px; display: flex; flex-direction: column; align-items: center; }
.stage-in .eyebrow { justify-content: center; color: #e2dbcf; }
.stage-title { font: 700 clamp(60px, 9.5vw, 136px)/.9 var(--head); letter-spacing: .02em; color: var(--warm); text-transform: uppercase; text-shadow: 0 8px 36px rgba(0, 0, 0, .75); }
.stage-title em { color: var(--gold); }
.stage-in .stage-lead { margin: 20px auto 30px; color: #e2dbcf; text-shadow: 0 2px 14px rgba(0, 0, 0, .85); }
.stage-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* онлайн — прямоугольная плашка с золотыми уголками, как окна сервера */
.live { margin-top: 24px; display: inline-flex; align-items: center; gap: 16px; padding: 12px 20px; border: 1px solid var(--line2); border-radius: 3px; background: rgba(16, 15, 13, .82); }
.live-sep { width: 1px; height: 22px; background: var(--line2); }
.live-n { color: var(--muted); font-size: 14px; }
.live-n b { font: 600 20px/1 var(--head); color: var(--warm); margin-right: 4px; }
.state { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.state i { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.state.is-on { color: var(--green); }
.state.is-on i { background: var(--green); box-shadow: 0 0 0 4px rgba(111, 191, 74, .15); }

/* ── цифры ──────────────────────────────────────────── */
.facts { border-bottom: 1px solid var(--line); background: rgba(255, 238, 205, .015); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px; text-align: center; border-left: 1px solid var(--line); }
.fact:first-child { border-left: none; }
.fact b { display: block; font: 600 36px/1.1 var(--head); color: var(--gold); }
.fact span { font: 500 12px/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ── блоки ──────────────────────────────────────────── */
.block { padding: 96px 0; }
.block-tight { padding: 48px 0; }
.block-alt { background: linear-gradient(180deg, rgba(255, 238, 205, .02), transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { margin-bottom: 40px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.head-lead { max-width: 44em; margin-top: 16px; font-size: 17px; }
/* линия шапки с золотым отрезком — как у игровых окон */
.kicker { display: flex; align-items: center; gap: 14px; font: 500 13px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.kicker::after { content: ""; flex: 0 0 64px; height: 1px; background: linear-gradient(90deg, var(--gold) 40%, var(--line2) 40%); }
h2 { font: 600 clamp(32px, 4.4vw, 50px)/1.08 var(--head); text-transform: uppercase; letter-spacing: .03em; color: var(--warm); }
h3 { font: 500 21px/1.25 var(--head); letter-spacing: .05em; text-transform: uppercase; color: var(--warm); margin-bottom: 10px; }
p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px 26px; background: linear-gradient(180deg, var(--card-a), var(--card-b)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: inset 0 1px 0 rgba(255, 238, 205, .05); transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(217, 181, 37, .35); transform: translateY(-2px); }
.ico { width: 34px; height: 34px; margin-bottom: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── стороны: боец заполняет свою половину целиком (без рамки внутри карточки),
   подложка карточки — цвет края самого рендера, поэтому шва нет ── */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path { display: grid; grid-template-columns: 46% 1fr; min-height: 400px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line2); position: relative; }
.path-osve { background: #42382c; }
.path-nato { background: #2b2c22; }
.path::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; }
.path-osve::after { background: var(--osve); }
.path-nato::after { background: var(--nato); }
.path-pic { position: relative; }
.path-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }
.path-body { align-self: center; padding: 32px 30px 36px 6px; }
.path h3 { font-size: clamp(44px, 5vw, 64px); line-height: 1; margin-bottom: 14px; }
.path-osve h3 { color: #f08a6d; }
.path-nato h3 { color: #8fbde6; }
.path-body p { color: #e6e0d6; }

/* ── «так это выглядит в игре»: кадры окон и текст лентой ── */
.show { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center; margin-bottom: 64px; }
.show-rev .show-pic { order: 2; }
.show-pic { border: 1px solid var(--line2); border-radius: var(--radius); overflow: hidden; background: #0f0f0e; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.show-pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* живые окна: ролик вместо картинки, значок «в игре», мягкий подъём при наведении */
.show-vid { cursor: pointer; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #14120f; }
.show-pic { transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s, border-color .5s; }
.show-pic:hover { transform: translateY(-4px); border-color: rgba(217, 181, 37, .45); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(217, 181, 37, .12); }
.live-tag { position: absolute; left: 14px; top: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border: 1px solid rgba(217, 181, 37, .35); border-radius: 3px; background: rgba(13, 12, 11, .78); font: 600 11px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--warm); }
.live-tag i { width: 7px; height: 7px; border-radius: 50%; background: #e2463a; box-shadow: 0 0 0 0 rgba(226, 70, 58, .6); animation: live-dot 1.6s infinite; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgba(226, 70, 58, .55); } 70% { box-shadow: 0 0 0 8px rgba(226, 70, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 70, 58, 0); } }
.show-n { font: 600 13px/1 var(--head); letter-spacing: .2em; color: var(--dim); margin-bottom: 14px; }
.show-n b { color: var(--gold); font-weight: 700; font-size: 15px; }
.show-list { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.show-list li { position: relative; padding-left: 22px; color: var(--text); font-size: 16px; }
.show-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
/* появление при прокрутке — только когда работает site.js (класс js на <html>); без скрипта всё видно сразу */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .show-text.reveal { transition-delay: .12s; }
.show-text h3 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 14px; }
.show-text p { font-size: 17px; }
.show-note { margin-top: 14px; font-size: 15px !important; color: var(--dim); }
.more { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.more li { color: var(--muted); padding-left: 20px; position: relative; }
.more li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ── видео ──────────────────────────────────────────── */
.video { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line2); color: inherit; }
.video img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; filter: brightness(.55) saturate(.9); transition: filter .3s, transform .6s; }
.video:hover img { filter: brightness(.7); transform: scale(1.02); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(217, 181, 37, .18), 0 16px 40px rgba(0, 0, 0, .5); z-index: 1; }
.video-play svg { width: 38px; height: 38px; fill: #0b0b0b; margin-left: 5px; }
.video-text { position: absolute; left: 32px; bottom: 26px; z-index: 1; }
.video-text small { display: block; font: 500 12px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.video-text b { font: 600 clamp(20px, 2.6vw, 30px)/1.15 var(--head); text-transform: uppercase; letter-spacing: .04em; }

/* ── новости ────────────────────────────────────────── */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-item { display: flex; flex-direction: column; background: linear-gradient(180deg, var(--card-a), var(--card-b)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; }
.news-item:hover { color: inherit; border-color: rgba(217, 181, 37, .35); }
.news-item img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-body { padding: 20px 22px 22px; }
.news-date { font: 500 12px/1 var(--head); letter-spacing: .16em; color: var(--dim); text-transform: uppercase; margin-bottom: 10px; }
.news-body h3 { font-size: 19px; }
.news-body p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ── шаги коротко ───────────────────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 238, 205, .02); }
.step-n, .bigstep-n { display: block; font: 700 44px/1 var(--head); color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 16px; }

/* ── магазин и сообщество ───────────────────────────── */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.shop { padding: 40px 36px; background: linear-gradient(135deg, rgba(217, 181, 37, .12), rgba(224, 138, 43, .04) 60%), linear-gradient(180deg, var(--card-a), var(--card-b)); border: 1px solid rgba(217, 181, 37, .25); border-radius: var(--radius); }
.shop p:not(.kicker) { margin: 16px 0 26px; }
.social { padding: 40px 0 0 6px; }
.soc-list { display: grid; gap: 10px; margin-top: 22px; }
.soc { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 238, 205, .02); color: var(--warm); transition: border-color .15s, background .15s; }
.soc:hover { color: var(--warm); border-color: rgba(217, 181, 37, .4); background: rgba(217, 181, 37, .05); }
.soc svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.soc svg.brand { fill: var(--gold); stroke: none; width: 24px; height: 24px; }
.soc b { display: block; font: 500 16px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.soc small { color: var(--dim); font-size: 13px; }

/* ── страница «Как попасть» ─────────────────────────── */
.start-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #101213; }
.start-art { position: absolute; inset: 0; background: url("/assets/site/squad.webp") 70% 100% / cover no-repeat; opacity: .55; }
.start-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 12, 11, .96) 0%, rgba(13, 12, 11, .82) 45%, rgba(13, 12, 11, .35) 100%), linear-gradient(180deg, transparent 70%, var(--bg0)); }
.start-hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 80px 0; }
.start-title { font: 700 clamp(44px, 6.4vw, 84px)/.95 var(--head); text-transform: uppercase; color: var(--warm); margin-bottom: 22px; }
.server { padding: 24px 24px 26px; background: linear-gradient(180deg, rgba(36, 34, 30, .92), rgba(23, 22, 21, .94)); border: 1px solid var(--line2); border-radius: var(--radius); backdrop-filter: blur(6px); }
.server-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.online { color: var(--muted); font-size: 14px; }
.online b { font: 600 22px/1 var(--head); color: var(--warm); margin-right: 4px; }
.server-name { font: 500 22px/1.2 var(--head); letter-spacing: .06em; color: var(--warm); margin-bottom: 16px; }
.kv { display: grid; gap: 8px; margin-bottom: 18px; }
.kv-item { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13, 12, 11, .5); }
.kv-item span, .chip-kv small { font: 500 12px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.kv-item code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy { background: none; border: 1px solid var(--line2); color: var(--muted); border-radius: 4px; padding: 6px 12px; font: 500 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.copy:hover { color: var(--warm); border-color: var(--gold); }
.copy.done { color: var(--green); border-color: var(--green); }

.bigsteps { list-style: none; display: grid; gap: 16px; }
.bigstep { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 30px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--card-a), var(--card-b)); }
.bigstep-main { border-color: rgba(217, 181, 37, .35); box-shadow: 0 0 0 1px rgba(217, 181, 37, .08), 0 20px 50px rgba(0, 0, 0, .25); }
.bigstep-n { font-size: 76px; margin: 0; line-height: .9; }
.bigstep-body h3 { font-size: 26px; margin-bottom: 8px; }
.bigstep-body > p { max-width: 46em; }
.bigstep-act { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.bigstep-or { margin-top: 18px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip-kv { display: inline-flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; border: 1px solid var(--line2); border-radius: var(--radius); background: rgba(13, 12, 11, .5); }

.faq-wrap { max-width: 900px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--card-a), var(--card-b)); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font: 500 18px/1.3 var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--warm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] { border-color: rgba(217, 181, 37, .3); }
.faq details p { padding: 0 24px 22px; }

.endcta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 40px; border: 1px solid rgba(217, 181, 37, .25); border-radius: var(--radius); background: linear-gradient(135deg, rgba(217, 181, 37, .1), rgba(224, 138, 43, .03) 60%), linear-gradient(180deg, var(--card-a), var(--card-b)); }
.endcta p { margin-top: 10px; }
.endcta-act { display: flex; gap: 12px; flex-wrap: wrap; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); }

/* ── узкие экраны ───────────────────────────────────── */
@media (max-width: 980px) {
    .grid-3, .news, .steps { grid-template-columns: 1fr 1fr; }
    .paths, .two, .start-hero-in { grid-template-columns: 1fr; }
    .show { grid-template-columns: 1fr; gap: 22px; margin-bottom: 48px; }
    .show-rev .show-pic { order: 0; }
    .more { grid-template-columns: 1fr; }
    .social { padding: 0; }
    .facts-in { grid-template-columns: 1fr 1fr; }
    .fact:nth-child(3) { border-left: none; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
/* меню целиком в строку не влезает уже на ноутбучной ширине (с «Новостями» — уже на 1160) — прячем в кнопку */
@media (max-width: 1160px) {
    .menu-btn { display: block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(15, 15, 14, .97); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
    .nav.open { display: flex; }
    .nav a:not(.btn) { padding: 15px 4px; border-radius: 0; border-bottom: 1px solid var(--line); gap: 12px; font-size: 16px; }
    .nav a:not(.btn)::after { display: none; }
    .nav a.is-active, .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 14px; }
    .nav-sep { display: none; }
    .nav .btn { margin: 14px 0 0; }
}
@media (max-width: 760px) {
    .stage { min-height: 0; }
    .stage-art { background-image: url("/assets/site/scene-m.webp"); background-position: 32% center; }
    .stage-in { padding: 54px 0 48px; }
    .stage-in .stage-lead { font-size: 16px; }
    .btn-xl { padding: 18px 30px; font-size: 17px; }
    .grid-3, .news, .steps { grid-template-columns: 1fr; }
    .block { padding: 64px 0; }
    .path { grid-template-columns: 44% 1fr; min-height: 300px; }
    .path-body { padding: 22px 18px 26px 4px; }
    .eyebrow { font-size: 11px; letter-spacing: .16em; }
    .fact b { font-size: 28px; }
    .bigstep { grid-template-columns: 1fr; gap: 6px; padding: 24px 22px; }
    .bigstep-n { font-size: 54px; }
    .kv-item { grid-template-columns: 1fr auto; }
    .kv-item span { grid-column: 1 / -1; }
    .start-hero-in { padding: 48px 0; }
    .endcta { padding: 28px 22px; }
    .video-play { width: 70px; height: 70px; }
    .video-play svg { width: 28px; height: 28px; }
    .video-text { left: 18px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .live-tag i { animation: none; }
}

/* ── документы: соглашение, политика, согласие (/terms, /privacy, /consent) ── */
.foot-docs { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-docs a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.foot-docs a:hover { color: var(--warm); }
.doc-hero { border-bottom: 1px solid var(--line); padding: 64px 0 40px; background: linear-gradient(180deg, rgba(255, 238, 205, .025), transparent); }
.doc-title { font: 700 clamp(32px, 5vw, 56px)/1.05 var(--head); text-transform: uppercase; letter-spacing: .02em; color: var(--warm); }
.doc-title em { color: var(--gold); font-style: normal; }
.doc-lead { max-width: 46em; margin-top: 16px; font-size: 17px; color: var(--text); }
.doc-meta { margin-top: 14px; font-size: 13px; color: var(--dim); }
.doc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 48px 0 80px; align-items: start; }
.doc-toc { position: sticky; top: 92px; border: 1px solid var(--line2); border-radius: var(--radius); padding: 18px 18px 14px; background: rgba(16, 15, 13, .6); }
.doc-toc-t { font: 600 12px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.doc-toc ol { list-style: none; display: grid; gap: 2px; }
.doc-toc a { display: block; padding: 6px 8px; border-radius: 3px; color: var(--muted); font-size: 14px; line-height: 1.3; }
.doc-toc a:hover { color: var(--warm); background: rgba(255, 238, 205, .05); }
.doc { max-width: 780px; }
.doc-sec { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.doc-sec:last-child { border-bottom: none; }
.doc-sec h2 { font: 700 22px/1.2 var(--head); letter-spacing: .03em; color: var(--warm); margin-bottom: 14px; text-transform: none; }
.doc-sec p { color: var(--text); font-size: 16px; line-height: 1.65; margin-bottom: 12px; }
.doc-sec ul { margin: 4px 0 14px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.doc-sec li { position: relative; padding-left: 20px; color: var(--text); font-size: 16px; line-height: 1.6; }
.doc-sec li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.doc-sec a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.doc-sec b { color: var(--warm); }
@media (max-width: 980px) {
    .doc-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
    .doc-toc { position: static; }
}

/* ── новости: карточки (/news и главная), страница новости (/news/<номер>) ── */
.news-chip { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 3px; background: var(--gold); color: #1a1508; font: 700 11px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.news-views::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -3px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.news-list { display: grid; gap: 16px; }
.news-card { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line2); border-radius: var(--radius); background: linear-gradient(180deg, var(--card-a), var(--card-b)); overflow: hidden; color: inherit; transition: border-color .3s, transform .3s, box-shadow .3s; }
.news-card:hover { color: inherit; border-color: rgba(217, 181, 37, .45); transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.news-card.wide { grid-template-columns: 320px 1fr; }
.news-card-img { display: block; background: #14120f; aspect-ratio: 16 / 9; overflow: hidden; }
.news-card.wide .news-card-img { aspect-ratio: auto; min-height: 190px; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-img.empty { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 45%, rgba(217, 181, 37, .1), #14120f 70%); }
.news-card-img.empty img { width: 64px; height: 64px; object-fit: contain; opacity: .35; }
.news-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 24px 22px; }
.news-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font: 500 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.news-card-title { font: 700 21px/1.2 var(--head); letter-spacing: .02em; text-transform: uppercase; color: var(--warm); }
.news-card-lead { color: var(--text); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { margin-top: auto; padding-top: 4px; color: var(--gold); font: 700 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.news-all { display: flex; justify-content: center; margin-top: 28px; }
.news-pages { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.news-pages a, .news-pages span { min-width: 38px; padding: 9px 12px; text-align: center; border: 1px solid var(--line2); border-radius: 3px; color: var(--muted); font: 600 14px/1 var(--head); }
.news-pages .on { border-color: var(--gold); color: var(--gold); }
.news-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.news-article { max-width: 880px; padding: 36px 0 80px; }
.news-crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--dim); margin-bottom: 22px; }
.news-crumbs a { color: var(--muted); }
.news-crumbs span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.news-article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--dim); font: 500 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.news-article-title { font: 700 clamp(30px, 4.6vw, 52px)/1.08 var(--head); letter-spacing: .02em; text-transform: uppercase; color: var(--warm); margin-bottom: 24px; }
.news-cover { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line2); margin-bottom: 24px; }
.news-lead, .news-text blockquote { border-left: 3px solid var(--gold); background: rgba(217, 181, 37, .06); padding: 14px 18px; border-radius: 0 6px 6px 0; color: var(--warm); font-size: 18px; line-height: 1.6; margin-bottom: 24px; }
.news-text h2 { font: 700 23px/1.2 var(--head); letter-spacing: .03em; text-transform: uppercase; color: var(--warm); margin: 34px 0 12px; }
.news-text h3 { font: 700 18px/1.25 var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--gold); margin: 24px 0 10px; }
.news-text p { color: var(--text); font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
.news-text ul, .news-text ol { list-style: none; display: grid; gap: 9px; margin: 6px 0 18px; padding: 0; counter-reset: n; }
.news-text li { position: relative; padding-left: 26px; color: var(--text); font-size: 17px; line-height: 1.6; }
.news-text ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.news-text ol li { counter-increment: n; }
.news-text ol li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.news-text img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line2); margin: 12px 0 18px; }
.news-text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.news-text b { color: var(--warm); }
.news-text code { background: rgba(255, 238, 205, .08); padding: 1px 6px; border-radius: 3px; font-size: .92em; }
.news-article-foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
    .news-card.wide { grid-template-columns: 1fr; }
    .news-card.wide .news-card-img { aspect-ratio: 16 / 9; min-height: 0; }
    .news-card-title { font-size: 19px; }
    .news-text p, .news-text li { font-size: 16px; }
}
.news-table { overflow-x: auto; margin: 8px 0 18px; }
.news-table table { border-collapse: collapse; min-width: 100%; font-size: 15px; }
.news-table th, .news-table td { border: 1px solid var(--line2); padding: 9px 12px; text-align: left; color: var(--text); }
.news-table th { background: rgba(217, 181, 37, .08); color: var(--warm); font-family: var(--head); letter-spacing: .04em; }
