/* The business home page (marketing/business_home.html, 2026-12-04): dark, with
   kwerve's terracotta. Its colours live here and nowhere else; the rest of the site
   keeps the light palette of marketing/base.html. */
:root {
  --night: #0F0E0D; --panel: #161412; --panel2: #1B1917; --raise: #1E1C1A; --line: #2A2724; --line2: #2E2A27;
  --text: #F5F1EC; --soft: #D6CFC8; --dim: #B8B0A8; --faint: #8F8780;
  --accent: #C55B3E; --accent-hi: #E07A5C; --accent-btn: #B9512F; --accent-soft: #F2A98F;
  --ok-bg: #1F3A2B; --ok: #A7E3BF; --ok-dot: #48BB78; --warn-bg: #3A1D14; --warn-line: #5A2E1F;
  --cream: #F5F1EC; --ink: #1A1A1A; --chipbg: #2A2724; --tick: #2F855A; --inkdim: #4A433D; --white: #FFFFFF;
}
html.bh, html.bh body { background: var(--night); color: var(--text); }
.bh [hidden], .bh[hidden] { display: none !important; }
.bh a { color: inherit; }
.bh-wrap { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.bh-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-hi); }
.bh-h2 { margin: 14px 0 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.bh-lead { font-size: 18px; line-height: 1.55; color: var(--dim); }
.bh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px;
  background: var(--accent-btn); color: #FFFFFF !important; font-weight: 600; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; }
.bh-btn:hover { background: var(--accent); }
.bh-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px;
  background: transparent; color: var(--text) !important; font-weight: 600; font-size: 17px; text-decoration: none; border: 1px solid #3A3633; cursor: pointer; font-family: inherit; }
.bh-ghost:hover { border-color: #6E645C; }
.bh-light-btn { background: var(--cream); color: var(--panel) !important; }

/* logo: the two arcs send out a signal */
.bh-arc1 { animation: bh-sig 2.8s ease-in-out infinite; }
.bh-arc2 { animation: bh-sig 2.8s ease-in-out .35s infinite; }
@keyframes bh-sig { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
.bh-wave { fill: none; stroke: var(--accent-hi); stroke-width: 2; stroke-linecap: round; opacity: 0; animation: bh-wave 2.8s ease-out infinite; }
@keyframes bh-wave { 0% { opacity: .8; transform: translate(0, 0) } 100% { opacity: 0; transform: translate(6px, -6px) } }

/* top bar and mega menus: hover or keyboard focus opens them, no script needed */
.bh-top { position: sticky; top: 0; z-index: 40; background: rgba(15, 14, 13, .92); border-bottom: 1px solid var(--raise); backdrop-filter: blur(8px); }
.bh-nav { position: relative; display: flex; align-items: center; gap: 16px; min-height: 64px; }
.bh-navlinks { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; justify-content: center; }
.bh-navbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 9px; color: var(--soft) !important;
  font-size: 15px; text-decoration: none; background: transparent; border: 0; cursor: pointer; font-family: inherit; }
.bh-navbtn:hover, .bh-drop:focus-within > .bh-navbtn, .bh-drop:hover > .bh-navbtn { color: #FFFFFF !important; background: var(--raise); }
.bh-drop { position: static; }
.bh-mega { display: none; position: absolute; left: 20px; right: 20px; top: 60px; max-width: 900px; margin: 0 auto; padding: 18px;
  background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px; }
.bh-drop:hover .bh-mega, .bh-drop:focus-within .bh-mega { display: grid; }
.bh-mitem { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; text-decoration: none; }
.bh-mitem:hover, .bh-mitem:focus { background: var(--raise); }
.bh-micon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px; background: var(--raise); border: 1px solid var(--line2);
  display: flex; align-items: center; justify-content: center; color: var(--accent-hi); }
.bh-mtitle { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.bh-msub { display: block; font-size: 13px; color: var(--dim); margin-top: 2px; }
.bh-demo { background: var(--cream); color: var(--panel) !important; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 10px; white-space: nowrap; }
.bh .lang-menu summary { color: var(--soft); }
.bh .lang-menu ul { background: var(--panel); border-color: var(--line2); }
.bh .lang-menu ul a { color: var(--dim); }
.bh .lang-menu ul a:hover { background: var(--raise); color: #FFFFFF; }
.bh-burger { display: none; }
@media (max-width: 960px) {
  .bh-navlinks { display: none; }
  .bh-burger { display: block; margin-left: auto; }
  .bh-burger summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line2); border-radius: 10px; color: var(--soft); }
  .bh-burger[open] .bh-mobile { display: block; }
  .bh-mobile { display: none; position: absolute; left: 12px; right: 12px; top: 62px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 10px; }
  .bh-mobile a { display: flex; min-height: 44px; align-items: center; padding: 0 10px; border-radius: 8px; color: var(--soft) !important; text-decoration: none; }
  .bh-hide-sm { display: none !important; }
}

/* hero: the AI name that keeps changing */
.bh-ai-rot { display: inline-flex; align-items: center; gap: .22em; padding: 0 .28em .04em; border-radius: .22em; background: var(--raise); border: 1px solid var(--line2); vertical-align: baseline; }
.bh-ai-rot svg { width: .78em; height: .78em; }
.bh-rot-in { animation: bh-rot .5s ease-out; }
@keyframes bh-rot { from { opacity: 0; transform: translateY(.25em) } to { opacity: 1; transform: none } }

/* the example window */
.bh-kchip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); color: var(--soft); font: 500 14px/1 inherit; font-family: inherit; cursor: pointer; }
.bh-kchip:hover { border-color: #4A4541; color: #FFFFFF; }
.bh-kchip[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--panel); }
.bh-prog { margin: 14px auto 0; max-width: 220px; height: 3px; background: var(--raise); border-radius: 99px; overflow: hidden; }
.bh-prog span { display: block; height: 100%; width: 0; background: var(--accent-hi); }
.bh-prog span.run { animation: bh-prog 6s linear forwards; }
@keyframes bh-prog { from { width: 0 } to { width: 100% } }
.bh-window { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: 0 50px 100px -40px rgba(224, 122, 92, .35); }
.bh-dot3 { width: 11px; height: 11px; border-radius: 50%; background: #3A3633; }
.bh-tab { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid transparent; background: transparent;
  color: var(--dim); font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit; }
.bh-tab:hover { color: #FFFFFF; }
.bh-tab[aria-selected="true"] { background: #2A2724; border-color: #3A3633; color: #FFFFFF; }
.bh-tab svg, .bh-logo-sm svg { width: 18px; height: 18px; color: #FFFFFF; }
.bh-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.bh-q { background: #2E2A27; color: #FFFFFF; padding: 14px 18px; border-radius: 16px 16px 4px 16px; font-size: 17px; line-height: 1.5; }
.bh-seg-you { background: var(--ok-bg); color: var(--ok); border-radius: 4px; padding: 1px 5px; font-weight: 600; }
.bh-seg-rival { color: #FFFFFF; font-weight: 600; border-bottom: 2px solid var(--accent); }
.bh-caret { display: inline-block; width: 8px; height: 18px; background: var(--accent-hi); vertical-align: -3px; margin-left: 3px; animation: bh-blink 1s steps(1) infinite; }
@keyframes bh-blink { 50% { opacity: 0 } }
.bh-yes { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 14px; }
.bh-no { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--warn-bg); color: var(--accent-soft); font-weight: 600; font-size: 14px; }
.bh-dot-yes { width: 10px; height: 10px; border-radius: 50%; background: var(--ok-dot); }
.bh-dot-no { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-hi); }
.bh-card-light { background: var(--cream); color: var(--ink); border-radius: 14px; }
.bh-card-light .bh-muted { color: #6E645C; }
.bh-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; background: #FFFFFF; border: 1px solid #E7DFD5; border-radius: 10px; }
.bh-bar { height: 8px; background: #E7DFD5; border-radius: 99px; overflow: hidden; }
.bh-bar span { display: block; height: 100%; border-radius: 99px; background: var(--ink); }
.bh-todo { background: #FFFFFF; border: 1px solid #E7DFD5; border-radius: 12px; padding: 14px; }
.bh-todo b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #A9472A; }
.bh-fade { animation: bh-fade .5s ease-out; }
@keyframes bh-fade { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.bh-mark { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 11px; }

/* marquee */
.bh-marquee { display: flex; gap: 12px; width: max-content; animation: bh-scroll 40s linear infinite; }
@keyframes bh-scroll { to { transform: translateX(-50%) } }
.bh-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 16px; color: var(--soft); white-space: nowrap; }
.bh-edges { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

/* network */
.bh-net { position: relative; width: 100%; max-width: 1400px; margin: 24px auto 0; aspect-ratio: 2 / 1; min-height: 340px; }
.bh-net svg.bh-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.bh-mesh { stroke: rgba(255, 255, 255, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bh-wire { stroke: rgba(255, 255, 255, .15); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bh-pulse { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 18 640; vector-effect: non-scaling-stroke; animation: bh-flow 5.5s linear infinite; }
@keyframes bh-flow { from { stroke-dashoffset: 0 } to { stroke-dashoffset: -658 } }
.bh-speck { fill: rgba(255, 255, 255, .4); animation: bh-twinkle 4s ease-in-out infinite; }
@keyframes bh-twinkle { 0%, 100% { opacity: .2 } 50% { opacity: 1 } }
.bh-node { position: absolute; transform: translate(-50%, -50%); }
.bh-float { animation: bh-bob 7s ease-in-out infinite; }
@keyframes bh-bob { 0%, 100% { translate: 0 0 } 50% { translate: 0 -6px } }
.bh-src { width: 46px; height: 46px; border-radius: 13px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.bh-src img { width: 24px; height: 24px; }
.bh-hub { width: 62px; height: 62px; border-radius: 18px; background: var(--raise); display: flex; align-items: center; justify-content: center; color: #FFFFFF; }
.bh-hub svg { width: 30px; height: 30px; }
.bh-ping { position: absolute; inset: -14px; border-radius: 26px; border: 1.5px solid var(--accent); animation: bh-ping 2.8s ease-out infinite; }
@keyframes bh-ping { 0% { transform: scale(.9); opacity: .8 } 100% { transform: scale(1.35); opacity: 0 } }
@media (max-width: 640px) {
  .bh-src { width: 32px; height: 32px; border-radius: 9px } .bh-src img { width: 17px; height: 17px }
  .bh-hub { width: 44px; height: 44px; border-radius: 13px } .bh-hub svg { width: 22px; height: 22px } .bh-hublabel { display: none }
  .bh-center { padding: 5px 9px 5px 5px !important; gap: 6px !important; border-radius: 11px !important; }
  .bh-center .bh-mark { width: 22px !important; height: 22px !important; border-radius: 6px; } .bh-center .bh-mark svg { width: 13px; height: 13px; }
  .bh-center .bh-cname { font-size: 12px !important; } .bh-ping { inset: -8px; border-radius: 16px; }
}

/* report cards */
.bh-dcard { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bh-dlabel { font-size: 13px; color: var(--dim); }
.bh-dtitle { font-size: 18px; font-weight: 600; color: #FFFFFF; margin: 0; }
.bh-dtext { font-size: 15px; line-height: 1.55; color: var(--dim); margin: 6px 0 0; }
.bh-draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: bh-draw 2.6s ease-out forwards; }
@keyframes bh-draw { to { stroke-dashoffset: 0 } }
.bh-inner { border: 1px solid var(--line); background: var(--panel2); border-radius: 14px; }
.bh-chip-ok { background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 99px; }
.bh-chip { background: #2A2724; color: var(--soft); font-size: 13px; padding: 5px 11px; border-radius: 99px; }
.bh-alert { border: 1px solid var(--warn-line); background: #2A1812; border-radius: 12px; padding: 14px 16px; }
.bh-sitebar { flex: 1 1 auto; height: 8px; background: #2A2724; border-radius: 99px; overflow: hidden; }
.bh-sitebar span { display: block; height: 100%; border-radius: 99px; background: var(--soft); }
.bh-sitebar.own span { background: var(--accent-hi); }
.bh-letter { flex: 0 0 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #FFFFFF; background: #3A3633; }
.bh-logo26 { flex: 0 0 26px; height: 26px; border-radius: 7px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }

/* Kai */
.bh-badge { font-size: 12px; font-weight: 600; color: var(--panel); background: var(--accent-soft); padding: 3px 9px; border-radius: 99px; }
.bh-blink-eye { animation: bh-eye 4s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes bh-eye { 0%, 92%, 100% { transform: scaleY(1) } 96% { transform: scaleY(.15) } }
.bh-side { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border-radius: 9px; color: var(--dim); font-size: 14px; }
.bh-side.on { background: var(--raise); color: #FFFFFF; }
.bh-typing span { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--accent-hi); animation: bh-dot 1.2s infinite; }
.bh-typing span:nth-child(2) { animation-delay: .2s } .bh-typing span:nth-child(3) { animation-delay: .4s }
@keyframes bh-dot { 0%, 100% { opacity: .25 } 50% { opacity: 1 } }
.bh-kai-frame { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-wrap: wrap; box-shadow: 0 50px 100px -50px rgba(224, 122, 92, .4); }

/* price, faq, cta, footer */
.bh-price-band { background: #131211; border-top: 1px solid var(--raise); border-bottom: 1px solid var(--raise); }
.bh-price-card { background: var(--cream); color: var(--ink); border-radius: 22px; padding: 32px; box-shadow: 0 40px 90px -40px rgba(224, 122, 92, .55); }
.bh-price-card .bh-muted { color: #6E645C; }
.bh-faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.bh-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; }
.bh-faq summary::-webkit-details-marker { display: none; }
.bh-faq details[open] .bh-plus { transform: rotate(45deg); }
.bh-plus { color: var(--accent-hi); transition: transform .18s ease; }
.bh-final { background: var(--accent); color: #FFFFFF; border-radius: 24px; padding: 72px 28px; text-align: center; }
.bh-final .bh-outline { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .6); color: #FFFFFF !important; text-decoration: none; font-weight: 600; font-size: 17px; }
.bh-final .bh-white { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 12px; background: #FFFFFF; color: var(--panel) !important; text-decoration: none; font-weight: 600; font-size: 17px; }
.bh-foot { border-top: 1px solid var(--raise); }
.bh-foot a { font-size: 14px; color: var(--dim) !important; text-decoration: none; }
.bh-foot a:hover { color: #FFFFFF !important; }
.bh-foot h3 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin: 0; }

/* sample report picker */
.bh-dialog { border: 1px solid var(--line2); background: var(--panel); color: var(--text); border-radius: 22px; padding: 26px; width: min(640px, calc(100vw - 32px)); }
.bh-dialog::backdrop { background: rgba(8, 7, 6, .72); }
.bh-pick { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 12px; border-radius: 14px; cursor: pointer; background: var(--panel2); border: 1px solid var(--line); color: var(--text); font-family: inherit; text-align: left; }
.bh-pick[aria-pressed="true"] { background: #2A2724; border-color: var(--accent-hi); }
.bh-seg { display: inline-flex; background: var(--raise); border: 1px solid var(--line2); border-radius: 10px; padding: 3px; }
.bh-segb { min-height: 36px; padding: 0 14px; border-radius: 8px; border: 0; background: transparent; color: var(--dim); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.bh-segb[aria-pressed="true"] { background: var(--cream); color: var(--panel); }

@media (prefers-reduced-motion: reduce) {
  .bh-marquee, .bh-pulse, .bh-float, .bh-ping, .bh-speck, .bh-caret, .bh-arc1, .bh-arc2, .bh-wave, .bh-blink-eye, .bh-typing span { animation: none !important; }
  .bh-draw { animation: none; stroke-dashoffset: 0; }
}
