:root {
  --bg: #05070b;
  --bg-2: #090d14;
  --surface: rgba(13, 18, 28, .86);
  --surface-2: rgba(18, 26, 39, .88);
  --surface-3: rgba(255, 255, 255, .055);
  --text: #f6f8fb;
  --muted: #aab6c6;
  --soft: #748196;
  --line: rgba(148, 163, 184, .22);
  --line-strong: rgba(255, 213, 74, .44);
  --accent: #ffd34d;
  --accent-2: #21f3d3;
  --accent-3: #ff4d8d;
  --ok: #83ff8f;
  --danger: #ff6b6b;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .48);
  --glow: 0 0 28px rgba(33, 243, 211, .22), 0 0 42px rgba(255, 211, 77, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 22% 12%, rgba(33, 243, 211, .16), transparent 28%),
    radial-gradient(circle at 80% 8%, rgba(255, 211, 77, .12), transparent 25%),
    linear-gradient(145deg, #05070b 0%, #0b111b 48%, #06080d 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  line-height: 1.55;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 22%, rgba(255,255,255,.025));
  mix-blend-mode: screen;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1rem; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 11, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; font-weight: 900; letter-spacing: 0; }
.logo img { filter: drop-shadow(0 0 12px rgba(255, 211, 77, .22)); }
.logo .brand-logo { width: min(250px, 44vw); height: auto; max-height: 56px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 15px; }
.nav a { transition: color .18s ease, text-shadow .18s ease; }
.nav a:hover { color: var(--text); text-shadow: 0 0 16px rgba(33, 243, 211, .35); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  color: var(--text);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 19px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #fff0a6 100%);
  color: #101418;
  box-shadow: 0 0 22px rgba(255, 211, 77, .22);
}
.btn.secondary {
  background: rgba(255,255,255,.045);
  border-color: var(--line);
  color: var(--text);
}
.btn.secondary:hover { border-color: rgba(33, 243, 211, .65); box-shadow: 0 0 24px rgba(33, 243, 211, .13); }
.btn.accent { background: rgba(33, 243, 211, .12); color: var(--text); border-color: rgba(33, 243, 211, .45); box-shadow: 0 0 24px rgba(33, 243, 211, .12); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  padding: 92px 0 74px;
  background:
    radial-gradient(circle at 72% 22%, rgba(33, 243, 211, .16), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(255, 211, 77, .12), transparent 24%),
    linear-gradient(90deg, rgba(5,7,11,.98) 0%, rgba(5,7,11,.9) 56%, rgba(5,7,11,.76) 100%);
  border-bottom: 1px solid var(--line);
}

.hero .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(16px, 3.5vw, 56px);
  padding-right: 0;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(33, 243, 211, .16) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 211, 77, .12) 0 1px, transparent 1px 100%);
  background-size: 120px 120px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 242px);
  grid-template-columns: minmax(0, .95fr) minmax(420px, .62fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "copy photo"
    "trust photo";
  gap: 44px;
  align-items: end;
}

.hero-copy { grid-area: copy; align-self: center; max-width: 820px; }
.hero-trust { grid-area: trust; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(33, 243, 211, .34);
}
.eyebrow:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 211, 77, .7);
}

h1, h2, h3 { line-height: 1.08; letter-spacing: 0; margin: 0 0 18px; }
h1 { font-size: clamp(42px, 5.8vw, 66px); max-width: 780px; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 22px; }
.lead { font-size: 20px; color: var(--muted); max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.trust-item, .card, .article-card, .admin-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.trust-item {
  padding: 16px;
  overflow: hidden;
}
.trust-item:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
}
.trust-item strong { display: block; font-size: 26px; color: var(--accent); }

.hero-photo {
  grid-area: photo;
  position: relative;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  width: min(42vw, 620px);
  max-width: 620px;
  justify-self: end;
  align-self: end;
  padding-bottom: 0;
  margin-right: 0;
  margin-bottom: -74px;
}
.hero-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: min(76vh, 760px);
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(1.04) contrast(1.04) drop-shadow(0 28px 54px rgba(0,0,0,.72)) drop-shadow(0 0 22px rgba(33,243,211,.16));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0,0,0,.9) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0,0,0,.9) 94%, transparent 100%);
}
.hero-photo:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 6%;
  right: 0;
  top: 8%;
  bottom: 8%;
  border-radius: 34% 66% 54% 46%;
  background:
    radial-gradient(circle at 50% 40%, rgba(33,243,211,.2), transparent 58%),
    linear-gradient(135deg, rgba(33,243,211,.16), rgba(255,211,77,.1));
  filter: blur(22px);
}
.hero-photo:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 16%;
  right: 0;
  bottom: 46px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(33,243,211,.48), rgba(255,211,77,.18) 42%, transparent 72%);
  filter: blur(13px);
  box-shadow:
    0 0 34px rgba(33,243,211,.28),
    0 -20px 54px rgba(33,243,211,.1);
}

.section {
  padding: 76px 0;
  border-bottom: 1px solid rgba(148, 163, 184, .11);
}
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}
.section-head { max-width: 840px; margin-bottom: 30px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 23px;
  overflow: hidden;
}
.card:before, .article-card:before, .admin-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(33, 243, 211, .12), transparent 35%, rgba(255, 211, 77, .08));
  opacity: .86;
}
.card > *, .article-card > *, .admin-card > * { position: relative; z-index: 1; }
.card .icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  background: rgba(33, 243, 211, .1);
  border: 1px solid rgba(33, 243, 211, .38);
  color: var(--accent-2);
  border-radius: var(--radius);
  margin-bottom: 13px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(33, 243, 211, .12);
}

.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.process span {
  position: relative;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  text-align: center;
  font-weight: 900;
  color: var(--muted);
}
.process span:after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-2);
  text-shadow: 0 0 14px rgba(33,243,211,.5);
}
.process span:last-child {
  color: #111;
  background: linear-gradient(135deg, var(--accent), #fff0a6);
}
.process span:last-child:after { content: ""; }

.benefits .section-head { max-width: 760px; }
.benefit-card { min-height: 170px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 28px;
  align-items: start;
}
.about-copy p { font-size: 19px; }
.about-card h3:not(:first-child) { margin-top: 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.tag-list span {
  padding: 8px 10px;
  border: 1px solid rgba(33,243,211,.28);
  border-radius: 999px;
  background: rgba(33,243,211,.08);
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
}
.faq-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(420px, .9fr);
  gap: 22px;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 17px 18px;
  font-weight: 900;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; float: right; color: var(--accent-2); }
.faq-item[open] summary:after { content: "−"; }
.faq-item p { padding: 0 18px 18px; margin: 0; }

.article-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 243, 211, .48);
  box-shadow: 0 18px 44px rgba(0,0,0,.25), 0 0 24px rgba(33, 243, 211, .12);
}
.article-card .meta { color: var(--accent-2); font-size: 14px; font-weight: 800; }
.article-card h3 { margin-bottom: 4px; }
.article-card p { color: var(--muted); }
.article-card .read { margin-top: auto; font-weight: 900; color: var(--accent); }
.article-card-cover {
  display: block;
  margin: -18px -18px 8px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
}
.article-card-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .22s ease;
}
.article-card:hover .article-card-cover img { transform: scale(1.035); }
.search-empty {
  margin-top: 18px;
  max-width: 520px;
}

.form {
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
  color: var(--text);
  font: inherit;
  outline: none;
}
select { color-scheme: dark; }
select option {
  background: #101720;
  color: var(--text);
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(33, 243, 211, .72);
  box-shadow: 0 0 0 3px rgba(33, 243, 211, .12);
}
input::placeholder, textarea::placeholder { color: var(--soft); }
textarea { min-height: 130px; resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.checkbox input { width: auto; margin-top: 6px; }
.contact-method-grid { gap: 12px; }
.inline-editing-ready [data-inline] {
  outline: 1px dashed rgba(33,243,211,.48);
  outline-offset: 4px;
  cursor: text;
}
.inline-editing-ready [data-inline]:focus {
  outline-color: var(--accent);
  background: rgba(255, 211, 77, .05);
}
.inline-save-error {
  outline-color: var(--danger) !important;
}

.breadcrumbs { padding: 22px 0 0; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--accent-2); }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: start;
}
.article-layout > * { min-width: 0; }
.article-body {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: min(5vw, 44px);
  box-shadow: var(--shadow);
  font-size: 18px;
  line-height: 1.72;
}
.article-body > img:first-child {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.article-body h2 { margin-top: 42px; font-size: clamp(30px, 3.4vw, 42px); }
.article-body h3 { margin-top: 30px; font-size: 25px; }
.article-body p, .article-body li { color: #d5deec; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 7px; }
.article-body a { color: var(--accent-2); text-decoration: underline; }
.table-scroll { overflow-x: auto; margin: 22px 0 30px; }
.article-body table { width: 100%; min-width: 620px; border-collapse: collapse; background: rgba(255, 255, 255, .025); }
.article-body th, .article-body td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: rgba(33, 243, 211, .08); color: #fff; font-weight: 800; }
.article-body .btn {
  color: inherit;
  text-decoration: none;
}
.article-body .btn.primary { color: #101418; }
.article-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.article-choice-cta {
  margin-top: 34px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(33, 243, 211, .08), rgba(255, 255, 255, .025));
}
.article-choice-cta h2 { margin: 6px 0 10px; }
.article-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.article-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(3, 7, 10, .42);
}
.article-choice-card.is-primary { border-color: rgba(33, 243, 211, .45); }
.article-choice-card strong { font-size: 18px; }
.article-choice-card p { flex: 1; color: var(--muted); }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 24px 0;
  padding: 12px 18px;
  background: rgba(255, 211, 77, .09);
}
.article-body code {
  background: rgba(255,255,255,.1);
  padding: 2px 5px;
  border-radius: 4px;
}
.article-body pre { overflow: auto; padding: 16px; background: #020305; color: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.toc {
  position: sticky;
  top: 96px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--glow);
}
.toc a { display: block; color: var(--muted); margin: 8px 0; }
.toc .btn {
  color: inherit;
  text-decoration: none;
  margin: 10px 0 0;
  width: 100%;
}
.toc .btn.primary { color: #101418; }
.note, .warning, .checklist-box {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 22px 0;
}
.note { background: rgba(33, 243, 211, .09); border-color: rgba(33, 243, 211, .28); }
.warning { background: rgba(255, 77, 141, .1); border-color: rgba(255, 77, 141, .28); }
.checklist-box { background: rgba(131, 255, 143, .08); border-color: rgba(131, 255, 143, .28); }

.telegram-promo-section {
  background:
    radial-gradient(circle at 80% 18%, rgba(0, 168, 255, .16), transparent 32%),
    radial-gradient(circle at 18% 84%, rgba(255, 211, 77, .1), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.01));
}
.telegram-promo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  min-height: 360px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(33, 243, 211, .28);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(5,7,11,.92), rgba(7,13,24,.82)),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  box-shadow: 0 28px 90px rgba(0,0,0,.42), 0 0 34px rgba(33,243,211,.12);
}
.telegram-promo:before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 72% 50%, rgba(0, 168, 255, .34), transparent 18%),
    conic-gradient(from 110deg at 72% 50%, transparent, rgba(33, 243, 211, .2), transparent 34%);
  filter: blur(4px);
  opacity: .82;
}
.telegram-promo > * { position: relative; z-index: 1; }
.telegram-promo-copy .lead { max-width: 620px; }
.telegram-promo-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
}
.telegram-promo-points span {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(33,243,211,.3);
  background: rgba(33,243,211,.08);
  color: #dffcff;
  font-weight: 900;
  font-size: 14px;
}
.telegram-promo-visual {
  min-height: 260px;
  display: grid;
  place-items: center;
}
.tg-orbit {
  position: absolute;
  right: 7%;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  border: 1px solid rgba(33,243,211,.16);
  box-shadow: inset 0 0 34px rgba(33,243,211,.12), 0 0 70px rgba(0,168,255,.14);
}
.tg-orbit span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, #42d7ff, #0d65ff 72%);
  box-shadow: 0 0 28px rgba(66,215,255,.7);
}
.tg-orbit span:nth-child(1) { top: 22px; right: 70px; }
.tg-orbit span:nth-child(2) { right: 8px; top: 138px; }
.tg-orbit span:nth-child(3) { bottom: 32px; right: 92px; }
.tg-orbit span:nth-child(4) { left: 22px; top: 126px; }
.tg-device {
  position: relative;
  width: min(100%, 330px);
  min-height: 218px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(80,190,255,.48);
  background: linear-gradient(160deg, rgba(6, 12, 24, .94), rgba(14, 28, 54, .88));
  box-shadow: 0 0 36px rgba(0,168,255,.25), inset 0 1px 0 rgba(255,255,255,.12);
}
.tg-device-top { display: flex; gap: 7px; margin-bottom: 22px; }
.tg-device-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(33,243,211,.6);
}
.tg-chart {
  display: flex;
  align-items: end;
  gap: 11px;
  height: 84px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
}
.tg-chart i {
  flex: 1;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #1ccaff, #0a55ff);
  box-shadow: 0 0 18px rgba(28,202,255,.42);
}
.tg-chart i:nth-child(1) { height: 34%; }
.tg-chart i:nth-child(2) { height: 58%; background: linear-gradient(180deg, var(--accent), #ff8a00); }
.tg-chart i:nth-child(3) { height: 76%; }
.tg-chart i:nth-child(4) { height: 100%; background: linear-gradient(180deg, var(--accent-2), #0a55ff); }
.tg-signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.tg-signal-row > * {
  padding: 9px 8px;
  border: 1px solid rgba(33,243,211,.22);
  border-radius: 8px;
  text-align: center;
  font-style: normal;
  font-weight: 900;
  color: #fff;
  background: rgba(255,255,255,.05);
}
.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: rgba(2, 3, 5, .92);
  color: #fff;
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-grid a { color: var(--accent); }

.admin-shell { min-height: 100vh; background: var(--bg); }
.admin-bar { background: rgba(2,3,5,.94); color: #fff; padding: 14px 0; border-bottom: 1px solid var(--line); }
.admin-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 28px 0; }
.admin-nav { display: grid; gap: 8px; align-content: start; }
.admin-nav a { padding: 10px 12px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.admin-card { padding: 20px; }
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.admin-actions .btn {
  min-height: 38px;
  padding: 9px 12px;
}
.table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: rgba(255,255,255,.075); }
.alert { padding: 12px 14px; border-radius: var(--radius); margin: 0 0 16px; background: rgba(131,255,143,.12); border: 1px solid rgba(131,255,143,.32); }
.alert.error { background: rgba(255,107,107,.12); border-color: rgba(255,107,107,.32); color: var(--danger); }

.status-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); font-size: 13px; font-weight: 800; }
.status-badge.pending_review, .status-badge.agent { border-color: rgba(45,226,199,.46); color: var(--neon); background: rgba(45,226,199,.1); }
.status-badge.published { border-color: rgba(131,255,143,.4); color: #83ff8f; background: rgba(131,255,143,.08); }
.status-badge.rejected { border-color: rgba(255,107,107,.4); color: var(--danger); background: rgba(255,107,107,.08); }
.agent-review-card { margin: 20px 0; overflow-wrap: anywhere; }
.preview-admin-bar { position: sticky; top: var(--header-height); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(20px, calc((100vw - 1320px) / 2)); background: #181d24; border-bottom: 1px solid var(--neon); }

@media (max-width: 1040px) {
  .hero { padding-top: 64px; min-height: auto; }
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    padding: 16px;
    background: rgba(5, 7, 11, .96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .hero { padding-top: 42px; padding-bottom: 0; }
  .hero-grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(136px, 40vw);
    grid-template-rows: auto auto;
    grid-template-areas:
      "copy copy"
      "trust photo";
    gap: 18px 14px;
    align-items: end;
  }
  .hero-copy { max-width: none; }
  .hero-photo {
    display: block;
    justify-self: end;
    align-self: end;
    width: min(42vw, 230px);
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .hero-photo img { max-height: 330px; object-position: center bottom; }
  .hero-photo:after { bottom: 4px; left: 10%; right: 0; }
  .trust { grid-template-columns: 1fr; }
  .hero-trust { align-self: end; gap: 10px; }
  .hero-trust .trust-item { padding: 13px 14px; }
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: 1fr; }
  .process span:after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -22px;
    transform: translateX(-50%);
  }
  .process span:last-child:after { content: ""; }
  .about-grid, .faq-contact-grid, .article-layout, .article-choice-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .telegram-promo { grid-template-columns: 1fr; }
  .telegram-promo-visual { min-height: 220px; }
  .tg-orbit { right: 50%; transform: translateX(50%); width: 260px; height: 260px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, var(--max)); }
  .hero { padding-top: 34px; }
  .section { padding: 54px 0; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .logo .brand-logo { width: min(210px, 58vw); max-height: 48px; }
  h1 { font-size: clamp(38px, 11vw, 54px); }
  h2 { font-size: clamp(28px, 9vw, 38px); }
  .lead { font-size: 18px; }
  .hero-photo { width: min(44vw, 188px); }
  .hero-photo img { max-height: 270px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .card, .article-card { min-height: 0; }
  .article-body { padding: 22px; font-size: 16px; }
  .telegram-promo { padding: 22px; min-height: 0; }
  .telegram-promo-points { gap: 6px; }
  .telegram-promo-points span { font-size: 13px; }
  .tg-device { width: 100%; }
}

/* PPC training landing page */
.training-page { overflow: hidden; }
.training-hero {
  position: relative;
  min-height: 720px;
  padding: 62px 0 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 18%, rgba(33, 243, 211, .17), transparent 27%),
    radial-gradient(circle at 16% 86%, rgba(255, 211, 77, .1), transparent 25%),
    linear-gradient(90deg, rgba(5,7,11,.98), rgba(5,7,11,.82));
}
.training-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.72), transparent);
}
.training-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: stretch;
}
.training-hero-copy { padding: 10px 0 74px; align-self: center; }
.training-hero-copy .breadcrumbs { padding: 0 0 32px; }
.training-hero-copy h1 { max-width: 780px; margin-top: 18px; }
.training-hero-copy .lead { max-width: 760px; }
.training-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 211, 77, .36);
  border-radius: var(--radius);
  background: rgba(255, 211, 77, .08);
  color: #fff3bd;
  font-weight: 900;
}
.training-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(255, 211, 77, .8);
}
.training-status.large { margin: 2px 0 26px; font-size: 18px; }
.training-hero-panel {
  position: relative;
  align-self: end;
  min-height: 640px;
  padding: 26px 26px 0;
  overflow: hidden;
  border: 1px solid rgba(33, 243, 211, .26);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(165deg, rgba(18, 32, 43, .94), rgba(7, 12, 19, .94));
  box-shadow: 0 0 46px rgba(33, 243, 211, .12), var(--shadow);
}
.training-hero-panel:before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -140px;
  top: -130px;
  border-radius: 50%;
  background: rgba(33, 243, 211, .12);
}
.training-hero-panel-head { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 14px; color: var(--accent-2); font-size: 12px; font-weight: 900; }
.training-hero-panel-head strong { color: var(--accent); }
.training-system-chain { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 40px 0 18px; font-weight: 900; }
.training-system-chain span { padding: 7px 9px; border: 1px solid var(--line); background: rgba(255,255,255,.055); border-radius: 5px; }
.training-system-chain i { color: var(--accent); font-style: normal; }
.training-hero-panel > p { position: relative; z-index: 2; max-width: 390px; color: var(--muted); }
.training-hero-panel img { position: absolute; z-index: 1; right: -20px; bottom: 0; width: min(96%, 430px); max-height: 430px; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 22px 32px rgba(0,0,0,.42)); }
.training-facts { border-bottom: 1px solid var(--line); background: rgba(5, 7, 11, .86); }
.training-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.training-stats > div { display: grid; gap: 5px; min-height: 130px; padding: 30px 26px; border-right: 1px solid var(--line); }
.training-stats > div:first-child { border-left: 1px solid var(--line); }
.training-stats strong { font-size: clamp(25px, 3vw, 38px); line-height: 1; color: var(--text); }
.training-stats > div:nth-child(2) strong, .training-stats > div:nth-child(4) strong { color: var(--accent-2); }
.training-stats span { color: var(--muted); font-size: 14px; }
.training-intro-grid, .training-audience-grid, .training-project-grid, .training-price-grid, .training-faq-form-grid, .training-instructor-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); gap: clamp(34px, 7vw, 92px); align-items: start; }
.training-thesis { padding-left: 28px; border-left: 3px solid var(--accent-2); }
.training-thesis p:last-child { color: var(--muted); }
.training-number-card { display: grid; grid-template-columns: 64px 1fr; gap: 18px; min-height: 205px; }
.training-number-card > span { color: var(--accent-2); font-size: 20px; font-weight: 900; }
.training-number-card:nth-child(even) > span { color: var(--accent); }
.training-check-card, .training-project-card { padding: clamp(24px, 4vw, 38px); background: linear-gradient(145deg, rgba(33, 243, 211, .11), rgba(255,255,255,.04)); }
.training-check-list { display: grid; gap: 15px; padding: 0; margin: 0; list-style: none; }
.training-check-list li { position: relative; padding-left: 30px; color: #dce4ef; }
.training-check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 900; }
.training-program-list { display: grid; gap: 12px; }
.training-lesson-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035)); transition: border-color .18s ease, box-shadow .18s ease; }
.training-lesson-card[open] { border-color: rgba(33, 243, 211, .36); box-shadow: 0 18px 44px rgba(0,0,0,.2), 0 0 24px rgba(33,243,211,.08); }
.training-lesson-card:before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--accent-2), var(--accent)); }
.training-lesson-card summary { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 22px; align-items: center; min-height: 104px; padding: 20px 24px 20px 28px; cursor: pointer; list-style: none; }
.training-lesson-card summary::-webkit-details-marker { display: none; }
.training-lesson-number { color: var(--accent-2); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.training-lesson-title { display: grid; gap: 4px; }
.training-lesson-title small { color: var(--soft); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.training-lesson-title strong { color: var(--text); font-size: clamp(19px, 2.2vw, 25px); line-height: 1.25; }
.training-lesson-toggle { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 900; }
.training-lesson-toggle:after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(33,243,211,.35); border-radius: 50%; color: var(--accent-2); font-size: 20px; }
.training-lesson-card[open] .training-lesson-toggle:after { content: "−"; color: var(--accent); border-color: rgba(255,211,77,.4); }
.training-lesson-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; padding: 26px 28px 30px; border-top: 1px solid var(--line); background: rgba(2,4,8,.34); }
.training-lesson-body h4 { margin: 0 0 16px; font-size: 17px; }
.training-lesson-body ul { columns: 2; column-gap: 42px; margin: 0; padding-left: 20px; color: var(--muted); }
.training-lesson-body li { break-inside: avoid; margin: 0 0 9px; padding-left: 3px; }
.training-lesson-body li::marker { color: var(--accent-2); }
.training-lesson-body aside { align-self: start; padding: 20px; border: 1px solid rgba(255,211,77,.32); border-radius: var(--radius); background: rgba(255,211,77,.08); }
.training-lesson-body aside span { color: var(--accent); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.training-lesson-body aside p { margin: 10px 0 0; color: #fff3bd; font-weight: 800; }
.training-note { margin: 22px 0 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 14px; background: rgba(255,255,255,.03); }
.training-google-section { background: radial-gradient(circle at 86% 20%, rgba(33, 243, 211, .12), transparent 28%); }
.training-google-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: end; margin-bottom: 32px; }
.training-google-head .lead { margin: 0; }
.training-platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.training-platform-grid .card { min-height: 300px; }
.training-platform-tag { display: inline-flex; align-self: start; padding: 7px 9px; border: 1px solid rgba(33, 243, 211, .42); border-radius: 999px; color: var(--accent-2); font-size: 13px; font-weight: 900; }
.training-platform-tag.yellow { color: var(--accent); border-color: rgba(255, 211, 77, .42); }
.training-platform-tag.blue { color: #42d7ff; border-color: rgba(66, 215, 255, .42); }
.training-platform-tag.pink { color: var(--accent-3); border-color: rgba(255, 77, 141, .42); }
.training-quality-card { min-height: 290px; border-top: 4px solid var(--accent-2); }
.training-quality-card:nth-child(1) { border-top-color: var(--accent); }
.training-quality-card:nth-child(3) { border-top-color: #42d7ff; }
.training-logic-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; padding: 18px; border: 1px solid rgba(33, 243, 211, .28); border-radius: var(--radius); background: rgba(33, 243, 211, .08); font-weight: 900; }
.training-logic-line i { color: var(--accent); font-style: normal; }
.training-project-grid { align-items: center; }
.training-included-grid .card { min-height: 170px; }
.training-included-grid .card > span { color: var(--accent-2); font-weight: 900; }
.training-included-grid .card:nth-child(even) > span { color: var(--accent); }
.training-included-grid .card p { margin: auto 0 0; font-weight: 800; }
.training-instructor-grid { align-items: center; }
.training-instructor-photo { position: relative; min-height: 560px; overflow: hidden; border: 1px solid rgba(33, 243, 211, .28); border-radius: var(--radius); background: linear-gradient(165deg, rgba(33,243,211,.13), rgba(6,10,16,.96)); }
.training-instructor-photo img { position: absolute; left: 50%; bottom: 0; width: min(92%, 430px); max-height: 540px; object-fit: contain; transform: translateX(-50%); }
.training-role { color: var(--accent); font-weight: 900; font-size: 21px; }
.training-instructor-section blockquote { margin: 28px 0 0; padding: 18px 22px; border-left: 4px solid var(--accent-2); background: rgba(33, 243, 211, .08); font-size: 22px; font-weight: 900; }
.training-price-grid { align-items: center; }
.training-price-card { padding: clamp(28px, 5vw, 50px); border: 1px solid rgba(33, 243, 211, .38); border-radius: var(--radius); background: linear-gradient(145deg, rgba(33, 243, 211, .13), rgba(255,255,255,.04)); box-shadow: var(--glow); }
.training-price { display: flex; align-items: end; gap: 12px; margin: 26px 0 8px; }
.training-price strong { font-size: clamp(58px, 8vw, 86px); line-height: .9; }
.training-price span { color: var(--accent-2); font-size: 24px; font-weight: 900; }
.training-payment { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(33, 243, 211, .38); font-weight: 800; }
.training-faq-form-grid { grid-template-columns: minmax(0, .9fr) minmax(430px, .82fr); }
.training-faq { margin-top: 26px; }
.training-form { position: sticky; top: 96px; }
.training-form h2 { margin: 6px 0; }
.training-form .checkbox a { color: var(--accent-2); text-decoration: underline; }
.training-form-note { margin: 0; color: var(--soft); font-size: 13px; }

@media (max-width: 1040px) {
  .training-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .7fr); }
  .training-platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .training-hero { padding-top: 34px; }
  .training-hero-grid { grid-template-columns: 1fr; }
  .training-hero-copy { padding-bottom: 28px; }
  .training-hero-panel { min-height: 500px; }
  .training-hero-panel img { max-height: 350px; }
  .training-stats { grid-template-columns: repeat(2, 1fr); }
  .training-stats > div:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .training-stats > div:nth-child(4) { border-top: 1px solid var(--line); }
  .training-intro-grid, .training-audience-grid, .training-project-grid, .training-price-grid, .training-faq-form-grid, .training-instructor-grid, .training-google-head { grid-template-columns: 1fr; }
  .training-lesson-body { grid-template-columns: 1fr; }
  .training-lesson-body ul { columns: 1; }
  .training-form { position: static; }
}

@media (max-width: 560px) {
  .training-hero-copy .breadcrumbs { padding-bottom: 24px; }
  .training-hero-panel { min-height: 460px; padding: 22px 18px 0; }
  .training-system-chain { margin-top: 28px; }
  .training-hero-panel img { right: -36px; max-height: 300px; }
  .training-stats { grid-template-columns: 1fr 1fr; }
  .training-stats > div { min-height: 116px; padding: 24px 16px; }
  .training-stats strong { font-size: 26px; }
  .training-number-card { grid-template-columns: 42px 1fr; padding: 20px; }
  .training-lesson-card summary { grid-template-columns: 1fr auto; gap: 8px 14px; min-height: 0; padding: 18px 18px 18px 22px; }
  .training-lesson-number { grid-column: 1; }
  .training-lesson-title { grid-column: 1; }
  .training-lesson-toggle { grid-column: 2; grid-row: 1 / span 2; }
  .training-lesson-toggle { font-size: 0; }
  .training-lesson-body { padding: 22px; gap: 22px; }
  .training-platform-grid { grid-template-columns: 1fr; }
  .training-platform-grid .card, .training-quality-card { min-height: 0; }
  .training-logic-line { justify-content: flex-start; }
  .training-instructor-photo { min-height: 440px; }
  .training-price strong { font-size: 56px; }
}

.tool-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-card.available {
  border-color: rgba(33, 243, 211, .42);
  box-shadow: 0 20px 54px rgba(0,0,0,.3), 0 0 28px rgba(33,243,211,.14);
}
.tool-card.available .btn {
  align-self: flex-start;
  margin-top: auto;
}
.tool-card-media {
  width: 100%;
  aspect-ratio: 16 / 7;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 6px;
  border: 1px solid rgba(33, 243, 211, .28);
  border-radius: 6px;
  background: #fff;
}
.tool-card-media img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66%;
  height: auto;
  display: block;
  transform: translate(-50%, -50%);
}
.tool-card-media--utm img { width: 62%; }
.tool-card h3 { margin: 0; }
.tool-card p { margin-top: 0; }
.tool-card.locked {
  overflow: hidden;
}
.tool-card.locked > *:not(.soon-label) {
  filter: blur(5px);
  opacity: .34;
  user-select: none;
}
.soon-label {
  position: absolute;
  z-index: 2;
  inset: auto 18px 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 211, 77, .42);
  border-radius: var(--radius);
  background: rgba(5, 7, 11, .8);
  color: var(--accent);
  font-weight: 900;
  text-align: center;
}
.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(33, 243, 211, .34);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(7, 12, 18, .96), rgba(20, 31, 38, .96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .44), 0 0 34px rgba(33, 243, 211, .12);
  color: var(--text);
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__text {
  display: grid;
  gap: 6px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.cookie-consent__text strong {
  color: var(--text);
  font-size: 17px;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-consent .btn {
  width: auto;
  min-width: 132px;
}

@media (max-width: 720px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent .btn {
    min-width: 0;
    width: 100%;
  }
}
