body.hello-marketing-page.demo-page {
  background: #f8f3ed;
  color: #171717;
}

.demo-page *, .demo-page *::before, .demo-page *::after {
  box-sizing: border-box;
}

.demo-container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.demo-stage-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-block: clamp(120px, 14vh, 160px);
}

.demo-stage-section > .demo-stage { width: 100%; }

.demo-stage-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 42px;
  color: #171717;
}

.demo-stage-mark svg {
  display: block;
  width: 43px;
  height: 43px;
}

.demo-call-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-call-tools[hidden], .demo-idle[hidden], .demo-transcript-panel[hidden], .demo-mic-menu[hidden], .demo-reply-choices[hidden] {
  display: none;
}

.demo-mic-picker { position: relative; display: flex; border-radius: 9px; background: #eeeae5; }

.demo-mic-control, .demo-mic-menu-toggle, .demo-top-end {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  color: #272727;
  cursor: pointer;
}

.demo-mic-control, .demo-mic-menu-toggle { background: transparent; }
.demo-mic-control { padding-right: 4px; }
.demo-mic-menu-toggle { min-width: 26px; padding: 0 6px 0 0; }
.demo-mic-control:disabled { opacity: .55; cursor: default; }
.demo-mic-control.is-listening { background: #d9efe8; }
.demo-mic-control svg, .demo-top-end svg { width: 18px; height: 18px; }
.demo-mic-menu-toggle svg { width: 14px; height: 14px; }
.demo-mic-indicator { width: 6px; height: 6px; border-radius: 50%; background: #4bb49e; }
.demo-mic-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 50%;
  width: min(340px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid #e9e4df;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgb(0 0 0 / .12);
  text-align: left;
  transform: translateX(-50%);
}
.demo-mic-menu p { margin: 4px 8px 8px; color: #77716c; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.demo-mic-menu button { display: block; width: 100%; padding: 10px 8px; border: 0; border-radius: 7px; background: #fff; color: #171717; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.demo-mic-menu button:hover, .demo-mic-menu button[aria-current="true"] { background: #f5f1ed; }
.demo-top-end { background: #f2d7d4; }
.demo-top-end:hover { background: #e9c0bc; }

.demo-layout {
  display: grid;
  grid-template-columns: 231px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.demo-specialties { min-width: 0; }

.demo-category-menu {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-category {
  display: flex;
  min-height: 76px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, .7);
  color: #686560;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.demo-category svg {
  width: 27px;
  height: 27px;
  flex: none;
}

.demo-category.is-active {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

.demo-agent-panel {
  display: flex;
  min-height: 414px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border: 1px solid #eee9e2;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.demo-stage-heading {
  max-width: 650px;
  margin-inline: auto;
}

.demo-idle { width: 100%; }
.demo-agent-panel.is-on-call { align-items: stretch; justify-content: stretch; overflow: hidden; padding: 0; }

.demo-transcript-panel {
  display: flex;
  width: 100%;
  height: 414px;
  flex-direction: column;
  padding: 24px 28px 18px;
  text-align: left;
}

.demo-transcript-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #77716c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}

.demo-transcript-heading time { font-variant-numeric: tabular-nums; }
.demo-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.demo-transcript { flex: 1; overflow-y: auto; margin: 18px 0 0; padding: 0 4px 0 0; list-style: none; }
.demo-transcript li { max-width: 85%; margin-bottom: 18px; font-size: 15px; line-height: 1.5; }
.demo-transcript li.visitor { margin-left: auto; color: #4f46e5; }
.demo-transcript .speaker { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.demo-transcript p { margin: 0; }
.demo-reply-choices { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid #eee9e2; }
.demo-reply-choices button { padding: 8px 12px; border: 1px solid #ddd6ce; border-radius: 999px; background: #fff; color: #171717; font: inherit; font-size: 13px; cursor: pointer; }
.demo-reply-choices button:hover { border-color: #171717; background: #f8f3ed; }
.demo-call-status { min-height: 20px; margin: 8px 0 0; color: #77716c; font-size: 12px; text-align: right; }

.demo-kicker {
  margin: 0 0 12px;
  color: #77716c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}

.demo-stage-heading :is(h1, h2) {
  margin: 0;
  font-family: inherit;
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.demo-stage-heading p:last-child {
  margin: 10px 0 0;
  color: #69645f;
  font-size: 14px;
  line-height: 1.5;
}

.demo-controls {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.demo-controls .nav-cta-btn,
.demo-controls .nav-cta-btn:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}

.demo-controls .nav-cta-btn:hover { background: #2b2b2b; }

.demo-controls button.nav-cta-btn { font-family: inherit; line-height: 1.6; }
.demo-controls button.nav-cta-btn:disabled { opacity: .5; cursor: default; }
.demo-page .demo-nav-end, .demo-page .demo-nav-end:hover { border-color: #d4a09c; background: #d4a09c; color: #fff; font-family: inherit; line-height: 1.6; }
.demo-page .demo-nav-end:hover { background: #c58e8a; }

.demo-page button:focus-visible { outline: 3px solid #5d9f99; outline-offset: 3px; }
.demo-page a:focus-visible { outline: 3px solid #5d9f99; outline-offset: 3px; }

@media (max-width: 760px) {
  .demo-container { width: min(100% - 28px, 1200px); }
  .demo-stage-section { padding-block: 120px; }
  .demo-stage-mark { margin-bottom: 20px; }
  .demo-stage-mark svg { width: 32px; height: 32px; }
  .demo-layout { grid-template-columns: 1fr; gap: 20px; }
  .demo-category-menu { gap: 8px; }
  .demo-category { min-height: 64px; gap: 12px; font-size: 12px; }
  .demo-category svg { width: 22px; height: 22px; }
  .demo-agent-panel { min-height: 420px; padding: 28px 18px; }
  .demo-agent-panel.is-on-call { padding: 0; }
  .demo-transcript-panel { height: 420px; padding: 18px; }
  .demo-transcript li { max-width: 95%; font-size: 14px; }
  .demo-stage-heading :is(h1, h2) { font-size: 28px; }
}
