/* Product surfaces replace the numbered story flow. All motion is optional. */
.wl-product .wl-world {
  padding: 26px;
  background: var(--brand-wash);
}
.wl-product .wl-world-heading h2 {
  font-size: 26px;
}
.wl-product .wl-hospital {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.wl-map-canvas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid var(--brand-line);
}
.wl-product .wl-map {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: contain;
  display: block;
}
.wl-product .wl-characters {
  inset: 0;
}
.wl-product .wl-character {
  transform: none;
  display: block;
  width: 12.5%;
  min-width: 0;
  aspect-ratio: 1;
}
.wl-product .wl-character img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
}
.wl-product .wl-character small {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-label);
  max-width: none;
  line-height: 1.2;
  padding: 3px 5px;
}
.wl-product .wl-room-label {
  position: static;
  line-height: 1.5;
  margin-top: 12px;
  border: 1px solid var(--brand-line);
  border-radius: 9px;
  padding: 10px;
}
.wl-app-nav {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0 25px;
  border-bottom: 1px solid var(--brand-line);
  background: #fffdf6;
}
.wl-app-nav a {
  padding: 19px 23px;
  font-size: var(--text-control);
  color: var(--brand-blue);
  border-bottom: 3px solid transparent;
}
.wl-app-nav a[aria-current] {
  color: var(--brand-navy);
  border-color: var(--brand-blue);
  font-weight: 600;
}
.wl-product .wl-header {
  padding-block: 20px;
}
.wl-product .wl-screen {
  padding: 30px;
}
.wl-product .wl-world-footer {
  margin-top: 20px;
}
.wl-product .wl-title h1 {
  font-size: 37px;
}
.product-secondary {
  display: inline-block;
  font-size: var(--text-small);
  color: var(--brand-blue);
  margin-top: 25px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.product-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 24px;
}
.product-section-heading small {
  font-size: var(--text-label);
  letter-spacing: 0.12em;
  color: var(--brand-blue);
}
.product-section-heading h1 {
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 12px 0 0;
}
.product-status {
  font-size: var(--text-label);
  padding: 7px 10px;
  border-radius: 20px;
  white-space: nowrap;
  background: var(--brand-wash);
  color: var(--brand-blue);
}
.product-setup {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fffdf6;
  border: 1px solid var(--brand-line);
  border-radius: 15px;
  padding: 25px;
  margin: 28px 0;
}
.product-setup-icon img {
  width: 44px;
  height: 56px;
  object-fit: contain;
  image-rendering: pixelated;
}
.product-setup small {
  font-size: var(--text-label);
  letter-spacing: 0.08em;
  color: var(--brand-blue);
}
.product-setup h2 {
  font-size: 24px;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 12px 0;
}
.product-setup p {
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--brand-blue);
}
.product-goal-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.product-goal-preview span {
  padding: 10px 12px;
  border: 1px solid var(--brand-line);
  background: var(--brand-wash);
  border-radius: 7px;
  font-size: var(--text-label);
  color: var(--brand-blue);
}
.wl-product .wl-goals {
  margin-top: 20px;
}
.product-goal-detail {
  border-top: 1px solid var(--brand-line);
  padding-top: 12px;
  margin-top: 14px;
  font-size: var(--text-label);
  color: var(--brand-blue);
}
.product-goal-detail summary {
  cursor: pointer;
}
.product-goal-detail svg {
  width: 100%;
  max-height: 100px;
  margin-top: 15px;
}
.product-goal-detail > p {
  font-size: var(--text-body) !important;
  line-height: 1.8;
}
.product-goal-detail > a {
  font-size: var(--text-control);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-profile {
  background: #fffef8;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  padding: 23px;
}
.product-profile-head {
  display: flex;
  gap: 15px;
  align-items: center;
}
.product-profile-head > span {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  background: var(--brand-wash);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 25px;
  color: var(--brand-blue);
}
.product-profile-head h2 {
  font-size: 21px;
  margin: 0 0 6px;
  letter-spacing: -0.03em;
}
.product-profile-head small {
  font-size: var(--text-label);
  color: var(--brand-blue);
}
.product-profile dl > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--brand-line);
}
.product-profile dt {
  font-size: var(--text-label);
  color: var(--brand-blue);
  margin-bottom: 8px;
}
.product-profile dd {
  font-size: var(--text-small);
  color: var(--brand-blue);
  line-height: 1.8;
  margin: 0;
}
.product-provenance {
  font-size: var(--text-label);
  color: var(--brand-blue);
  margin-top: 18px;
}
.product-chat-question {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 24px 0;
}
.product-chat-question img,
.product-chat-reply img {
  width: 37px;
  height: 44px;
  object-fit: contain;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.product-chat-question p {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  margin: 0;
}
.product-chat-you {
  padding: 18px 21px;
  margin-left: 45px;
  background: var(--brand-wash);
  border-radius: 15px 15px 2px 15px;
}
.product-chat-you > small {
  font-size: var(--text-label);
  letter-spacing: 0.08em;
  color: var(--brand-blue);
}
.product-chat-you p {
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--brand-blue);
}
.product-chat-reply {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 25px 0;
}
.product-chat-reply p {
  padding: 17px 20px;
  margin: 0;
  background: #fffdf6;
  border: 1px solid var(--brand-line);
  border-radius: 2px 15px 15px 15px;
  font-size: var(--text-body);
  line-height: 1.9;
  color: var(--brand-blue);
}
.product-preferences {
  font-size: var(--text-label);
  color: var(--brand-blue);
  margin-left: 49px;
}
.product-preferences summary {
  cursor: pointer;
  margin-bottom: 15px;
}
.product-context-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.product-context-chips span {
  font-size: var(--text-label);
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  border-radius: 20px;
  padding: 8px 11px;
  color: var(--brand-blue);
}
.product-round-speakers {
  display: flex;
  gap: 8px;
  margin: 27px 0;
}
.product-round-speakers button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  border: 1px solid var(--brand-line);
  background: var(--brand-wash);
  border-radius: 10px;
  font-family: inherit;
  color: var(--brand-blue);
  cursor: pointer;
}
.product-round-speakers img {
  width: 32px;
  height: 40px;
  object-fit: contain;
  image-rendering: pixelated;
}
.product-round-speakers span {
  font-size: var(--text-label);
}
.product-round-speakers button[aria-pressed="true"] {
  background: var(--brand-wash);
  border-color: var(--brand-mist);
  color: var(--brand-navy);
}
.product-round-message {
  padding: 25px;
  background: #fffdf7;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
}
.product-round-message > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--brand-blue);
}
.product-round-message img {
  width: 40px;
  height: 49px;
  image-rendering: pixelated;
  object-fit: contain;
}
.product-round-message blockquote {
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.025em;
  margin: 25px 0;
}
.product-evidence {
  border-top: 1px solid var(--brand-line);
  padding-top: 15px;
}
.product-evidence small {
  display: block;
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin-bottom: 8px;
}
.product-evidence a {
  font-size: var(--text-control);
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-evidence p {
  font-size: var(--text-body);
  color: var(--brand-blue);
  line-height: 1.8;
}
/* Original code-native animation of a person speaking into a phone. */
.voice-scene {
  position: relative;
  isolation: isolate;
  padding: 30px 0 0;
  align-self: start;
}
.voice-scene svg {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.voice-scene-halo {
  position: absolute;
  z-index: -1;
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  border-radius: 50%;
  width: 94%;
  aspect-ratio: 1;
  left: 3%;
  top: 35px;
}
.voice-scene-call {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fffdf3;
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  margin: 0 8px;
  box-shadow: 0 8px 25px #5d713512;
}
.voice-scene-call img {
  width: 37px;
  height: 45px;
  object-fit: contain;
  image-rendering: pixelated;
}
.voice-scene-call small {
  display: block;
  font-size: var(--text-label);
  letter-spacing: 0.08em;
  color: var(--brand-blue);
}
.voice-scene-call strong {
  display: block;
  font-size: var(--text-small);
  font-weight: 500;
  margin-top: 7px;
  color: var(--brand-blue);
}
.voice-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-mist);
  margin-left: auto;
}
.voice-scene > p {
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--brand-blue);
  text-align: center;
  margin: 18px 0 0;
}
.voice-sound {
  opacity: 0.2;
}
.is-speaking .voice-sound {
  animation: voice-speak 1s ease-in-out infinite;
}
.is-speaking .voice-phone-arm {
  transform-origin: 233px 213px;
  animation: voice-hand 3s ease-in-out infinite;
}
.is-speaking .voice-mouth {
  animation: voice-speak 0.45s ease-in-out infinite;
}
.is-speaking .voice-live-dot {
  background: var(--brand-blue);
  box-shadow: 0 0 0 5px #b8cc972e;
  animation: voice-speak 1s infinite;
}
.voice-device {
  position: relative;
  max-width: 340px;
  border: 6px solid var(--brand-navy);
  border-radius: 35px;
  padding: 20px 19px 25px;
  background: #fffdf4;
  box-shadow: 0 15px 45px #465a2b16;
  margin: 15px auto 25px;
  min-height: 445px;
}
.voice-device-notch {
  width: 66px;
  height: 13px;
  background: var(--brand-navy);
  border-radius: 0 0 8px 8px;
  margin: -20px auto 25px;
}
.voice-device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.voice-device-top > span {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.voice-device-top small {
  font-size: var(--text-label);
  letter-spacing: 0.08em;
  color: var(--brand-blue);
}
.voice-specialist {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 24px 0 20px;
}
.voice-specialist img {
  width: 55px;
  height: 67px;
  object-fit: contain;
  image-rendering: pixelated;
  margin-bottom: 10px;
}
.voice-specialist > span {
  font-size: var(--text-small);
  font-weight: 500;
}
.voice-specialist small {
  font-size: var(--text-label);
  color: var(--brand-blue);
  margin-top: 7px;
}
.voice-status {
  text-align: center;
  font-size: var(--text-small);
  color: var(--brand-blue);
  min-height: 22px;
}
.voice-idle-mic {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 23px auto 35px;
  font-size: 39px;
  line-height: 1;
  border: 1px solid var(--brand-line);
  background: var(--brand-wash);
  border-radius: 50%;
  color: var(--brand-blue);
}
.voice-controls {
  text-align: center;
  margin-top: 20px;
}
.voice-controls .wl-primary {
  display: flex;
  width: 100%;
  margin: 8px 0;
}
.voice-controls small {
  display: block;
  font-size: var(--text-label);
  color: var(--brand-blue);
  margin-top: 12px;
}
.voice-wave {
  height: 100px;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin: 13px 0;
}
.voice-wave i {
  display: block;
  width: 4px;
  height: var(--h);
  background: var(--brand-blue);
  border-radius: 4px;
  animation: voice-wave 0.8s ease-in-out infinite;
  animation-delay: var(--delay);
}
.voice-transcript {
  padding: 17px;
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  margin: 20px 0;
  animation: voice-reveal 0.35s ease-out;
}
.voice-transcript small {
  font-size: var(--text-label);
  letter-spacing: 0.09em;
  color: var(--brand-blue);
}
.voice-transcript p {
  font-size: var(--text-body);
  line-height: 1.9;
  color: var(--brand-blue);
  margin: 10px 0 0;
}
.voice-processing {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.voice-processing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-blue);
  animation: voice-speak 0.7s infinite;
}
.voice-processing i:nth-child(2) {
  animation-delay: 0.2s;
}
.voice-processing i:nth-child(3) {
  animation-delay: 0.4s;
}
.wl-product[data-screen="today"] .wl-workspace {
  display: block;
}
.wl-product[data-screen="today"] .wl-world {
  display: none;
}
.wl-product[data-screen="today"] .wl-screen {
  max-width: 1000px;
  margin: auto;
  padding: 30px 36px;
}
.wl-product[data-screen="today"] .wl-daily-banner {
  min-height: 210px;
}
.wl-product[data-screen="today"] .wl-daily-banner > div {
  padding: 30px;
}
.wl-product[data-screen="today"] .wl-daily-banner h1 {
  font-size: 35px;
}
.wl-product[data-screen="today"] .wl-goals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.wl-product[data-screen="today"] .wl-goals article {
  padding: 23px;
  background: #fffdf5;
}
.wl-product[data-screen="today"] .wl-goals h3 {
  font-size: var(--text-small);
}
.wl-product[data-screen="today"] .wl-goals p strong {
  font-size: 32px;
}
.wl-product[data-screen="today"] .wl-goals p {
  font-size: var(--text-body);
}
.wl-product[data-screen="today"] .wl-goals article > small {
  font-size: var(--text-label);
}
.wl-product .wl-title > p {
  font-size: var(--text-body);
}
@keyframes voice-wave {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}
@keyframes voice-speak {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
@keyframes voice-hand {
  0%,
  100% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-3deg);
  }
}
@keyframes voice-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
  .wl-product .wl-world {
    display: block;
    padding: 22px;
    max-width: none;
  }
  .wl-product .wl-world-heading {
    text-align: left;
  }
  .wl-product .wl-hospital {
    max-width: 240px;
    margin: 0 auto;
  }
  .wl-product .wl-world-footer {
    max-width: 300px;
    margin: 18px auto 0;
  }
  .wl-product[data-screen="intake"] .wl-world,
  .wl-product[data-screen="consult"] .wl-world {
    padding: 12px 20px 20px;
  }
  .voice-scene {
    max-width: 300px;
    margin: auto;
    padding-top: 0;
  }
  .voice-scene svg {
    height: 210px;
    width: auto;
    max-width: 100%;
    margin: auto;
  }
  .voice-scene-halo {
    width: 78%;
    left: 11%;
    top: 5px;
  }
  .voice-scene-call {
    padding: 12px;
    margin-top: -5px;
    position: relative;
    max-width: 260px;
    margin-inline: auto;
  }
  .voice-scene > p {
    margin-top: 10px;
  }
  .wl-app-nav {
    padding: 0 12px;
    gap: 0;
    justify-content: space-between;
  }
  .wl-app-nav a {
    padding: 16px 12px;
    font-size: var(--text-control);
  }
  .wl-product .wl-screen {
    padding: 25px 22px;
  }
  .product-section-heading h1 {
    font-size: 27px;
  }
  .wl-product[data-screen="today"] .wl-screen {
    padding: 22px;
  }
  .wl-product[data-screen="today"] .wl-goals article {
    padding: 17px;
  }
  .wl-product[data-screen="today"] .wl-goals h3 {
    font-size: var(--text-small);
  }
  .wl-product[data-screen="today"] .wl-goals p strong {
    font-size: 29px;
  }
  .wl-product[data-screen="today"] .wl-goals article > small {
    font-size: var(--text-label);
  }
  .product-round-message blockquote {
    font-size: 18px;
  }
  .product-setup {
    padding: 21px;
  }
  .wl-product .wl-character small {
    font-size: var(--text-label);
    padding: 2px 4px;
  }
  .wl-product .wl-room-label {
    font-size: var(--text-label);
  }
  .wl-product .wl-world-heading h2 {
    font-size: 24px;
  }
  .wl-product .wl-world-heading > small {
    font-size: var(--text-label);
  }
}
@media (max-width: 420px) {
  .wl-product .wl-screen {
    padding: 22px 16px;
  }
  .wl-product .wl-header {
    padding: 17px;
  }
  .wl-app-nav a {
    padding: 15px 9px;
    font-size: var(--text-control);
  }
  .voice-device {
    max-width: 290px;
    padding: 20px 15px 22px;
    border-width: 5px;
  }
  .voice-scene svg {
    height: 190px;
  }
  .product-section-heading {
    align-items: start;
  }
  .product-section-heading h1 {
    font-size: 26px;
  }
  .product-status {
    font-size: var(--text-label);
  }
  .product-round-speakers {
    gap: 5px;
  }
  .product-round-speakers span {
    font-size: var(--text-label);
  }
  .wl-product[data-screen="today"] .wl-screen {
    padding: 18px 14px;
  }
  .wl-product[data-screen="today"] .wl-goals {
    grid-template-columns: 1fr;
  }
  .wl-product[data-screen="today"] .wl-daily-banner h1 {
    font-size: 29px;
  }
  .product-setup {
    gap: 12px;
    padding: 19px;
  }
  .product-setup-icon img {
    width: 34px;
    height: 45px;
  }
  .product-setup h2 {
    font-size: 22px;
  }
  .product-chat-you {
    margin-left: 25px;
  }
  .product-chat-reply p {
    padding: 14px;
  }
  .product-round-message {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .voice-scene *,
  .voice-device * {
    animation: none !important;
  }
  .voice-sound {
    opacity: 0.65;
  }
  .wl-character.active img {
    animation: none !important;
  }
}
