/* Лендинг «Стенгазеты» на sarmat-it.ru/stengazeta/.
   Основа — стиль sarmat-it.ru (тёмный фон, шрифты Tinos / Golos Text, сетка секций, кнопки-капсулы),
   акцент — золото программы вместо голубого. Шрифты — копии с sarmat-it.ru. В Tinos нет знака ₽: цены — Golos. */
@font-face { font-family: "Tinos"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/tinos-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Tinos"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/tinos-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/golos-text-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/golos-text-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --space-0: #03050b; --space-1: #070c18;
  --surface-1: #0b1324; --surface-2: #101a30;
  --line: rgba(150,185,230,.14); --line-2: rgba(150,185,230,.28);
  --ink: #e8eef7; --ink-2: #a8b5c8; --ink-3: #7888a0;
  --accent: #d8b25a; --accent-2: #f3dc9a; --accent-ink: #1a1405;
  --serif: "Tinos", "Times New Roman", Times, serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --maxw: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --r-l: 22px; --r-m: 14px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--space-0); scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 70% 50% at 75% 0%, rgba(26,45,82,.75), transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 45%, rgba(20,34,64,.55), transparent 70%),
    var(--space-0);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
a { color: inherit; }
img, video { max-width: 100%; display: block; }

/* Кнопки — как на sarmat-it.ru */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .25s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: linear-gradient(180deg, var(--accent-2) -40%, var(--accent)); color: var(--accent-ink); box-shadow: 0 10px 28px rgba(216,178,90,.25); }
.btn-primary:hover { box-shadow: 0 0 0 6px rgba(216,178,90,.16), 0 10px 30px -8px rgba(216,178,90,.6); }
.btn-ghost { background: rgba(8,14,28,.5); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(3,5,11,.74); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 19px/1 var(--serif); letter-spacing: .06em; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav a:hover { color: var(--ink); }
@media (max-width: 900px) { .nav { display: none; } .hdr .btn { margin-left: auto; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* Первый экран */
.hero { padding-block: clamp(56px, 9vh, 104px) clamp(56px, 8vh, 96px); }
.hero-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-mark { display: flex; align-items: center; gap: 14px; }
.hero-mark img { width: 56px; height: 56px; }
.hero-mark span { font: 500 12px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.h1 { font: 400 clamp(44px, 6.4vw, 84px)/1 var(--serif); margin: 22px 0 0; color: var(--accent-2); }
.h1 small { display: block; font-size: .42em; line-height: 1.2; color: var(--ink); margin-top: 14px; }
.lede { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); max-width: 52ch; margin: 22px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.shot { border-radius: var(--r-m); overflow: hidden; border: 1px solid rgba(216,178,90,.45); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 6px rgba(216,178,90,.06); background: var(--surface-1); }
.shot img { width: 100%; height: auto; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } }

/* Секции — сетка и номера как на sarmat-it.ru */
.sec { position: relative; isolation: isolate; padding-block: clamp(72px, 11vh, 128px); }
.sec::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(95,176,232,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(95,176,232,.05) 1px, transparent 1px); background-size: 64px 64px; background-position: 50% 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px; }
.eyebrow::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .5; }
.h2 { font: 400 clamp(34px, 5vw, 62px)/1.02 var(--serif); margin: 16px 0 0; text-wrap: balance; }

/* 01. Что на экране */
.feats { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: var(--r-m); background: rgba(11,19,36,.6); }
.feat svg { width: 30px; height: 30px; color: var(--accent); }
.feat h3 { font: 600 19px/1.25 var(--sans); margin: 18px 0 8px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 15px; }
.feat-wide { grid-column: span 2; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } .feat-wide { grid-column: auto; } }

/* 02. Видео */
.video { margin-top: 48px; border-radius: var(--r-l); overflow: hidden; border: 1px solid rgba(216,178,90,.35); background: #000; box-shadow: 0 30px 80px -24px rgba(0,0,0,.8); }
.video video { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* 03. Оформление, 04. Работает сама — текст + снимок */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: 48px; }
.split.rev > :first-child { order: 2; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ticks li { position: relative; padding-left: 34px; font-size: 17px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--accent); box-shadow: inset 0 0 0 4px var(--space-1), inset 0 0 0 9px var(--accent); }
.ticks b { font-weight: 600; }
.ticks span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.pair figure { margin: 0; }
.pair figcaption, .cap { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* 05. Цена и как купить */
.buy { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); margin-top: 56px; align-items: start; }
.price { padding: 32px; border-radius: var(--r-l); border: 1px solid rgba(216,178,90,.45); background: linear-gradient(180deg, rgba(216,178,90,.08), rgba(11,19,36,.7) 45%); }
.price-k { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.price-old { margin-top: 18px; font: 400 26px/1 var(--sans); color: var(--ink-3); text-decoration: line-through; text-decoration-color: #e0656b; }
.price-new { margin-top: 6px; font: 600 clamp(48px, 6vw, 64px)/1.05 var(--sans); color: var(--accent-2); }
.price-for { margin-top: 6px; color: var(--accent); font-weight: 600; }
.price ul { list-style: none; margin: 22px 0 26px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.price .btn { width: 100%; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: st; }
.steps li { position: relative; padding-left: 68px; }
.steps li::before { counter-increment: st; content: "0" counter(st); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent); box-shadow: 0 0 0 5px rgba(216,178,90,.1); display: grid; place-items: center; font: 500 13px var(--mono); color: var(--accent-2); background: var(--space-1); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 48px; bottom: -24px; width: 1px; background: var(--line-2); }
.steps h3 { font: 600 19px/1.25 var(--sans); margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .buy { grid-template-columns: 1fr; } }

/* 06. Документы и контакты */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.doc { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r-m); background: rgba(11,19,36,.6); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.doc:hover { border-color: var(--accent); transform: translateY(-2px); }
.doc b { font: 600 18px/1.3 var(--sans); }
.doc span { color: var(--ink-3); font-size: 14px; }
.doc em { font-style: normal; color: var(--accent); font-size: 14px; margin-top: 8px; }
.contacts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 56px; }
.contacts .k { display: block; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.contacts a, .contacts .v { font-size: 20px; text-decoration: none; }
.contacts a:hover { color: var(--accent-2); }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } .contacts { grid-template-columns: 1fr; } }

/* Подвал — как на sarmat-it.ru */
.ftr { border-top: 1px solid var(--line); background: rgba(3,5,11,.72); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.ftr-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 20px/1 var(--serif); letter-spacing: .06em; }
.ftr-logo img { height: 44px; width: auto; }
.ftr p { color: var(--ink-2); font-size: 14px; margin: 16px 0 0; max-width: 46ch; }
.ftr .ftr-req { color: var(--ink-3); font-size: 13px; }
.ftr-nav { display: grid; gap: 10px; font-size: 14px; }
.ftr-nav a, .ftr-contacts a { color: var(--ink-2); text-decoration: none; }
.ftr-nav a:hover, .ftr-contacts a:hover { color: var(--ink); }
.ftr-contacts { font-style: normal; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.ftr-phone { font-size: 18px; color: var(--ink) !important; }
@media (max-width: 900px) { .ftr-in { grid-template-columns: 1fr; } }

/* Уведомление о cookie — как на sarmat-it.ru */
.cookie { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 440px; display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--r-m); border: 1px solid var(--line-2); background: rgba(11,19,36,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.cookie p { margin: 0; font-size: 13px; color: var(--ink-2); }
.cookie a { color: var(--ink); }
@media (max-width: 520px) { .cookie { right: 16px; max-width: none; flex-direction: column; align-items: stretch; } }

/* Страница соглашения */
.legal { max-width: 860px; padding-block: 48px 96px; }
.legal h1 { font: 400 clamp(30px, 4vw, 44px)/1.1 var(--serif); color: var(--accent-2); margin: 0 0 8px; }
.legal h2 { font: 600 19px/1.3 var(--sans); color: var(--accent); margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; }
.legal ol { list-style: none; padding: 0; margin: 0; }
.legal li { margin-bottom: 8px; }
.legal .meta { color: var(--ink-3); }
.back { display: inline-block; margin-bottom: 28px; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--accent-2); }
