:root {
  --bh-blue: #196CDF;
  --bh-blue-dark-900: #0C4A9C;
  --bh-blue-dark-1000: #012957;
  --bh-blue-darker-1100: #041D33;
  --bh-blue-mid-700: #3782E7;
  --bh-blue-light-600: #519AF2;
  --bh-blue-light-400: #84C1FC;
  --bh-blue-light-200: #BADEFA;
  --bh-blue-light-100: #DBF1FC;
  --bh-blue-light-0: #F0FAFF;
  --bh-aqua: #29C9E0;
  --bh-aqua-dark-900: #11586B;
  --bh-aqua-dark-800: #1B7D95;
  --bh-aqua-dark-700: #26A2BA;
  --bh-aqua-light-100: #CDEDFF;
  --bh-aqua-light-0: #E5F7FF;
  --bh-gold: #F4C652;
  --bh-gold-dark-800: #B0842F;
  --bh-gold-dark-900: #8C621C;
  --bh-gold-light-100: #FDF3DC;
  --bh-night: #465D77;
  --bh-night-dark-1000: #1E293A;
  --bh-night-dark-900: #314662;
  --bh-night-dark-700: #617389;
  --bh-night-light-500: #939FB0;
  --bh-night-light-400: #C3C9D6;
  --bh-night-light-300: #D0D5E0;
  --bh-night-light-200: #DCE1EA;
  --bh-night-light-100: #E8EDF3;
  --bh-white: #FFFFFF;
  --bh-red: #D6455D;
  --bh-red-light: #FDECEF;
  --bh-font-primary: 'Poppins', system-ui, -apple-system, sans-serif;
  --bh-font-utility: 'Open Sans', system-ui, sans-serif;

  --radius: 18px;
  --shadow-1: 0 1px 2px rgba(4, 29, 51, .06), 0 4px 12px rgba(4, 29, 51, .05);
  --shadow-2: 0 2px 6px rgba(4, 29, 51, .06), 0 18px 40px -12px rgba(4, 29, 51, .18);
  --shadow-3: 0 30px 80px -24px rgba(1, 41, 87, .35), 0 8px 24px -8px rgba(1, 41, 87, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(20px, 3.2vw, 56px);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
.hero-copy, .stage { min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--bh-font-primary); color: var(--bh-night-dark-1000);
  font-size: 16px; line-height: 1.45; letter-spacing: -.01em; background: var(--bh-white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 600; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--bh-blue); }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1680px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--bh-night); font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.topbar.scrolled { border-bottom-color: var(--bh-night-light-200); }
.topbar-in { max-width: 1680px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 32px; }
.topnav { display: flex; gap: 24px; }
.topnav a { color: var(--bh-night); text-decoration: none; font-size: 15px; font-weight: 500; }
.topnav a:hover { color: var(--bh-blue); }
.proto-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--bh-blue-dark-900); background: var(--bh-blue-light-0); border: 1px solid var(--bh-blue-light-200); padding: 6px 14px; border-radius: 999px; }
.proto-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bh-aqua); box-shadow: 0 0 0 4px rgba(41,201,224,.2); animation: pulse 2.4s infinite; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bh-blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(25,108,223,.65); }
.btn-primary:hover { background: var(--bh-blue-dark-900); }
.btn-primary:disabled { background: var(--bh-night-light-400); box-shadow: none; cursor: not-allowed; }
.btn-primary:disabled em { font-style: normal; font-weight: 500; opacity: .85; }
.btn-secondary { background: #fff; color: var(--bh-blue); box-shadow: inset 0 0 0 1.5px var(--bh-blue); }
.btn-secondary:hover { background: var(--bh-blue-light-0); }
.btn-lg { padding: 0 28px; height: 60px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label { opacity: .8; }
.link-btn { background: none; border: 0; color: var(--bh-blue-light-400); font-weight: 600; font-size: 13px; cursor: pointer; padding: 2px 6px; }
.link-btn:hover { color: #fff; }
.text-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-in { max-width: 1680px; margin: 0 auto; padding: clamp(28px, 5vh, 64px) var(--gutter) clamp(36px, 6vh, 72px); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 80px); align-items: center; min-height: calc(100vh - 64px); max-height: 980px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--bh-blue-dark-900); margin-bottom: 22px; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bh-blue); box-shadow: 0 0 0 5px var(--bh-blue-light-100); }
.hero h1 { font-size: clamp(42px, 4.6vw, 76px); line-height: 1.04; letter-spacing: -.045em; color: var(--bh-blue-darker-1100); max-width: 13ch; }
.hero h1 .hl { background: linear-gradient(100deg, var(--bh-blue) 10%, var(--bh-aqua-dark-700) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 22px; font-size: clamp(17px, 1.25vw, 20px); color: var(--bh-night); max-width: 34em; }
.scan-form { width: 100%; margin-top: 34px; display: flex; align-items: center; gap: 8px; max-width: 640px; padding: 7px 7px 7px 20px; background: #fff; border-radius: 20px; border: 1.5px solid var(--bh-night-light-300); box-shadow: var(--shadow-2); transition: border-color .2s, box-shadow .2s; }
.scan-form:focus-within { border-color: var(--bh-blue); box-shadow: 0 0 0 5px rgba(25,108,223,.12), var(--shadow-2); }
.scan-icon { color: var(--bh-night-light-500); display: grid; }
.scan-icon svg { width: 22px; height: 22px; }
.scan-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 19px; color: var(--bh-night-dark-1000); background: transparent; height: 52px; }
.scan-form input::placeholder { color: var(--bh-night-light-500); }
.form-error { min-height: 22px; margin-top: 10px; color: var(--bh-red); font-size: 14px; font-weight: 500; }
.hero-chips { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-chips li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--bh-night-dark-900); }
.hero-chips svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--bh-aqua-light-0); stroke: var(--bh-aqua-dark-800); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Stage */
.stage { position: relative; height: min(600px, 68vh); min-height: 460px; perspective: 1600px; }
.stage-glow { position: absolute; inset: 8% 4% 6% 10%; border-radius: 40px; background: var(--bh-blue-light-0); border: 1px solid var(--bh-blue-light-100); }
.stage-glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(var(--bh-blue-light-200) 1.2px, transparent 1.4px); background-size: 22px 22px; opacity: .6; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.chatwin { position: absolute; left: 14%; right: 6%; top: 14%; background: #fff; border-radius: 22px; box-shadow: var(--shadow-3); border: 1px solid var(--bh-night-light-200); transform: rotateY(-9deg) rotateX(4deg); transform-origin: 30% 50%; animation: floaty 9s ease-in-out infinite; overflow: hidden; }
.chatwin-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--bh-night-light-100); }
.chatwin-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--bh-night-light-300); }
.chatwin-bar em { margin-left: 10px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--bh-night); }
.chatwin-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 16px; min-height: 360px; }
.msg-user { align-self: flex-end; background: var(--bh-night-light-100); border-radius: 18px 18px 4px 18px; padding: 11px 16px; font-size: 15px; font-weight: 500; max-width: 82%; min-height: 44px; }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--bh-blue); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.typed.done::after { display: none; }
.msg-ai { display: flex; gap: 12px; align-items: flex-start; opacity: 0; transition: opacity .4s; }
.msg-ai.show { opacity: 1; }
.ai-avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; background: conic-gradient(from 30deg, var(--bh-blue), var(--bh-aqua), var(--bh-blue-light-400), var(--bh-blue)); animation: spin 6s linear infinite; }
.ai-lines { flex: 1; display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.ai-lines i { display: block; height: 11px; border-radius: 6px; background: linear-gradient(90deg, var(--bh-night-light-100) 0%, var(--bh-night-light-200) 40%, var(--bh-night-light-100) 80%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.biz-card { margin-left: 42px; border: 1px solid var(--bh-night-light-200); border-radius: 16px; padding: 16px 18px; background: #fff; box-shadow: var(--shadow-2); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.biz-card.show { opacity: 1; transform: none; }
.biz-top { display: flex; gap: 12px; align-items: center; }
.biz-logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 600; font-size: 20px; color: #fff; background: linear-gradient(140deg, var(--bh-blue-darker-1100), var(--bh-blue-dark-900)); }
.biz-name { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.verified { display: inline-grid; width: 20px; height: 20px; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1) .35s; }
.biz-card.show .verified { transform: scale(1); }
.verified svg path:first-child { fill: var(--bh-blue); }
.biz-meta { font-size: 13px; color: var(--bh-night); margin-top: 2px; }
.biz-desc { font-size: 14px; color: var(--bh-night-dark-900); margin-top: 10px; }
.biz-actions { display: flex; gap: 8px; margin-top: 14px; }
.biz-btn { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 10px; background: var(--bh-blue); color: #fff; }
.biz-btn.ghost { background: var(--bh-blue-light-0); color: var(--bh-blue-dark-900); }
.float { position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 18px 12px 12px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-3); border: 1px solid var(--bh-night-light-200); opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.float small { grid-column: 2; font-weight: 500; font-size: 12px; color: var(--bh-night); }
.float .fi { grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bh-blue-light-100); }
.float .fi svg { width: 20px; height: 20px; fill: none; stroke: var(--bh-blue-dark-900); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.float .fi.aqua { background: var(--bh-aqua-light-100); } .float .fi.aqua svg { stroke: var(--bh-aqua-dark-900); }
.float .fi.gold { background: var(--bh-gold-light-100); } .float .fi.gold svg { stroke: var(--bh-gold-dark-900); }
.float.show { opacity: 1; transform: none; }
.f1 { right: 2%; bottom: 14%; animation: bob 7s ease-in-out infinite; }
.f2 { right: 0; top: 2%; animation: bob 8s ease-in-out -2s infinite; }
.f3 { left: 4%; bottom: 4%; animation: bob 7.5s ease-in-out -4s infinite; }

/* ---------- How / FAQ (pre-scan) ---------- */
.how { padding: 0 0 72px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.how-steps li { position: relative; padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--bh-night-light-200); box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s; }
.how-steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.how-steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bh-blue-light-0); color: var(--bh-blue); font-size: 15px; margin-bottom: 16px; }
.how-steps h3 { font-size: 18px; letter-spacing: -.02em; }
.how-steps p { font-size: 14px; color: var(--bh-night); margin-top: 6px; }
.faq { padding: 72px 0 96px; background: var(--bh-night-light-100); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.faq h2 { font-size: clamp(30px, 2.6vw, 44px); line-height: 1.1; color: var(--bh-blue-darker-1100); }
.faq-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.faq-item { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-1); }
.faq-item h4 { font-size: 18px; margin-bottom: 8px; }
.faq-item p { font-size: 15px; color: var(--bh-night); }
body.scanned .how, body.scanned .faq { display: none; }

/* ---------- Workspace ---------- */
.workspace { padding: 8px 0 96px; background: linear-gradient(180deg, #fff 0, var(--bh-blue-light-0) 240px, #f7fafd 100%); border-top: 1px solid var(--bh-night-light-200); }
.ws-in { max-width: 1680px; margin: 0 auto; padding: 32px var(--gutter) 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.rail { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.rail-card { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; border: 1px solid var(--bh-night-light-200); }
.ring { --p: 0; --c: var(--bh-blue); width: 164px; height: 164px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--bh-night-light-100) 0); transition: --p 1.2s var(--ease); position: relative; }
.ring::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, transparent 60%, rgba(25,108,223,.10) 61%, transparent 72%); }
.ring-in { width: 132px; height: 132px; border-radius: 50%; background: #fff; display: grid; place-content: center; box-shadow: inset 0 2px 10px rgba(4,29,51,.06); }
.ring-in strong { font-size: 48px; line-height: 1; letter-spacing: -.04em; color: var(--bh-blue-darker-1100); }
.ring-in span { font-size: 12px; font-weight: 600; color: var(--bh-night); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.rail-verdict { font-weight: 600; font-size: 18px; }
.rail-host { font-size: 14px; color: var(--bh-night); text-decoration: none; word-break: break-all; }
.rail-host:hover { color: var(--bh-blue); }
.rail-steps { list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 18px; border: 1px solid var(--bh-night-light-200); box-shadow: var(--shadow-1); }
.rail-steps a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--bh-night-dark-900); font-weight: 500; font-size: 15px; transition: background .2s; }
.rail-steps a:hover { background: var(--bh-night-light-100); }
.rail-steps li.active a { background: var(--bh-blue-light-0); color: var(--bh-blue-dark-900); font-weight: 600; }
.rail-steps i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--bh-night-light-400); flex: none; display: grid; place-items: center; transition: all .3s; }
.rail-steps li.active i { border-color: var(--bh-blue); box-shadow: 0 0 0 4px var(--bh-blue-light-100); }
.rail-steps li.done i { background: var(--bh-aqua-dark-700); border-color: var(--bh-aqua-dark-700); }
.rail-steps li.done i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--bh-night-dark-900); cursor: pointer; padding: 4px 6px; }
.toggle input { position: absolute; opacity: 0; }
.toggle-ui { width: 40px; height: 24px; border-radius: 999px; background: var(--bh-night-light-400); position: relative; transition: background .25s; flex: none; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.toggle input:checked + .toggle-ui { background: var(--bh-blue); }
.toggle input:checked + .toggle-ui::after { transform: translateX(16px); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--bh-blue); outline-offset: 2px; }

.ws-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.panel { background: #fff; border-radius: 24px; padding: clamp(22px, 2.2vw, 36px); box-shadow: var(--shadow-2); border: 1px solid var(--bh-night-light-200); opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.panel.in { opacity: 1; transform: none; }
.panel-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.panel-head h2 { font-size: clamp(22px, 1.7vw, 30px); letter-spacing: -.03em; color: var(--bh-blue-darker-1100); }
.step-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--bh-blue); background: var(--bh-blue-light-0); padding: 5px 10px; border-radius: 8px; }
.panel-tools { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Checks */
.check-summary { display: flex; gap: 8px; }
.sum-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.sum-chip.pass { background: var(--bh-aqua-light-0); color: var(--bh-aqua-dark-900); }
.sum-chip.warn { background: var(--bh-gold-light-100); color: var(--bh-gold-dark-900); }
.sum-chip.fail { background: var(--bh-red-light); color: #9b2238; }
.check-group + .check-group { margin-top: 26px; }
.check-group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--bh-night); margin-bottom: 12px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 18px 18px 16px; border-radius: 16px; border: 1px solid var(--bh-night-light-200); background: #fff; transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; opacity: 0; transform: translateY(10px); }
.check.in { opacity: 1; transform: none; }
.check:hover { box-shadow: var(--shadow-1); border-color: var(--bh-night-light-300); }
.check > *:not(.ico) { grid-column: 2; }
.check { align-content: start; }
.check .ico { grid-row: 1 / span 6; align-self: start; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.check .ico svg { width: 18px; height: 18px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.check.pass .ico { background: var(--bh-aqua-light-0); } .check.pass .ico svg { stroke: var(--bh-aqua-dark-800); }
.check.warn .ico { background: var(--bh-gold-light-100); } .check.warn .ico svg { stroke: var(--bh-gold-dark-800); }
.check.fail .ico { background: var(--bh-red-light); } .check.fail .ico svg { stroke: var(--bh-red); }
.check.na .ico { background: var(--bh-night-light-100); } .check.na .ico svg { stroke: var(--bh-night-light-500); }
.check.na { background: #fbfcfd; }
.check h4 { font-size: 16px; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gate { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #9b2238; background: var(--bh-red-light); padding: 2px 7px; border-radius: 6px; }
.check p { font-size: 14px; color: var(--bh-night-dark-900); word-break: break-word; }
.check .fix { font-size: 13.5px; color: var(--bh-night); margin-top: 4px; }
.check .fix b { color: var(--bh-night-dark-1000); }
.bh-opp { margin-top: 8px; font-size: 13px; color: var(--bh-blue-dark-900); background: var(--bh-blue-light-0); border: 1px dashed var(--bh-blue-light-200); border-radius: 10px; padding: 8px 10px; }
.bh-opp b { font-weight: 600; }
body:not(.bh-on) .bh-opp, body:not(.bh-on) .oneclick { display: none !important; }
.bh-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: linear-gradient(100deg, var(--bh-blue), var(--bh-blue-dark-900)); padding: 3px 8px; border-radius: 6px; }

/* Packet */
.packet { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.packet-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pf { position: relative; border: 1px solid var(--bh-night-light-200); border-radius: 14px; padding: 12px 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.pf:focus-within { border-color: var(--bh-blue); box-shadow: 0 0 0 4px rgba(25,108,223,.1); }
.pf.wide { grid-column: 1 / -1; }
.pf label { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; padding-right: 60px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--bh-night); }
.pf .src { white-space: nowrap; font-size: 11px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--bh-aqua-dark-800); background: var(--bh-aqua-light-0); padding: 1px 7px; border-radius: 6px; }
.pf .src.missing { color: var(--bh-gold-dark-900); background: var(--bh-gold-light-100); }
.pf input, .pf textarea { width: 100%; border: 0; outline: 0; font: inherit; font-size: 16px; color: var(--bh-night-dark-1000); background: transparent; padding: 6px 70px 2px 0; resize: vertical; }
.pf textarea { min-height: 72px; line-height: 1.45; }
.pf .copy { position: absolute; right: 10px; top: 10px; font-size: 12px; font-weight: 600; color: var(--bh-blue); background: var(--bh-blue-light-0); border: 0; border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.pf .copy:hover { background: var(--bh-blue-light-100); }
.pf .count { position: absolute; right: 14px; bottom: 8px; font-size: 11px; color: var(--bh-night-light-500); }
.note-card { border-radius: 18px; padding: 20px 22px; background: var(--bh-night-light-100); }
.note-card h4 { font-size: 16px; margin-bottom: 12px; }
.need { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.need li { display: grid; gap: 1px; padding-left: 26px; position: relative; font-size: 14px; }
.need li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--bh-night-light-500); }
.need span { color: var(--bh-night); }
.code-card { margin-top: 16px; border-radius: 18px; background: var(--bh-blue-darker-1100); color: #dbe8f7; overflow: hidden; box-shadow: var(--shadow-2); }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; font-weight: 600; color: #fff; }
.code-card pre { margin: 0; padding: 14px 16px 18px; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; max-height: 300px; overflow: auto; }

/* Verify */
.provider-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--bh-night-light-100); color: var(--bh-night-dark-900); }
.provider-badge.family { background: var(--bh-blue-light-0); color: var(--bh-blue-dark-900); box-shadow: inset 0 0 0 1px var(--bh-blue-light-200); }
.verify { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.mini-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.mini-steps li { counter-increment: s; position: relative; padding-left: 42px; font-size: 15px; min-height: 28px; }
.mini-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 600; font-size: 13px; background: var(--bh-blue-light-0); color: var(--bh-blue); }
.mini-steps code, .final code { font: 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bh-night-light-100); padding: 2px 6px; border-radius: 6px; }
.oneclick { margin-top: 20px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, var(--bh-blue-light-0), #fff); border: 1px solid var(--bh-blue-light-200); }
.oneclick-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.oneclick h4 { font-size: 16px; }
.oneclick p { font-size: 14px; color: var(--bh-night-dark-900); margin-bottom: 12px; }
.verify-form { border-radius: 20px; padding: 22px; background: #fbfcfe; border: 1px solid var(--bh-night-light-200); display: grid; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--bh-night-dark-900); margin-bottom: 6px; }
.field input { width: 100%; height: 50px; border-radius: 12px; border: 1.5px solid var(--bh-night-light-300); padding: 0 14px; font: inherit; font-size: 15px; background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--bh-blue); box-shadow: 0 0 0 4px rgba(25,108,223,.12); }
.verify-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.check-inline { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--bh-night-dark-900); cursor: pointer; }
.check-inline input { width: 18px; height: 18px; accent-color: var(--bh-blue); }
.lights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.light { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--bh-night-light-200); }
.light i { grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; background: var(--bh-night-light-400); transition: background .3s, box-shadow .3s; }
.light span { font-size: 13px; font-weight: 600; }
.light em { font-style: normal; font-size: 12px; color: var(--bh-night); }
.light.checking i { background: var(--bh-blue-light-400); animation: pulse 1s infinite; }
.light.found i { background: var(--bh-aqua); box-shadow: 0 0 0 5px rgba(41,201,224,.22); }
.light.missing i { background: var(--bh-gold); }
.light.err i { background: var(--bh-night-light-500); }
.verify-result { font-size: 15px; min-height: 0; }
.verify-result:not(:empty) { padding: 14px 16px; border-radius: 14px; }
.verify-result.ok { background: var(--bh-aqua-light-0); color: var(--bh-aqua-dark-900); font-weight: 500; animation: pop .5s var(--ease); }
.verify-result.wait { background: var(--bh-gold-light-100); color: var(--bh-gold-dark-900); }
.verify-result.bad { background: var(--bh-red-light); color: #9b2238; }
.verify-result details { margin-top: 8px; font-size: 13px; }
.verify-result code { font: 12px ui-monospace, Menlo, monospace; word-break: break-all; }

/* Feed */
.feed-empty { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px; border-radius: 18px; background: var(--bh-night-light-100); }
.feed-empty .big-ico { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-1); }
.feed-empty .big-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--bh-night); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feed-empty h4 { font-size: 17px; margin-bottom: 4px; }
.feed-empty p { font-size: 14px; color: var(--bh-night-dark-900); }
.feed-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.feed-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.stat { padding: 16px 18px; border-radius: 16px; background: var(--bh-blue-light-0); border: 1px solid var(--bh-blue-light-100); }
.stat strong { display: block; font-size: 30px; letter-spacing: -.04em; line-height: 1.1; color: var(--bh-blue-darker-1100); }
.stat span { font-size: 13px; color: var(--bh-night); font-weight: 500; }
.stat.warn { background: var(--bh-gold-light-100); border-color: #f7e3b2; }
.hosted { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--bh-blue-darker-1100); color: #fff; margin-bottom: 18px; }
.hosted code { flex: 1; font: 13px ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cfe3fb; }
.hosted .lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--bh-aqua); }
.hosted .btn-sm { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.hosted .btn-sm:hover { background: rgba(255,255,255,.2); }
.feed-table-wrap { overflow-x: auto; border: 1px solid var(--bh-night-light-200); border-radius: 16px; }
.feed-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.feed-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bh-night); font-weight: 600; padding: 12px 14px; background: #fbfcfe; border-bottom: 1px solid var(--bh-night-light-200); white-space: nowrap; }
.feed-table td { padding: 10px 14px; border-bottom: 1px solid var(--bh-night-light-100); vertical-align: middle; }
.feed-table tr:last-child td { border-bottom: 0; }
.feed-table img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; background: var(--bh-night-light-100); display: block; }
.feed-table .t { font-weight: 600; max-width: 380px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pill.in { background: var(--bh-aqua-light-0); color: var(--bh-aqua-dark-900); }
.pill.out { background: var(--bh-night-light-100); color: var(--bh-night); }
.pill.miss { background: var(--bh-red-light); color: #9b2238; }
.feed-note { margin-top: 14px; font-size: 13px; color: var(--bh-night); }

/* Final */
.final { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.final-steps { margin: 0; padding: 0; list-style: none; counter-reset: f; display: grid; gap: 4px; }
.final-steps li { counter-increment: f; position: relative; padding: 14px 14px 14px 58px; border-radius: 14px; font-size: 15px; color: var(--bh-night-dark-900); transition: background .2s; }
.final-steps li:hover { background: var(--bh-night-light-100); }
.final-steps li::before { content: counter(f); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: #fff; background: linear-gradient(140deg, var(--bh-blue-mid-700), var(--bh-blue-dark-900)); }
.final-steps b { color: var(--bh-night-dark-1000); }
.bullets { margin: 0 0 18px; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: var(--bh-night-dark-900); }

/* Footer, toast */
.foot { border-top: 1px solid var(--bh-night-light-200); padding: 28px 0 36px; background: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-family: var(--bh-font-utility); font-size: 12px; line-height: 20px; color: var(--bh-night); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--bh-blue-darker-1100); color: #fff; font-size: 14px; font-weight: 500; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-3); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Scanning overlay on hero */
.scanning .stage .chatwin { filter: saturate(.8); }
.scan-progress { margin-top: 14px; display: none; gap: 8px; flex-wrap: wrap; }
.scanning .scan-progress { display: flex; }

/* Animations */
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes floaty { 0%, 100% { transform: rotateY(-9deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-7deg) rotateX(3deg) translateY(-8px); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes pop { 0% { transform: scale(.97); } 60% { transform: scale(1.01); } 100% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 1280px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .packet, .verify, .final { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .stage { height: 480px; }
  .ws-in { grid-template-columns: 1fr; }
  .rail { position: static; display: grid; grid-template-columns: auto 1fr; }
  .rail-card { grid-row: span 3; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topnav { display: none; }
  .proto-pill { font-size: 12px; padding: 5px 10px; }
  .scan-form { flex-wrap: wrap; padding: 8px; }
  .scan-form input { flex-basis: calc(100% - 40px); }
  .btn-lg { width: 100%; height: 54px; }
  .stage { height: 440px; min-height: 0; }
  .chatwin { left: 4%; right: 2%; transform: none; animation: none; }
  .f1 { bottom: 2%; } .f2 { display: none; }
  .how-steps, .faq-cols, .check-grid, .packet-fields, .lights, .feed-stats { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .feed-form { grid-template-columns: 1fr; }
}
