:root {
  color-scheme: dark;
  --space-0: #02040a;
  --space-1: #07101d;
  --space-2: #0d1828;
  --ink: #f5f8ff;
  --soft: rgba(222, 232, 255, 0.74);
  --muted: rgba(174, 190, 220, 0.64);
  --line: rgba(75, 124, 255, 0.24);
  --line-strong: rgba(91, 139, 255, 0.46);
  --glass: rgba(6, 13, 27, 0.74);
  --glass-strong: rgba(8, 19, 40, 0.9);
  --wizer-electric: #2f65ff;
  --wizer-blue: #4b7cff;
  --wizer-ice: #8ab8ff;
  --wizer-violet: #6f42ff;
  --wizer-deep: #111c3f;
  --cyan: #4f8dff;
  --blue: #7aa0ff;
  --green: #8ab8ff;
  --gold: #f0c66a;
  --rose: #ff7fb8;
  --skin-edge: rgba(92, 142, 255, 0.36);
  --skin-hairline: rgba(143, 184, 255, 0.16);
  --skin-glow: rgba(47, 101, 255, 0.28);
  --input-glass: rgba(5, 12, 27, 0.36);
  --input-glass-strong: rgba(7, 17, 38, 0.54);
  --input-glass-edge: rgba(138, 184, 255, 0.26);
  --input-glass-glow: rgba(47, 101, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --radius-card: 8px;
  --font:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body[data-wizer-entry] {
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 52% 48%, rgba(47, 101, 255, 0.18), transparent 70%),
    radial-gradient(760px 460px at 35% 68%, rgba(111, 66, 255, 0.12), transparent 72%),
    linear-gradient(180deg, var(--space-1), var(--space-0) 52%, #010207);
  font-family: var(--font);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.starfield,
.universe-haze,
.signal-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.starfield {
  z-index: 0;
}

.universe-haze {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(75, 124, 255, 0.2), transparent 28%),
    radial-gradient(circle at 64% 22%, rgba(240, 198, 106, 0.11), transparent 16%),
    radial-gradient(circle at 25% 72%, rgba(111, 66, 255, 0.12), transparent 18%);
  opacity: 0.78;
}

.signal-grid {
  z-index: 2;
  opacity: 0;
  transform: perspective(720px) rotateX(68deg) translateY(18vh) scale(1.25);
  transform-origin: center bottom;
  background:
    linear-gradient(rgba(75, 124, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 124, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 66%);
  transition: opacity 700ms ease;
}

body.is-building .signal-grid {
  opacity: 0.74;
  animation: grid-drift 8s linear infinite;
}

.entry-bar {
  position: fixed;
  top: 22px;
  left: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0.74;
}

.entry-actions,
.entry-brand,
.entry-signin,
.language-trigger {
  display: inline-flex;
  align-items: center;
}

.entry-actions {
  position: relative;
  gap: 8px;
}

.entry-brand,
.entry-signin {
  color: rgba(245, 248, 255, 0.82);
  text-decoration: none;
}

.entry-brand {
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.entry-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--wizer-ice);
  background:
    radial-gradient(circle at 50% 45%, rgba(75, 124, 255, 0.34), transparent 62%),
    rgba(7, 16, 29, 0.62);
  box-shadow: 0 0 24px rgba(47, 101, 255, 0.24);
}

.entry-signin {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(222, 232, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  background: rgba(7, 16, 29, 0.42);
}

.language-select {
  position: relative;
}

.language-trigger {
  justify-content: center;
  width: 38px;
  height: 34px;
  border: 1px solid rgba(75, 124, 255, 0.3);
  border-radius: 8px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0, rgba(75, 124, 255, 0.18), transparent 54%),
    linear-gradient(145deg, rgba(10, 22, 48, 0.82), rgba(4, 9, 20, 0.72));
  box-shadow: inset 0 1px 0 rgba(138, 184, 255, 0.12), 0 0 22px rgba(47, 101, 255, 0.08);
  cursor: pointer;
  font: inherit;
}

.language-trigger:focus-visible,
.language-option:focus-visible {
  outline: 2px solid rgba(138, 184, 255, 0.72);
  outline-offset: 2px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(2, 38px);
  gap: 6px;
  border: 1px solid rgba(75, 124, 255, 0.32);
  border-radius: var(--radius-card);
  padding: 8px;
  background:
    radial-gradient(circle at 12% 0, rgba(75, 124, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(8, 18, 38, 0.94), rgba(3, 8, 18, 0.9));
  box-shadow:
    0 18px 58px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(138, 184, 255, 0.1);
  backdrop-filter: blur(16px);
}

.language-menu[hidden] {
  display: none;
}

.language-option {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(75, 124, 255, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font: inherit;
}

.language-option.is-active {
  border-color: rgba(138, 184, 255, 0.7);
  background:
    radial-gradient(circle at 50% 40%, rgba(75, 124, 255, 0.24), transparent 64%),
    rgba(75, 124, 255, 0.08);
  box-shadow: 0 0 20px rgba(47, 101, 255, 0.18);
}

.universe-entry {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  overflow: hidden;
}

.opening {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 0 18px 170px;
  text-align: center;
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
}

.wizer-name {
  margin: 0 0 12px;
  color: var(--wizer-ice);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.opening h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(32px, 5.2vw, 64px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

body.is-building .opening {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-28px) scale(0.97);
  filter: blur(10px);
}

.business-space {
  position: absolute;
  inset: 0;
  z-index: 3;
  perspective: 1100px;
  transform-style: preserve-3d;
  opacity: 0;
  transition: opacity 620ms ease 160ms;
}

body.is-building .business-space {
  opacity: 1;
}

.space-module {
  position: absolute;
  display: grid;
  gap: 12px;
  width: min(330px, 28vw);
  min-width: 245px;
  border: 1px solid var(--skin-edge);
  border-radius: var(--radius-card);
  padding: 16px;
  color: var(--soft);
  background:
    radial-gradient(circle at 12% 8%, rgba(75, 124, 255, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(12, 26, 56, 0.9), rgba(3, 8, 18, 0.72) 58%, rgba(9, 15, 30, 0.82)),
    rgba(4, 9, 20, 0.82);
  box-shadow:
    var(--shadow),
    0 0 34px rgba(47, 101, 255, 0.14),
    inset 0 1px 0 rgba(149, 185, 255, 0.14),
    inset 0 -1px 0 rgba(47, 101, 255, 0.14);
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  opacity: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  --drag-x: 0px;
  --drag-y: 0px;
  --module-drift-duration: 9s;
  --module-drift-distance: 10px;
  --module-drift-side: 0px;
  --module-base-x: 0px;
  --module-base-y: 0px;
  --module-z: 0px;
  --module-rotate-y: 0deg;
  --module-rotate-x: 0deg;
  transform: translate3d(
      calc(var(--module-base-x, 0px) + var(--drag-x, 0px)),
      calc(var(--module-base-y, 0px) + var(--drag-y, 0px)),
      var(--module-z, 0px)
    )
    rotateY(var(--module-rotate-y, 0deg)) rotateX(var(--module-rotate-x, 0deg));
}

.space-module.is-dragging {
  cursor: grabbing;
  z-index: 12;
}

body.is-building .space-module:not(.is-relevant) {
  display: none;
}

.space-module::before,
.space-module::after,
.wizer-console::before,
.message::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.space-module::before,
.wizer-console::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(138, 184, 255, 0.18), transparent) 0 0 / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(75, 124, 255, 0.16), transparent) 0 0 / 1px 100% no-repeat,
    radial-gradient(circle at 100% 0, rgba(138, 184, 255, 0.32), transparent 16px),
    radial-gradient(circle at 0 100%, rgba(111, 66, 255, 0.18), transparent 24px);
  opacity: 0.88;
}

.space-module::after {
  inset: 1px;
  border-radius: calc(var(--radius-card) - 1px);
  background:
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(138, 184, 255, 0.035) 28px 29px),
    linear-gradient(115deg, transparent 0 42%, rgba(138, 184, 255, 0.07) 48%, transparent 56%);
  opacity: 0.72;
}

body.is-building .space-module.is-relevant {
  animation:
    module-arrive 760ms cubic-bezier(0.18, 0.78, 0.18, 1) forwards,
    module-drift var(--module-drift-duration, 9s) ease-in-out infinite;
}

.space-module.is-active {
  border-color: rgba(138, 184, 255, 0.68);
  box-shadow:
    0 0 0 1px rgba(138, 184, 255, 0.18),
    0 28px 90px rgba(0, 0, 0, 0.48),
    0 0 54px rgba(47, 101, 255, 0.24),
    inset 0 0 24px rgba(75, 124, 255, 0.08);
}

.module-project {
  top: 12vh;
  left: 35vw;
  width: min(360px, 30vw);
  --module-base-y: 16px;
  --module-z: 95px;
  --module-rotate-y: -3deg;
  --module-rotate-x: 2deg;
  animation-delay: 90ms, 890ms;
}

.module-strategy {
  top: 17vh;
  left: 8vw;
  --module-base-x: -80px;
  --module-base-y: 20px;
  --module-z: -80px;
  --module-rotate-y: 17deg;
  --module-rotate-x: 4deg;
  animation-delay: 180ms, 980ms;
}

.module-products {
  top: 29vh;
  left: 38vw;
  width: min(380px, 32vw);
  --module-base-y: 38px;
  --module-z: 60px;
  --module-rotate-y: -4deg;
  --module-rotate-x: 3deg;
  animation-delay: 310ms, 1110ms;
}

.module-sales-page {
  top: 16vh;
  right: 10vw;
  width: min(380px, 32vw);
  --module-base-x: 70px;
  --module-base-y: 24px;
  --module-z: -18px;
  --module-rotate-y: -14deg;
  --module-rotate-x: 4deg;
  animation-delay: 420ms, 1220ms;
}

.module-funnel {
  top: 15vh;
  right: 9vw;
  --module-base-x: 80px;
  --module-base-y: 28px;
  --module-z: -30px;
  --module-rotate-y: -16deg;
  --module-rotate-x: 4deg;
  animation-delay: 430ms, 1230ms;
}

.module-automation {
  left: 14vw;
  bottom: 18vh;
  --module-base-x: -70px;
  --module-base-y: -10px;
  --module-z: -35px;
  --module-rotate-y: 12deg;
  --module-rotate-x: -2deg;
  animation-delay: 560ms, 1360ms;
}

.module-approval {
  right: 23vw;
  bottom: 13vh;
  --module-base-x: 38px;
  --module-base-y: -6px;
  --module-z: 35px;
  --module-rotate-y: -8deg;
  --module-rotate-x: -2deg;
  animation-delay: 690ms, 1490ms;
}

.module-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(245, 248, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-glyph {
  position: relative;
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(75, 124, 255, 0.48);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(75, 124, 255, 0.22), transparent 62%),
    rgba(10, 24, 55, 0.5);
  box-shadow: 0 0 18px rgba(47, 101, 255, 0.2), inset 0 0 12px rgba(138, 184, 255, 0.08);
}

.module-glyph::before,
.module-glyph::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.glyph-map::before {
  width: 16px;
  height: 16px;
  border: 1px solid var(--wizer-ice);
  transform: rotate(45deg);
}

.glyph-map::after {
  width: 4px;
  height: 4px;
  background: var(--gold);
}

.glyph-cube::before {
  width: 15px;
  height: 15px;
  border: 1px solid var(--wizer-ice);
  transform: skewY(-22deg) rotate(45deg);
}

.glyph-cube::after {
  width: 9px;
  height: 9px;
  border: 1px solid var(--blue);
  transform: translate(4px, -4px) skewY(-22deg) rotate(45deg);
}

.glyph-project::before {
  width: 16px;
  height: 12px;
  border: 1px solid var(--wizer-ice);
  border-radius: 4px;
  transform: translateY(2px);
}

.glyph-project::after {
  width: 12px;
  height: 4px;
  border: 1px solid var(--gold);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  top: 7px;
}

.glyph-page::before {
  width: 15px;
  height: 18px;
  border: 1px solid var(--wizer-ice);
  border-radius: 3px;
}

.glyph-page::after {
  width: 7px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 5px 0 rgba(138, 184, 255, 0.76);
}

.glyph-flow::before {
  width: 18px;
  height: 2px;
  background: var(--wizer-ice);
  box-shadow: -7px -7px 0 -1px var(--wizer-violet), 7px 7px 0 -1px var(--gold);
}

.glyph-pulse::before {
  width: 18px;
  height: 18px;
  border: 1px solid var(--wizer-ice);
  border-radius: 50%;
}

.glyph-pulse::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wizer-ice);
  box-shadow: 0 0 18px rgba(75, 124, 255, 0.58);
}

.glyph-lock::before {
  width: 15px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  bottom: 7px;
}

.glyph-lock::after {
  width: 10px;
  height: 9px;
  border: 1px solid var(--gold);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  top: 6px;
}

.space-module h2,
.space-module p,
.funnel-path,
.automation-list,
.project-memory,
.sales-sections {
  position: relative;
  z-index: 1;
  margin: 0;
}

.space-module h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.12;
}

.space-module p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.module-questions,
.automation-list,
.project-memory,
.sales-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-questions span,
.automation-list span,
.project-memory span,
.sales-sections span {
  border: 1px solid rgba(75, 124, 255, 0.24);
  border-radius: 8px;
  padding: 6px 9px;
  color: rgba(245, 248, 255, 0.76);
  font-size: 12px;
  background:
    linear-gradient(135deg, rgba(75, 124, 255, 0.1), rgba(2, 6, 15, 0.36)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(138, 184, 255, 0.08);
}

.product-form-preview {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.product-form-preview label {
  display: grid;
  gap: 5px;
}

.product-form-preview span {
  color: rgba(174, 190, 220, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-form-preview input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--input-glass-edge);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(138, 184, 255, 0.055), rgba(2, 4, 10, 0.16)),
    var(--input-glass);
  box-shadow:
    inset 0 1px 0 rgba(245, 248, 255, 0.08),
    inset 0 -1px 0 rgba(47, 101, 255, 0.08);
  font: inherit;
}

.product-form-preview label.is-focused input {
  border-color: rgba(138, 184, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(75, 124, 255, 0.16), 0 0 24px rgba(47, 101, 255, 0.18);
}

.module-save {
  position: relative;
  z-index: 1;
  min-height: 38px;
  border: 1px solid rgba(255, 211, 108, 0.26);
  border-radius: 8px;
  color: rgba(255, 211, 108, 0.82);
  background: rgba(255, 211, 108, 0.08);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.funnel-path {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
  counter-reset: funnel;
}

.funnel-path li {
  position: relative;
  min-height: 34px;
  border: 1px solid rgba(75, 124, 255, 0.22);
  border-radius: 8px;
  padding: 8px 8px 8px 36px;
  color: rgba(245, 248, 255, 0.78);
  background:
    linear-gradient(140deg, rgba(75, 124, 255, 0.1), rgba(3, 8, 18, 0.42)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(138, 184, 255, 0.08);
  font-size: 13px;
}

.funnel-path li::before {
  counter-increment: funnel;
  content: counter(funnel);
  position: absolute;
  left: 8px;
  top: 7px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #020817;
  background: linear-gradient(135deg, var(--wizer-ice), var(--wizer-electric));
  font-size: 11px;
  font-weight: 900;
}

.wizer-console {
  position: fixed;
  left: 50%;
  top: 53%;
  z-index: 20;
  width: min(760px, calc(100vw - 32px));
  transform: translate(-50%, -50%);
  border: 1px solid rgba(75, 124, 255, 0.3);
  border-radius: 28px;
  padding: 10px;
  background:
    radial-gradient(circle at 10% 0, rgba(138, 184, 255, 0.14), transparent 38%),
    radial-gradient(circle at 88% 120%, rgba(111, 66, 255, 0.1), transparent 42%),
    linear-gradient(150deg, rgba(8, 18, 38, 0.38), rgba(4, 9, 20, 0.22)),
    var(--input-glass);
  box-shadow:
    0 22px 90px rgba(0, 0, 0, 0.38),
    0 0 70px var(--input-glass-glow),
    inset 0 1px 0 rgba(245, 248, 255, 0.1),
    inset 0 -1px 0 rgba(47, 101, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.2);
  overflow: hidden;
  transition:
    width 540ms cubic-bezier(0.18, 0.78, 0.18, 1),
    border-radius 540ms cubic-bezier(0.18, 0.78, 0.18, 1),
    left 540ms cubic-bezier(0.18, 0.78, 0.18, 1),
    top 540ms cubic-bezier(0.18, 0.78, 0.18, 1),
    right 540ms cubic-bezier(0.18, 0.78, 0.18, 1),
    bottom 540ms cubic-bezier(0.18, 0.78, 0.18, 1),
    transform 540ms cubic-bezier(0.18, 0.78, 0.18, 1);
}

body.is-building .wizer-console {
  left: auto;
  top: auto;
  right: 22px;
  bottom: 22px;
  width: min(430px, calc(100vw - 44px));
  max-height: none;
  border-radius: var(--radius-card);
  transform: none;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  backdrop-filter: none;
}

body.is-building .wizer-console::before {
  display: none;
}

.console-head {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 10px;
}

body.is-building .console-head {
  display: none;
}

.wizer-core {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(138, 184, 255, 0.58);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 124, 255, 0.54), rgba(9, 18, 44, 0.88) 62%);
  box-shadow: 0 0 30px rgba(47, 101, 255, 0.34), inset 0 0 14px rgba(138, 184, 255, 0.16);
  animation: core-breathe 3.8s ease-in-out infinite;
}

.wizer-core::before,
.wizer-core::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(240, 198, 106, 0.42);
  border-radius: 50%;
}

.wizer-core::before {
  inset: -5px;
  transform: rotateX(64deg);
}

.wizer-core::after {
  inset: 8px;
  background: var(--wizer-ice);
  border: 0;
  box-shadow: 0 0 18px var(--wizer-ice), 0 0 32px var(--wizer-electric);
}

.console-head strong,
.console-head span {
  display: block;
}

.console-head strong {
  font-size: 14px;
}

.console-head span {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}

.transcript {
  position: relative;
  z-index: 1;
  display: none;
  max-height: 340px;
  overflow-y: auto;
  padding: 0 8px 8px;
  scrollbar-width: thin;
}

body.is-building .transcript {
  position: fixed;
  right: 22px;
  bottom: calc(var(--wizer-composer-height, 64px) + 42px);
  z-index: 19;
  display: grid;
  width: min(560px, calc(100vw - 44px));
  max-height: min(calc(100vh - var(--wizer-composer-height, 64px) - 160px), 560px);
  gap: 12px;
  padding: 0;
  overflow-y: auto;
  pointer-events: auto;
  scrollbar-width: thin;
}

body.is-building .wizer-form {
  min-height: 64px;
  border: 1px solid var(--input-glass-edge);
  border-radius: var(--radius-card);
  padding: 8px 10px 8px 16px;
  background:
    radial-gradient(circle at 12% 0, rgba(138, 184, 255, 0.12), transparent 36%),
    radial-gradient(circle at 100% 120%, rgba(111, 66, 255, 0.1), transparent 42%),
    linear-gradient(145deg, rgba(8, 18, 38, 0.42), rgba(3, 8, 18, 0.28)),
    var(--input-glass);
  box-shadow:
    0 18px 58px rgba(0, 0, 0, 0.34),
    0 0 34px var(--input-glass-glow),
    inset 0 1px 0 rgba(245, 248, 255, 0.1),
    inset 0 -1px 0 rgba(47, 101, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.18);
}

.message {
  position: relative;
  display: grid;
  gap: 5px;
  max-width: 94%;
  border: 1px solid rgba(75, 124, 255, 0.2);
  border-radius: 8px;
  padding: 10px 11px;
  color: rgba(245, 248, 255, 0.82);
  background:
    linear-gradient(145deg, rgba(75, 124, 255, 0.1), rgba(3, 8, 18, 0.44)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28), 0 0 24px rgba(47, 101, 255, 0.12);
  font-size: 16px;
  line-height: 1.52;
}

.message strong {
  color: rgba(138, 184, 255, 0.96);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message.user {
  justify-self: end;
  border-color: rgba(138, 184, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(75, 124, 255, 0.12), rgba(3, 8, 18, 0.44)),
    rgba(75, 124, 255, 0.05);
}

.message.user strong {
  color: rgba(240, 198, 106, 0.95);
}

.message ul {
  margin: 2px 0 0;
  padding-left: 18px;
}

.message li + li {
  margin-top: 4px;
}

.question-item {
  padding-left: 2px;
}

.question-action {
  justify-self: start;
  min-height: 27px;
  margin-top: 8px;
  border: 1px solid rgba(138, 184, 255, 0.32);
  border-radius: 999px;
  padding: 5px 10px;
  color: rgba(245, 248, 255, 0.86);
  background:
    radial-gradient(circle at 20% 0, rgba(138, 184, 255, 0.22), transparent 62%),
    rgba(75, 124, 255, 0.1);
  box-shadow: 0 0 18px rgba(47, 101, 255, 0.12), inset 0 1px 0 rgba(245, 248, 255, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.question-action:hover,
.question-action:focus-visible {
  border-color: rgba(138, 184, 255, 0.72);
  outline: 0;
  box-shadow: 0 0 24px rgba(47, 101, 255, 0.2), inset 0 1px 0 rgba(245, 248, 255, 0.12);
}

.question-text {
  display: inline;
  min-width: 0;
}

.message p {
  margin: 0;
}

.message p + p {
  margin-top: 6px;
}

.message-line + .message-line {
  margin-top: 6px;
}

.thinking-line {
  display: inline-flex;
  min-height: 1.3em;
  align-items: center;
  color: rgba(138, 184, 255, 0.86);
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(138, 184, 255, 0.82);
  animation: typing-pulse 900ms ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 120ms;
}

.typing-dots span:nth-child(3) {
  animation-delay: 240ms;
}

.wizer-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  border-radius: inherit;
  isolation: isolate;
}

.wizer-form::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(138, 184, 255, 0.13), transparent) 0 0 / 100% 1px no-repeat,
    radial-gradient(circle at 0 50%, rgba(75, 124, 255, 0.12), transparent 58%);
  pointer-events: none;
}

.intent-picker {
  display: none;
}

.tool-button,
.send-button,
.lead-capture button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.tool-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: rgba(245, 248, 255, 0.78);
  background:
    radial-gradient(circle at 50% 40%, rgba(75, 124, 255, 0.2), transparent 64%),
    rgba(255, 255, 255, 0.06);
  font-size: 22px;
  line-height: 1;
}

.intent-menu {
  position: fixed;
  left: var(--intent-menu-left, 16px);
  top: var(--intent-menu-top, 16px);
  z-index: 80;
  display: grid;
  width: var(--intent-menu-width, min(320px, calc(100vw - 24px)));
  max-height: var(--intent-menu-max-height, calc(100vh - 24px));
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 6px;
  border: 1px solid rgba(75, 124, 255, 0.34);
  border-radius: var(--radius-card);
  padding: 8px;
  background:
    radial-gradient(circle at 12% 0, rgba(75, 124, 255, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(8, 18, 38, 0.95), rgba(3, 8, 18, 0.92));
  box-shadow:
    0 18px 58px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(47, 101, 255, 0.12),
    inset 0 1px 0 rgba(138, 184, 255, 0.1);
  backdrop-filter: blur(16px);
  transform-origin: left bottom;
}

.intent-menu[hidden] {
  display: none;
}

.intent-kicker {
  margin: 0 0 2px;
  padding: 2px 4px 5px;
  color: rgba(138, 184, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intent-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(75, 124, 255, 0.2);
  border-radius: 8px;
  padding: 8px 9px;
  color: rgba(245, 248, 255, 0.82);
  background:
    linear-gradient(145deg, rgba(75, 124, 255, 0.09), rgba(3, 8, 18, 0.44)),
    rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-align: left;
}

.intent-option::after {
  content: ">";
  color: rgba(240, 198, 106, 0.82);
  font-size: 12px;
}

.intent-option:hover,
.intent-option:focus-visible {
  border-color: rgba(138, 184, 255, 0.62);
  outline: 0;
  box-shadow: 0 0 22px rgba(47, 101, 255, 0.16), inset 0 1px 0 rgba(138, 184, 255, 0.08);
}

.wizer-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  max-height: 132px;
  border: 0;
  padding: 9px 0;
  color: var(--ink);
  background: transparent;
  caret-color: var(--wizer-ice);
  font: inherit;
  font-size: 19px;
  line-height: 1.35;
  outline: none;
  overflow-y: auto;
  resize: none;
  scrollbar-width: thin;
}

.wizer-form textarea::placeholder {
  color: rgba(222, 232, 255, 0.5);
}

.wizer-form.is-pending textarea {
  color: rgba(222, 232, 255, 0.58);
}

.wizer-form.is-pending .send-button,
.wizer-form.is-pending .tool-button {
  cursor: wait;
  opacity: 0.72;
}

.send-button {
  min-width: 54px;
  height: 42px;
  border-radius: 999px;
  color: #020817;
  background: linear-gradient(135deg, var(--wizer-ice), var(--wizer-electric));
  box-shadow: 0 0 24px rgba(47, 101, 255, 0.24);
  font-size: 18px;
  font-weight: 900;
}

.lead-capture {
  position: relative;
  z-index: 1;
  display: grid;
  justify-self: start;
  width: min(94%, 430px);
  gap: 10px;
  border: 1px solid rgba(75, 124, 255, 0.24);
  border-radius: var(--radius-card);
  padding: 12px;
  color: rgba(245, 248, 255, 0.86);
  background:
    radial-gradient(circle at 12% 0, rgba(138, 184, 255, 0.12), transparent 34%),
    radial-gradient(circle at 100% 110%, rgba(111, 66, 255, 0.11), transparent 42%),
    linear-gradient(145deg, rgba(75, 124, 255, 0.09), rgba(3, 8, 18, 0.5)),
    rgba(5, 12, 27, 0.44);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(47, 101, 255, 0.12),
    inset 0 1px 0 rgba(245, 248, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.14);
}

.lead-capture.is-live {
  animation: message-rise 420ms ease both;
}

.lead-capture[hidden] {
  display: none;
}

.lead-capture p {
  margin: 0;
  color: rgba(245, 248, 255, 0.8);
  font-size: 15px;
  line-height: 1.45;
}

.lead-capture label {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.lead-capture label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-capture input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--input-glass-edge);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(138, 184, 255, 0.055), rgba(2, 4, 10, 0.16)),
    var(--input-glass);
  box-shadow: inset 0 1px 0 rgba(245, 248, 255, 0.08);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.lead-capture input:focus {
  border-color: rgba(138, 184, 255, 0.62);
  box-shadow: 0 0 22px rgba(47, 101, 255, 0.16), inset 0 1px 0 rgba(245, 248, 255, 0.1);
}

.lead-capture button {
  min-height: 38px;
  border-radius: 8px;
  color: #020817;
  background: linear-gradient(135deg, var(--gold), var(--wizer-ice), var(--wizer-electric));
  font-weight: 900;
}

.lead-feedback {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
}

.lead-feedback.is-error {
  color: var(--rose);
}

.entry-footer {
  position: fixed;
  left: clamp(16px, 3vw, 32px);
  bottom: 18px;
  z-index: 9;
  display: flex;
  gap: 12px;
  opacity: 0.58;
}

.entry-footer a {
  color: rgba(222, 232, 255, 0.68);
  font-size: 12px;
  text-decoration: none;
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 72px, 72px 0;
  }
}

@keyframes message-rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes module-arrive {
  from {
    opacity: 0;
    filter: blur(16px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes module-drift {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: calc(var(--module-drift-distance, 10px) * -1);
    margin-left: var(--module-drift-side, 0px);
  }
}

@keyframes core-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(47, 101, 255, 0.34), inset 0 0 14px rgba(138, 184, 255, 0.16);
  }
  50% {
    transform: scale(1.045);
    box-shadow: 0 0 38px rgba(75, 124, 255, 0.5), 0 0 64px rgba(111, 66, 255, 0.18), inset 0 0 18px rgba(138, 184, 255, 0.2);
  }
}

@keyframes typing-pulse {
  0%,
  100% {
    opacity: 0.26;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (max-width: 980px) {
  body[data-wizer-entry] {
    overflow-y: auto;
  }

  .opening {
    padding-bottom: 150px;
  }

  .business-space {
    position: relative;
    min-height: 120vh;
    padding: 120px 18px 260px;
    perspective: none;
  }

  .space-module {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(100%, 560px);
    min-width: 0;
    margin: 0 auto 14px;
    transform: none;
  }

  .module-products,
  .module-sales-page,
  .module-funnel,
  .module-automation,
  .module-approval,
  .module-project {
    width: min(100%, 560px);
  }

  body.is-building .space-module.is-relevant {
    animation: module-arrive 520ms ease forwards;
  }
}

@media (max-width: 640px) {
  .entry-bar {
    top: 14px;
  }

  .entry-signin {
    min-height: 30px;
    padding: 0 10px;
  }

  .language-trigger {
    width: 34px;
    height: 30px;
  }

  .language-menu {
    grid-template-columns: repeat(2, 34px);
  }

  .language-option {
    width: 34px;
    height: 30px;
  }

  .opening {
    padding: 0 18px 150px;
  }

  .opening h1 {
    font-size: clamp(30px, 11vw, 46px);
  }

  .wizer-console,
  body.is-building .wizer-console {
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: auto;
    width: auto;
    max-height: calc(100vh - 24px);
    transform: none;
  }

  body.is-building .transcript {
    left: 12px;
    right: 12px;
    bottom: calc(var(--wizer-composer-height, 64px) + 32px);
    width: auto;
    max-height: min(52vh, calc(100vh - var(--wizer-composer-height, 64px) - 132px));
  }

  body:not(.is-building) .wizer-console {
    top: 54%;
    left: 14px;
    right: 14px;
    bottom: auto;
    transform: translateY(-50%);
  }

  .tool-button {
    width: 36px;
    height: 36px;
  }

  .send-button {
    min-width: 48px;
    height: 38px;
  }

  .wizer-form textarea {
    min-height: 40px;
    font-size: 17px;
  }

  .entry-footer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  body.is-building .signal-grid {
    animation: none;
  }
}
