/* Macro.Digest. Построено по брендбуку MACRO 2B v3.0:
   токены цвета и скруглений из Source/tokens.css, Inter для текста,
   JetBrains Mono для цифр и служебных меток, один градиент 135deg. */

:root{
  /* палитра брендбука, один в один */
  --bg-primary:#0a0a0f;
  --bg-secondary:#12121a;
  --bg-card:#16161f;
  --bg-card-hover:#1a1a25;
  --border-color:#252530;
  --text-primary:#ffffff;
  --text-secondary:#a0a0b0;
  --text-muted:#606070;
  --accent-cyan:#00f5d4;
  --accent-purple:#7b61ff;
  --accent-orange:#ff9f43;
  --accent-red:#ff6b6b;
  --gradient-main:linear-gradient(135deg,#00f5d4 0%,#7b61ff 100%);
  --gradient-card:linear-gradient(180deg,#16161f 0%,#12121a 100%);
  --font-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-mono:'JetBrains Mono','SFMono-Regular',Consolas,monospace;
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:16px;
  --radius-xl:24px;
  /* шкала брендбука: 38/700/-3%, 28/700/-2%, 20/600, 16/400, 14/500 */
  --maxw:1240px;
  color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg-primary);
  color:var(--text-secondary);
  font-family:var(--font-sans);
  font-size:16px;
  font-weight:400;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%}
a{color:var(--accent-cyan)}
:focus-visible{outline:2px solid var(--accent-cyan); outline-offset:3px; border-radius:var(--radius-sm)}

h1,h2,h3,h4,h5{color:var(--text-primary); margin:0; font-family:var(--font-sans); text-wrap:balance}
h1{font-size:38px; font-weight:700; letter-spacing:-.03em; line-height:1.12}
h2{font-size:28px; font-weight:700; letter-spacing:-.02em; line-height:1.18}
h3{font-size:20px; font-weight:600; letter-spacing:-.01em; line-height:1.3}
h4,h5{font-size:16px; font-weight:600}
@media (max-width:640px){h1{font-size:30px} h2{font-size:24px}}

.mono,.num{font-family:var(--font-mono); font-variant-numeric:tabular-nums}
.label{
  font-family:var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.14em;
  text-transform:uppercase; color:var(--text-muted);
}

.wrap{max-width:var(--maxw); margin:0 auto; padding-inline:24px}
@media (max-width:560px){.wrap{padding-inline:16px}}

/* ---------- переключатель продуктов ---------- */
.switcher{background:var(--bg-primary); border-bottom:1px solid var(--border-color)}
.switcher .wrap{display:flex; align-items:center; gap:4px; flex-wrap:wrap; padding-block:9px}
.switcher a{
  display:inline-flex; align-items:center; gap:8px; color:var(--text-muted); text-decoration:none;
  font-size:13px; font-weight:500; padding:5px 12px; border-radius:var(--radius-sm); white-space:nowrap;
}
.switcher a:hover{color:var(--text-secondary); background:var(--bg-secondary)}
.switcher a.on{background:var(--bg-card); color:var(--text-primary)}
.switcher a .dot{width:6px; height:6px; border-radius:50%; background:var(--border-color); flex-shrink:0}
.switcher a.on .dot{background:var(--accent-cyan)}
.switcher .sp{margin-left:auto; display:flex; align-items:center; gap:4px}
.switcher .sp em{font-style:normal; font-family:var(--font-mono); font-size:12px; color:var(--text-muted); padding-right:10px; white-space:nowrap}
@media (max-width:760px){.switcher .sp em{display:none}}

/* ---------- шапка ---------- */
header.site{
  position:sticky; top:env(safe-area-inset-top,0px); z-index:40;
  background:rgba(10,10,15,.88); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border-color);
}
header.site .wrap{display:flex; align-items:center; gap:28px; padding-block:15px}
.logo{display:block; flex-shrink:0; line-height:0}
.logo img{height:26px; width:auto; display:block}
nav.main{display:flex; gap:4px; align-items:center; margin-inline:auto; flex-wrap:wrap}
nav.main a{
  color:var(--text-secondary); text-decoration:none; font-size:14px; font-weight:500;
  padding:9px 16px; border-radius:var(--radius-sm); white-space:nowrap;
}
nav.main a:hover{color:var(--text-primary); background:var(--bg-secondary)}
nav.main a.on{background:var(--bg-card); color:var(--text-primary); font-weight:600}
.hd-right{display:flex; align-items:center; gap:14px; flex-shrink:0}
@media (max-width:1040px){
  header.site .wrap{flex-wrap:wrap; gap:14px}
  nav.main{order:3; width:100%; margin-inline:0; overflow-x:auto; padding-bottom:2px}
  .hd-right{margin-left:auto}
}

/* ---------- кнопки ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-sans); font-weight:600; font-size:14px;
  padding:12px 22px; border-radius:var(--radius-sm); text-decoration:none; cursor:pointer;
  border:1px solid transparent; transition:filter .15s, border-color .15s, color .15s, background .15s;
}
.btn-grad{background:var(--gradient-main); color:#07131f}
.btn-grad:hover{filter:brightness(1.08)}
.btn-ghost{background:var(--bg-card); color:var(--text-primary); border-color:var(--border-color)}
.btn-ghost:hover{border-color:var(--accent-cyan); color:var(--accent-cyan)}
.btn-sm{padding:9px 16px; font-size:13px}

/* ---------- заголовок страницы ---------- */
.crumbs{display:flex; gap:10px; align-items:center; font-size:13px; color:var(--text-muted); padding-block:26px 0}
.crumbs a{color:var(--text-muted); text-decoration:none}
.crumbs a:hover{color:var(--accent-cyan)}
.crumbs .sep{opacity:.45}
.phead{border-bottom:1px solid var(--border-color)}
.phead .wrap{padding-block:16px 48px}
.phead h1{font-size:clamp(30px,4.6vw,46px)}
.phead p{margin:18px 0 0; font-size:17px; color:var(--text-secondary); max-width:78ch; line-height:1.6}
.phead .cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:28px}
.eyebrow{
  font-family:var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.1em;
  text-transform:uppercase; color:#00f5d4; margin:0 0 16px;
}
.section{padding-block:52px}
.section-head{margin-bottom:26px}
.section-head p{margin:8px 0 0; color:var(--text-muted); font-size:15px}

/* ---------- показатели ---------- */
.stats{display:grid; grid-template-columns:repeat(auto-fit,minmax(152px,1fr)); gap:12px}
.stat{background:var(--gradient-card); border:1px solid var(--border-color); border-radius:var(--radius-md); padding:16px 16px 15px; text-align:center}
.stat .ic{
  width:30px; height:30px; border-radius:var(--radius-sm); background:rgba(0,245,212,.09);
  border:1px solid rgba(0,245,212,.2); display:flex; align-items:center; justify-content:center;
  margin:0 auto 11px; color:var(--accent-cyan);
}
.stat .ic svg{width:15px; height:15px}
.stat b{
  display:block; font-family:var(--font-mono); font-weight:600; font-size:19px; letter-spacing:-.02em;
  background:var(--gradient-main); -webkit-background-clip:text; background-clip:text; color:transparent;
  font-variant-numeric:tabular-nums; line-height:1.2;
}
.stat span{display:block; font-size:12px; color:var(--text-muted); margin-top:5px; line-height:1.4}

/* ---------- фильтры ---------- */
.chips{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:30px}
.chip{
  font-family:var(--font-sans); font-weight:500; font-size:14px; padding:10px 20px;
  border:1px solid var(--border-color); border-radius:999px; background:var(--bg-card);
  color:var(--text-secondary); cursor:pointer;
}
.chip:hover{border-color:var(--accent-cyan); color:var(--accent-cyan)}
.chip[aria-pressed="true"]{background:var(--accent-cyan); border-color:var(--accent-cyan); color:#07131f; font-weight:600}

/* ---------- карточки выпусков ---------- */
.cards{display:grid; grid-template-columns:1fr; gap:18px}
.card{
  background:var(--gradient-card); border:1px solid var(--border-color); border-radius:var(--radius-lg);
  overflow:hidden; display:flex; flex-direction:column; text-decoration:none;
  transition:border-color .18s, transform .18s; position:relative;
}
.card::before{content:""; position:absolute; inset:0 0 auto; height:2px; background:var(--gradient-main); opacity:0; transition:opacity .18s}
.card:hover{border-color:var(--bg-card-hover); transform:translateY(-2px)}
.card:hover::before{opacity:1}
.cover{aspect-ratio:16/7; display:block; width:100%; background:var(--bg-secondary)}
.cards .card{flex-direction:row; align-items:stretch}
.cards .card .cover{width:296px; flex-shrink:0; aspect-ratio:auto; min-height:188px; object-fit:cover}
.cards .card .bdy{flex:1; min-width:0; justify-content:center}
@media (max-width:760px){
  .cards .card{flex-direction:column}
  .cards .card .cover{width:100%; aspect-ratio:16/7; min-height:0}
}
.card .bdy{padding:20px 22px 22px; display:flex; flex-direction:column; gap:12px; flex:1}
.card .tags{display:flex; gap:10px; align-items:center; flex-wrap:wrap; font-size:12px; color:var(--text-muted)}
.badge{
  font-family:var(--font-mono); font-weight:500; font-size:10.5px; letter-spacing:.12em; text-transform:uppercase;
  padding:5px 10px; border-radius:var(--radius-sm); background:rgba(0,245,212,.1); color:var(--accent-cyan);
  border:1px solid rgba(0,245,212,.2);
}
.badge.v{background:rgba(123,97,255,.14); color:#a593ff; border-color:rgba(123,97,255,.3)}
.card h3{font-size:19px; font-weight:600; letter-spacing:-.015em; line-height:1.32; transition:color .15s}
.card:hover h3{color:var(--accent-cyan)}
.card p{margin:0; font-size:14.5px; color:var(--text-secondary); line-height:1.6}
.card .ft{
  margin-top:auto; padding-top:14px; border-top:1px solid var(--border-color);
  display:flex; gap:14px; justify-content:space-between; flex-wrap:wrap;
  font-family:var(--font-mono); font-size:11.5px; color:var(--text-muted);
}
.ico{display:inline-flex; align-items:center; gap:5px; font-family:var(--font-mono); font-size:11.5px}
.ico svg{width:13px; height:13px; opacity:.7}

/* ---------- панели ---------- */
.panel{background:var(--gradient-card); border:1px solid var(--border-color); border-radius:var(--radius-lg); padding:22px}
.panel h4{
  font-family:var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.14em;
  text-transform:uppercase; color:var(--text-muted); margin-bottom:16px;
}
.panel h3{margin-bottom:8px}
.panel p{margin:0; font-size:14.5px; color:var(--text-muted); line-height:1.6}
.panel p{max-width:none}
.panel-cyan{border-color:rgba(0,245,212,.22); background:linear-gradient(160deg,rgba(0,245,212,.07),var(--bg-card) 60%)}
.panel-cyan h4{color:var(--accent-cyan)}
.figs{display:grid}
.figs div{display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:11px 0; border-bottom:1px solid var(--border-color); font-size:14px}
.figs div:last-child{border:0; padding-bottom:0}
.figs span{color:var(--text-muted)}
.figs b{font-family:var(--font-mono); font-weight:500; color:var(--text-primary); font-variant-numeric:tabular-nums; font-size:14px}
.figs i{font-style:normal; font-size:11.5px; margin-left:7px}
.up{color:var(--accent-cyan)} .down{color:var(--accent-red)}

.layout{display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:44px; align-items:start}
@media (max-width:1000px){.layout{grid-template-columns:1fr; gap:34px}}
.aside{display:grid; gap:20px; position:sticky; top:104px}
@media (max-width:1000px){.aside{position:static}}

/* ---------- статья ---------- */
.art{max-width:880px}
.art .meta{display:flex; gap:16px; align-items:center; flex-wrap:wrap; margin-bottom:18px; font-family:var(--font-mono); font-size:12.5px}
.art .meta .d{color:var(--accent-cyan); letter-spacing:.04em}
.art .meta .m{color:var(--text-muted)}
.art h1{font-size:clamp(27px,3.8vw,40px)}
.art .lede{margin:20px 0 0; font-size:17px; color:var(--text-secondary); line-height:1.65}

.audio{
  display:flex; align-items:center; gap:16px; background:var(--gradient-card); border:1px solid var(--border-color);
  border-radius:var(--radius-lg); padding:16px 20px; margin:28px 0 34px; flex-wrap:wrap;
}
.audio .play{
  width:44px; height:44px; border-radius:50%; border:0; cursor:pointer; flex-shrink:0;
  background:var(--gradient-main); color:#07131f; display:flex; align-items:center; justify-content:center;
}
.audio .play svg{width:17px; height:17px; margin-left:2px}
.audio .play.on svg{margin-left:0}
.audio .info{flex:1; min-width:170px}
.audio .ttl{font-weight:600; font-size:14.5px; color:var(--text-primary)}
.audio .sub{font-size:13px; color:var(--text-muted)}
.audio .time{font-family:var(--font-mono); font-size:12.5px; color:var(--text-muted); white-space:nowrap}
.audio .bar{flex-basis:100%; height:4px; border-radius:4px; background:var(--border-color); overflow:hidden}
.audio .bar span{display:block; height:100%; width:0%; background:var(--gradient-main); transition:width .3s linear}

.sentiment{margin:30px 0 34px; max-width:560px}
.sentiment .track{position:relative; height:6px; border-radius:4px; margin-top:10px;
  background:linear-gradient(90deg,var(--accent-red) 0%,var(--text-muted) 50%,var(--accent-cyan) 100%)}
.sentiment .dot{position:absolute; top:50%; width:14px; height:14px; border-radius:50%;
  background:#fff; border:2px solid var(--border-color); transform:translate(-50%,-50%)}
.sentiment .ends{display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:10.5px; color:var(--text-muted); margin-top:9px}

.sb{background:var(--gradient-card); border:1px solid var(--border-color); border-left:2px solid var(--accent-cyan);
  border-radius:var(--radius-md); padding:24px; margin-bottom:40px}
.sb h4{font-size:16px; font-weight:600; color:var(--text-primary); margin-bottom:16px; letter-spacing:-.01em}
.sb ul{list-style:none; margin:0; padding:0}
.sb li{padding:10px 0 10px 20px; border-bottom:1px solid var(--border-color); font-size:15px; position:relative; line-height:1.6}
.sb li:last-child{border:0; padding-bottom:0}
.sb li::before{content:""; position:absolute; left:0; top:18px; width:6px; height:6px; border-radius:50%; background:var(--accent-cyan)}

.art-body h2{margin:46px 0 20px; padding-bottom:14px; border-bottom:1px solid var(--border-color)}
.art-body h3{margin:32px 0 10px}
.art-body p{margin:0 0 12px; font-size:16px; line-height:1.75}
.src{font-family:var(--font-mono); font-size:12.5px; color:var(--text-muted)}
.src a{color:var(--accent-cyan); text-decoration:none}
.src a:hover{text-decoration:underline}
.art-body ul.plain{list-style:none; padding:0; margin:0}
.art-body ul.plain li{padding:12px 0; border-bottom:1px solid var(--border-color); font-size:15px; line-height:1.6}
.art-body ul.plain li em{font-style:normal; font-family:var(--font-mono); color:var(--text-muted); font-size:11.5px; margin-left:6px}
.numbers{display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:14px; margin-top:8px}
.numbers div{background:var(--gradient-card); border:1px solid var(--border-color); border-radius:var(--radius-md); padding:18px}
.numbers b{display:block; font-family:var(--font-mono); font-weight:700; font-size:24px; color:var(--text-primary);
  font-variant-numeric:tabular-nums; letter-spacing:-.02em}
.numbers span{font-size:13px; color:var(--text-muted); display:block; margin-top:5px; line-height:1.5}
.disc{margin-top:46px; padding-top:22px; border-top:1px solid var(--border-color)}
.disc p{font-size:12.5px; color:var(--text-muted); margin:0 0 8px; line-height:1.6}

/* ---------- шаги ---------- */
.grid3{display:grid; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)); gap:18px}
.step{background:var(--gradient-card); border:1px solid var(--border-color); border-radius:var(--radius-lg); padding:24px}
.step .n{
  width:34px; height:34px; border-radius:var(--radius-sm); background:rgba(0,245,212,.09); border:1px solid rgba(0,245,212,.22);
  color:var(--accent-cyan); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-weight:700; font-size:14px; margin-bottom:16px;
}
.step h3{font-size:18px; margin-bottom:8px}
.step p{margin:0; font-size:14.5px; color:var(--text-muted); line-height:1.65}

/* ---------- тарифы ---------- */
.toggle{display:inline-flex; border:1px solid var(--border-color); border-radius:999px; padding:4px; gap:4px; background:var(--bg-card)}
.toggle button{
  border:0; background:transparent; cursor:pointer; font-family:var(--font-sans); font-weight:500;
  font-size:14px; padding:8px 19px; border-radius:999px; color:var(--text-secondary);
}
.toggle button[aria-pressed="true"]{background:var(--accent-cyan); color:#07131f; font-weight:600}
.tiers{display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:20px; align-items:stretch}
.toggle-row{display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap; margin-bottom:28px}
.section-head.tc{text-align:center}
.toggle button{position:relative; display:inline-flex; align-items:center; gap:8px}
.toggle .off{
  font-family:var(--font-mono); font-size:10px; font-weight:600; letter-spacing:.02em;
  background:var(--gradient-main); color:#07131f; padding:2px 7px; border-radius:999px;
}
.toggle button[aria-pressed="true"] .off{background:#07131f; color:var(--accent-cyan)}
.tier{background:var(--gradient-card); border:1px solid var(--border-color); border-radius:var(--radius-lg);
  padding:28px 26px; display:flex; flex-direction:column; gap:18px; position:relative; overflow:hidden}
.tier.feat{border-color:rgba(0,245,212,.3)}
.tier.feat::before{content:""; position:absolute; inset:0 0 auto; height:2px; background:var(--gradient-main)}
.tier .tag{font-family:var(--font-mono); font-size:10.5px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-cyan)}
.tier h3{font-size:30px; font-weight:700; letter-spacing:-.03em; line-height:1.15}
.tier .price{display:flex; align-items:baseline; gap:8px}
.tier .price b{font-family:var(--font-mono); font-size:32px; font-weight:700; color:var(--text-primary);
  font-variant-numeric:tabular-nums; letter-spacing:-.04em}
.tier .price .per{font-size:13px; color:var(--text-muted)}
.tier .yr{font-family:var(--font-mono); font-size:12px; color:var(--text-muted); margin-top:-12px}
.tier ul{list-style:none; margin:0; padding:0; flex:1}
.tier li{font-size:14.5px; padding:10px 0 10px 24px; border-bottom:1px solid var(--border-color); position:relative; line-height:1.55; color:var(--text-secondary)}
.tier li:last-child{border:0}
.tier li::before{content:"✓"; position:absolute; left:0; top:9px; color:var(--accent-cyan); font-size:13px}
.tier li.off{color:var(--text-muted)}
.tier li.off::before{content:"-"; color:var(--border-color)}
.tier .pay{font-family:var(--font-mono); font-size:11.5px; color:var(--text-muted); margin:0}
.tier .band-cta .btn{flex:1; min-width:140px}
.vat-note{margin:20px 0 0; font-family:var(--font-mono); font-size:11.5px; color:var(--text-muted); line-height:1.6}

.cmp{width:100%; border-collapse:collapse; font-size:14.5px; min-width:660px}
.cmp th,.cmp td{text-align:left; padding:14px 16px; border-bottom:1px solid var(--border-color)}
.cmp thead th{font-weight:600; font-size:14px; color:var(--text-primary); background:var(--bg-card)}
.cmp thead th:first-child{border-top-left-radius:var(--radius-md)}
.cmp thead th:last-child{border-top-right-radius:var(--radius-md)}
.cmp td:not(:first-child),.cmp th:not(:first-child){text-align:center; font-family:var(--font-mono); font-size:13px; font-variant-numeric:tabular-nums}
.cmp tbody th{font-weight:400; color:var(--text-secondary); font-family:var(--font-sans); font-size:14.5px}
.cmp .y{color:var(--accent-cyan)}
.cmp .n{color:var(--text-muted)}
.scroll-x{overflow-x:auto; border-radius:var(--radius-md)}

/* ---------- формы и ключевые слова ---------- */
.kw-box{background:var(--gradient-card); border:1px solid var(--border-color); border-radius:var(--radius-lg); padding:24px}
.kw-row{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px}
.kw-row input{
  flex:1; min-width:180px; border:1px solid var(--border-color); border-radius:var(--radius-sm);
  padding:12px 14px; font-family:var(--font-sans); font-size:15px; background:var(--bg-primary); color:var(--text-primary);
}
.kw-row input::placeholder{color:var(--text-muted)}
.kw-list{display:flex; gap:9px; flex-wrap:wrap; min-height:36px}
.kw{
  display:inline-flex; align-items:center; gap:9px; background:rgba(0,245,212,.09); color:var(--accent-cyan);
  border:1px solid rgba(0,245,212,.22); border-radius:999px; padding:6px 13px; font-size:13.5px; font-weight:500;
}
.kw button{border:0; background:transparent; color:inherit; cursor:pointer; font-size:15px; line-height:1; padding:0; opacity:.6}
.kw button:hover{opacity:1}
.kw-count{font-family:var(--font-mono); font-size:12.5px; color:var(--text-muted); margin-top:12px}
.quota{height:4px; border-radius:4px; background:var(--border-color); overflow:hidden; margin:16px 0 0}
.quota span{display:block; height:100%; background:var(--gradient-main)}
.kw-sug{display:flex; gap:8px; flex-wrap:wrap; margin-top:16px}
.kw-sug button{
  border:1px dashed var(--border-color); background:transparent; border-radius:999px; padding:6px 13px;
  font-size:13px; color:var(--text-secondary); cursor:pointer; font-family:var(--font-sans);
}
.kw-sug button:hover{border-color:var(--accent-cyan); color:var(--accent-cyan); border-style:solid}
.fieldrow{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px}
.field label{
  display:block; font-family:var(--font-mono); font-size:11px; font-weight:500; color:var(--text-muted);
  text-transform:uppercase; letter-spacing:.14em; margin-bottom:9px;
}
.field select,.field input{
  width:100%; border:1px solid var(--border-color); border-radius:var(--radius-sm); padding:11px 13px;
  font-family:var(--font-sans); font-size:14.5px; background:var(--bg-primary); color:var(--text-primary);
}
.checks{display:flex; gap:10px; flex-wrap:wrap}
.check{display:inline-flex; align-items:center; gap:9px; border:1px solid var(--border-color); border-radius:999px;
  padding:9px 16px; font-size:14px; cursor:pointer; background:var(--bg-primary); color:var(--text-secondary)}
.check input{accent-color:var(--accent-cyan); margin:0}
.check:has(input:checked){border-color:rgba(0,245,212,.4); background:rgba(0,245,212,.07); color:var(--accent-cyan); font-weight:500}
.save{display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-top:20px}
.saved{font-size:14px; color:var(--accent-cyan); font-weight:500}

/* ---------- письмо ---------- */
.mail{border:1px solid var(--border-color); border-radius:var(--radius-lg); overflow:hidden; background:var(--bg-card)}
.mail .bar{background:var(--bg-secondary); border-bottom:1px solid var(--border-color); padding:12px 18px;
  font-family:var(--font-mono); font-size:11.5px; color:var(--text-muted); display:flex; gap:12px; justify-content:space-between; flex-wrap:wrap}
.mail .bdy{padding:20px}
.mail .bdy h5{font-size:16px; font-weight:600; color:var(--text-primary); margin:0 0 4px}
.mail .hit{font-size:14px; padding:12px 0; border-bottom:1px solid var(--border-color); line-height:1.6}
.mail .hit:last-child{border:0; padding-bottom:0}
.mail mark{background:rgba(0,245,212,.13); color:var(--accent-cyan); font-weight:500; padding:1px 5px; border-radius:4px}

/* ---------- уведомление ---------- */
.alert{
  display:flex; gap:16px; align-items:flex-start; border-radius:var(--radius-lg); padding:20px 22px;
  border:1px solid rgba(255,159,67,.3); background:linear-gradient(120deg,rgba(255,159,67,.08),var(--bg-card) 60%);
}
.alert .ring{width:28px; height:28px; border-radius:50%; border:2px solid var(--accent-orange); color:var(--accent-orange);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; flex-shrink:0; font-family:var(--font-mono)}
.alert b{display:block; color:var(--text-primary); font-size:15px; margin-bottom:4px}
.alert p{margin:0; font-size:14px; color:var(--text-muted)}

.access{display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:12px}
.access div{display:flex; align-items:center; gap:11px; background:var(--bg-primary); border:1px solid var(--border-color);
  border-radius:var(--radius-md); padding:14px 18px; font-size:14.5px; color:var(--text-primary)}
.access div::before{content:"✓"; color:var(--accent-cyan); font-weight:700}
.access div.no{color:var(--text-muted)}
.access div.no::before{content:"-"; color:var(--border-color)}

.tbl{width:100%; border-collapse:collapse; font-size:14.5px; min-width:560px}
.tbl th{text-align:left; font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-muted); font-weight:500; padding:0 0 12px; border-bottom:1px solid var(--border-color)}
.tbl td{padding:16px 0; border-bottom:1px solid var(--border-color); color:var(--text-secondary)}
.tbl td:first-child{color:var(--text-primary); font-family:var(--font-mono); font-size:13px}
.tbl td.num{font-family:var(--font-mono); font-variant-numeric:tabular-nums}
.pill{display:inline-block; padding:4px 11px; border-radius:var(--radius-sm); font-family:var(--font-mono); font-size:11.5px;
  background:rgba(255,159,67,.12); color:var(--accent-orange); border:1px solid rgba(255,159,67,.26)}
.pill.ok{background:rgba(0,245,212,.1); color:var(--accent-cyan); border-color:rgba(0,245,212,.22)}

/* ---------- вопросы ---------- */
.faq details{border-bottom:1px solid var(--border-color)}
.faq summary{cursor:pointer; padding:18px 0; font-weight:600; font-size:16.5px; color:var(--text-primary);
  list-style:none; display:flex; justify-content:space-between; gap:18px; align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; color:var(--accent-cyan); font-size:22px; font-weight:300; flex-shrink:0}
.faq details[open] summary::after{content:"\2212"}
.faq p{margin:0 0 18px; font-size:15px; color:var(--text-muted); max-width:104ch; line-height:1.7}

/* ---------- модальная заявка ---------- */
.modal{position:fixed; inset:0; z-index:90; display:flex; align-items:center; justify-content:center; padding:20px}
.modal[hidden]{display:none}
.modal .scrim{position:absolute; inset:0; background:rgba(5,5,8,.78); backdrop-filter:blur(4px)}
.modal .sheet{
  position:relative; width:100%; max-width:468px; max-height:calc(100vh - 40px); overflow-y:auto;
  background:var(--bg-secondary); border:1px solid var(--border-color); border-radius:var(--radius-xl);
  padding:30px 30px 28px;
}
.modal .sheet::before{content:""; position:absolute; inset:0 0 auto; height:2px; background:var(--gradient-main); border-radius:var(--radius-xl) var(--radius-xl) 0 0}
.modal .x{
  position:absolute; top:20px; right:20px; width:32px; height:32px; border:0; background:transparent;
  color:var(--text-secondary); font-size:22px; line-height:1; cursor:pointer; border-radius:var(--radius-sm);
}
.modal .x:hover{background:var(--bg-card); color:var(--text-primary)}
.modal h3{font-size:24px; font-weight:700; letter-spacing:-.02em; margin:0 0 10px}
.modal > .sheet > p.sub{margin:0 0 24px; font-size:15px; color:var(--text-secondary); line-height:1.6}
.modal .fields{display:grid; gap:16px}
.modal .divider{margin:22px 0 18px; padding-top:20px; border-top:1px solid var(--border-color)}
.modal .divider b{display:block; font-size:15px; font-weight:600; color:var(--text-primary); margin-bottom:6px}
.modal .divider span{display:block; font-size:13.5px; color:var(--text-muted); line-height:1.55}
.modal .btn{width:100%; margin-top:20px; padding:14px 22px; font-size:15px}
.modal .ok{text-align:center; padding:12px 0 4px}
.modal .ok .tick{width:52px; height:52px; border-radius:50%; background:var(--gradient-main); color:#07131f;
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px; font-size:24px}
.modal .ok p{margin:0 auto; max-width:46ch; font-size:15px; color:var(--text-secondary); line-height:1.6}

/* ---------- оформление для юрлиц ---------- */
.order{display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:40px; align-items:start}
@media (max-width:960px){.order{grid-template-columns:1fr; gap:28px}}
.obox{background:var(--gradient-card); border:1px solid var(--border-color); border-radius:var(--radius-lg); padding:24px; margin-bottom:20px}
.obox > h3{margin-bottom:6px}
.obox > .hint{margin:0 0 20px; font-size:14px; color:var(--text-muted); line-height:1.6}

.seg{display:flex; gap:8px; flex-wrap:wrap}
.seg button{
  position:relative; flex:1; min-width:84px; cursor:pointer; background:var(--bg-primary);
  border:1px solid var(--border-color); border-radius:var(--radius-md); padding:14px 10px;
  color:var(--text-secondary); font-family:var(--font-sans); font-size:14px; font-weight:500; text-align:center;
}
.seg button b{display:block; font-family:var(--font-mono); font-size:17px; font-weight:600; color:var(--text-primary); line-height:1.3}
.seg button span{display:block; font-size:11.5px; color:var(--text-muted); margin-top:2px}
.seg button:hover{border-color:var(--text-muted)}
.seg button[aria-pressed="true"]{border-color:var(--accent-cyan); background:rgba(0,245,212,.07)}
.seg button[aria-pressed="true"] b{color:var(--accent-cyan)}
.seg .off{
  position:absolute; top:-9px; right:8px; font-family:var(--font-mono); font-size:10px; font-weight:600;
  background:var(--gradient-main); color:#07131f; padding:2px 7px; border-radius:999px;
}

.stepper{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.stepper .ctl{display:flex; align-items:center; gap:0; border:1px solid var(--border-color); border-radius:var(--radius-md); overflow:hidden; background:var(--bg-primary)}
.stepper .ctl button{
  width:42px; height:42px; border:0; background:transparent; color:var(--text-primary);
  font-size:20px; line-height:1; cursor:pointer; font-family:var(--font-mono);
}
.stepper .ctl button:hover{background:var(--bg-card-hover); color:var(--accent-cyan)}
.stepper .ctl button:disabled{color:var(--border-color); cursor:default; background:transparent}
.stepper .ctl output{
  min-width:48px; text-align:center; font-family:var(--font-mono); font-size:17px; font-weight:600;
  color:var(--text-primary); border-inline:1px solid var(--border-color); padding:10px 0;
}
.stepper .note{font-size:13.5px; color:var(--text-muted); line-height:1.5}

.tabs{display:flex; gap:8px; margin-bottom:18px}
.tabs button{
  cursor:pointer; background:var(--bg-primary); border:1px solid var(--border-color); border-radius:var(--radius-sm);
  padding:9px 16px; color:var(--text-secondary); font-family:var(--font-sans); font-size:14px; font-weight:500;
}
.tabs button[aria-pressed="true"]{border-color:var(--accent-cyan); color:var(--accent-cyan); background:rgba(0,245,212,.07)}

.drop{
  border:1px dashed var(--border-color); border-radius:var(--radius-md); padding:30px 20px; text-align:center;
  background:var(--bg-primary); cursor:pointer; display:block;
}
.drop:hover{border-color:var(--accent-cyan)}
.drop b{display:block; text-wrap:balance; color:var(--text-primary); font-size:15px; font-weight:600; margin-bottom:6px}
.drop span{display:block; font-family:var(--font-mono); font-size:11.5px; color:var(--text-muted); letter-spacing:.06em}
.drop input{position:absolute; width:1px; height:1px; opacity:0}
.drop.filled{border-style:solid; border-color:var(--accent-cyan); background:rgba(0,245,212,.06)}

.req{color:var(--accent-cyan)}
.field textarea{
  width:100%; border:1px solid var(--border-color); border-radius:var(--radius-sm); padding:11px 13px;
  font-family:var(--font-sans); font-size:14.5px; background:var(--bg-primary); color:var(--text-primary);
  resize:vertical; min-height:84px;
}
.field input::placeholder,.field textarea::placeholder{color:var(--text-muted)}
.agree{display:flex; gap:11px; align-items:flex-start; margin:22px 0 18px; font-size:13.5px; color:var(--text-muted); line-height:1.6}
.agree input{accent-color:var(--accent-cyan); margin-top:3px; flex-shrink:0}
.agree a{color:var(--accent-cyan)}

.summary{position:sticky; top:104px; background:var(--gradient-card); border:1px solid rgba(0,245,212,.25); border-radius:var(--radius-lg); padding:24px; overflow:hidden}
.summary::before{content:""; position:absolute; inset:0 0 auto; height:2px; background:var(--gradient-main)}
@media (max-width:960px){.summary{position:static}}
.summary h4{margin-bottom:18px}
.summary .rows{display:grid}
.summary .rows div{display:flex; justify-content:space-between; gap:14px; align-items:baseline; padding:10px 0; border-bottom:1px solid var(--border-color); font-size:14px}
.summary .rows span{color:var(--text-muted)}
.summary .rows b{font-family:var(--font-mono); font-weight:500; color:var(--text-primary); font-variant-numeric:tabular-nums}
.summary .total{display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding-top:18px; margin-top:4px}
.summary .total span{font-size:14px; color:var(--text-secondary)}
.summary .total b{font-family:var(--font-mono); font-size:26px; font-weight:700; color:var(--text-primary); letter-spacing:-.03em; font-variant-numeric:tabular-nums}
.summary .per-m{font-family:var(--font-mono); font-size:12.5px; color:var(--accent-cyan); text-align:right; margin:2px 0 0}
.summary .vat{font-size:12.5px; color:var(--text-muted); margin:16px 0 0; line-height:1.55}

.done{text-align:center; padding:48px 24px; background:var(--gradient-card); border:1px solid rgba(0,245,212,.25); border-radius:var(--radius-lg)}
.done .tick{
  width:56px; height:56px; border-radius:50%; background:var(--gradient-main); color:#07131f;
  display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:26px;
}
.done h2{margin-bottom:12px}
.done p{margin:0 auto 10px; max-width:64ch; color:var(--text-secondary); font-size:15.5px; line-height:1.65}
.done .back{display:inline-block; margin-top:20px; font-size:14px; color:var(--accent-cyan); text-decoration:none}
.done .back:hover{text-decoration:underline}

.contacts{display:flex; gap:24px; flex-wrap:wrap; margin-top:22px; font-family:var(--font-mono); font-size:12.5px; color:var(--text-muted)}
.contacts a{color:var(--text-secondary); text-decoration:none}
.contacts a:hover{color:var(--accent-cyan)}

/* ---------- список источников ---------- */
.srcs{display:grid; gap:14px; margin:4px 0 22px}
.src-g{background:var(--bg-primary); border:1px solid var(--border-color); border-radius:var(--radius-md); padding:16px 18px}
.src-g h6{
  display:flex; align-items:baseline; gap:10px; margin:0 0 8px;
  font-family:var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.12em;
  text-transform:uppercase; color:var(--accent-cyan);
}
.src-g h6 em{font-style:normal; color:var(--text-muted); font-size:11px}
.src-g p{margin:0; font-size:13.5px; color:var(--text-secondary); line-height:1.65}

/* ---------- телеграм ---------- */
.panel-tg{
  border-color:rgba(0,245,212,.3);
  background:linear-gradient(150deg,rgba(0,245,212,.12),rgba(123,97,255,.1) 55%,var(--bg-card) 100%);
  position:relative; overflow:hidden;
}
.panel-tg::before{content:""; position:absolute; inset:0 0 auto; height:2px; background:var(--gradient-main)}
.tg-head{display:flex; align-items:center; gap:14px; margin-bottom:14px}
.tg-ic{
  width:42px; height:42px; border-radius:var(--radius-md); background:var(--gradient-main);
  display:flex; align-items:center; justify-content:center; color:#07131f; flex-shrink:0;
}
.tg-ic svg{width:22px; height:22px}
.tg-head b{display:block; color:var(--text-primary); font-size:16px; font-weight:600; line-height:1.3}
.tg-head span{display:block; font-family:var(--font-mono); font-size:11px; color:var(--accent-cyan); letter-spacing:.1em; text-transform:uppercase}
.panel-tg p{color:var(--text-secondary)}

/* ---------- полоса призыва ---------- */
.band{border-top:1px solid var(--border-color); background:var(--bg-secondary)}
.band .wrap{padding-block:52px; display:flex; gap:30px; align-items:center; justify-content:space-between; flex-wrap:wrap}
.band > .wrap > div:first-child{flex:1; min-width:300px}
.band h2{max-width:none; white-space:nowrap}
@media (max-width:900px){.band h2{white-space:normal}}
.band p{margin:12px 0 0; color:var(--text-secondary); font-size:16px; max-width:none}
.band .eyebrow{margin-bottom:12px}
.band-cta{display:flex; gap:12px; flex-wrap:wrap}

/* ---------- подвал ---------- */
footer.site{border-top:1px solid var(--border-color); background:var(--bg-primary)}
footer.site .wrap{padding-block:46px 32px; display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:36px}
@media (max-width:760px){footer.site .wrap{grid-template-columns:1fr 1fr; gap:28px}}
footer .fcol h5{font-family:var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.14em;
  text-transform:uppercase; color:var(--text-muted); margin:0 0 14px}
footer .fcol a{display:block; color:var(--text-secondary); text-decoration:none; font-size:14px; padding:5px 0}
footer .fcol a:hover{color:var(--accent-cyan)}
footer .about img{height:22px; margin-bottom:16px; display:block}
footer .about p{font-size:14px; color:var(--text-muted); margin:0; max-width:36ch; line-height:1.6}
.legal{border-top:1px solid var(--border-color)}
.legal .wrap{padding-block:18px 26px; display:flex; gap:18px; justify-content:space-between; flex-wrap:wrap;
  font-family:var(--font-mono); font-size:11.5px; color:var(--text-muted)}

/* надстрочная метка: перебивает .phead p и .band p, которые выше по специфичности */
.phead .eyebrow,
.band .eyebrow,
.section-head .eyebrow,
.panel .eyebrow{
  font-family:var(--font-mono);
  font-size:11px;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#00f5d4;
  margin:0 0 16px;
  max-width:none;
  line-height:1.4;
}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}
