:root {
  color-scheme: dark;
  --bg: #07080a;
  --bg-elevated: #0c0e12;
  --surface: #111319;
  --surface-quiet: #0a0c0f;
  --text: #f5f5f2;
  --text-muted: #a8abb2;
  --text-subtle: #7e828c;
  --line: #252933;
  --line-strong: #383d48;
  --purple: #7628db;
  --magenta: #bd1b69;
  --orange: #a83c00;
  --blue: #0b72c4;
  --gradient: linear-gradient(100deg, var(--purple), var(--magenta) 34%, var(--orange) 68%, var(--blue));
  --content: min(1180px, calc(100vw - 48px));
  --section-heading-size: clamp(2.65rem, 5.3vw, 4.55rem);
  --section-subheading-size: clamp(1.05rem, 0.96rem + 0.32vw, 1.3rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #66c7ff;
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  padding: clamp(12px, 2vw, 22px) 0 0;
  pointer-events: none;
}

.site-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(16px, 4vw, 40px);
  align-items: center;
  width: min(calc(100% - clamp(28px, 7vw, 96px)), 1180px);
  min-height: clamp(56px, 7vw, 68px);
  margin: 0 auto;
  padding: 0 clamp(10px, 2.6vw, 18px);
  pointer-events: auto;
  background: rgba(18, 13, 31, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(3, 2, 12, 0.18);
  backdrop-filter: blur(22px) saturate(1.25);
}

.site-nav__brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.site-nav__logo {
  width: clamp(118px, 15vw, 158px);
  height: auto;
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.28));
}

.site-nav__links {
  grid-column: 2;
  min-width: 0;
  min-height: 1px;
}

.site-nav__cta {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 17px;
  color: #120d1f;
  font: 700 0.875rem/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(3, 2, 12, 0.22);
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-nav__cta:hover {
  color: #120d1f;
  background: rgb(255 255 255 / 0.88);
  transform: translateY(-2px);
}

.site-nav__cta:active {
  box-shadow: 0 8px 24px rgba(3, 2, 12, 0.24);
  transform: scale(0.97);
}

.site-nav__cta:focus-visible {
  outline: 3px solid rgba(247, 214, 111, 0.58);
  outline-offset: 3px;
}

.site-nav__cta-label--mobile {
  display: none;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  filter: brightness(1.12);
  transition: transform 220ms var(--ease-out), filter 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(0.92);
}

.button:active {
  transform: translateY(0);
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-cta {
  background: var(--purple);
}

.hero-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.hero-stage__shader,
.hero-stage__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-stage__shader {
  z-index: -2;
  display: block;
  opacity: 0;
  filter: saturate(0.92) contrast(0.92) brightness(0.88);
  transition: opacity 240ms ease-out;
}

.hero-stage__shader[data-shader-ready="true"] {
  opacity: 0.9;
}

.hero-stage__shade {
  z-index: -1;
  background:
    radial-gradient(circle at 52% 12%, rgb(255 255 255 / 0.09), transparent 25rem),
    linear-gradient(90deg, rgb(5 4 8 / 0.62) 0%, rgb(8 6 13 / 0.42) 48%, rgb(8 6 13 / 0.24) 100%),
    linear-gradient(180deg, rgb(0 0 0 / 0.16) 0%, rgb(0 0 0 / 0.02) 42%, rgb(0 0 0 / 0.72) 100%);
}

.hero {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: clamp(132px, 14vh, 156px) 0 clamp(34px, 4vh, 46px);
}

.hero-copy {
  width: min(840px, 100%);
  text-align: center;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 26px;
  font-size: clamp(3rem, 5.4vw, 4.55rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 32px;
  color: color-mix(in srgb, var(--text-muted) 72%, var(--text));
  font-size: var(--section-subheading-size);
  line-height: 1.5;
}

.backing-card {
  display: inline-flex;
  min-height: 58px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.035);
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.backing-card:hover {
  border-color: rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.06);
}

.backing-card:active {
  transform: scale(0.98);
}

.backing-logo {
  width: 112px;
  height: auto;
  flex: 0 0 auto;
  filter: grayscale(1) invert(1) brightness(1.65);
  opacity: 0.88;
}

.backing-divider {
  width: 1px;
  height: 30px;
  margin: 0 clamp(12px, 1.3vw, 17px);
  background: var(--line-strong);
}

.backing-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.backing-copy strong {
  color: var(--text-muted);
  font-weight: 700;
}

.backing-copy > span {
  color: var(--text-subtle);
  font-weight: 700;
}

.product-section {
  position: relative;
  width: var(--content);
  margin: 0 auto;
  overflow-x: clip;
  padding: 0 0 clamp(72px, 8vw, 120px);
}

.product-frame-shell {
  position: relative;
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  padding: 1px;
  border-radius: 30px;
}

.product-frame-shell::before,
.product-frame-shell::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
}

.product-frame-shell::before {
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.18),
    inset 0 -2px 4px rgba(16, 18, 22, 0.14);
}

.product-frame-shell::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 13%);
  box-shadow: none;
}

.product-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(31, 34, 39, 0.015);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    inset 0 -28px 72px rgba(8, 10, 12, 0.025);
  backdrop-filter: blur(22px) saturate(96%) brightness(98%) contrast(100%);
  -webkit-backdrop-filter: blur(22px) saturate(96%) brightness(98%) contrast(100%);
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.008), transparent 18%, rgba(5, 7, 10, 0.012));
}

.product-frame > * {
  position: relative;
  z-index: 1;
}

.listening-wave {
  width: 28px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.listening-wave i {
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #de83ff, #8357ff);
  transform-origin: center;
}

.listening-wave i:nth-child(1),
.listening-wave i:nth-child(5) { height: 9px; }
.listening-wave i:nth-child(2),
.listening-wave i:nth-child(4) { height: 17px; }
.listening-wave i:nth-child(3) { height: 24px; }

.product-overlay__toggle .listening-wave i {
  animation: listen 760ms ease-in-out infinite alternate;
}

.product-overlay__toggle .listening-wave i:nth-child(2) { animation-delay: -240ms; }
.product-overlay__toggle .listening-wave i:nth-child(3) { animation-delay: -420ms; }
.product-overlay__toggle .listening-wave i:nth-child(4) { animation-delay: -130ms; }
.product-overlay__toggle .listening-wave i:nth-child(5) { animation-delay: -330ms; }

@keyframes listen {
  to { transform: scaleY(0.38); opacity: 0.62; }
}

.preview-workspace {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.82fr);
  gap: 16px;
}

.preview-pane {
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.preview-question {
  min-height: 246px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.preview-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: #b8bbc5;
  font-size: 0.82rem;
}

.preview-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 9px;
  background: rgba(245, 245, 242, 0.04);
  color: var(--text);
}

.preview-icon svg,
.prompt-spark svg,
.preview-prompt button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-icon .lucide,
.source-chips .lucide {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-icon svg {
  width: 17px;
  height: 17px;
}

.preview-question h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(1.45rem, 2.35vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.preview-answer {
  min-height: 246px;
  padding: 23px;
  background: transparent;
}

.product-frame[data-demo-phase="3"] .preview-answer {
  box-shadow: none;
}

.preview-answer h3 {
  max-width: 38ch;
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.52rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.38;
}

.source-chips {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-chips li {
  min-height: 35px;
  padding: 7px 10px;
  border: 1px solid rgba(224, 229, 238, 0.26);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(20, 23, 29, 0.18);
  color: #d7d9df;
  font-size: 0.75rem;
  white-space: nowrap;
}

.source-chips svg {
  width: 17px;
  height: 17px;
  color: var(--text);
}

.preview-prompt-row {
  margin: 0 18px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.preview-prompt {
  height: 50px;
  margin: 0;
  padding: 4px 5px 4px 10px;
  border: 1px solid rgba(245, 245, 242, 0.16);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  background: rgba(20, 23, 29, 0.1);
  box-shadow: inset 0 1px 0 rgba(245, 245, 242, 0.08);
  backdrop-filter: blur(8px) saturate(94%) brightness(98%);
  -webkit-backdrop-filter: blur(8px) saturate(94%) brightness(98%);
}

.prompt-spark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 9px;
  background: rgba(245, 245, 242, 0.04);
  color: var(--text);
}

.prompt-spark svg {
  width: 22px;
  height: 22px;
}

.preview-answer .preview-icon svg,
.prompt-spark svg {
  transform: translateY(2px);
}

.preview-prompt input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #bfc2ca;
  font: inherit;
  opacity: 1;
  -webkit-text-fill-color: #bfc2ca;
}

.preview-prompt input::placeholder {
  color: #bfc2ca;
  opacity: 1;
}

.preview-prompt button {
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid rgba(194, 147, 255, 0.52);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(116, 62, 204, 0.9), rgba(74, 61, 160, 0.82));
  color: #eee8ff;
  box-shadow: 0 7px 20px rgba(72, 37, 142, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  opacity: 1;
}

.preview-prompt button svg {
  width: 100%;
  height: 100%;
}

.js [data-demo-reveal] {
  transition:
    opacity 520ms var(--ease-out),
    transform 650ms var(--ease-out),
    filter 520ms var(--ease-out);
}

.js .product-frame[data-demo-phase="0"] [data-demo-reveal],
.js .product-frame[data-demo-phase="1"] [data-demo-reveal="sources"],
.js .product-frame[data-demo-phase="1"] [data-demo-reveal="answer"],
.js .product-frame[data-demo-phase="2"] [data-demo-reveal="answer"] {
  opacity: 0.16;
  transform: translateY(7px);
  filter: blur(2px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .product-frame {
    background: rgba(31, 34, 39, 0.04);
  }
}

.content-section {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(110px, 14vw, 190px) 0;
  border-top: 1px solid var(--line);
}

.booking-copy h2 {
  margin-bottom: 0;
  font-size: var(--section-heading-size);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.01;
}

.booking-copy > p {
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: var(--section-subheading-size);
  line-height: 1.55;
}

.problem-section {
  width: var(--content);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(520px, 0.92fr);
  align-items: center;
  gap: clamp(72px, 7vw, 120px);
  padding-top: clamp(72px, 8vw, 110px);
  padding-bottom: clamp(72px, 8vw, 120px);
  border-top: 0;
}

.problem-copy {
  max-width: 680px;
}

.problem-copy h2 {
  max-width: 16ch;
  margin: 0;
  font-size: var(--section-heading-size);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.problem-copy > p:last-child {
  max-width: 100%;
  margin: clamp(28px, 3.4vw, 42px) 0 0;
  color: color-mix(in srgb, var(--text-muted) 75%, var(--text));
  font-size: var(--section-subheading-size);
  line-height: 1.75;
}

.problem-dialogue {
  display: grid;
  gap: clamp(26px, 3vw, 38px);
  align-content: center;
  padding-inline: 30px;
}

.problem-bubble {
  --bubble-background: var(--bg);
  --bubble-edge: var(--line-strong);
  position: relative;
  width: 92%;
  margin: 0;
  padding: clamp(28px, 3.2vw, 42px) clamp(28px, 3.2vw, 42px) clamp(20px, 2.3vw, 30px);
  border: 2px solid var(--bubble-edge);
  border-radius: 22px;
  background: var(--bubble-background);
}

.problem-bubble::before,
.problem-bubble::after {
  position: absolute;
  top: 64%;
  width: 0;
  height: 0;
  content: "";
  transform: translateY(-50%);
}

.problem-bubble--buyer {
  justify-self: start;
  transform-origin: -27px 64%;
}

.problem-bubble--buyer::before {
  left: -27px;
  border-top: 17px solid transparent;
  border-right: 27px solid var(--bubble-edge);
  border-bottom: 17px solid transparent;
}

.problem-bubble--buyer::after {
  left: -23px;
  border-top: 15px solid transparent;
  border-right: 24px solid var(--bubble-background);
  border-bottom: 15px solid transparent;
}

.problem-bubble--rep {
  --bubble-background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 84%, var(--text-subtle)), var(--surface));
  --bubble-tail: var(--surface);
  width: 100%;
  justify-self: end;
  border-color: var(--line-strong);
  background: var(--bubble-background);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.03);
  transform-origin: calc(100% + 27px) 64%;
}

.problem-dialogue.is-motion-ready .problem-bubble {
  opacity: 0;
  transform: scale(0.9);
  will-change: transform, opacity;
}

.problem-dialogue.is-motion-ready .problem-bubble.is-visible {
  animation: problem-bubble-pop 480ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes problem-bubble-pop {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  72% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.problem-bubble--rep::before {
  right: -27px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 27px solid var(--line-strong);
}

.problem-bubble--rep::after {
  right: -23px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid var(--bubble-tail);
}

.problem-bubble__speaker {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 1;
  text-transform: uppercase;
}

.problem-bubble__message {
  margin: clamp(16px, 1.8vw, 22px) 0 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.35;
  text-wrap: balance;
}

.problem-bubble--rep .problem-bubble__message {
  color: color-mix(in srgb, var(--text-muted) 75%, var(--text));
}

.call-support-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.call-support-section {
  width: var(--content);
  padding: clamp(72px, 8vw, 112px) 0;
}

.call-support-section > h2 {
  max-width: 900px;
  margin: 0 auto clamp(54px, 5vw, 76px);
  font-size: var(--section-heading-size);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-align: center;
}

.call-process-panel {
  overflow: hidden;
  padding: clamp(38px, 3.8vw, 54px) clamp(24px, 2.8vw, 42px) clamp(54px, 5vw, 76px);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 28px;
  background: rgb(29 32 39 / 0.62);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    inset 0 0 0 1px rgb(255 255 255 / 0.045);
  backdrop-filter: blur(22px) saturate(96%) brightness(98%) contrast(100%);
  -webkit-backdrop-filter: blur(22px) saturate(96%) brightness(98%) contrast(100%);
}

.call-process {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.call-stage {
  position: relative;
  min-width: 0;
  padding: 0 clamp(20px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
}

.call-stage:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 30px;
  left: calc(50% + 31px);
  width: calc(100% - 62px);
  height: 2px;
  background: var(--text-subtle);
  content: "";
}

.call-stage__marker {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  margin: 0 auto 26px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(29 32 39 / 0.72);
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(12px) saturate(92%);
  -webkit-backdrop-filter: blur(12px) saturate(92%);
}

.call-stage__body {
  flex: 1;
  min-width: 0;
  padding: 26px clamp(18px, 1.8vw, 28px) 24px;
  border: 1px solid rgba(245, 245, 242, 0.16);
  border-radius: 16px;
  background: rgba(20, 23, 29, 0.18);
  box-shadow: inset 0 1px 0 rgba(245, 245, 242, 0.08);
  backdrop-filter: blur(8px) saturate(94%) brightness(98%);
  -webkit-backdrop-filter: blur(8px) saturate(94%) brightness(98%);
  text-align: center;
}

.call-stage--question .call-stage__body,
.call-stage--guidance .call-stage__body {
  height: 405px;
  flex: 0 0 405px;
}

.call-stage--guidance .call-stage__body {
  container-type: inline-size;
}

.call-stage__label {
  min-height: 32px;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: color-mix(in srgb, var(--text-muted) 86%, var(--text));
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: uppercase;
}

.call-stage__recording-mark {
  flex: 0 0 auto;
}

.call-stage__recording-mark i {
  background: color-mix(in srgb, var(--purple) 72%, var(--text));
}

.call-stage--listening h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-align: center;
}

.live-recording {
  margin: 28px 0 0;
}

.live-recording time {
  display: block;
  color: var(--text);
  font-size: clamp(3rem, 4vw, 4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  text-align: center;
}

.live-recording__waveform {
  display: block;
  width: 100%;
  height: 66px;
  margin-top: 28px;
}

.call-stage__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--text-muted) 82%, var(--text));
}

.call-stage__icon svg,
.call-source-list svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.call-stage__question-pane {
  height: 245px;
  min-height: 245px;
  padding: 28px;
  display: grid;
  place-items: start center;
  text-align: center;
}

.call-stage__question-pane p {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-wrap: balance;
}

.call-stage__question-pane p[data-demo-density="medium"] {
  font-size: clamp(1.35rem, 1.75vw, 1.58rem);
}

.call-stage__question-pane p[data-demo-density="long"] {
  font-size: clamp(1.2rem, 1.55vw, 1.4rem);
}

.call-stage__guidance-copy {
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.5;
  text-align: center;
}

.call-stage__guidance-copy[data-demo-density="medium"] {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.call-stage__guidance-copy[data-demo-density="long"] {
  font-size: clamp(0.94rem, 1.05vw, 1rem);
  line-height: 1.45;
}

.call-source-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.call-source-list li {
  min-height: 35px;
  padding: 7px 10px;
  border: 1px solid rgba(224, 229, 238, 0.26);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(20, 23, 29, 0.18);
  color: #d7d9df;
  font-size: 0.75rem;
  line-height: 1.3;
  white-space: nowrap;
}

.call-source-list svg {
  width: 17px;
  height: 17px;
  color: var(--text);
}

@container (min-width: 185px) {
  .call-source-list[data-source-count="2"] {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .call-source-list[data-source-count="2"] li {
    min-height: 32px;
    padding: 5px 4px;
    gap: 4px;
    font-size: 0.68rem;
  }

  .call-source-list[data-source-count="2"] svg {
    width: 15px;
    height: 15px;
  }
}

.js .product-frame[data-demo-phase="3"] [data-demo-question],
.js .product-frame[data-demo-phase="3"] [data-demo-guidance],
.js .product-frame[data-demo-phase="3"] [data-demo-sources],
.js .call-process [data-demo-transition] {
  transition:
    opacity 420ms var(--ease-out),
    transform 420ms var(--ease-out),
    filter 420ms var(--ease-out);
  will-change: opacity, transform, filter;
}

.js [data-demo-question].is-changing,
.js [data-demo-guidance].is-changing,
.js [data-demo-sources].is-changing,
.js [data-demo-transition].is-changing {
  opacity: 0;
  transform: translateY(2px);
  filter: blur(2px);
  transition-duration: 200ms;
}

.js [data-demo-question].is-resolving,
.js [data-demo-guidance].is-resolving,
.js [data-demo-sources].is-resolving,
.js [data-demo-transition].is-resolving {
  opacity: 0.16;
  transform: translateY(3px);
  filter: blur(2px);
  transition-duration: 0ms;
}

.js .product-frame[data-demo-phase="3"] :is([data-demo-question], [data-demo-guidance], [data-demo-sources]).is-changing {
  transition-duration: 200ms;
}

.js .product-frame[data-demo-phase="3"] :is([data-demo-question], [data-demo-guidance], [data-demo-sources]).is-resolving {
  transition-duration: 0ms;
}

.source-chips svg.source-icon--brand,
.call-source-list svg.source-icon--brand {
  fill: currentColor;
  stroke: none;
}

.booking-section {
  padding: clamp(72px, 8vw, 112px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.booking-copy {
  width: var(--content);
  max-width: 900px;
  margin: 0 auto clamp(42px, 5vw, 60px);
  text-align: center;
}

.booking-copy h2 {
  font-size: var(--section-heading-size);
}

.booking-copy p {
  max-width: 650px;
  margin: 26px auto 0;
}

.scheduler-shell {
  position: relative;
  width: var(--content);
  min-height: 536px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
}

.scheduler-embed,
.scheduler-embed > div,
.scheduler-embed cal-inline,
.scheduler-shell iframe {
  display: block;
  width: 100%;
}

.scheduler-embed,
.scheduler-shell iframe {
  min-height: 536px;
}

.scheduler-shell iframe {
  height: 536px;
  border: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.scheduler-shell.is-loaded iframe {
  opacity: 1;
}

.scheduler-loading {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.scheduler-shell.is-loaded .scheduler-loading {
  opacity: 0;
  visibility: hidden;
}

.scheduler-loading p {
  margin: 0;
  color: var(--text-muted);
}

.scheduler-loading a {
  color: #8ed2ff;
}

.loading-mark {
  width: 38px;
  height: 38px;
  border: 2px solid var(--line-strong);
  border-top-color: #8ed2ff;
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.site-footer {
  position: relative;
  padding: clamp(46px, 6.2vw, 82px) clamp(20px, 5vw, 80px);
  overflow: hidden;
  background: #000;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.site-footer__primary,
.site-footer__bottom {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.site-footer__primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(64px, 11vw, 170px);
  align-items: start;
}

.site-footer__brand {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.footer-logo {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding-top: 5px;
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 3.25rem);
  filter:
    drop-shadow(0 0 20px rgb(255 255 255 / 0.08))
    drop-shadow(0 0 46px rgb(47 141 255 / 0.12));
}

.footer-logo__wordmark {
  display: block;
  width: 2.98em;
  max-width: 100%;
  height: auto;
  opacity: 0.96;
}

.footer-logo__triangle {
  position: absolute;
  top: 0;
  right: -0.19em;
  width: 0.52em;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gradient);
  filter:
    saturate(1.04)
    contrast(1.02)
    brightness(1.08)
    drop-shadow(0 0 26px rgb(255 101 64 / 0.22));
  mask-image: url("assets/enlyte-triangle-mask.png");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
  -webkit-mask-image: url("assets/enlyte-triangle-mask.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
}

.footer-logo__shader {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 240ms ease-out;
}

.footer-logo__shader[data-shader-ready="true"] {
  opacity: 0.96;
}

.site-footer__tagline {
  max-width: 430px;
  margin: 0;
  color: rgb(255 255 255 / 0.72);
  font-size: clamp(1rem, 0.94rem + 0.22vw, 1.16rem);
  font-weight: 560;
  line-height: 1.45;
  text-align: left;
  text-wrap: balance;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: clamp(44px, 6vw, 86px);
}

.site-footer__column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer__column h2 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.site-footer__column a {
  color: var(--text-muted);
  line-height: 1.5;
}

.site-footer__bottom {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: rgb(255 255 255 / 0.58);
  font-size: clamp(0.85rem, 0.82rem + 0.14vw, 0.95rem);
  line-height: 1.5;
}

.site-footer__links a:focus-visible,
.site-footer__bottom a:focus-visible {
  outline: 3px solid rgba(247, 214, 111, 0.58);
  outline-offset: 4px;
}

.footer-social-link {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 160ms ease;
}

.footer-social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-social-link:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  :root {
    --content: min(100% - 32px, 720px);
  }

  .site-footer__primary {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .site-footer__links {
    justify-self: start;
  }

  .preview-workspace {
    grid-template-columns: minmax(215px, 0.72fr) minmax(0, 1.5fr);
  }

  .preview-question,
  .preview-answer {
    padding: 20px;
  }

  .source-chips {
    gap: 6px;
  }

  .problem-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .call-support-section > h2 {
    max-width: 720px;
  }

  .call-process-panel {
    padding: 34px 26px 40px;
  }

  .call-process {
    display: block;
  }

  .call-stage:not(:last-child)::after {
    top: 60px;
    bottom: -22px;
    left: 29px;
    width: 2px;
    height: auto;
  }

  .call-stage {
    padding: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .call-stage:not(:last-child) {
    margin-bottom: 22px;
  }

  .call-stage__marker {
    width: 60px;
    height: 60px;
    margin: 0;
    grid-column: 1;
  }

  .call-stage__body {
    min-width: 0;
    padding: 24px;
    grid-column: 2;
  }

  .call-stage--question .call-stage__body,
  .call-stage--guidance .call-stage__body {
    height: 360px;
  }

  .call-stage:last-child .call-stage__body {
    padding-bottom: 24px;
  }

  .call-stage__label {
    justify-content: center;
  }

  .call-stage--listening h3 {
    font-size: 1.45rem;
  }

  .live-recording__waveform {
    height: 72px;
  }

  .call-stage__question-pane {
    min-height: 210px;
  }

  .problem-section {
    width: var(--content);
    gap: clamp(60px, 9vw, 82px);
  }

  .problem-copy,
  .problem-dialogue {
    width: min(100%, 680px);
  }

  .problem-dialogue {
    justify-self: center;
  }

}

@media (max-width: 920px) {
  .site-nav__cta-label--full {
    display: none;
  }

  .site-nav__cta-label--mobile {
    display: inline;
  }
}

@media (max-width: 620px) {
  :root {
    --content: calc(100% - 28px);
    --section-subheading-size: 1.04rem;
  }

  .site-footer__links {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .hero {
    padding: 136px 0 34px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .product-frame-shell {
    border-radius: 22px;
  }

  .product-frame-shell::before,
  .product-frame-shell::after {
    opacity: 1;
    filter: none;
  }

  .backing-card {
    min-height: 50px;
    padding: 8px 13px;
  }

  .backing-logo {
    width: 96px;
  }

  .backing-divider {
    height: 30px;
  }

  .product-frame {
    border-radius: 19px;
  }

  .preview-workspace {
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .preview-question,
  .preview-answer {
    min-height: auto;
    padding: 18px;
  }

  .preview-question h2 {
    max-width: 18ch;
  }

  .preview-answer h3 {
    font-size: 1.15rem;
  }

  .source-chips li {
    white-space: normal;
  }

  .preview-prompt-row {
    margin: 0 12px 12px;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .preview-prompt {
    height: 44px;
    padding: 3px 4px 3px 8px;
    grid-template-columns: 26px minmax(0, 1fr) 36px;
  }

  .preview-prompt button {
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 11px;
  }

  .content-section {
    padding: 96px 0;
  }

  .problem-copy h2 {
    max-width: 11ch;
  }

  .problem-copy > p:last-child {
    line-height: 1.65;
  }

  .problem-dialogue {
    gap: 24px;
  }

  .problem-bubble,
  .problem-bubble--rep {
    width: 100%;
    padding: 24px 24px 18px;
    border-radius: 22px;
  }

  .problem-bubble--buyer {
    margin-left: 0;
  }

  .problem-bubble--rep {
    margin-right: 0;
  }

  .problem-bubble__message {
    font-size: 1.35rem;
  }

  .call-support-section {
    width: var(--content);
    padding: 24px 0 16px;
  }

  .call-support-section > h2 {
    max-width: 360px;
    margin-bottom: 26px;
    line-height: 1.02;
  }

  .call-process-panel {
    padding: 22px 20px 16px;
    border-radius: 18px;
  }

  .call-stage:not(:last-child)::after {
    top: 48px;
    left: 27px;
  }

  .call-stage {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .call-stage__marker {
    width: 48px;
    height: 48px;
    margin-left: 4px;
    font-size: 1.15rem;
  }

  .call-stage__body {
    padding: 18px 14px;
  }

  .call-stage--question .call-stage__body {
    height: 270px;
  }

  .call-stage--guidance .call-stage__body {
    height: 350px;
  }

  .call-stage__label {
    min-height: 28px;
    margin-bottom: 14px;
    gap: 10px;
    font-size: 0.78rem;
  }

  .call-stage--listening h3 {
    font-size: 1.25rem;
  }

  .live-recording {
    margin-top: 16px;
  }

  .live-recording time {
    font-size: clamp(3.1rem, 12vw, 3.35rem);
  }

  .live-recording__waveform {
    height: 44px;
    margin-top: 14px;
  }

  .call-stage__icon {
    width: 30px;
    height: 30px;
  }

  .call-stage__question-pane {
    width: min(100%, 240px);
    height: 170px;
    min-height: 170px;
    padding: 20px 18px 18px;
  }

  .call-stage__question-pane p {
    font-size: clamp(1.35rem, 6vw, 1.55rem);
  }

  .call-stage__question-pane p[data-demo-density="medium"] {
    font-size: 1.25rem;
  }

  .call-stage__question-pane p[data-demo-density="long"] {
    font-size: 1.1rem;
  }

  .call-stage__guidance-copy {
    font-size: 1rem;
    line-height: 1.45;
  }

  .call-stage__guidance-copy[data-demo-density="medium"] {
    font-size: 0.94rem;
  }

  .call-stage__guidance-copy[data-demo-density="long"] {
    font-size: 0.88rem;
  }

  .call-source-list li {
    padding: 7px 9px;
    font-size: 0.75rem;
  }

  .call-source-list svg {
    width: 17px;
    height: 17px;
  }

  .booking-section {
    padding: 72px 0;
  }

  .scheduler-shell,
  .scheduler-shell iframe {
    min-height: 620px;
  }
}

@media (max-width: 560px) {
  .site-nav {
    column-gap: 10px;
    min-height: 54px;
    padding-inline: 8px;
  }

  .site-nav__links {
    display: none;
  }

  .site-nav__logo {
    width: clamp(104px, 38vw, 132px);
  }

  .site-nav__cta {
    min-height: 36px;
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .problem-bubble {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .meeting-person__video {
    display: none;
  }
}

/* Temporary meeting preview with original product presented as an overlay. */
.product-overlay {
  --overlay-x: 0px;
  --overlay-y: 72px;
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  display: flex;
  width: min(500px, calc(100% - 44px));
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transform: translate3d(calc(-50% + var(--overlay-x)), var(--overlay-y), 0);
  will-change: transform;
}

.product-overlay__toggle {
  display: flex;
  min-width: 60px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 0 7px;
  padding: 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--line-strong) 84%, transparent);
  color: var(--text);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.product-overlay__toggle:hover {
  border-color: var(--text-subtle);
  background: color-mix(in srgb, var(--text-subtle) 72%, transparent);
}

.product-overlay__toggle img {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.product-overlay__toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: transform 180ms ease;
}

.product-overlay.is-dragging .product-overlay__toggle {
  cursor: grabbing;
}

.product-frame--overlay {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent);
  background: color-mix(in srgb, var(--line-strong) 92%, transparent);
  pointer-events: auto;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  contain: paint;
  transform-origin: top center;
  transition: opacity 180ms ease, transform 180ms var(--ease-out), visibility 180ms ease;
}

.product-frame--overlay .preview-workspace {
  height: 205px;
  padding: 10px;
  grid-template-columns: minmax(145px, 0.72fr) minmax(0, 1.5fr);
  gap: 8px;
}

.product-frame--overlay .preview-question,
.product-frame--overlay .preview-answer {
  height: 100%;
  min-height: 0;
  padding: 12px;
}

.product-frame--overlay .preview-label {
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.68rem;
}

.product-frame--overlay .preview-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.product-frame--overlay .preview-icon svg {
  width: 14px;
  height: 14px;
}

.product-frame--overlay .preview-question h2 {
  max-width: 17ch;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.28;
}

.product-frame--overlay .preview-answer h3 {
  font-size: clamp(0.86rem, 1vw, 0.94rem);
  line-height: 1.35;
}

.product-frame--overlay .source-chips {
  margin-top: 10px;
  flex-wrap: nowrap;
  gap: 4px;
}

.product-frame--overlay .source-chips li {
  min-height: 26px;
  flex: 0 0 auto;
  gap: 4px;
  padding: 3px 5px;
  border-radius: 9px;
  font-size: 0.63rem;
}

.product-frame--overlay .source-chips svg {
  width: 12px;
  height: 12px;
}

.product-frame--overlay .preview-prompt-row {
  margin: 0 10px 10px;
}

.product-frame--overlay .preview-prompt {
  height: 42px;
  padding: 3px 4px 3px 8px;
  grid-template-columns: 22px minmax(0, 1fr) 34px;
  gap: 6px;
  background: color-mix(in srgb, var(--bg) 64%, transparent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.product-frame--overlay .prompt-spark {
  width: 22px;
  height: 22px;
}

.product-frame--overlay .prompt-spark svg {
  width: 18px;
  height: 18px;
}

.product-frame--overlay .preview-prompt input {
  font-size: 0.82rem;
}

.product-frame--overlay .preview-prompt button {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
}

.product-overlay.is-collapsed .product-frame--overlay {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
}

.product-overlay.is-collapsed .product-overlay__toggle svg {
  transform: rotate(180deg);
}

.meeting-demo {
  --meeting-end: #d93025;
  --meeting-end-hover: #b3261e;
  position: relative;
  z-index: 1;
  min-height: clamp(460px, 48vw, 610px);
  overflow: hidden;
  border-radius: 28px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--text);
  backdrop-filter: blur(22px) saturate(96%);
  -webkit-backdrop-filter: blur(22px) saturate(96%);
}

.meeting-demo svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meeting-demo button,
.meeting-demo input {
  font: inherit;
}

.meeting-demo button {
  color: inherit;
}

.meeting-demo__live {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: inherit;
  padding: 17px 18px 15px;
}

.meeting-demo__live[hidden] {
  display: none;
}

.meeting-demo__header {
  display: flex;
  min-height: 48px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.meeting-demo__header strong {
  font-size: 1rem;
}

.meeting-demo__header time {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.meeting-demo__body {
  position: relative;
  display: flex;
  min-height: 0;
  gap: 12px;
}

.meeting-demo__stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  flex: 1;
  gap: 10px;
}

.meeting-person {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--text) 6%, transparent);
  border-radius: 22px;
  isolation: isolate;
}

.meeting-person::before,
.meeting-person::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
}

.meeting-person::before {
  top: -32%;
  right: -28%;
  width: 76%;
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--text) 7%, transparent);
}

.meeting-person::after {
  bottom: -22%;
  left: -16%;
  width: 52%;
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--bg) 16%, transparent);
}

.meeting-person--warm {
  background: linear-gradient(145deg, color-mix(in srgb, var(--magenta) 30%, var(--surface)), color-mix(in srgb, var(--orange) 18%, var(--bg-elevated)) 70%);
}

.meeting-person--cool {
  background: linear-gradient(145deg, color-mix(in srgb, var(--blue) 30%, var(--surface)), color-mix(in srgb, var(--purple) 18%, var(--bg-elevated)) 70%);
}

.meeting-person__avatar {
  display: grid;
  width: clamp(78px, 9vw, 112px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 30%, transparent);
  box-shadow: inset 0 0 0 8px color-mix(in srgb, var(--text) 4%, transparent);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
}

.meeting-person__fallback,
.meeting-person__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meeting-person__video:not([data-ready="true"]) {
  opacity: 0;
}

.meeting-person footer {
  position: absolute;
  z-index: 1;
  right: 13px;
  bottom: 12px;
  left: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.meeting-person footer strong,
.meeting-person__mic {
  background: color-mix(in srgb, var(--bg) 64%, transparent);
  backdrop-filter: blur(8px);
}

.meeting-person footer strong {
  padding: 6px 9px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.meeting-person__mic {
  display: grid;
  width: 32px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
}

.meeting-person__mic svg {
  width: 15px;
  height: 15px;
}

.meeting-person__mic.is-muted {
  color: var(--magenta);
}

.meeting-demo__share {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  margin: 0;
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--text);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.meeting-demo__share.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.meeting-chat {
  display: none;
  width: min(300px, 28vw);
  min-width: 270px;
  overflow: hidden;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.meeting-chat.is-open {
  display: grid;
}

.meeting-chat header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 12px 12px 16px;
}

.meeting-chat h2 {
  margin: 0;
  font-size: 1rem;
}

.meeting-chat header button,
.meeting-chat form button {
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.meeting-chat header button:hover,
.meeting-chat form button:hover {
  background: var(--bg-elevated);
}

.meeting-chat__messages {
  min-height: 0;
  overflow-y: auto;
  padding: 8px 16px;
}

.meeting-chat__messages > p {
  margin: 14px 5px;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.meeting-chat__messages .meeting-message {
  margin-bottom: 16px;
  color: var(--text);
  text-align: left;
}

.meeting-message strong {
  display: block;
  margin-bottom: 3px;
}

.meeting-message a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.meeting-chat form {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 12px 12px;
  padding: 4px 4px 4px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-quiet);
}

.meeting-chat input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.8rem;
}

.meeting-chat form button {
  color: var(--blue);
}

.meeting-end-message {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(360px, calc(100% - 32px));
  margin: 0;
  padding: 20px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, calc(-50% + 8px));
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.meeting-end-message.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.meeting-controls {
  display: flex;
  min-height: 68px;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.meeting-control {
  display: flex;
  min-width: 92px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.meeting-control:hover {
  border-color: var(--text-subtle);
  background: var(--surface);
}

.meeting-control:active {
  transform: scale(0.97);
}

.meeting-control[aria-pressed="true"] {
  border-color: var(--text);
  background: var(--text);
  color: var(--blue);
}

.meeting-icon-mic-off,
.meeting-control[aria-pressed="true"] .meeting-icon-mic {
  display: none;
}

.meeting-control[aria-pressed="true"] .meeting-icon-mic-off {
  display: block;
}

.meeting-control--end {
  min-width: 108px;
  border-color: var(--meeting-end);
  background: var(--meeting-end);
  color: var(--text);
}

.meeting-control--end:hover {
  border-color: var(--meeting-end-hover);
  background: var(--meeting-end-hover);
}

@media (max-width: 760px) {
  .product-overlay {
    --overlay-y: 62px;
    width: min(500px, calc(100% - 24px));
  }

  .product-frame--overlay {
    max-height: 390px;
    overflow-y: auto;
  }

  .product-frame--overlay .preview-workspace {
    height: 205px;
    grid-template-columns: minmax(145px, 0.72fr) minmax(0, 1.5fr);
  }

  .meeting-demo {
    min-height: 560px;
  }

  .meeting-demo__live {
    padding: 14px;
  }

  .meeting-demo__stage {
    grid-template-columns: 1fr;
  }

  .meeting-person {
    border-radius: 14px;
  }

  .meeting-chat {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: auto;
    min-width: 0;
  }

  .meeting-controls {
    min-height: 62px;
  }

  .meeting-control {
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
  }

  .meeting-control > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .meeting-control--end {
    width: 60px;
    min-width: 60px;
    border-radius: 22px;
  }
}

@media (min-width: 481px) and (max-width: 520px) {
  .product-frame--overlay .preview-workspace {
    height: 233px;
  }
}

@media (max-width: 480px) {
  .product-overlay {
    width: calc(100% - 24px);
  }

  .product-frame--overlay .preview-workspace {
    height: auto;
    grid-template-columns: 1fr;
  }
}
