/*! © BotifyHost (botifyhost.com). All rights reserved. Unauthorized copying, reuse or redistribution of this code or design is prohibited. */
/* ==========================================================
   BotifyHost v3 — inner pages (pricing, features, faq, blog, legal …)
   Builds on the tokens in v2.css
   ========================================================== */

/* hide legacy page chrome if any old page still prints it */
.page-header, .cta-section, .tech-section { display: none; }

/* ---------- page hero ---------- */
.bh-phero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 64px; border-bottom: 1px solid var(--bh-line); }
.bh-phero-fade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 60%, var(--bh-bg)); }
.bh-phero-copy { max-width: 720px; }
.bh-phero-center .bh-phero-copy { margin: 0 auto; text-align: center; }
.bh-phero-center .bh-crumbs { justify-content: center; }
.bh-phero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.03; letter-spacing: -.045em; color: #fff; margin: 10px 0 18px; font-weight: 700; }
.bh-phero .bh-lead { font-size: 17.5px; max-width: 640px; }
.bh-phero-center .bh-lead { margin: 0 auto; }
.bh-phero .bh-hero-btns { margin-top: 28px; }
.bh-phero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.bh-phero-center .bh-phero-chips { justify-content: center; }
.bh-phero-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; font-size: 13px; color: #d3dbea; background: rgba(13,18,29,.75); border: 1px solid var(--bh-line); backdrop-filter: blur(6px); }
.bh-phero-chips i { color: var(--bh-blue); }

/* ---------- generic layout helpers ---------- */
.bh-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bh-panel { padding: 28px; border-radius: 20px; background: linear-gradient(180deg, var(--bh-surface-2), var(--bh-surface)); border: 1px solid var(--bh-line); }
.bh-panel h3 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.bh-panel p { color: var(--bh-muted); font-size: 14.5px; line-height: 1.65; margin: 0; }
.bh-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 19px; color: var(--bh-blue); background: var(--bh-blue-soft); border: 1px solid rgba(61,126,255,.22); margin-bottom: 16px; }
.bh-ic.lime { color: var(--bh-lime); background: rgba(180,242,90,.1); border-color: rgba(180,242,90,.25); }
.bh-ic.amber { color: var(--bh-amber); background: rgba(245,181,68,.1); border-color: rgba(245,181,68,.25); }
.bh-ic.red { color: #ff7b7b; background: rgba(255,95,87,.1); border-color: rgba(255,95,87,.25); }
.bh-mt-0 { margin-top: 0 !important; }
.bh-center-text { text-align: center; }

/* ---------- callouts ---------- */
.bh-callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--bh-line-2); background: var(--bh-surface); color: #d3dbea; font-size: 14.5px; line-height: 1.6; margin: 18px 0; }
.bh-callout > i { margin-top: 3px; font-size: 16px; color: var(--bh-blue); flex: none; }
.bh-callout.ok { border-color: rgba(180,242,90,.3); background: rgba(180,242,90,.05); } .bh-callout.ok > i { color: var(--bh-lime); }
.bh-callout.warn { border-color: rgba(245,181,68,.35); background: rgba(245,181,68,.05); } .bh-callout.warn > i { color: var(--bh-amber); }
.bh-callout.danger { border-color: rgba(255,95,87,.35); background: rgba(255,95,87,.05); } .bh-callout.danger > i { color: #ff7b7b; }
.bh-callout b, .bh-callout strong { color: #fff; }
.bh-callout a { color: #8fb6ff; }

/* ---------- prose (articles + legal) ---------- */
.bh-prose { color: #c9d2e3; font-size: 16.5px; line-height: 1.8; }
.bh-prose > *:first-child { margin-top: 0; }
.bh-prose h2 { color: #fff; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; margin: 44px 0 14px; scroll-margin-top: 96px; display: flex; align-items: center; gap: 12px; }
.bh-prose h2 > i { font-size: 18px; color: var(--bh-blue); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bh-blue-soft); flex: none; }
.bh-prose h3 { color: #fff; font-size: 19px; margin: 30px 0 10px; scroll-margin-top: 96px; }
.bh-prose h4 { color: #fff; font-size: 16.5px; margin: 24px 0 8px; }
.bh-prose p { margin: 0 0 16px; }
.bh-prose p.lead { font-size: 18.5px; color: #e1e8f5; }
.bh-prose a { color: #8fb6ff; text-decoration: underline; text-decoration-color: rgba(143,182,255,.4); text-underline-offset: 3px; }
.bh-prose a:hover { color: #fff; text-decoration-color: #fff; }
.bh-prose strong, .bh-prose b { color: #fff; }
.bh-prose ul, .bh-prose ol { margin: 0 0 18px; padding-left: 22px; }
.bh-prose li { margin: 6px 0; }
.bh-prose li::marker { color: var(--bh-blue); }
.bh-prose hr { border: 0; border-top: 1px solid var(--bh-line); margin: 36px 0; }
.bh-prose code { font-family: var(--bh-mono); font-size: .88em; color: #d9ffa8; background: rgba(180,242,90,.08); border: 1px solid rgba(180,242,90,.15); padding: 1px 6px; border-radius: 6px; }
.bh-prose pre { position: relative; margin: 0 0 20px; padding: 18px 20px; border-radius: 14px; background: #070a11; border: 1px solid var(--bh-line); overflow-x: auto; font-size: 13.5px; line-height: 1.7; }
.bh-prose pre code { color: #c6d0e2; background: none; border: 0; padding: 0; font-size: inherit; }
.bh-prose blockquote { margin: 0 0 20px; padding: 14px 18px; border-left: 3px solid var(--bh-blue); background: var(--bh-surface); border-radius: 0 12px 12px 0; color: #d3dbea; }
.bh-prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14.5px; display: block; overflow-x: auto; }
.bh-prose th, .bh-prose td { padding: 11px 14px; border: 1px solid var(--bh-line); text-align: left; }
.bh-prose th { background: var(--bh-surface); color: #fff; font-weight: 600; }
.bh-prose img { max-width: 100%; border-radius: 12px; }
.bh-copy-btn { position: absolute; top: 10px; right: 10px; padding: 5px 10px; border-radius: 8px; font: 600 11.5px var(--bh-font); color: #c9d2e3; background: rgba(255,255,255,.06); border: 1px solid var(--bh-line-2); cursor: pointer; opacity: 0; transition: opacity .2s; }
.bh-prose pre:hover .bh-copy-btn { opacity: 1; }
.bh-copy-btn.done { color: var(--bh-lime); border-color: rgba(180,242,90,.4); }

/* ---------- doc layout (legal + articles): TOC sidebar ---------- */
.bh-doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.bh-doc-wide { grid-template-columns: minmax(0, 1fr) 300px; }
.bh-toc { position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 4px 0; }
.bh-toc-title { font: 600 11.5px var(--bh-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--bh-muted); margin: 0 0 12px; }
.bh-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--bh-line-2); }
.bh-toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--bh-muted); font-size: 13.5px; line-height: 1.4; text-decoration: none; transition: color .15s, border-color .15s; }
.bh-toc li a:hover { color: #fff; }
.bh-toc li a.active { color: #fff; border-left-color: var(--bh-blue); }
.bh-toc-aside { display: grid; gap: 16px; position: sticky; top: 92px; }
.bh-doc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 18px; margin-bottom: 28px; border-radius: 14px; background: var(--bh-surface); border: 1px solid var(--bh-line); font-size: 13.5px; color: var(--bh-muted); }
.bh-doc-meta b { color: #fff; font-weight: 600; }
.bh-doc-meta i { color: var(--bh-blue); margin-right: 6px; }
.bh-legal-nav { display: grid; gap: 6px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--bh-line); }
.bh-legal-nav a { display: flex; align-items: center; gap: 10px; color: var(--bh-muted); font-size: 13.5px; text-decoration: none; padding: 6px 0; }
.bh-legal-nav a:hover, .bh-legal-nav a.on { color: #fff; }
.bh-legal-nav a i { width: 16px; color: var(--bh-blue); }

/* app identity card (Play compliance) */
.bh-appcard { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; border-radius: 18px; margin-bottom: 28px;
    background: radial-gradient(400px circle at 0% 0%, rgba(180,242,90,.08), transparent 60%), var(--bh-surface); border: 1px solid rgba(180,242,90,.25); }
.bh-appcard-id { display: flex; gap: 14px; align-items: center; }
.bh-appcard-id img { border-radius: 14px; flex: none; }
.bh-appcard-id b { display: block; color: #fff; font-size: 16px; }
.bh-appcard-id small { display: block; color: var(--bh-muted); font-size: 13px; margin-top: 2px; }
.bh-appcard-id code { font-family: var(--bh-mono); color: #8fb6ff; font-size: 12.5px; }
.bh-appcard-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- forms ---------- */
.bh-form { display: grid; gap: 16px; }
.bh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bh-field label { display: block; font-size: 13px; font-weight: 600; color: #d3dbea; margin-bottom: 7px; }
.bh-field label em { color: #ff7b7b; font-style: normal; }
.bh-field input, .bh-field select, .bh-field textarea {
    width: 100%; box-sizing: border-box; padding: 13px 15px; border-radius: 12px; font: 15px var(--bh-font); color: #fff;
    background: #070a11; border: 1px solid var(--bh-line-2); outline: none; transition: border-color .2s, box-shadow .2s; }
.bh-field textarea { min-height: 140px; resize: vertical; }
.bh-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8b96ab 50%), linear-gradient(135deg, #8b96ab 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.bh-field input:focus, .bh-field select:focus, .bh-field textarea:focus { border-color: var(--bh-blue); box-shadow: 0 0 0 4px rgba(61,126,255,.15); }
.bh-field small { display: block; margin-top: 6px; color: var(--bh-muted); font-size: 12.5px; }
.bh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #c9d2e3; line-height: 1.55; cursor: pointer; }
.bh-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--bh-blue); flex: none; }
.bh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bh-alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; margin-bottom: 18px; }
.bh-alert > i { font-size: 20px; margin-top: 2px; }
.bh-alert b { display: block; color: #fff; font-size: 16px; margin-bottom: 3px; }
.bh-alert p { margin: 0; font-size: 14.5px; color: #c9d2e3; }
.bh-alert.ok { background: rgba(180,242,90,.07); border: 1px solid rgba(180,242,90,.35); } .bh-alert.ok > i { color: var(--bh-lime); }
.bh-alert.err { background: rgba(255,95,87,.07); border: 1px solid rgba(255,95,87,.35); } .bh-alert.err > i { color: #ff7b7b; }
.bh-ref { font-family: var(--bh-mono); color: var(--bh-lime); background: rgba(180,242,90,.1); padding: 2px 8px; border-radius: 6px; }

/* ---------- search + tabs ---------- */
.bh-search { position: relative; max-width: 560px; }
.bh-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--bh-muted); }
.bh-search input { width: 100%; box-sizing: border-box; padding: 16px 18px 16px 48px; border-radius: 14px; font: 15.5px var(--bh-font); color: #fff; background: rgba(7,10,17,.9); border: 1px solid var(--bh-line-2); outline: none; transition: border-color .2s, box-shadow .2s; }
.bh-search input:focus { border-color: var(--bh-blue); box-shadow: 0 0 0 4px rgba(61,126,255,.15); }
.bh-search kbd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 600 11px var(--bh-mono); color: var(--bh-muted); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--bh-line-2); }
.bh-phero-center .bh-search { margin: 28px auto 0; }
.bh-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.bh-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px; font: 600 13.5px var(--bh-font); color: #c9d2e3; background: var(--bh-surface); border: 1px solid var(--bh-line); cursor: pointer; transition: all .2s; }
.bh-tabs button:hover { color: #fff; border-color: var(--bh-line-2); }
.bh-tabs button.active { color: #fff; background: var(--bh-blue); border-color: var(--bh-blue); box-shadow: 0 8px 20px -8px rgba(61,126,255,.8); }
.bh-tabs button em { font-style: normal; font-size: 11.5px; opacity: .7; }
.bh-empty { display: none; text-align: center; padding: 40px 20px; color: var(--bh-muted); border: 1px dashed var(--bh-line-2); border-radius: 16px; }
.bh-empty.show { display: block; }
.bh-empty i { font-size: 28px; color: var(--bh-blue); display: block; margin-bottom: 10px; }

/* ---------- FAQ page ---------- */
.bh-faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.bh-faq-side { position: sticky; top: 92px; display: grid; gap: 16px; }
.bh-faq-side .bh-tabs { flex-direction: column; }
.bh-faq-side .bh-tabs button { justify-content: space-between; border-radius: 12px; width: 100%; }
.bh-faq-group { margin-bottom: 36px; }
.bh-faq-group h2 { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 22px; margin: 0 0 14px; scroll-margin-top: 96px; }
.bh-faq-group h2 i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; color: var(--bh-blue); background: var(--bh-blue-soft); }
.bh-faq details p, .bh-faq details ul { margin: 0; padding: 0 22px 18px; color: var(--bh-muted); line-height: 1.7; font-size: 14.5px; }
.bh-faq details ul { padding-left: 42px; }
.bh-faq details li { margin: 4px 0; }
.bh-faq details b, .bh-faq details strong { color: #fff; }
.bh-faq details a { color: #8fb6ff; }
.bh-faq details code { font-family: var(--bh-mono); font-size: .9em; color: #d9ffa8; }
.bh-faq details mark { background: rgba(245,181,68,.3); color: #fff; border-radius: 3px; padding: 0 2px; }

/* ---------- pricing page ---------- */
.bh-pricing-head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 40px; }
.bh-plan-free { border-color: rgba(180,242,90,.25); }
.bh-plan-free .bh-plan-name { color: var(--bh-lime); }
.bh-plan .bh-plan-desc { color: var(--bh-muted); font-size: 14px; margin: 2px 0 14px; line-height: 1.5; }
.bh-plan .bh-btn + .bh-plan-alt { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: #8fb6ff; text-decoration: none; }
.bh-plan .bh-btn + .bh-plan-alt:hover { color: #fff; }
.bh-custom { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 28px; align-items: center; margin-top: 26px; padding: 28px 30px; border-radius: 22px;
    background: radial-gradient(500px circle at 100% 0%, rgba(61,126,255,.18), transparent 60%), var(--bh-surface); border: 1px solid rgba(61,126,255,.25); }
.bh-custom h3 { color: #fff; font-size: 22px; margin: 0 0 6px; }
.bh-custom p { color: var(--bh-muted); margin: 0; font-size: 14.5px; line-height: 1.6; }
.bh-custom ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.bh-custom li { font-size: 14px; color: #c9d2e3; display: flex; gap: 8px; align-items: center; }
.bh-custom li i { color: var(--bh-lime); font-size: 12px; }
.bh-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.bh-trust span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: 13.5px; color: #d3dbea; background: var(--bh-surface); border: 1px solid var(--bh-line); }
.bh-trust i { color: var(--bh-lime); }
.bh-matrix td:not(:first-child), .bh-matrix th:not(:first-child) { text-align: center; }
.bh-matrix td.cat { background: rgba(255,255,255,.02); color: var(--bh-muted); font: 600 11.5px var(--bh-mono); text-transform: uppercase; letter-spacing: .1em; }
.bh-matrix i.y { color: var(--bh-lime); } .bh-matrix i.n { color: #4b5568; }

/* ---------- features page ---------- */
.bh-feat-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.bh-feat-row + .bh-feat-row { margin-top: 96px; }
.bh-feat-row.flip .bh-feat-visual { order: -1; }
.bh-feat-copy h3 { color: #fff; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.03em; margin: 10px 0 14px; }
.bh-feat-copy p { color: var(--bh-muted); font-size: 16px; line-height: 1.7; margin: 0 0 18px; }
.bh-feat-copy .bh-list { margin: 0; }
.bh-feat-visual { position: relative; border-radius: 22px; padding: 22px; background: radial-gradient(400px circle at 80% 0%, rgba(61,126,255,.16), transparent 60%), var(--bh-surface); border: 1px solid var(--bh-line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); min-height: 300px; }
.bh-fm { border-radius: 14px; background: #070a11; border: 1px solid var(--bh-line); overflow: hidden; }
.bh-fm-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--bh-line); font: 12px var(--bh-mono); color: var(--bh-muted); }
.bh-fm-bar b { color: #fff; font-weight: 500; }
.bh-fm-row { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid rgba(148,163,184,.06); font-size: 13.5px; color: #d3dbea; }
.bh-fm-row:last-child { border-bottom: 0; }
.bh-fm-row i { color: #8fb6ff; text-align: center; }
.bh-fm-row i.fa-folder { color: var(--bh-amber); }
.bh-fm-row i.fa-python { color: #ffd43b; }
.bh-fm-row small { color: var(--bh-muted); font-family: var(--bh-mono); font-size: 11.5px; }
.bh-fm-row.hl { background: rgba(61,126,255,.08); }
.bh-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bh-pill-row span { font: 500 12px var(--bh-mono); padding: 5px 10px; border-radius: 8px; color: #c9d2e3; background: rgba(255,255,255,.04); border: 1px solid var(--bh-line); }
.bh-stack { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.bh-stack div { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px; border-radius: 16px; background: var(--bh-surface); border: 1px solid var(--bh-line); color: #d3dbea; font-size: 13.5px; font-weight: 500; transition: border-color .2s, transform .2s; }
.bh-stack div:hover { border-color: rgba(61,126,255,.4); transform: translateY(-3px); }
.bh-stack i { font-size: 26px; color: #8fb6ff; }

/* ---------- how it works: stepper ---------- */
.bh-stepper { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 36px; align-items: start; }
.bh-stepper-list { display: grid; gap: 10px; }
.bh-stepper-list button { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 16px; cursor: pointer; overflow: hidden;
    background: var(--bh-surface); border: 1px solid var(--bh-line); color: inherit; font: inherit; transition: border-color .25s, background .25s; }
.bh-stepper-list button span.n { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 700 14px var(--bh-mono); color: var(--bh-muted); background: rgba(255,255,255,.04); border: 1px solid var(--bh-line); transition: all .25s; }
.bh-stepper-list button b { display: block; color: #fff; font-size: 15.5px; margin-bottom: 3px; }
.bh-stepper-list button small { display: block; color: var(--bh-muted); font-size: 13.5px; line-height: 1.5; }
.bh-stepper-list button.active { border-color: rgba(61,126,255,.5); background: linear-gradient(90deg, rgba(61,126,255,.1), transparent 70%), var(--bh-surface); }
.bh-stepper-list button.active span.n { color: #fff; background: var(--bh-blue); border-color: var(--bh-blue); box-shadow: 0 8px 20px -8px rgba(61,126,255,.9); }
.bh-stepper-list button i.bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--bh-blue), var(--bh-lime)); }
.bh-stepper-list button.active i.bar { animation: bhStepBar 6s linear forwards; }
@keyframes bhStepBar { to { width: 100%; } }
.bh-stepper-stage { position: sticky; top: 92px; }
.bh-stage { display: none; border-radius: 22px; padding: 22px; min-height: 420px; background: radial-gradient(500px circle at 80% 0%, rgba(61,126,255,.16), transparent 60%), var(--bh-surface); border: 1px solid var(--bh-line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.bh-stage.active { display: block; animation: bhStageIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes bhStageIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.bh-mock { border-radius: 14px; background: #070a11; border: 1px solid var(--bh-line); overflow: hidden; }
.bh-mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--bh-line); }
.bh-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a3242; }
.bh-mock-bar span:nth-child(1) { background: #ff5f57; } .bh-mock-bar span:nth-child(2) { background: #febc2e; } .bh-mock-bar span:nth-child(3) { background: #28c840; }
.bh-mock-bar em { margin-left: 8px; font: normal 12px var(--bh-mono); color: var(--bh-muted); }
.bh-mock-body { padding: 22px; display: grid; gap: 14px; }
.bh-mock-input { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--bh-line-2); color: #c9d2e3; font-size: 14px; background: rgba(255,255,255,.02); }
.bh-mock-input.focus { border-color: var(--bh-blue); box-shadow: 0 0 0 3px rgba(61,126,255,.15); }
.bh-mock-btn { padding: 12px; border-radius: 10px; text-align: center; color: #fff; font-weight: 600; font-size: 14px; background: var(--bh-blue); }
.bh-mock-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bh-mock-choice div { padding: 16px; border-radius: 12px; border: 1px solid var(--bh-line-2); text-align: center; color: #d3dbea; font-size: 14px; }
.bh-mock-choice div i { display: block; font-size: 24px; margin-bottom: 8px; }
.bh-mock-choice div.on { border-color: var(--bh-blue); background: var(--bh-blue-soft); color: #fff; }
.bh-mock-drop { padding: 30px; border-radius: 12px; border: 1.5px dashed rgba(61,126,255,.5); text-align: center; color: var(--bh-muted); font-size: 14px; }
.bh-mock-drop i { display: block; font-size: 30px; color: var(--bh-blue); margin-bottom: 8px; }
.bh-mock-prog { height: 6px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.bh-mock-prog i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--bh-blue), var(--bh-lime)); }
.bh-stage.active .bh-mock-prog i { animation: bhProg 2.2s ease-out .3s forwards; }
@keyframes bhProg { to { width: 100%; } }
.bh-mock-log { font: 13px/1.9 var(--bh-mono); color: #c6d0e2; }
.bh-mock-log .ok { color: var(--bh-lime); } .bh-mock-log .m { color: #6b778d; }

/* ---------- about page ---------- */
.bh-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.bh-founder { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 26px; border-radius: 22px; background: radial-gradient(400px circle at 0% 0%, rgba(61,126,255,.15), transparent 60%), var(--bh-surface); border: 1px solid var(--bh-line-2); }
.bh-founder-av { width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; font: 700 30px var(--bh-display); color: #fff; background: linear-gradient(135deg, var(--bh-blue), #1f5beb); box-shadow: 0 16px 40px -14px rgba(61,126,255,.8); }
.bh-founder b { display: block; color: #fff; font-size: 19px; }
.bh-founder small { display: block; color: var(--bh-lime); font: 600 12px var(--bh-mono); text-transform: uppercase; letter-spacing: .08em; margin: 3px 0 10px; }
.bh-founder p { margin: 0; color: var(--bh-muted); font-size: 14.5px; line-height: 1.6; }
.bh-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--bh-line); border: 1px solid var(--bh-line); border-radius: 20px; overflow: hidden; }
.bh-facts div { background: var(--bh-bg); padding: 26px 22px; }
.bh-facts b { display: block; font: 700 30px var(--bh-display); color: #fff; letter-spacing: -.03em; }
.bh-facts span { color: var(--bh-muted); font-size: 14px; }

/* ---------- contact page ---------- */
.bh-contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: start; }
.bh-channel { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 18px; background: var(--bh-surface); border: 1px solid var(--bh-line); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.bh-channel:hover { border-color: rgba(61,126,255,.45); transform: translateY(-3px); color: inherit; }
.bh-channel .bh-ic { margin: 0; flex: none; }
.bh-channel b { display: block; color: #fff; font-size: 16px; }
.bh-channel small { display: block; color: var(--bh-muted); font-size: 13.5px; margin-top: 2px; }
.bh-channel .go { margin-left: auto; color: var(--bh-muted); font-size: 12px; }
.bh-channel em { font-style: normal; font: 600 11px var(--bh-mono); color: var(--bh-lime); background: rgba(180,242,90,.1); padding: 3px 8px; border-radius: 99px; margin-left: 8px; vertical-align: 1px; }
.bh-channels { display: grid; gap: 12px; }

/* ---------- blog list ---------- */
.bh-blog-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.bh-blog-tools .bh-search { flex: 1 1 320px; max-width: 420px; }
.bh-featured { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 0; border-radius: 24px; overflow: hidden; margin-bottom: 40px; border: 1px solid var(--bh-line-2); background: var(--bh-surface); text-decoration: none; color: inherit; transition: border-color .25s, transform .25s; }
.bh-featured:hover { border-color: rgba(61,126,255,.5); transform: translateY(-4px); color: inherit; }
.bh-featured-art { position: relative; min-height: 300px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(500px circle at 30% 30%, var(--c, #3d7eff), transparent 70%), #070a11; }
.bh-featured-art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 14px 14px; opacity: .5; }
.bh-featured-art i { position: relative; z-index: 1; font-size: 96px; color: #fff; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.bh-featured-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.bh-featured-body h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 0; letter-spacing: -.02em; }
.bh-featured-body p { color: var(--bh-muted); margin: 0; font-size: 15.5px; line-height: 1.65; }
.bh-post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--bh-muted); }
.bh-post-meta i { color: var(--bh-blue); margin-right: 5px; }
.bh-cat { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px var(--bh-mono); text-transform: uppercase; letter-spacing: .08em; color: #8fb6ff; }
.bh-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bh-post { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--bh-surface); border: 1px solid var(--bh-line); text-decoration: none; color: inherit; transition: border-color .25s, transform .25s, box-shadow .25s; }
.bh-post:hover { border-color: rgba(61,126,255,.45); transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(61,126,255,.4); color: inherit; }
.bh-post-art { position: relative; height: 150px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(300px circle at 30% 20%, var(--c, #3d7eff), transparent 75%), #070a11; }
.bh-post-art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 12px 12px; }
.bh-post-art i { position: relative; z-index: 1; font-size: 46px; color: #fff; transition: transform .3s; }
.bh-post:hover .bh-post-art i { transform: scale(1.1) rotate(-4deg); }
.bh-post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bh-post-body h3 { color: #fff; font-size: 17.5px; line-height: 1.35; margin: 0; }
.bh-post-body p { color: var(--bh-muted); font-size: 14px; line-height: 1.6; margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bh-post.hide { display: none; }

/* ---------- blog post ---------- */
.bh-article-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--bh-line); position: relative; isolation: isolate; overflow: hidden; }
.bh-article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 85% -10%, var(--c, rgba(61,126,255,.35)), transparent 70%); opacity: .45; }
.bh-article-hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -.035em; margin: 14px 0 18px; max-width: 900px; }
.bh-article-hero .bh-lead { max-width: 760px; font-size: 18px; }
.bh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bh-tags span { font: 500 12px var(--bh-mono); padding: 5px 10px; border-radius: 8px; color: #c9d2e3; background: rgba(255,255,255,.04); border: 1px solid var(--bh-line); }
.bh-side-card { padding: 20px; border-radius: 18px; background: var(--bh-surface); border: 1px solid var(--bh-line); }
.bh-side-card h4 { color: #fff; font-size: 15px; margin: 0 0 8px; }
.bh-side-card p { color: var(--bh-muted); font-size: 13.5px; line-height: 1.55; margin: 0 0 14px; }
.bh-side-card.cta { background: radial-gradient(300px circle at 100% 0%, rgba(61,126,255,.25), transparent 60%), var(--bh-surface); border-color: rgba(61,126,255,.3); }
.bh-share { display: flex; gap: 8px; }
.bh-share a, .bh-share button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--bh-line-2); background: rgba(255,255,255,.03); color: #c9d2e3; cursor: pointer; text-decoration: none; transition: all .2s; font-size: 15px; }
.bh-share a:hover, .bh-share button:hover { color: #fff; border-color: var(--bh-blue); background: var(--bh-blue-soft); }
.bh-share button.done { color: var(--bh-lime); border-color: var(--bh-lime); }
.bh-author { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding: 22px; border-radius: 18px; background: var(--bh-surface); border: 1px solid var(--bh-line); }
.bh-author img { border-radius: 14px; flex: none; background: #0b1530; }
.bh-author b { display: block; color: #fff; }
.bh-author p { margin: 4px 0 0; color: var(--bh-muted); font-size: 14px; line-height: 1.55; }

/* ---------- free trial ---------- */
.bh-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bh-path { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 22px; background: linear-gradient(180deg, var(--bh-surface-2), var(--bh-surface)); border: 1px solid var(--bh-line); }
.bh-path.rec { border-color: rgba(61,126,255,.5); box-shadow: 0 30px 60px -36px rgba(61,126,255,.6); }
.bh-path h3 { color: #fff; font-size: 20px; margin: 0; }
.bh-path p { color: var(--bh-muted); font-size: 14.5px; line-height: 1.6; margin: 0; flex: 1; }
.bh-path .bh-ic { margin: 0; }
.bh-path .bh-tag { position: absolute; top: 22px; right: 22px; }
.bh-numsteps { display: grid; gap: 14px; counter-reset: s; }
.bh-numsteps li { list-style: none; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.bh-numsteps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 13px var(--bh-mono); color: var(--bh-blue); background: var(--bh-blue-soft); border: 1px solid rgba(61,126,255,.25); }
.bh-numsteps b { display: block; color: #fff; margin-bottom: 2px; }
.bh-numsteps span { color: var(--bh-muted); font-size: 14.5px; line-height: 1.6; }
.bh-numsteps { padding: 0; margin: 0; }

/* ---------- 404 ---------- */
.bh-404 { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - 110px); display: grid; place-items: center; padding: 60px 0; text-align: center; }
.bh-404-num { font: 700 clamp(120px, 22vw, 260px) var(--bh-display); line-height: .9; letter-spacing: -.06em; margin: 0; position: relative;
    background: linear-gradient(180deg, #fff 20%, rgba(143,182,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bh-404-num::before, .bh-404-num::after { content: attr(data-t); position: absolute; inset: 0; background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.bh-404-num::before { animation: bhGlitch 3s infinite steps(1); text-shadow: -3px 0 rgba(61,126,255,.8); }
.bh-404-num::after { animation: bhGlitch 2.4s infinite steps(1) reverse; text-shadow: 3px 0 rgba(180,242,90,.6); }
@keyframes bhGlitch { 0%, 88%, 100% { clip-path: inset(0 0 100% 0); transform: none; } 90% { clip-path: inset(20% 0 55% 0); transform: translateX(-6px); } 93% { clip-path: inset(60% 0 15% 0); transform: translateX(6px); } 96% { clip-path: inset(40% 0 35% 0); transform: translateX(-3px); } }
.bh-404 h1 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin: 14px 0 12px; letter-spacing: -.03em; }
.bh-404 .bh-lead { margin: 0 auto; }
.bh-404-term { max-width: 560px; margin: 30px auto 0; text-align: left; }
.bh-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.bh-404-links a { padding: 8px 14px; border-radius: 10px; font-size: 13.5px; color: #c9d2e3; background: var(--bh-surface); border: 1px solid var(--bh-line); text-decoration: none; }
.bh-404-links a:hover { color: #fff; border-color: var(--bh-blue); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .bh-doc, .bh-doc-wide, .bh-faq-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .bh-toc, .bh-faq-side, .bh-toc-aside { position: static; max-height: none; }
    .bh-doc .bh-toc { display: none; }
    .bh-faq-side .bh-tabs { flex-direction: row; }
    .bh-faq-side .bh-tabs button { width: auto; }
    .bh-grid-4, .bh-facts { grid-template-columns: repeat(2, 1fr); }
    .bh-grid-3, .bh-posts, .bh-paths { grid-template-columns: repeat(2, 1fr); }
    .bh-stack { grid-template-columns: repeat(3, 1fr); }
    .bh-stepper { grid-template-columns: minmax(0,1fr); }
    .bh-stepper-stage { position: static; }
    .bh-custom { grid-template-columns: 1fr; }
    .bh-feat-row { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .bh-feat-row.flip .bh-feat-visual { order: 0; }
    .bh-story, .bh-contact { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 720px) {
    .bh-phero { padding: 44px 0 40px; }
    .bh-phero .bh-lead { font-size: 16px; }
    .bh-grid-2, .bh-grid-3, .bh-grid-4, .bh-posts, .bh-paths, .bh-form-row { grid-template-columns: minmax(0,1fr); }
    .bh-facts { grid-template-columns: 1fr 1fr; }
    .bh-stack { grid-template-columns: repeat(2, 1fr); }
    .bh-featured { grid-template-columns: minmax(0,1fr); }
    .bh-featured-art { min-height: 180px; }
    .bh-featured-body { padding: 24px; }
    .bh-custom ul { grid-template-columns: 1fr; }
    .bh-prose { font-size: 16px; }
    .bh-stage { min-height: 0; }
    .bh-founder { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .bh-appcard { flex-direction: column; align-items: flex-start; }
}

/* boxes inside legal prose */
.bh-box { padding: 18px 20px; border-radius: 14px; margin: 20px 0; background: var(--bh-surface); border: 1px solid var(--bh-line-2); color: #d3dbea; }
.bh-box > *:last-child { margin-bottom: 0; }
.bh-box.ok { background: rgba(180,242,90,.05); border-color: rgba(180,242,90,.3); }
.bh-box.danger { background: rgba(255,95,87,.05); border-color: rgba(255,95,87,.3); }
.bh-box.blue { background: rgba(61,126,255,.06); border-color: rgba(61,126,255,.3); }
.bh-box ul { margin-bottom: 12px; }
.bh-kv { display: grid; gap: 6px; font-size: 14.5px; }
.bh-kv b { color: #fff; }
.bh-retain { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.bh-retain > div { padding: 22px; border-radius: 16px; background: var(--bh-surface); border: 1px solid var(--bh-line); }
.bh-retain h3 { margin-top: 0 !important; display: flex; gap: 10px; align-items: center; font-size: 16.5px !important; }
.bh-retain .del h3 i { color: #ff7b7b; } .bh-retain .keep h3 i { color: var(--bh-lime); }
.bh-retain ul { margin: 0; font-size: 14.5px; }
@media (max-width: 720px) { .bh-retain { grid-template-columns: 1fr; } }

/* pricing: 4-up plans */
.bh-plans-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bh-plans-4 .bh-plan { padding: 28px 22px; }
.bh-plans-4 .bh-plan-price b { font-size: 40px; }
.bh-plans-4 .bh-plan-hot { transform: none; }
.bh-plans-4 .bh-plan-hot:hover { transform: translateY(-6px); }
.bh-plan-badge { position: absolute; top: 18px; right: 18px; }
@media (max-width: 1080px) { .bh-plans-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .bh-plans-4 { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
    .bh-stepper-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 22px; gap: 10px; margin: 0 -22px; padding: 0 22px 6px; scrollbar-width: none; }
    .bh-stepper-list::-webkit-scrollbar { display: none; }
    .bh-stepper-list button { flex: 0 0 82%; scroll-snap-align: start; }
    .bh-stage { padding: 14px; }
    .bh-mock-body { padding: 16px; }
}
@media (max-width: 1080px) { .bh-faq-side .bh-side-card { display: none; } }
@media (max-width: 720px) { .bh-search kbd { display: none; } .bh-tabs button { padding: 8px 12px; font-size: 13px; } }
.bh-posts .bh-post.dup { display: none; }
.is-filtering .bh-posts .bh-post.dup { display: flex; }
@media (max-width: 720px) {
    .bh-blog-tools .bh-tabs, .bh-faq-side .bh-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -22px; padding: 2px 22px 6px; scrollbar-width: none; width: calc(100% + 44px); }
    .bh-blog-tools .bh-tabs::-webkit-scrollbar, .bh-faq-side .bh-tabs::-webkit-scrollbar { display: none; }
    .bh-blog-tools .bh-tabs button, .bh-faq-side .bh-tabs button { flex: none; white-space: nowrap; }
    .bh-blog-tools { gap: 12px; }
}
.bh-del-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
@media (max-width: 1080px) { .bh-del-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 720px) { .bh-panel { padding: 22px; } #delete-form, #form { padding: 22px !important; } }

/* telegram chat mock (free trial) */
.bh-tgchat { border-radius: 18px; overflow: hidden; background: #0e1621; border: 1px solid var(--bh-line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.bh-tgchat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #17212b; border-bottom: 1px solid rgba(0,0,0,.3); }
.bh-tgchat-head img { border-radius: 50%; background: #0b1530; }
.bh-tgchat-head b { display: block; color: #fff; font-size: 14.5px; }
.bh-tgchat-head small { color: #6c8aa8; font-size: 12.5px; }
.bh-tgchat-body { padding: 18px 14px; display: grid; gap: 8px; background: radial-gradient(circle at 20% 20%, rgba(42,171,238,.08), transparent 50%), #0e1621; min-height: 330px; align-content: end; }
.bh-tgchat .m { max-width: 82%; padding: 9px 12px 7px; border-radius: 14px; font-size: 14px; line-height: 1.45; color: #e9eef5; position: relative; opacity: 0; transform: translateY(8px); animation: bhMsgIn .45s ease forwards; }
.bh-tgchat .m small { display: block; text-align: right; font-size: 11px; color: rgba(233,238,245,.45); margin-top: 2px; }
.bh-tgchat .m.bot { background: #182533; border-bottom-left-radius: 4px; justify-self: start; }
.bh-tgchat .m.me { background: #2b5278; border-bottom-right-radius: 4px; justify-self: end; }
.bh-tgchat .m code { font-family: var(--bh-mono); font-size: 12.5px; color: #8fd3ff; }
.bh-tgchat .m .ok { color: var(--bh-lime); }
.bh-tgchat .m:nth-child(1) { animation-delay: .2s; } .bh-tgchat .m:nth-child(2) { animation-delay: 1s; } .bh-tgchat .m:nth-child(3) { animation-delay: 1.8s; }
.bh-tgchat .m:nth-child(4) { animation-delay: 2.6s; } .bh-tgchat .m:nth-child(5) { animation-delay: 3.4s; }
@keyframes bhMsgIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bh-tgchat .m { animation: none; opacity: 1; transform: none; } }
.bh-trial { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 56px; align-items: center; }
@media (max-width: 1080px) { .bh-trial { grid-template-columns: minmax(0,1fr); gap: 32px; } }
.bh-paths-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px) { .bh-paths-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .bh-paths-4 { grid-template-columns: minmax(0,1fr); } }
