/* Стили SEO-страниц (/blog, /kk, /whatsapp-bot-dlya-*, /avtootvetchik-whatsapp). База — /app/app.css. */
body { overflow-x: hidden; font-size: 16px; line-height: 1.65; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.site-top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: rgba(6,7,11,.65); border-bottom: 1px solid var(--line); }
.site-top .row { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.site-top nav { display: flex; gap: 22px; color: var(--text-2); font-weight: 500; font-size: 14px; }
.site-top nav a { text-decoration: none; color: inherit; } .site-top nav a:hover { color: #fff; }
.brand { text-decoration: none; color: var(--text); }
.crumbs { margin: 26px 0 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); } .crumbs .sep { opacity: .5; margin: 0 4px; }
.doc { max-width: 780px; margin: 0 auto; }
.doc-head { padding: 28px 0 8px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -1.2px; margin: 0 0 16px; }
.doc .lead { font-size: 19px; color: var(--text-2); margin: 0 0 22px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.doc-body h2, .faq h2, .related h2 { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -.5px; margin: 44px 0 12px; line-height: 1.2; }
.doc-body h3 { font-size: 19px; margin: 26px 0 8px; }
.doc-body p, .doc-body li { color: var(--text-2); }
.doc-body a, .faq a { color: var(--accent); }
.doc-body ul, .doc-body ol { padding-left: 22px; }
.doc-body li { margin: 6px 0; }
.doc-body ul.checks { list-style: none; padding-left: 0; }
.doc-body ul.checks li { padding-left: 30px; position: relative; }
.doc-body ul.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
.doc-body ol.steps { counter-reset: st; list-style: none; padding-left: 0; }
.doc-body ol.steps li { counter-increment: st; padding-left: 42px; position: relative; margin: 12px 0; }
.doc-body ol.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(34,211,166,.12); border: 1px solid rgba(34,211,166,.35); color: #8ff3d6; }
.tbl { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: rgba(255,255,255,.04); color: var(--text); font-weight: 600; }
.tbl td { color: var(--text-2); } .tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--muted); }
.chat { background: #0b141a; border: 1px solid var(--line-strong); border-radius: 18px; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; margin: 16px 0 6px; max-width: 520px; }
.chat p { margin: 0; max-width: 85%; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; line-height: 1.45; color: #e9edef !important; }
.chat .in { align-self: flex-start; background: #202c33; border-top-left-radius: 3px; }
.chat .out { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.faq details { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--text-2); margin: 10px 0 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.card-link { display: flex; flex-direction: column; gap: 8px; padding: 20px; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.card-link:hover { border-color: rgba(34,211,166,.45); transform: translateY(-2px); }
.related { max-width: 1060px; margin: 30px auto 0; }
.cta-box { text-align: center; padding: 48px 22px; margin: 56px 0 10px; border-radius: 26px; background: linear-gradient(120deg, rgba(139,108,255,.22), rgba(34,211,166,.14)); border: 1px solid rgba(139,108,255,.3); }
.cta-box h2 { font-size: clamp(24px, 3.2vw, 36px); letter-spacing: -.8px; margin: 0 0 8px; }
.cta-box p { margin: 0 0 22px; }
.site-foot { padding: 36px 0 50px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 50px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 18px; }
.foot-cols div { display: flex; flex-direction: column; gap: 6px; }
.foot-cols b { color: var(--text); margin-bottom: 4px; }
.foot-cols a { color: var(--muted); text-decoration: none; } .foot-cols a:hover { color: var(--text); }
@media (max-width: 860px) {
  .site-top nav { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .doc .lead { font-size: 17px; }
}
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } }
