:root{
  --bg-void:#0a0d13; --bg-panel:#10141c; --bg-panel-2:#141924; --bg-raised:#181e2a;
  --line:#1e2530; --line-soft:#171c26;
  --text:#e7e9ee; --text-dim:#8891a0; --text-faint:#4d5563;
  --amber:#e8a33d; --amber-soft:rgba(232,163,61,0.12);
  --violet:#8f83e8; --cyan:#47c1e0;
  --teal:#2fd6a9; --coral:#ef6461;
  --radius:12px;
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg-void); color:var(--text); font-family:'Inter', sans-serif;
  line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
h1,h2,h3,.display{ font-family:'Space Grotesk', sans-serif; letter-spacing:-0.01em; }
.mono{ font-family:'JetBrains Mono', monospace; }
a{ color:inherit; text-decoration:none; }
::selection{ background:var(--amber); color:#0a0d13; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }
.wrap-narrow{ max-width:820px; margin:0 auto; padding:0 32px; }

.grid-bg{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 90% 55% at 50% 0%, black 35%, transparent 90%);
  opacity:.5;
}

/* ---------- 2. NAV ---------- */
nav{ position:sticky; top:0; z-index:50; background:rgba(10,13,19,0.82); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
nav .wrap{ display:flex; align-items:center; justify-content:space-between; height:68px; }
.logo{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:19px; }
.logo-mark{ width:22px; height:22px; flex-shrink:0; }
.logo-mark svg, .logo svg{ width:22px; height:22px; }
.nav-links{ display:flex; gap:30px; font-size:14px; color:var(--text-dim); }
.nav-links a:hover, .nav-links a.nav-active{ color:var(--text); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
@media (max-width:900px){ .nav-links{ display:none; } }

/* ---------- 3. КНОПКИ ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 20px; border-radius:7px; font-size:14px; font-weight:600;
  cursor:pointer; border:1px solid transparent; transition:all .15s ease; white-space:nowrap;
}
.btn-primary{ background:var(--amber); color:#1a1002; }
.btn-primary:hover{ background:#f0af51; transform:translateY(-1px); }
.btn-ghost{ color:var(--text-dim); border-color:var(--line); }
.btn-ghost:hover{ color:var(--text); border-color:var(--text-faint); }

/* ---------- 4. SECTION SHELL / ЗАГОЛОВКИ СЕКЦИЙ ---------- */
section{ position:relative; z-index:1; padding:84px 0; }
.kicker{ font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--amber); text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px; }
.section-head{ max-width:620px; margin-bottom:48px; }
.section-head h2{ font-size:32px; font-weight:600; margin-bottom:14px; letter-spacing:-0.015em; }
.section-head p{ color:var(--text-dim); font-size:15px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; max-width:680px; }

.disclaimer{ font-size:12px; color:var(--text-faint); text-align:center; max-width:700px; margin:0 auto; border:1px dashed var(--line); padding:16px 20px; border-radius:10px; }

/* =============================================================================
   5. HOME / ЛЕНДИНГ
   ============================================================================= */
header.hero{ position:relative; padding:88px 0 60px; z-index:1; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-family:'JetBrains Mono', monospace; font-size:12.5px; color:var(--teal);
  background:rgba(47,214,169,0.08); border:1px solid rgba(47,214,169,0.25); padding:6px 12px; border-radius:100px; margin-bottom:26px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--teal); box-shadow:0 0 8px var(--teal); }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
@media (max-width:960px){ .hero-grid{ grid-template-columns:1fr; } }
.hero h1{ font-size:50px; font-weight:600; line-height:1.1; letter-spacing:-0.02em; margin-bottom:22px; }
.hero h1 .hl{ color:var(--amber); }
.hero p.lead{ font-size:16.5px; color:var(--text-dim); max-width:480px; margin-bottom:32px; }
.hero-actions{ display:flex; gap:14px; align-items:center; margin-bottom:36px; flex-wrap:wrap; }
.hero-note{ font-size:12.5px; color:var(--text-faint); }
.hero-stats{ display:flex; gap:32px; padding-top:26px; border-top:1px solid var(--line); flex-wrap:wrap; }
.hero-stat b{ display:block; font-family:'Space Grotesk',sans-serif; font-size:21px; color:var(--text); }
.hero-stat span{ font-size:12px; color:var(--text-faint); }

.hero-visual{ background:var(--bg-panel); border:1px solid var(--line); border-radius:14px; padding:20px 20px 16px; position:relative; box-shadow:0 30px 80px -30px rgba(0,0,0,0.6); }
.hv-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.hv-ticker{ font-family:'JetBrains Mono',monospace; font-size:13px; color:var(--text-dim); display:flex; gap:10px; align-items:center; }
.hv-ticker b{ color:var(--text); }
.hv-live{ display:flex; align-items:center; gap:6px; font-family:'JetBrains Mono',monospace; font-size:11.5px; color:var(--teal); }
.hv-live .dot{ width:6px; height:6px; border-radius:50%; background:var(--teal); animation:pulse 1.8s infinite; }
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.3;} }
.hv-chart{ width:100%; height:220px; display:block; }
.hv-readout{ display:flex; flex-direction:column; gap:13px; margin-top:14px; border-top:1px solid var(--line); padding-top:16px; }
.hv-readout-row{
  display:grid; grid-template-columns:auto 56px minmax(0,1fr) 84px 52px; gap:12px; align-items:center;
  font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--text-dim);
}
.hv-readout-row .dot{ width:7px; height:7px; border-radius:50%; flex-shrink:0; box-shadow:0 0 6px currentColor; }
.hv-readout-row .len{ color:var(--text); font-weight:600; letter-spacing:-.01em; }
.hv-readout-row .matches{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hv-readout-row .matches em{ font-style:normal; color:var(--text-faint); }

.hv-readout-row .updown{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.hv-readout-row .updown-bar{ height:4px; border-radius:3px; background:var(--coral); overflow:hidden; opacity:.5; }
.hv-readout-row .updown-bar .fill{ display:block; height:100%; background:var(--teal); border-radius:3px 0 0 3px; }
.hv-readout-row .updown-pct{ font-size:10.5px; white-space:nowrap; letter-spacing:-.02em; }
.hv-readout-row .updown-pct b{ font-weight:600; }
.hv-readout-row .updown-pct b.up{ color:var(--teal); }
.hv-readout-row .updown-pct b.down{ color:var(--coral); }

.hv-readout-row .avg{ font-weight:700; text-align:right; color:var(--text); font-size:12.5px; }
.hv-readout-row .avg.pos{ color:var(--teal); }
.hv-readout-row .avg.neg{ color:var(--coral); }

.hv-readout-empty{ font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--text-faint); }
.hv-badge{
  position:absolute; top:-12px; right:22px; background:var(--amber); color:#1a1002; font-family:'JetBrains Mono',monospace;
  font-size:11px; font-weight:600; padding:5px 10px; border-radius:6px; transition:opacity .3s ease;
}
.hv-loading .hv-badge{ background:var(--bg-panel); color:var(--text-faint); border:1px solid var(--line); }

.hv-legend{ display:inline-flex; gap:8px; margin-left:2px; }
.hv-legend-item{ display:inline-flex; align-items:center; gap:3px; font-size:11px; }
.hv-legend-item i{ width:7px; height:7px; border-radius:50%; display:inline-block; }

.hv-chart-wrap{ position:relative; }
.hv-skeleton{ position:absolute; inset:0; display:none; flex-direction:column; justify-content:space-evenly; padding:10px 0; }
.hv-skeleton-bar{
  height:100%; width:100%; border-radius:8px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.05) 45%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.05) 55%, transparent);
  background-size:200% 100%; animation:skeletonSweep 1.6s ease-in-out infinite;
}
@keyframes skeletonSweep{ 0%{ background-position:200% 0; } 100%{ background-position:-200% 0; } }

.hv-loading .hv-skeleton{ display:flex; }
.hv-loading .hv-chart{ opacity:0; }
.hv-loading .hv-readout-row{ opacity:.35; }

.compare{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
@media (max-width:760px){ .compare{ grid-template-columns:1fr; } }
.compare > div{ background:var(--bg-panel); padding:30px; }
.compare h3{ font-size:13.5px; font-family:'JetBrains Mono',monospace; margin-bottom:16px; }
.compare .old h3{ color:var(--text-faint); }
.compare .new h3{ color:var(--teal); }
.compare ul{ list-style:none; }
.compare li{ padding:9px 0; font-size:14px; color:var(--text-dim); border-bottom:1px solid var(--line-soft); display:flex; gap:10px; }
.compare li:last-child{ border-bottom:none; }
.compare .old li::before{ content:"—"; color:var(--text-faint); }
.compare .new li::before{ content:"✓"; color:var(--teal); font-weight:700; }

.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--line); }
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }
.step{ padding:26px 22px 26px 0; border-right:1px solid var(--line); }
.step:last-child{ border-right:none; }
.step .num{ font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--amber); margin-bottom:14px; }
.step h4{ font-size:16px; font-weight:600; margin-bottom:9px; }
.step p{ font-size:13.5px; color:var(--text-dim); }

.mtf-panel{ background:var(--bg-panel); border:1px solid var(--line); border-radius:var(--radius); padding:28px; }
.mtf-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:32px; align-items:center; }
@media (max-width:920px){ .mtf-grid{ grid-template-columns:1fr; } }
.tf-chip-row{ display:flex; gap:10px; margin-bottom:22px; flex-wrap:wrap; }
.tf-chip{ font-family:'JetBrains Mono',monospace; font-size:12.5px; padding:7px 14px; border-radius:100px; border:1px solid var(--line); color:var(--text-dim); background:var(--bg-panel-2); }
.tf-chip.on{ border-color:var(--teal); color:var(--teal); }
.mtf-legend{ display:flex; flex-direction:column; gap:14px; margin-top:22px; }
.mtf-legend-item{ display:flex; align-items:flex-start; gap:12px; }
.mtf-legend-item .sw{ width:14px; height:14px; border-radius:4px; margin-top:3px; flex-shrink:0; }
.mtf-legend-item b{ display:block; font-size:14px; margin-bottom:3px; }
.mtf-legend-item span{ font-size:13px; color:var(--text-dim); }
.mtf-forecast-note{ margin-top:20px; padding:16px 18px; border:1px dashed var(--line); border-radius:10px; font-size:13px; color:var(--text-dim); background:var(--bg-panel-2); }
.mtf-forecast-note b{ color:var(--amber); }

.eco-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:920px){ .eco-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .eco-grid{ grid-template-columns:1fr; } }
.eco-card{ background:var(--bg-panel); border:1px solid var(--line); border-radius:var(--radius); padding:24px; position:relative; display:flex; flex-direction:column; min-height:200px; }
.eco-card.avail{ border-color:rgba(47,214,169,0.35); }
.eco-badge{ position:absolute; top:16px; right:16px; font-family:'JetBrains Mono',monospace; font-size:10px; padding:3px 9px; border-radius:100px; text-transform:uppercase; letter-spacing:.04em; }
.eco-badge.avail{ background:rgba(47,214,169,0.12); color:var(--teal); border:1px solid rgba(47,214,169,0.3); }
.eco-badge.soon{ background:var(--bg-raised); color:var(--text-faint); border:1px solid var(--line); }
.eco-icon{ width:38px; height:38px; border-radius:9px; background:var(--bg-raised); display:flex; align-items:center; justify-content:center; margin-bottom:16px; font-size:18px; }
.eco-card h4{ font-size:16px; font-weight:600; margin-bottom:8px; }
.eco-card p{ font-size:13px; color:var(--text-dim); flex:1; }
.eco-card a{ font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--amber); margin-top:14px; display:inline-flex; align-items:center; gap:4px; }
.eco-card.disabled a{ color:var(--text-faint); }

.coverage-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:760px){ .coverage-grid{ grid-template-columns:1fr; } }
.cov-card{ background:var(--bg-panel); border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.cov-card h4{ font-family:'JetBrains Mono',monospace; font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; margin-bottom:16px; display:flex; align-items:center; gap:8px; }
.cov-card.now h4{ color:var(--teal); }
.cov-card.soon h4{ color:var(--text-faint); }
.cov-chip-list{ display:flex; gap:10px; flex-wrap:wrap; }
.cov-chip{ font-family:'JetBrains Mono',monospace; font-size:13px; border:1px solid var(--line); background:var(--bg-panel-2); padding:8px 14px; border-radius:100px; color:var(--text); }
.cov-card.soon .cov-chip{ color:var(--text-faint); }

.cta-band{ background:var(--bg-panel); border:1px solid var(--line); border-radius:16px; padding:52px 44px; display:flex; justify-content:space-between; align-items:center; gap:28px; flex-wrap:wrap; }
.cta-band h3{ font-size:24px; font-weight:600; max-width:420px; }

/* =============================================================================
   6. PRICING — карточки тарифов (единый крупный вариант: лендинг + /pricing)
   ============================================================================= */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; align-items:stretch; }
@media (max-width:960px){ .pricing-grid{ grid-template-columns:1fr; max-width:480px; margin:0 auto; } }

.price-card{
  background:var(--bg-panel); border:1px solid var(--line); border-radius:18px; padding:44px 38px;
  display:flex; flex-direction:column; position:relative; transition:border-color .2s, transform .2s;
}
.price-card:hover{ border-color:var(--text-faint); }
.price-card.featured{ border-color:var(--amber); background:linear-gradient(180deg, var(--amber-soft), var(--bg-panel) 45%); transform:scale(1.03); }
.price-card.featured:hover{ transform:scale(1.03) translateY(-2px); }
.price-card .badge{ position:absolute; top:-14px; left:38px; background:var(--amber); color:#1a1002; font-size:12px; font-weight:700; padding:5px 14px; border-radius:100px; font-family:'JetBrains Mono',monospace; letter-spacing:.03em; }

.price-name{ font-size:16px; color:var(--text-dim); font-family:'JetBrains Mono',monospace; text-transform:uppercase; letter-spacing:.06em; margin-bottom:22px; }
.price-amount{ display:flex; align-items:baseline; gap:8px; margin-bottom:10px; }
.price-amount b{ font-family:'Space Grotesk',sans-serif; font-size:56px; font-weight:700; line-height:1; }
.price-amount span{ color:var(--text-faint); font-size:16px; }
.price-sub{ font-size:14px; color:var(--text-faint); margin-bottom:8px; min-height:20px; }
.price-save{ display:inline-block; font-size:12px; color:var(--teal); background:rgba(47,214,169,0.1); border:1px solid rgba(47,214,169,0.3); padding:3px 10px; border-radius:100px; font-family:'JetBrains Mono',monospace; margin-bottom:26px; }

.price-feats{ list-style:none; margin-bottom:32px; flex:1; }
.price-feats li{ font-size:14.5px; color:var(--text-dim); padding:11px 0; display:flex; gap:11px; border-bottom:1px solid var(--line-soft); align-items:flex-start; }
.price-feats li::before{ content:"✓"; color:var(--teal); font-weight:700; flex-shrink:0; margin-top:1px; }
.price-feats li:last-child{ border-bottom:none; }
.price-card .btn{ width:100%; padding:15px; font-size:15px; }

.info-strip{ display:flex; justify-content:center; gap:36px; margin-top:44px; flex-wrap:wrap; }
.info-item{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text-dim); }
.info-item .ic{ color:var(--teal); font-size:16px; }
.compare-note{ max-width:780px; margin:70px auto 0; text-align:center; }
.compare-note h3{ font-size:22px; margin-bottom:14px; }
.compare-note p{ font-size:14.5px; color:var(--text-dim); line-height:1.7; }

.p-hero{ position:relative; z-index:1; padding:80px 0 30px; text-align:center; }
.p-hero h1{ font-size:48px; font-weight:600; letter-spacing:-0.02em; max-width:780px; margin:0 auto 22px; }
.p-hero p{ font-size:18px; color:var(--text-dim); max-width:640px; margin:0 auto 40px; line-height:1.65; }

/* =============================================================================
   7. FAQ (используется на лендинге и на /pricing)
   ============================================================================= */
.faq-head{ text-align:center; margin-bottom:44px; }
.faq-head h2{ font-size:30px; font-weight:600; }
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); padding:22px 0; }
.faq-q{ display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-size:15.5px; font-weight:500; }
.faq-q .plus{ color:var(--amber); font-family:'JetBrains Mono',monospace; font-size:18px; transition:transform .2s; flex-shrink:0; margin-left:16px; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-item.open .faq-a{ max-height:220px; }
.faq-a p{ padding-top:14px; font-size:14px; color:var(--text-dim); max-width:640px; line-height:1.7; }

/* =============================================================================
   8. FOOTER (варианты full / slim — см. partials/footer.html)
   ============================================================================= */
footer{ border-top:1px solid var(--line); padding:44px 0 30px; position:relative; z-index:1; }
.footer-grid{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:32px; margin-bottom:30px; }
.footer-links{ display:flex; gap:40px; flex-wrap:wrap; }
.footer-links h6{ font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-faint); margin-bottom:12px; font-family:'JetBrains Mono',monospace; }
.footer-links a{ display:block; font-size:13px; color:var(--text-dim); margin-bottom:9px; }
.footer-links a:hover{ color:var(--text); }
.footer-bottom{ font-size:12px; color:var(--text-faint); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; border-top:1px solid var(--line); padding-top:22px; }
footer.footer-slim{ text-align:center; padding:36px 0; }
footer.footer-slim p{ font-size:12.5px; color:var(--text-faint); }

/* =============================================================================
   9. METHODOLOGY
   ============================================================================= */
.m-hero{ position:relative; z-index:1; padding:76px 0 20px; text-align:center; }
.m-hero h1{ font-size:42px; font-weight:600; letter-spacing:-0.02em; max-width:760px; margin:0 auto 20px; }
.m-hero p{ font-size:16.5px; color:var(--text-dim); max-width:640px; margin:0 auto; line-height:1.7; }

section.video-section{ position:relative; z-index:1; padding:40px 0 80px; }
.video-frame{ max-width:900px; margin:0 auto; background:var(--bg-panel); border:1px solid var(--line); border-radius:16px; padding:10px; box-shadow:0 40px 100px -30px rgba(0,0,0,.6); }
.video-placeholder{ position:relative; width:100%; aspect-ratio:16/9; background:var(--bg-panel-2); border-radius:10px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.video-placeholder::before{
  content:""; position:absolute; inset:0;
  background-image:linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size:40px 40px; opacity:.4;
}
.play-btn{ position:relative; z-index:1; width:76px; height:76px; border-radius:50%; background:var(--amber); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:transform .2s; box-shadow:0 0 0 14px rgba(232,163,61,0.08); }
.play-btn:hover{ transform:scale(1.06); }
.play-btn svg{ width:26px; height:26px; margin-left:4px; }
.video-caption{ text-align:center; font-size:12.5px; color:var(--text-faint); padding:14px 6px 6px; }

.pipeline{ display:flex; flex-direction:column; gap:0; }
.pipe-step{ display:grid; grid-template-columns:70px 1fr; gap:24px; padding:28px 0; border-top:1px solid var(--line); }
.pipe-step:last-child{ border-bottom:1px solid var(--line); }
.pipe-num{ font-family:'JetBrains Mono',monospace; font-size:22px; color:var(--amber); font-weight:600; }
.pipe-step h3{ font-size:18px; font-weight:600; margin-bottom:10px; }
.pipe-step p{ font-size:14px; color:var(--text-dim); margin-bottom:10px; }
.pipe-code{ background:var(--bg-panel); border:1px solid var(--line); border-radius:8px; padding:12px 16px; font-family:'JetBrains Mono',monospace; font-size:12.5px; color:var(--teal); overflow-x:auto; margin-top:10px; }
.pipe-code .c1{ color:var(--violet); } .pipe-code .c2{ color:var(--amber); }

.len-table{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
@media (max-width:760px){ .len-table{ grid-template-columns:1fr; } }
.len-cell{ background:var(--bg-panel); padding:26px; }
.len-cell .sw{ width:14px; height:14px; border-radius:4px; margin-bottom:14px; }
.len-cell h4{ font-size:16px; font-weight:600; margin-bottom:8px; font-family:'Space Grotesk',sans-serif; }
.len-cell p{ font-size:13.5px; color:var(--text-dim); }

.source-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:760px){ .source-grid{ grid-template-columns:1fr; } }
.source-card{ background:var(--bg-panel); border:1px solid var(--line); border-radius:12px; padding:26px; }
.source-card h4{ font-family:'JetBrains Mono',monospace; font-size:12.5px; color:var(--teal); text-transform:uppercase; letter-spacing:.05em; margin-bottom:14px; }
.source-card ul{ list-style:none; }
.source-card li{ font-size:13.5px; color:var(--text-dim); padding:8px 0; border-bottom:1px solid var(--line-soft); display:flex; gap:9px; }
.source-card li:last-child{ border-bottom:none; }
.source-card li::before{ content:"→"; color:var(--amber); }

.limits-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
@media (max-width:760px){ .limits-grid{ grid-template-columns:1fr; } }
.limits-grid > div{ background:var(--bg-panel); padding:30px; }
.limits-grid h3{ font-size:14px; font-family:'JetBrains Mono',monospace; margin-bottom:16px; }
.limits-grid .not h3{ color:var(--coral); }
.limits-grid .is h3{ color:var(--teal); }
.limits-grid ul{ list-style:none; }
.limits-grid li{ padding:9px 0; font-size:14px; color:var(--text-dim); border-bottom:1px solid var(--line-soft); display:flex; gap:10px; }
.limits-grid li:last-child{ border-bottom:none; }
.limits-grid .not li::before{ content:"✕"; color:var(--coral); font-weight:700; }
.limits-grid .is li::before{ content:"✓"; color:var(--teal); font-weight:700; }

/* =============================================================================
   10. TERMS / PRIVACY (юридические документы)
   ============================================================================= */
.doc-head{ padding:56px 0 30px; border-bottom:1px solid var(--line); margin-bottom:40px; }
.doc-head .kicker{ margin-bottom:14px; }
.doc-head h1{ font-family:'Space Grotesk',sans-serif; font-size:34px; font-weight:600; margin-bottom:12px; }
.doc-head p{ font-size:13.5px; color:var(--text-faint); font-family:'JetBrains Mono',monospace; }

main{ padding-bottom:90px; }
section.doc-section{ margin-bottom:36px; padding:0; }
section.doc-section h2{ font-family:'Space Grotesk',sans-serif; font-size:19px; font-weight:600; margin-bottom:14px; color:var(--text); }
section.doc-section p{ font-size:14.5px; color:var(--text-dim); margin-bottom:12px; }
section.doc-section ul{ margin:0 0 12px 22px; }
section.doc-section li{ font-size:14.5px; color:var(--text-dim); margin-bottom:8px; }
section.doc-section .num{ color:var(--amber); font-family:'JetBrains Mono',monospace; margin-right:8px; }

.toc{ background:var(--bg-panel); border:1px solid var(--line); border-radius:12px; padding:22px 26px; margin-bottom:44px; }
.toc h3{ font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.05em; margin-bottom:14px; }
.toc ol{ margin:0; padding-left:20px; columns:2; column-gap:24px; }
.toc li{ font-size:13.5px; margin-bottom:8px; }
.toc a{ color:var(--text-dim); text-decoration:none; }
.toc a:hover{ color:var(--amber); }
@media (max-width:600px){ .toc ol{ columns:1; } }

table.data-table{ width:100%; border-collapse:collapse; margin:14px 0 18px; font-size:13.5px; }
table.data-table th{ text-align:left; padding:10px 14px; background:var(--bg-panel); border:1px solid var(--line); color:var(--text-faint); font-family:'JetBrains Mono',monospace; font-size:11.5px; text-transform:uppercase; letter-spacing:.04em; }
table.data-table td{ padding:10px 14px; border:1px solid var(--line); color:var(--text-dim); }

.callout{ background:rgba(232,163,61,0.06); border:1px solid rgba(232,163,61,0.3); border-radius:10px; padding:16px 20px; font-size:13.5px; color:var(--text-dim); margin-bottom:16px; }
.callout b{ color:var(--amber); }
.callout.teal{ background:rgba(47,214,169,0.06); border-color:rgba(47,214,169,0.3); }
.callout.teal b{ color:var(--teal); }

/* ---------- PROFILE MENU ---------- */
.profile-menu{ position:relative; }

.profile-trigger{
  width:38px; height:38px; border-radius:9px;
  background:var(--bg-panel-2); border:1px solid var(--line);
  color:var(--text-dim); display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:all .15s ease;
}
.profile-trigger:hover{ color:var(--text); border-color:var(--text-faint); background:var(--bg-raised); }
.profile-trigger.active{ color:var(--amber); border-color:var(--amber); background:var(--amber-soft); }

.profile-dropdown{
  position:absolute; top:calc(100% + 10px); right:0; min-width:240px;
  background:var(--bg-panel); border:1px solid var(--line); border-radius:12px;
  padding:8px; box-shadow:0 20px 50px -15px rgba(0,0,0,0.55);
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .16s ease, transform .16s ease, visibility .16s;
  z-index:60;
}
.profile-dropdown.open{ opacity:1; visibility:visible; transform:translateY(0); }

.profile-email{
  font-size:12.5px; color:var(--text-dim); padding:10px 12px 12px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}

.profile-divider{ height:1px; background:var(--line); margin:0 0 6px; }

.profile-item{
  display:flex; align-items:center; gap:10px; width:100%;
  padding:10px 12px; border-radius:7px; font-size:13.5px; color:var(--text-dim);
  background:none; border:none; cursor:pointer; text-align:left; font-family:inherit;
  transition:background .12s ease, color .12s ease;
}
.profile-item svg{ flex-shrink:0; color:var(--text-faint); transition:color .12s ease; }
.profile-item:hover{ background:var(--bg-raised); color:var(--text); }
.profile-item:hover svg{ color:var(--amber); }

.profile-item-form{ margin:0; }
.profile-item-danger:hover{ color:var(--coral); }
.profile-item-danger:hover svg{ color:var(--coral); }
