:root { color-scheme: dark; font-family: Inter, "Segoe UI", sans-serif; background: #07101d; color: #f4f8fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 12% 10%, #173457, transparent 35%), #07101d; }
.business-page { min-height: 100vh; padding-bottom: 180px; }
nav { display: flex; align-items: center; gap: 28px; padding: 22px clamp(24px, 6vw, 88px); border-bottom: 1px solid #ffffff18; }
nav strong { margin-right: auto; }
nav a { color: #b8c9d8; text-decoration: none; }
.hero { max-width: 820px; padding: clamp(70px, 12vw, 150px) clamp(24px, 8vw, 120px) 70px; }
.eyebrow { color: #6ee7cf; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 12px; }
h1 { font-size: clamp(46px, 7vw, 92px); letter-spacing: -.055em; line-height: .94; margin: 16px 0 24px; }
.hero > p:not(.eyebrow) { max-width: 650px; color: #b8c9d8; font-size: 20px; line-height: 1.6; }
.hero small { display: block; margin-top: 14px; color: #7f9bad; }
.primary { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 14px 22px; background: #6ee7cf; color: #06121b; font-weight: 850; text-decoration: none; cursor: pointer; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 clamp(24px, 8vw, 120px); }
.cards article { border: 1px solid #ffffff1c; border-radius: 22px; padding: 28px; background: #0d1b2a; }
.cards span { color: #6ee7cf; font-weight: 900; }
.cards p { color: #9fb3c5; line-height: 1.55; }
.statement, .jobs, .pricing, .hire { padding: 90px clamp(24px, 8vw, 120px); }
.statement { max-width: 1100px; }
.statement h2, .jobs > h2, .pricing > h2, .hire h2 { max-width: 900px; margin: 10px 0 24px; font-size: clamp(34px, 5vw, 66px); line-height: 1; letter-spacing: -.045em; }
.statement > p:last-child, .hire > p { max-width: 760px; color: #aebfce; font-size: 18px; line-height: 1.65; }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.job-grid article { min-height: 190px; padding: 26px; border-radius: 20px; background: #102033; border: 1px solid #ffffff18; }
.job-grid p { color: #9fb3c5; line-height: 1.55; }
.pricing { background: linear-gradient(180deg, #091521, #0d1d2c); border-block: 1px solid #ffffff12; }
.pricing-intro { max-width: 760px; color: #aebfce; font-size: 18px; line-height: 1.65; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 38px 0 20px; }
.pricing-grid article { padding: 28px; border: 1px solid #ffffff1c; border-radius: 22px; background: #0d1b2a; }
.pricing-grid article.featured { border-color: #6ee7cf99; box-shadow: 0 18px 50px #0005; transform: translateY(-8px); }
.tier { color: #6ee7cf; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 12px 0 20px; }
.price strong { font-size: 46px; letter-spacing: -.04em; }
.price span, .pricing-grid article > p, .pricing small { color: #9fb3c5; }
.pricing-grid article > p { line-height: 1.6; }
.plan-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid #6ee7cf88;
  border-radius: 999px;
  padding: 12px 16px;
  background: #0a2030;
  color: #eefcff;
  font-weight: 750;
  cursor: pointer;
}
.plan-cta.primary, .plan-cta:hover, .plan-cta:focus-visible {
  background: #6ee7cf;
  color: #06121b;
  border-color: #6ee7cf;
}
.pricing-grid article.plan-selected {
  border-color: #6ee7cf;
  box-shadow: 0 0 0 1px #6ee7cf88, 0 18px 50px #0005;
}
.buy-path-note { display: block; max-width: 820px; line-height: 1.55; }
.hire { margin: 40px clamp(24px, 8vw, 120px) 100px; border: 1px solid #6ee7cf44; border-radius: 30px; background: linear-gradient(135deg, #11354a, #0a1826); }
.hire-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #6ee7cf88;
  border-radius: 999px;
  padding: 14px 22px;
  background: transparent;
  color: #eefcff;
  font-weight: 750;
  cursor: pointer;
}
.secondary:hover, .secondary:focus-visible { background: #17475a; }
#lead-form select {
  width: 100%;
  border: 1px solid #35566d;
  border-radius: 10px;
  background: #0b1b29;
  color: white;
  padding: 11px;
}
.agent-shell {
  position: fixed !important;
  right: 8px !important;
  bottom: 4px !important;
  left: auto !important;
  top: auto !important;
  width: min(280px, 72vw);
  z-index: 2147483000 !important;
  display: grid;
  justify-items: end;
  pointer-events: none;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  user-select: none;
}
.agent-status {
  margin: 0 6px 4px 0;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 16, 29, 0.72);
  padding: 5px 10px;
  color: #cfeef0;
  font-size: 11px;
  font-weight: 650;
  text-shadow: 0 2px 10px #02070d;
  pointer-events: auto;
  cursor: grab;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}
.character-activation {
  width: min(220px, 58vw);
  height: min(300px, 42vh);
  min-width: 160px;
  min-height: 220px;
  cursor: grab;
  pointer-events: auto;
  outline: none;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  transition: transform 500ms cubic-bezier(.22,.61,.36,1), filter 500ms ease;
  transform-origin: 70% 95%;
  touch-action: none;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.agent-shell[data-dragging="true"] .character-activation,
.agent-shell[data-dragging="true"] .agent-status { cursor: grabbing; }
.character-activation:focus-visible { border-radius: 28px; box-shadow: 0 0 0 3px #6ee7cf; }
.character-activation canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent;
  pointer-events: auto;
}
#result {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  background: #07101dee;
  color: #d7e8f3;
  border: 1px solid #6ee7cf55;
}
#result.loading { color: #aaf5e7; }
#result.error { color: #ff9aaa; border-color: #ff6b7a88; }
#result.ok { display: none; }
.character-activation { position: relative; }

/* Avatar V2 — always-visible 2D employee (in HTML, not JS-created) */
.ba-avatar-root {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: auto;
  z-index: 5;
  overflow: visible;
  border-radius: 0;
  cursor: pointer;
  background: transparent;
}
.ba-avatar-figure {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform-origin: 50% 95%;
  will-change: transform;
}
.ba-avatar-glow {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 70%;
  height: 22%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, #6ee7cf66 0%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.ba-avatar-img {
  position: relative;
  z-index: 1;
  display: block !important;
  width: auto !important;
  height: 100% !important;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 16px 22px #000c);
  pointer-events: none;
  visibility: visible !important;
  opacity: 1 !important;
}
.ba-avatar-mouth {
  position: absolute;
  left: 50%;
  top: 26%;
  width: 11%;
  height: 3%;
  border-radius: 50%;
  background: radial-gradient(circle, #2a0f12ee 0%, #2a0f1288 55%, transparent 70%);
  transform: translateX(-50%) scaleY(0.35);
  opacity: 0.15;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}
.ba-avatar-live {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #06121b;
  background: #6ee7cf;
  box-shadow: 0 6px 16px #0007;
  pointer-events: none;
}
.ba-avatar-root[data-speaking="true"] .ba-avatar-live {
  background: #ffd166;
}
.ba-avatar-root[data-walking="true"] .ba-avatar-figure {
  animation: ba-walk-bob 0.28s linear infinite;
}
@keyframes ba-walk-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: calc(var(--walk-dir, 1) * 4px) -5px; }
}

/* Floating employee — no framed window */
.character-activation {
  width: min(220px, 58vw) !important;
  height: min(300px, 42vh) !important;
  min-width: 160px !important;
  min-height: 220px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.speech-card { width: 100%; pointer-events: auto; padding: 12px; text-align: right; border: 1px solid #ffffff1f; border-radius: 18px; background: #07101dea; box-shadow: 0 12px 34px #0008; backdrop-filter: blur(12px); }
.speech-card p { display: inline; margin: 0; color: #f4fbff; font-size: 16px; font-weight: 650; line-height: 1.55; text-wrap: balance; }
.choices { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.choices button { border: 1px solid #6ee7cf88; border-radius: 999px; background: #0a2030e8; box-shadow: 0 8px 24px #0007; color: #eefcff; padding: 10px 14px; cursor: pointer; }
.choices button:hover, .choices button:focus-visible { background: #17475a; border-color: #6ee7cf; }
.choices button:disabled { opacity: .62; cursor: default; transform: none; }
.choices button.goal-option-focus { border-color: #6ee7cf; background: #17475a; box-shadow: 0 0 0 2px #6ee7cf33, 0 10px 30px #0008; transform: translateY(-2px); }
.type-toggle { margin-top: 9px; border: 0; background: transparent; color: #92acbd; cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.typed-form { margin-top: 10px; }
.typed-form label { display: block; color: #8faabd; font-size: 12px; margin-bottom: 6px; }
.typed-form div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
input { width: 100%; border: 1px solid #35566d; border-radius: 10px; background: #0b1b29; color: white; padding: 11px; }
.typed-form button { border: 0; border-radius: 10px; padding: 0 14px; background: #6ee7cf; font-weight: 800; cursor: pointer; }
.agent-shell[data-motion="slight_nod"] .character-activation { transform: translateY(2px) rotate(.2deg); }
.agent-shell[data-motion="open_hand_once"] .character-activation { transform: translateX(-3px); }
.agent-shell[data-motion="point_once"] .character-activation { transform: translateX(-5px) rotate(-.25deg); }
.agent-shell[data-motion="confident_pause"] .character-activation { transform: translateY(1px) scale(1.005); }
.agent-shell[data-motion="idle_neutral"] .character-activation,
.agent-shell[data-motion="return_to_neutral"] .character-activation { transform: none; }
.agent-focus { position: relative; z-index: 1; border-color: #6ee7cf !important; box-shadow: 0 0 0 1px #6ee7cf88, 0 20px 50px #02070d99 !important; transition: border-color 700ms ease, box-shadow 700ms ease, transform 700ms cubic-bezier(.22,.61,.36,1); }
.performance-controls { display: flex; justify-content: flex-end; gap: 8px; width: 100%; padding: 0 8px; pointer-events: auto; }
.performance-controls button { border: 0; border-radius: 999px; padding: 7px 11px; background: #07101dcc; color: #aac0cf; cursor: pointer; font-size: 12px; }
.performance-controls button:hover, .performance-controls button:focus-visible { color: #fff; background: #15354a; }
dialog { width: min(500px, calc(100vw - 28px)); border: 1px solid #ffffff24; border-radius: 24px; background: #0b1724; color: white; box-shadow: 0 35px 100px #000c; }
dialog::backdrop { background: #02070dbb; }
#lead-form { display: grid; gap: 13px; }
#lead-form h2 { margin: 0; font-size: 30px; }
#lead-form p { color: #aebfce; }
#lead-form label { display: grid; gap: 6px; }
#lead-form .consent { grid-template-columns: auto 1fr; align-items: start; }
#lead-form .consent input { width: auto; margin-top: 4px; }
.close { justify-self: end; border: 0; background: transparent; color: white; font-size: 28px; cursor: pointer; }
.form-error { min-height: 18px; color: #ff9aaa !important; margin: 0 !important; }
@media (max-width: 760px) {
  nav a { display: none; }
  .cards { grid-template-columns: 1fr; }
  .job-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid article.featured { transform: none; }
  .hire { margin-inline: 18px; }
  .agent-shell { right: 4px !important; bottom: 2px !important; width: min(100vw - 8px, 260px); }
  .character-activation { width: min(180px, 52vw) !important; height: min(250px, 36vh) !important; min-height: 200px !important; }
  .speech-card p { font-size: 14px; }
  .speech-card { max-height: 36vh; overflow-y: auto; }
  .choices { gap: 6px; }
  .choices button { padding: 9px 11px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
