/* Talk to Reeboot — strategy-adjacent product surface. Does not style Experience V2. */

#talkLayer {
  display: none;
}
body.mode-talk #talkLayer {
  display: block;
  overflow: auto;
  height: 100vh;
  height: 100dvh;
}
body.mode-talk {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  background: #fff;
}
body.mode-talk #strategyLayer,
body.mode-talk #experienceLayer,
body.mode-talk .progress,
body.mode-talk #presentBtn,
body.mode-talk #voiceListenBtn,
body.mode-talk #voiceChoice,
body.mode-talk #voicePlayer,
body.mode-talk .voice-captions,
body.mode-talk #strategyBackBtn,
body.mode-talk #strategyDemoLink,
body.mode-talk #talkOpenBtn,
body.mode-talk .nav-persist,
body.mode-talk .nav-talk,
body.mode-talk .nav-more,
body.mode-talk .nav-context,
body.mode-talk #navPanel,
body.mode-talk .topbar nav {
  display: none !important;
}
body.mode-experience #talkOpenBtn {
  display: none !important;
}
body.mode-talk #talkExitBtn {
  display: inline-flex;
}
body.mode-talk #talkOpenBtn {
  display: none !important;
}
body.mode-experience #talkOpenBtn {
  display: none !important;
}
#talkExitBtn {
  display: none;
}

.talk-shell {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 96px 48px 88px;
  position: relative;
}
.talk-stage {
  max-width: none;
  min-height: calc(100dvh - 200px);
}
.talk-stage.is-in .talk-frame,
.talk-stage.is-in .talk-opener {
  animation: talkIn 280ms ease;
}
@keyframes talkIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.talk-eyebrow,
.talk-label,
.talk-who,
.talk-demo-title,
.talk-state {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 760;
  color: var(--navy);
  margin: 0 0 14px;
}
.talk-label,
.talk-demo-title {
  color: var(--muted);
  font-weight: 650;
}
.talk-next-hint {
  appearance: none;
  display: block;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: -6px 0 20px;
  cursor: pointer;
  text-align: left;
}
.talk-next-hint:hover {
  color: var(--navy);
}
.talk-headline {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin: 0 0 36px;
  max-width: 16ch;
}
.talk-headline span {
  display: block;
  color: var(--navy);
}
.talk-choose {
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--muted);
  margin: 0 0 48px;
}
.talk-note,
.talk-privacy,
.talk-ext-note {
  font-size: 13px;
  color: var(--muted);
}
.talk-ext-note {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.talk-index {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px 64px;
  max-width: 1100px;
  margin: 0 0 48px;
  align-items: end;
}
.talk-index-item {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
}
.talk-index-item:nth-child(1) { grid-column: 1; }
.talk-index-item:nth-child(2) { grid-column: 2; margin-top: 48px; }
.talk-index-item:nth-child(3) { grid-column: 3; }
.talk-index-item:nth-child(4) { grid-column: 1; margin-top: 8px; }
.talk-index-item:nth-child(5) { grid-column: 3; }
.talk-index-item:nth-child(6) { grid-column: 2; }
.talk-index-item:nth-child(7) { grid-column: 1 / -1; margin-top: 20px; }
.talk-index-item b {
  display: block;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.03em;
  font-weight: 620;
  line-height: 1.15;
}
.talk-index-item:hover b,
.talk-index-item:focus-visible b {
  color: var(--navy);
}
.talk-index-item:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 6px;
}

.talk-signal {
  position: absolute;
  left: 48px;
  right: 48px;
  top: 84px;
  height: 1px;
  background: #e6eef0;
}
.talk-signal i {
  display: block;
  width: 28%;
  height: 1px;
  background: var(--aqua);
}
.talk-signal.is-stopped {
  background: #e6eef0;
}
.talk-signal.is-stopped i {
  width: 0;
  background: transparent;
}
.talk-signal.is-restore i {
  width: 22%;
}
.talk-signal.has-branch i {
  width: 54%;
}
.talk-signal-branch {
  position: absolute;
  left: 54%;
  top: 0;
  width: 1px;
  height: 42px;
  background: #c5d2d6;
  transform-origin: top center;
  animation: talkBranch 520ms ease;
}
.talk-signal-branch.is-resolved {
  height: 56px;
}
@keyframes talkBranch {
  from { height: 0; opacity: 0; }
  to { height: 56px; opacity: 1; }
}

.talk-frame {
  max-width: 42rem;
  padding-top: 28px;
}
.talk-frame[data-speaker="reeboot"] {
  margin-left: min(18vw, 220px);
}
.talk-frame.is-shifted {
  transform: translateY(-18px);
}
.talk-turn {
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.talk-turn[data-skip] {
  cursor: pointer;
}
.talk-frame[data-speaker="user"] .talk-turn {
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 24px);
}
.talk-frame[data-state="safety-check"] .talk-turn,
.talk-frame[data-state="crisis-pathway"] .talk-turn {
  letter-spacing: -0.02em;
}
.talk-state.is-crisis {
  color: var(--ink);
}
.talk-state.is-quiet {
  color: var(--muted);
}
.talk-resolve {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 24px;
}
.talk-choices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 8px 0 48px;
}
.talk-choice,
.talk-text-btn,
.talk-ctrl,
.talk-action {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 0;
  text-decoration: none;
}
.talk-choice {
  font-size: 16px;
  letter-spacing: 0.04em;
}
.talk-choice:hover,
.talk-text-btn:hover,
.talk-ctrl:hover {
  color: var(--ink);
}
.talk-choice:focus-visible,
.talk-text-btn:focus-visible,
.talk-ctrl:focus-visible,
.talk-action:focus-visible,
.talk-ext:focus-visible,
.talk-index-item:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.talk-controls {
  position: fixed;
  left: 48px;
  right: 48px;
  bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  z-index: 8;
}
.talk-ctrl[hidden] {
  display: none;
}
.talk-ctrl.is-topic {
  margin-left: auto;
}

.talk-proof,
.talk-take,
.talk-medmate,
.talk-doctor,
.talk-ambient,
.talk-crisis {
  margin: 8px 0 32px;
}
.talk-line-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
}
.talk-line-row i {
  flex: 1;
  height: 1px;
  background: #c5d2d6;
}
.talk-line-row b {
  color: var(--aqua);
  font-weight: 750;
}
.talk-proof figcaption {
  margin: 16px 0 0;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.03em;
}
.talk-access-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
}
.talk-access-stack i {
  width: 1px;
  height: 22px;
  background: #c5d2d6;
  margin-left: 6px;
}
.talk-access-stack b {
  color: var(--muted);
  font-weight: 650;
}
.talk-access-stack em {
  font-style: normal;
  color: var(--muted);
}
.talk-access-stack strong {
  color: var(--aqua);
}

.talk-take blockquote {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.talk-medmate-line em {
  font-style: normal;
  color: var(--muted);
}
.talk-care-branch {
  margin: 4px 0 28px;
}
.talk-care-main {
  max-width: 28rem;
}
.talk-care-drop {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 22px;
  margin-left: 54%;
}
.talk-care-drop.is-how {
  margin-left: 42%;
  margin-top: 0;
}
.talk-care-drop em {
  display: block;
  width: 1px;
  height: 52px;
  background: #c5d2d6;
  animation: talkBranch 520ms ease;
}
.talk-care-end {
  padding-top: 36px;
}
.talk-care-end strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.talk-care-end small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.talk-doctor-kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--navy);
  margin: 0 0 8px;
}
.talk-doctor-via {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.talk-doctor-copy {
  font-size: clamp(18px, 2.2vw, 26px) !important;
  letter-spacing: -0.02em;
  margin: 8px 0 16px !important;
}
.talk-ext {
  display: inline-block;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 8px 16px 8px 0;
}

.talk-safe,
.talk-protocol {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 220px);
  padding: 28px 0 48px;
  max-width: 54rem;
}
.talk-frame-safety {
  max-width: 48rem;
  padding-top: 8px;
}
.talk-prior {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.4;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 36px;
}
.talk-prior span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 760;
  color: var(--muted);
  margin: 0 0 8px;
}
.talk-frame-safety .talk-state,
.talk-safe .talk-state,
.talk-protocol .talk-state {
  margin: 0 0 22px;
}
.talk-safety-q {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin: 0 0 40px;
  max-width: 22ch;
}
.talk-frame-safety .talk-choice {
  font-size: clamp(16px, 1.6vw, 20px);
  min-height: 48px;
}
.talk-safe-line,
.talk-protocol-line {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  max-width: 18ch;
}
.talk-safe-line.is-second {
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--ink);
  max-width: 22ch;
  margin-bottom: 36px;
}
.talk-continue {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 750;
  padding: 12px 0;
  margin: 0 0 56px;
}
.talk-continue:hover {
  color: var(--ink);
}
.talk-continue:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}
.talk-net {
  max-width: 40rem;
}
.talk-net-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.talk-resources.is-secondary {
  opacity: 0.9;
}
.talk-protocol-line {
  max-width: 20ch;
  margin-bottom: 20px;
}
.talk-protocol-need {
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 750;
  margin: 0 0 40px;
  max-width: 28ch;
}
.talk-resources.is-dominant .talk-action {
  font-size: 18px;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.talk-landing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 32px;
}
.talk-protocol {
  padding-bottom: 72px;
}
.talk-resources {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 32px;
  margin-top: 28px;
}
.talk-resource h2 {
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.talk-resource p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
}
.talk-action {
  display: block;
}
.talk-resource.is-emergency {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.talk-action.is-emergency {
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 650;
  text-transform: none;
}

.talk-how {
  max-width: 40rem;
}
.talk-how section {
  margin: 0 0 36px;
}
.talk-how h2 {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.talk-how p {
  color: var(--muted);
  margin: 10px 0 0;
}
.talk-stop {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink) !important;
  font-size: 12px;
  font-weight: 750;
}
.talk-collapse {
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink) !important;
  margin: 48px 0 20px !important;
}
.talk-endmark {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--navy) !important;
}
.talk-close {
  margin-top: 28px !important;
}

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

@media (max-width: 820px) {
  .talk-shell {
    padding: 88px 22px 140px;
  }
  .talk-signal {
    left: 22px;
    right: 22px;
  }
  .talk-frame,
  .talk-frame[data-speaker="reeboot"] {
    margin-left: 0;
    max-width: none;
  }
  .talk-index {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .talk-index-item,
  .talk-index-item:nth-child(n) {
    margin: 0;
    grid-column: auto;
  }
  .talk-index-item b {
    font-size: 26px;
  }
  .talk-care-drop {
    margin-left: 28%;
  }
  .talk-choice,
  .talk-action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }
  .talk-resources {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .talk-resource.is-emergency {
    border-left: 0;
    padding-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .talk-controls {
    left: 22px;
    right: 22px;
  }
  .talk-headline {
    max-width: none;
  }
  .talk-safe,
  .talk-protocol {
    min-height: 0;
    padding-bottom: 28px;
  }
  .talk-safety-q,
  .talk-safe-line,
  .talk-protocol-line {
    max-width: none;
    font-size: clamp(26px, 8vw, 36px);
  }
  .talk-prior {
    margin-bottom: 24px;
  }
  .talk-continue,
  .talk-choice,
  .talk-action,
  .talk-ext {
    min-height: 48px;
  }
  .talk-protocol {
    padding-bottom: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .talk-stage.is-in .talk-frame,
  .talk-stage.is-in .talk-opener,
  .talk-signal-branch,
  .talk-care-drop em {
    animation: none;
  }
  .talk-frame.is-shifted {
    transform: none;
  }
}
