/* audacious.red — общий стиль публичного сайта (и базовый для админки).
   Палитра «purple team»: красный — атака, синий — защита, фиолетовый — то, что их соединяет. */
:root {
  --bg: #0b0b0d;
  --surface: #141418;
  --surface-2: #1b1b21;
  --border: #2a2a31;
  --text: #ececef;
  --muted: #9d9da7;
  --dim: #8e8e9a;
  --red: #ff3b3b;
  --red-dim: #3a1214;
  --purple: #a66bff;
  --purple-dim: #241634;
  --blue: #4c8dff;
  --blue-dim: #111d33;
  --ok: #4ade80;
  --warn: #fbbf24;
  --grad: linear-gradient(90deg, var(--red), var(--purple) 50%, var(--blue));
  --radius: 10px;
  --mono: ui-monospace, 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Georgian', 'Noto Sans Armenian', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 13, 0.88); backdrop-filter: blur(10px); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad); opacity: 0.55; }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font: 700 18px/1 var(--mono); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.logo span { color: var(--red); }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); }
.nav-drop { position: relative; }
.nav-drop > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-sub { display: none; position: absolute; left: -14px; top: 100%; padding-top: 14px; z-index: 40; }
.nav-sub::before { content: ''; position: absolute; inset: 14px 0 0; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); z-index: -1; }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { display: grid; padding: 20px 6px 6px; min-width: 300px; }
.nav-sub a { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 7px; white-space: normal; }
.nav-sub a:hover { background: var(--surface-2); }
.nav-sub b { color: var(--text); font-weight: 600; font-size: 15px; }
.nav-sub small { color: var(--muted); font-size: 13px; }
.burger-sub { display: flex; flex-direction: column; padding-left: 16px; }
.burger-sub a { font-size: 15px !important; color: var(--muted); }
.top-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* переключатель языка */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; white-space: nowrap; font: 600 13px/1 var(--mono); color: var(--muted); padding: 8px 10px; border: 1px solid var(--border); border-radius: 7px; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ' ▾'; font-size: 10px; }
.lang summary:hover, .lang[open] summary { color: var(--text); border-color: var(--muted); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); z-index: 30; }
.lang li span, .lang li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
.lang li a { color: var(--muted); text-decoration: none; }
.lang li a:hover { color: var(--text); background: var(--surface-2); }
.article-lang { margin: 10px 0 20px; font-size: 14px; }
.lang-on { color: var(--text); background: var(--surface-2); }
.lang-soon { color: var(--dim); cursor: not-allowed; }
.lang-soon small { font: 600 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); border: 1px solid var(--border); border-radius: 4px; padding: 3px 5px; }

/* мобильное меню */
.burger { display: none; position: static; }
.burger summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 8px; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.burger[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[open] summary span:nth-child(2) { opacity: 0; }
.burger[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger-menu { position: absolute; left: 0; right: 0; top: 64px; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border); }
.burger-menu a:not(.btn) { padding: 12px 4px; text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--surface-2); }
.burger-menu a[aria-current='page'] { color: var(--purple); }
.burger-menu .btn { margin-top: 12px; text-align: center; }
@media (max-width: 900px) {
  .top-in { gap: 12px; }
  .nav, .top-end .top-cta { display: none; }
  .burger { display: block; }
}

/* ---------- кнопки ---------- */
.btn { display: inline-block; background: #d42020; color: #fff; text-decoration: none; font: 600 15px/1.2 var(--sans); padding: 12px 20px; border-radius: 8px; border: 1px solid #d42020; cursor: pointer; }
.btn:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--muted); filter: none; }
.btn-sm { padding: 8px 13px; font-size: 14px; }

/* ---------- блоки страниц ---------- */
.hero { position: relative; padding: 96px 0 80px; border-bottom: 1px solid var(--border); overflow: hidden;
  background:
    radial-gradient(700px 380px at 88% -5%, rgba(255, 59, 59, 0.16), transparent 70%),
    radial-gradient(600px 360px at 55% 10%, rgba(166, 107, 255, 0.12), transparent 70%),
    radial-gradient(700px 420px at 10% 120%, rgba(76, 141, 255, 0.12), transparent 70%); }
.eyebrow { font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 20px; }
.eyebrow .r { color: var(--red); } .eyebrow .p { color: var(--purple); } .eyebrow .b { color: var(--blue); } .eyebrow .m { color: var(--dim); }
.hero h1 { font-size: clamp(36px, 6.4vw, 68px); line-height: 1.03; letter-spacing: -0.035em; margin: 0 0 22px; max-width: 18ch; }
.hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 62ch; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
.section .sub { color: var(--muted); margin: 0 0 36px; max-width: 64ch; }
.page-head { padding: 72px 0 44px; border-bottom: 1px solid var(--border); background: radial-gradient(700px 300px at 90% 0%, rgba(166, 107, 255, 0.1), transparent 70%); }
.page-head h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 14px; }
.page-head p { color: var(--muted); max-width: 64ch; margin: 0; font-size: 18px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 8px; color: var(--red); text-decoration: none; font-weight: 600; font-size: 15px; }
a.card { text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
a.card:hover { border-color: #3d3d47; transform: translateY(-2px); }
.tag { align-self: flex-start; font: 600 12px/1 var(--mono); padding: 5px 8px; border-radius: 5px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.tag-soon, .tag-draft { color: var(--warn); }
.tag-draft { border-color: #5c4510; }
.tag-live { color: var(--ok); }

/* red / purple / blue */
.trio { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.trio .card { position: relative; overflow: hidden; padding-top: 28px; }
.trio .card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; }
.trio .t-red::before { background: var(--red); }
.trio .t-purple::before { background: var(--grad); }
.trio .t-blue::before { background: var(--blue); }
.trio .card .k { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }
.t-red .k { color: var(--red); } .t-purple .k { color: var(--purple); } .t-blue .k { color: var(--blue); }
.t-purple { background: linear-gradient(160deg, var(--purple-dim), var(--surface) 60%); border-color: #3b2a55; }
.team { display: inline-block; vertical-align: middle; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 9px; border-radius: 5px; margin-right: 10px; position: relative; top: -3px; }
.team-red { color: var(--red); background: var(--red-dim); border: 1px solid rgba(255, 59, 59, 0.35); }
.team-blue { color: var(--blue); background: var(--blue-dim); border: 1px solid rgba(76, 141, 255, 0.35); }
#red .card { border-top: 2px solid var(--red); }
#blue .card { border-top: 2px solid var(--blue); }

/* где работаем */
.regions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.regions li { font-size: 14px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); }
.regions li.home { color: var(--text); border-color: #3b2a55; background: var(--purple-dim); }

/* команда */
.people { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.person { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 700 22px/1 var(--mono); color: #fff; background: var(--grad); margin-bottom: 14px; }
.person h3 { margin: 0; font-size: 19px; }
.person .role { color: var(--purple); font: 600 13px/1.4 var(--mono); }
.person p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }

.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 14px/1 var(--mono); color: var(--purple); margin-bottom: 12px; }
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 15px; }
.list { padding-left: 20px; margin: 0; }
.list li { margin: 6px 0; }
.list li::marker { color: var(--purple); }

.cta { padding: 80px 0; text-align: center; background: radial-gradient(600px 260px at 50% 100%, rgba(166, 107, 255, 0.12), transparent 70%); }
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 12px; letter-spacing: -0.02em; }
.cta p { color: var(--muted); margin: 0 auto 28px; max-width: 56ch; }
.cta .actions { justify-content: center; }
.notice { background: var(--surface); border: 1px solid #5c4510; border-left: 3px solid var(--warn); border-radius: 8px; padding: 14px 18px; color: var(--muted); font-size: 15px; margin: 24px 0; }
.notice-ok { border-color: #1f5c36; border-left-color: var(--ok); color: var(--text); }
.muted { color: var(--muted); }
.after-grid { margin-top: 24px; }

/* ---------- статьи: список ---------- */
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.topics a { font-size: 14px; text-decoration: none; padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }
.topics a:hover { color: var(--text); border-color: var(--muted); }
.topics a[aria-current='true'] { color: var(--text); background: var(--purple-dim); border-color: #3b2a55; }
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 16px; transition: border-color 0.15s; }
.feature:hover { border-color: #3d3d47; }
.feature-art { min-height: 260px; background:
    radial-gradient(240px 200px at 20% 30%, rgba(255, 59, 59, 0.35), transparent 70%),
    radial-gradient(260px 220px at 75% 40%, rgba(166, 107, 255, 0.35), transparent 70%),
    radial-gradient(240px 200px at 50% 100%, rgba(76, 141, 255, 0.3), transparent 70%), var(--surface-2);
  display: grid; place-items: center; font: 700 15px/1 var(--mono); color: rgba(255, 255, 255, 0.75); letter-spacing: 0.08em; text-transform: uppercase; }
.feature-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.feature-body h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; }
.feature-body p { margin: 0; color: var(--muted); }
.meta { color: var(--dim); font-size: 13px; }
.card .meta { margin-top: auto; padding-top: 8px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature-art { min-height: 140px; } .feature-body { padding: 22px; } }

/* ---------- статья ---------- */
.article { padding: 40px 0 80px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 56px; align-items: start; }
.crumbs { font-size: 14px; color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.article-head { max-width: 760px; }
.article-title { font-size: clamp(32px, 5vw, 50px); line-height: 1.08; letter-spacing: -0.03em; margin: 12px 0 16px; }
.article-lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); margin: 0 0 18px; }
.article-meta { margin: 0 0 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.article-meta .row-meta { margin-top: 0; }
.card .row-meta { margin-top: auto; padding-top: 12px; }
.toc { position: sticky; top: 88px; font-size: 14px; border-left: 1px solid var(--border); padding-left: 18px; }
.toc b { display: block; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); margin-bottom: 12px; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0; line-height: 1.35; }
.toc a:hover { color: var(--text); }
.toc .btn { margin-top: 20px; display: block; text-align: center; color: #fff; }
/* minmax(0, 1fr), а не 1fr: иначе широкая таблица или блок кода растягивает колонку статьи шире экрана телефона */
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.prose { font-size: 17px; line-height: 1.75; max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(23px, 3vw, 28px); line-height: 1.25; margin: 52px 0 14px; letter-spacing: -0.015em; }
.prose h3 { font-size: 20px; margin: 34px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--purple); }
.prose a { color: #c49bff; text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose code { font: 0.88em var(--mono); background: var(--surface-2); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--border); }
.prose pre { background: #0f0f13; border: 1px solid var(--border); border-radius: 10px; padding: 18px; overflow-x: auto; font-size: 14px; line-height: 1.55; margin: 0 0 22px; }
.prose pre code { background: none; padding: 0; border: 0; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 15px; margin: 0 0 22px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: middle; }
.prose th.c, .prose td.c { text-align: center; white-space: nowrap; }
.prose th { background: var(--surface); font-weight: 600; }
.prose blockquote { margin: 24px 0; padding: 14px 20px; border-left: 3px solid var(--purple); background: var(--surface); border-radius: 0 8px 8px 0; color: var(--muted); }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: 10px; background: #fff; }
.prose .img-link { display: block; text-decoration: none; }
.callout.article-help { margin: 36px 0; }
.hero-for { font-size: clamp(17px, 2vw, 19px); color: var(--text); font-weight: 600; margin: -6px 0 14px; }
.niches { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.niche { display: flex; flex-direction: column; gap: 10px; }
.niche-head { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.niche-head h3 { margin: 0; }
.niche p { margin: 0; color: var(--muted); }
.niche ul { margin: 0; padding-left: 18px; }
.niche li { margin: 6px 0; line-height: 1.4; }
.niche li a { color: var(--text); text-decoration: none; }
.niche li a:hover { text-decoration: underline; }
.niche .niche-all { margin-top: auto; font-size: 14px; }
.niche-all a { color: #c49bff; }
.sent-ok { max-width: 680px; padding: 24px 26px; border: 1px solid #1f6b3f; background: rgba(46, 160, 90, 0.1); border-radius: var(--radius); }
.sent-ok b { display: block; font-size: 22px; color: #6ee7a0; margin-bottom: 8px; }
.sent-ok p { margin: 0 0 8px; }
.sent-ok .actions { margin-top: 16px; }
.page-head .contact-lang { margin-top: 10px; font-size: 16px; color: var(--text); }
.article-end .actions { margin: 14px 0 0; }
.article-end .actions .btn { color: #fff; }
.article-end .actions .btn-ghost { color: var(--text); }
/* оглавление и «Наверх» на телефоне и планшете (на широком экране — боковое оглавление) */
.toc-m { display: none; margin: 0 0 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.toc-m summary { cursor: pointer; padding: 12px 16px; font-weight: 600; }
.toc-m nav { padding: 0 16px 12px; }
.toc-m a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; border-top: 1px solid var(--surface-2); line-height: 1.35; }
.to-top { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 20; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; place-content: center; font-size: 20px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); }
@media (max-width: 1000px) { .toc-m { display: block; } .to-top { display: grid; } }

/* ---------- статьи на телефоне ---------- */
@media (max-width: 600px) {
  .prose { font-size: 16px; line-height: 1.7; }
  .prose h2 { margin: 40px 0 12px; }
  .prose h3 { font-size: 18px; margin: 28px 0 8px; }
  .prose ul, .prose ol { padding-left: 22px; }
  .prose pre { padding: 12px 14px; font-size: 12.5px; margin-left: -4px; margin-right: -4px; }
  .prose table { font-size: 14px; }
  .prose th, .prose td { padding: 8px 10px; }
  .prose td:not(.c) { min-width: 8.5em; } /* обычные таблицы прокручиваются вбок, а не сжимаются в столбик по слову */
  /* широкие таблицы и чек-листы — карточками: строка = блок, у клетки подпись из шапки (data-label ставит markdown.ts) */
  .prose table.stack, .prose table.stack tbody, .prose table.stack tr, .prose table.stack td { display: block; width: auto; }
  .prose table.stack { overflow: visible; }
  .prose table.stack thead { display: none; }
  .prose table.stack tr { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; margin: 0 0 10px; }
  .prose table.stack td { border: 0; padding: 5px 0; min-width: 0; text-align: left; white-space: normal; }
  .prose table.stack td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; line-height: 1.4; color: var(--dim); }
  .prose table.stack td:first-child { color: #fff; font-weight: 600; }
  .prose table.stack td:first-child::before { display: none; }
  .prose table.stack td.c:first-child { display: inline; color: var(--purple); margin-right: 8px; }
  .prose table.stack td.c:first-child + td { display: inline; color: #fff; font-weight: 600; }
  .prose table.stack td.c:first-child + td::before { display: none; }
  .prose table.stack td.c:first-child + td + td { margin-top: 6px; }
  .prose table.stack td.box { display: none; }
}
.prose hr { border: 0; height: 1px; background: var(--grad); opacity: 0.4; margin: 44px 0; }
.callout { background: linear-gradient(135deg, var(--purple-dim), var(--surface) 70%); border: 1px solid #3b2a55; border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; }
.callout p { margin: 0; }
.callout a { color: #fff; font-weight: 600; }
.article-end { max-width: 760px; margin-top: 48px; }
.article-note { max-width: 760px; margin-top: 40px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--muted); border-radius: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.article-note p { margin: 0; }
.article-note strong { color: var(--text); }
.related { margin-top: 64px; }
.related h2 { font-size: 24px; margin: 0 0 18px; }

/* ---------- юридические страницы ---------- */
.legal .prose { max-width: 800px; }
.legal-meta { color: var(--dim); font: 13px/1.4 var(--mono); margin: 0 0 32px; }
.placeholder { background: rgba(251, 191, 36, 0.12); color: var(--warn); border: 1px dashed rgba(251, 191, 36, 0.5); border-radius: 4px; padding: 1px 6px; font-size: 0.92em; }

/* ---------- демо-проверка почты ---------- */
.scan { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: clamp(20px, 3vw, 32px); }
.scan-bar { display: flex; gap: 10px; flex-wrap: wrap; }
.scan-bar input { flex: 1 1 240px; font: 15px var(--mono); color: var(--muted); }
.scan-bar input[readonly] { cursor: not-allowed; }
.scan-note { margin: 10px 0 0; font-size: 13px; color: var(--dim); }
.scan-log { margin: 22px 0 0; padding: 16px; background: #0f0f13; border: 1px solid var(--border); border-radius: 10px; font: 13px/1.7 var(--mono); color: var(--muted); }
.scan-log p { margin: 0; }
.scan-log .ok { color: var(--ok); } .scan-log .bad { color: var(--red); } .scan-log .warn { color: var(--warn); }
.scan-result { margin-top: 22px; }
.grade { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 12px; background: linear-gradient(135deg, var(--red-dim), var(--surface) 70%); border: 1px solid #5a1d20; margin-bottom: 16px; }
.grade b { font: 800 44px/1 var(--mono); color: var(--red); }
.grade p { margin: 0; }
.checks { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.check { background: var(--bg); border: 1px solid var(--border); border-left-width: 3px; border-radius: 10px; padding: 16px 18px; }
.check h3 { margin: 0 0 6px; font-size: 16px; display: flex; justify-content: space-between; gap: 10px; }
.check h3 span { font: 600 12px/1.6 var(--mono); text-transform: uppercase; }
.check p { margin: 0; font-size: 14px; color: var(--muted); }
.check-bad { border-left-color: var(--red); } .check-bad h3 span { color: var(--red); }
.check-warn { border-left-color: var(--warn); } .check-warn h3 span { color: var(--warn); }
.check-ok { border-left-color: var(--ok); } .check-ok h3 span { color: var(--ok); }
.scan-result, .scan-log { display: none; }
.scan-log.on, .scan-result.on { display: block; }

/* ---------- подвал ---------- */
.foot { padding: 56px 0 32px; border-top: 1px solid var(--border); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 12px 0 0; color: var(--muted); font-size: 14px; max-width: 40ch; }
.foot-brand .foot-where { color: var(--dim); }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-col b { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); margin-bottom: 6px; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--text); }
.foot-copy { margin: 40px 0 0; color: var(--dim); font-size: 13px; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- формы ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label, .editor label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
input, textarea, select { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 11px 12px; font: 15px/1.4 var(--sans); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--purple); outline-offset: -1px; border-color: transparent; }
.form button { align-self: flex-start; }
.form-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-items: end; gap: 14px; max-width: 920px; }
.form-inline button { align-self: end; height: 46px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.contact-grid h2 { font-size: 22px; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .page-head { padding: 48px 0 32px; }
  .cta { padding: 56px 0; }
}
.form-note { font-size: 13px; margin: 10px 0 0; }
.form-note a, .legal a { color: #c49bff; }
.prose li.task-item { list-style: none; margin-left: -20px; display: flex; gap: 10px; align-items: baseline; }
.task { flex: none; width: 16px; height: 16px; border: 2px solid var(--purple); border-radius: 4px; position: relative; top: 2px; }
.task-done { background: var(--purple); }

/* ---------- услуги ---------- */
.service-hero .crumbs { margin-bottom: 26px; }
.service-hero .team { top: 0; margin-bottom: 18px; }
.service-card { border-top-width: 2px; }
.sc-red { border-top-color: var(--red); }
.sc-blue { border-top-color: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.check-info { border-left-color: var(--dim); } .check-info h3 span { color: var(--muted); }
.check .rec { display: block; margin-top: 10px; font: 12px/1.5 var(--mono); color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; word-break: break-all; white-space: pre-wrap; }
.grade-ok { background: linear-gradient(135deg, rgba(74, 222, 128, 0.12), var(--surface) 70%); border-color: #1f5c36; } .grade-ok b { color: var(--ok); }
.grade-warn { background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), var(--surface) 70%); border-color: #5c4510; } .grade-warn b { color: var(--warn); }
.scan-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 18px 20px; border-radius: 12px; background: linear-gradient(135deg, var(--purple-dim), var(--surface) 70%); border: 1px solid #3b2a55; }
.scan-cta p { margin: 0; }
.scan-bar input:not([readonly]) { color: var(--text); cursor: text; }
.svc-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--text); }
.points li { position: relative; padding-left: 20px; }
.points li::before { content: '→'; position: absolute; left: 0; color: var(--purple); }
.sc-red .points li::before { color: var(--red); } .sc-blue .points li::before { color: var(--blue); }

/* Баннер согласия на статистику (public/t.js) */
.cb{position:fixed;left:16px;right:16px;bottom:16px;z-index:1000;max-width:760px;margin:0 auto;display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:16px 18px;background:#141418;color:#e8e8ee;border:1px solid #2c2c34;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.5);font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.cb p{margin:0;flex:1 1 360px}
.cb a{color:#e8e8ee;text-decoration:underline}
.cb-btns{display:flex;gap:8px;flex:0 0 auto}
.cb button{font:inherit;font-weight:600;padding:9px 18px;border-radius:8px;cursor:pointer;border:1px solid #d42020}
.cb .cb-no{background:#2c2c34;color:#fff;border-color:#2c2c34}
.cb .cb-yes{background:#d42020;color:#fff}
.cb button:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* FAQ */
.faq-list { max-width: 820px; }
.faq-list h2 { font-size: 22px; margin: 40px 0 12px; }
.faq-list h2:first-child { margin-top: 0; }
.faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin: 0 0 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--purple); font-size: 22px; font-weight: 400; }
.faq[open] summary::after { content: '−'; }
.faq p { margin: 0; padding: 0 18px 18px; color: var(--muted); line-height: 1.65; }

/* Частичный запуск: пометка «soon» в меню */
.soon { display: inline-block; margin-left: 5px; padding: 0 5px; font-size: 10px; line-height: 15px; border-radius: 4px; color: var(--muted); border: 1px solid var(--border); vertical-align: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.soon-badge { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--purple); color: #c49bff; font-size: 14px; }
.where-line { max-width: 760px; font-size: 18px; color: var(--muted); }

/* Статьи списком: одна статья — одна строка на всю ширину */
.rows { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.row-card { display: flex; align-items: center; gap: 24px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color 0.15s, background 0.15s; }
.row-card[hidden] { display: none; }
.row-card:hover { border-color: #3b2a55; background: #17151c; }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.row-card h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.row-card p { margin: 0; color: var(--muted); }
.row-go { flex: none; font-size: 22px; color: var(--purple); transition: transform 0.15s; }
.row-card:hover .row-go { transform: translateX(4px); }
@media (max-width: 600px) { .row-card { padding: 18px; } .row-card h3 { font-size: 18px; } .row-go { display: none; } }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: currentColor; }
/* Дата и время чтения — отдельные плашки */
.row-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mi { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-size: 13px; line-height: 1.2; }
.mi svg { color: var(--purple); flex: none; }

/* Категории статей: у каждой свой цвет (метка в карточке и точка в фильтрах) */
.tag.c-exchangers { color: #f5c542; border-color: #574515; background: #221b0a; }
.tag.c-hotels { color: #4fd1c5; border-color: #1d4a46; background: #0f1f1e; }
.tag.c-casinos { color: #f472b6; border-color: #5a2142; background: #22101a; }
.tag.c-crypto { color: #fb9a5b; border-color: #5a3418; background: #23150c; }
.tag.c-computers { color: #67c8f5; border-color: #1c4257; background: #0e1b24; }
.tag.c-network { color: #86e08a; border-color: #23502a; background: #0f1d11; }
.tag.c-accounts { color: #7aa7ff; border-color: #24365e; background: #111a2c; }
.tag.c-scams { color: #ff6b6b; border-color: #5c1f22; background: #241012; }
.tag.c-law { color: #c49bff; border-color: #3b2a55; background: #1a1326; }
.tag.c-incident { color: #d9f26b; border-color: #4a5418; background: #1b1f0b; }
.dot.c-exchangers { color: #f5c542; } .dot.c-hotels { color: #4fd1c5; } .dot.c-casinos { color: #f472b6; } .dot.c-crypto { color: #fb9a5b; } .dot.c-computers { color: #67c8f5; }
.dot.c-network { color: #86e08a; } .dot.c-accounts { color: #7aa7ff; } .dot.c-scams { color: #ff6b6b; } .dot.c-law { color: #c49bff; } .dot.c-incident { color: #d9f26b; }
/* Язык статьи и «на проверке» — нейтрально, чтобы не путать с категориями */
.tag.tag-lang { color: var(--text); }
.tag.tag-review { color: var(--muted); border-style: dashed; }

/* Глобус в блоке «Where we work» (эскиз D): шар и сетка — CSS/SVG, анимация — /globe.js */
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); gap: 56px; align-items: center; }
.where .where-line { margin: 0; }
.globe { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; justify-self: end; }
/* сам шар и свечение по краю — чистый CSS: ничего не стоит процессору и виден даже без JavaScript */
.globe-ball { position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #1d1d27 0%, #121218 46%, #0a0a0e 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 0 46px rgba(166, 107, 255, 0.13),
    -22px -8px 70px -26px rgba(255, 59, 59, 0.55), 22px 10px 70px -26px rgba(76, 141, 255, 0.6), 0 0 90px -30px rgba(166, 107, 255, 0.5); }
.globe-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.globe.is-live canvas { display: block; }
.globe.is-live .globe-grid { display: none; }
.globe-pin { position: absolute; left: 50%; top: 36.8%; width: 32px; height: 47px; max-width: none; transform: translate(-1px, -100%); filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6)); pointer-events: none; }
.globe-dot { position: absolute; left: 50%; top: 36.8%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 59, 59, 0.25); }
.globe.is-live .globe-dot { display: none; }
.globe.is-live .globe-pin { display: none; } /* картинка флага — только без JavaScript; с ним флаг на ветру рисуется на холсте */
@media (max-width: 760px) {
  .where { grid-template-columns: 1fr; gap: 28px; }
  .globe { max-width: 280px; justify-self: center; }
}
/* Domain Security Check: одна проверка — одна строка на всю ширину. Слева цветная полоса статуса. */
.scan-bar .btn { flex: none; }
.scan-demo[disabled] { opacity: 0.6; cursor: wait; }
.crows { display: flex; flex-direction: column; gap: 12px; }
.crow { background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--dim); border-radius: 10px; padding: 18px 22px; }
.crow-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.crow-head h3 { margin: 0; font: 700 18px/1.2 var(--mono); }
.crow-chip { font: 700 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 10px; border-radius: 999px; border: 1px solid currentColor; color: var(--muted); }
.crow-text { margin: 10px 0 0; color: var(--muted); font-size: 15px; max-width: 80ch; }
.crow-codes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 10px; margin-top: 14px; }
.crow-code { min-width: 0; }
.crow-code .k, .crow-attack summary { display: block; font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 6px; }
.crow pre { margin: 0; padding: 10px 12px; background: #0f0f13; border: 1px solid var(--border); border-radius: 8px; overflow-x: auto; }
.crow pre code { font: 12.5px/1.55 var(--mono); color: var(--text); white-space: pre; }
.crow-code pre code { white-space: pre-wrap; word-break: break-all; }
.crow-note { margin: 8px 0 0; font-size: 13.5px; color: var(--dim); max-width: 90ch; }
.crow-attack { margin-top: 14px; }
.crow-attack summary { cursor: pointer; color: var(--red); margin: 0; padding: 4px 0; list-style: none; }
.crow-attack summary::before { content: '▸ '; }
.crow-attack[open] summary::before { content: '▾ '; }
.crow-attack summary::-webkit-details-marker { display: none; }
.crow-attack pre { margin-top: 8px; border-color: #5a1d20; }
.crow-bad { border-left-color: var(--red); } .crow-bad .crow-chip { color: var(--red); }
.crow-warn { border-left-color: var(--warn); } .crow-warn .crow-chip { color: var(--warn); }
.crow-ok { border-left-color: var(--ok); } .crow-ok .crow-chip { color: var(--ok); }
.crow-warn .crow-attack summary { color: var(--warn); }
.crow-info .crow-attack summary { color: var(--muted); }
@media (max-width: 600px) { .crow { padding: 16px; } .crow pre code { white-space: pre-wrap; word-break: break-word; } } /* на телефоне код переносится, без прокрутки вбок */

.card-main { padding: 32px; }
.card-main h3 { font-size: 26px; }
.card-main .soon-badge { align-self: flex-start; margin-top: 4px; }
.card .team { align-self: flex-start; margin: 0; top: 0; }

.product { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.product-main { padding: 36px; border-color: rgba(255, 59, 59, 0.35); }
.product-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-head .team { margin: 0; top: 0; }
.product-head .soon-badge { margin: 0; }
.product h3 { margin: 0; font-size: 24px; }
.product-main h3 { font-size: 32px; }
.product p { margin: 0; color: var(--muted); }
.product .product-line { color: var(--text); font-weight: 600; }
.product-points { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.product-main .product-points { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.product-points > li > b { display: block; margin-bottom: 4px; }
.product-points ol { margin: 0; padding-left: 22px; color: var(--muted); list-style: decimal; }
.product-points ol li::marker { color: var(--purple); font-weight: 600; }
.product-points ol li { margin: 3px 0; padding-left: 2px; }
.product .actions { margin-top: 8px; }
.product-who b { color: var(--text); }
.products-free { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
@media (max-width: 600px) { .product, .product-main { padding: 22px; } .products-free { grid-template-columns: 1fr; } }

.free-check-in { background: linear-gradient(135deg, rgba(76, 141, 255, 0.10), rgba(155, 89, 255, 0.10)); border: 1px solid rgba(76, 141, 255, 0.35); border-radius: var(--radius); padding: 36px; display: grid; gap: 18px; }
.free-check-in h2 { margin: 12px 0 8px; }
.free-check-in .sub { margin: 0; max-width: 760px; }
.free-check-in .team { margin: 0; top: 0; }
@media (max-width: 600px) { .free-check-in { padding: 22px; } }
