.why-demo {
  --why-stage-width: min(calc(100vw - 32px), 1920px);
  position: relative;
  isolation: isolate;
  --why-ink: #191919;
  --why-muted: #525252;
  --why-line: #dedede;
  color: var(--why-ink);
  font-family: var(--sans, 'DM Sans', Arial, sans-serif);
}
.why-demo::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #282828;
  box-shadow: 0 0 0 100vmax #282828;
  clip-path: inset(0 -100vmax);
}
.results-page .article-body > .why-demo, .why-demo {
  padding-block: clamp(29px, 5vw, 66px);
  border-top: 0;
  scroll-margin-top: var(--header-height, 72px);
}
.results-page .article-body > .why-demo {
  width: var(--why-stage-width);
  margin-inline: calc((100% - var(--why-stage-width)) / 2);
}
.why-demo [hidden] { display: none !important; }
.why-heading { text-align: center; margin-bottom: clamp(21px, 3.5vw, 38px); }
.results-page .why-heading h2, .why-heading h2 {
  margin: 0;
  font: 650 clamp(36px, 4.6vw, 70px)/1.05 var(--sans);
  letter-spacing: -.055em;
  color: #fbfbfb;
}
.why-demo .why-heading p { margin: 7px 0 0; color: #d1d1d1; font: 450 clamp(16px, 1.7vw, 21px)/1.45 var(--sans); }
.why-demo .why-heading .why-case {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 11px;
  margin-top: 15px;
  padding: 7px 13px;
  border: 1px solid #626262;
  border-radius: 7px;
  color: #fafafa;
  font: 750 clamp(16px, 1.4vw, 19px)/1.4 var(--sans);
}
.why-case strong { color: #ccc; font: 700 11px/1.3 var(--sans); letter-spacing: .11em; text-transform: uppercase; }

.why-layout {
  display: grid;
  grid-template-areas: "comparison" "response" "interactive";
  gap: 16px;
  width: min(100%, var(--why-stage-width));
  margin-inline: auto;
}
.why-comparison {
  grid-area: comparison;
  min-width: 0;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 54px #0004;
}
.why-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dedede;
  border-radius: 100px;
  background: #fff;
  color: #242424;
  font: 650 13px/1.2 var(--sans);
  cursor: pointer;
}
.why-play:hover { background: #ededed; }
.why-play::before { content: ''; width: 8px; height: 9px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.why-play.is-playing::before { background: linear-gradient(to right, currentColor 35%, transparent 35% 65%, currentColor 65%); clip-path: none; }

.why-panels {
  display: grid;
  grid-template-columns: minmax(255px, 1fr) minmax(0, 1.62fr);
  gap: 12px clamp(14px, 2vw, 29px);
  grid-template-rows: auto auto auto;
  padding: clamp(16px, 2.3vw, 32px);
}
.why-response, .why-interactive {
  display: grid;
  grid-row: 1 / span 3;
  grid-template-rows: subgrid;
  min-width: 0;
  position: relative;
}
.why-response { grid-column: 1; }
.why-interactive { grid-column: 2; }
.why-chat, .why-situations { grid-row: 2; }
.why-situation-navigation { grid-row: 3; }
.why-demo .why-panels h3 {
  margin: 0;
  align-self: end;
  font: 680 clamp(23px, 2.5vw, 36px)/1.12 var(--sans);
  letter-spacing: -.043em;
  color: var(--why-ink);
}
.why-chat {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: clamp(13px, 1.65vw, 23px);
  border: 1px solid var(--why-line);
  border-radius: 16px;
  background: #f8f8f8;
}
.why-turns { display: grid; flex: 1; align-content: space-between; gap: 12px; list-style: none; margin: 0; padding: 0; }
.why-turn { display: grid; gap: 4px; justify-items: start; }
.why-turn[data-speaker="ai"] { justify-items: end; }
.why-speaker { display: flex; align-items: center; gap: 8px; color: #505050; font: 650 14px/1.2 var(--sans); }
.why-turn[data-speaker="ai"] .why-speaker { flex-direction: row-reverse; }
.why-speaker img, .why-chat-icon { width: 37px; height: 37px; border-radius: 50%; }
.why-speaker img { width: 42px; height: 42px; object-fit: cover; }
.why-chat-icon { display: grid; place-items: center; background: #e9e9e9; }
.why-chat-icon::before { content: ''; width: 11px; height: 8px; border: 1.5px solid #383838; border-radius: 4px 4px 4px 1px; }
.why-demo .why-turn p {
  margin: 0;
  max-width: 95%;
  padding: 9px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 13px 13px 13px 4px;
  background: #fff;
  color: var(--why-ink);
  font: 500 clamp(15px, 1.4vw, 17px)/1.42 var(--sans);
}
.why-demo .why-turn[data-speaker="ai"] p {
  border-color: #242424;
  border-radius: 13px 13px 4px 13px;
  background: #242424;
  color: #fafafa;
}
.why-turn.is-speaking p { outline: 2px solid #646464; outline-offset: 2px; }
.why-assistant-control { align-self: start; border-color: #d9d9d9; background: #fff; }

.why-situations {
  --next-preview: clamp(24px, 4vw, 54px);
  --card-gap: 12px;
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--card-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.why-situations::after { content: ''; flex: 0 0 calc(var(--next-preview) - var(--card-gap)); }
.why-situations::-webkit-scrollbar { display: none; }
.why-situation-navigation { display: flex; align-items: center; justify-content: center; gap: 7px; }
.why-situation-indicators { display: flex; align-items: center; gap: 3px; padding: 2px 9px; border-radius: 99px; background: #e7e7e7; }
.why-situation-indicators button {
  display: grid;
  place-items: center;
  width: 25px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.why-situation-indicators button::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #858585;
  transition: width .2s ease, background .2s ease;
}
.why-situation-indicators button[aria-current]::before { width: 19px; background: #303030; }
.why-situation-navigation > button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e7e7e7;
  color: #303030;
  font: 600 23px/1 var(--sans);
  cursor: pointer;
}
.why-situation-navigation > button:disabled { opacity: .45; cursor: default; }
.why-situation-navigation button:focus-visible { outline: 2px solid #646464; outline-offset: 2px; }
.why-situation-navigation > button:not(:disabled):hover { background: #dcdcdc; }
.why-situation {
  flex: 0 0 calc(100% - var(--next-preview));
  scroll-snap-align: start;
  min-width: 0;
  padding: clamp(10px, 1.35vw, 16px);
  border: 1px solid var(--why-line);
  border-radius: 16px;
  background: #f8f8f8;
}
.why-situation-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 9px; }
.why-demo .why-situation h4 { margin: 0; color: var(--why-ink); font: 690 clamp(15px, 1.35vw, 21px)/1.2 var(--sans); letter-spacing: -.035em; }
.why-situation video, .why-frame-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #181818;
  border-radius: 8px;
}
.why-storyboard { margin-top: 9px; border-top: 1px solid var(--why-line); }
.why-storyboard > summary { padding: 9px 0 5px; color: var(--why-ink); font: 700 14px/1.35 var(--sans); cursor: pointer; }
.why-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 4px 0 9px; padding: 0; }
.why-frame { display: block; width: 100%; padding: 3px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.why-frame-image {
  position: relative;
  display: block;
  border-radius: 6px;
  transform: scale(.94);
  opacity: .68;
  transition: transform .34s cubic-bezier(.2,.75,.25,1), opacity .25s ease, box-shadow .25s ease;
}
.why-frame:hover .why-frame-image, .why-frame:focus-visible .why-frame-image { opacity: 1; }
.why-frame-image img { border-radius: 6px; }
.why-frame-image > span {
  position: absolute;
  left: 4px;
  top: 4px;
  padding: 2px 4px;
  background: #111111dd;
  border-radius: 3px;
  color: #fff;
  font: 700 10px/1.15 var(--sans);
}
.why-frame[aria-current] .why-frame-image {
  transform: scale(1.05);
  opacity: 1;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333;
}
.why-frame-notes { display: grid; gap: 12px; margin: 0; padding: 12px; border: 1px solid #c4c4c4; background: #fff; border-radius: 9px; }
.why-frame-notes dt { color: var(--why-ink); font: 760 clamp(16px, 1.3vw, 19px)/1.25 var(--sans); }
.why-frame-notes dd { margin: 4px 0 0; color: var(--why-muted); font: 500 15px/1.45 var(--sans); }
.why-play:focus-visible, .why-frame:focus-visible, .why-storyboard summary:focus-visible { outline: 2px solid #8b8b8b; outline-offset: 3px; }

.why-demo .why-definition {
  align-self: center;
  margin: 0;
  min-width: 0;
  padding: clamp(19px, 1.9vw, 31px) clamp(12px, 1.3vw, 22px);
  border: 1px solid #515151;
  border-radius: 16px;
  background: #353535;
  color: #f5f5f5;
  box-shadow: 0 12px 28px #0003;
  text-align: center;
  font: 500 clamp(15px, 1.08vw, 18px)/1.48 var(--sans);
}
.why-definition[data-definition="response"] { grid-area: response; }
.why-definition[data-definition="interactive"] { grid-area: interactive; }
.why-definition strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(13px, 1.05vw, 19px);
  font-weight: 750;
  letter-spacing: .055em;
  line-height: 1.25;
}
.why-demo .why-definition p { margin: 0; font: inherit; color: inherit; }
.why-definition p.is-typing { position: relative; }
.why-type-source { opacity: 0; }
.why-type-live { position: absolute; inset: 0; }
.why-storyboard[open] .why-frames { animation: why-arrive .25s ease-out both; }
.why-reveal-ready:not(.why-entered) :is(.why-response, .why-interactive) { opacity: 0; }
.why-entered :is(.why-response, .why-interactive) { animation: why-panel-enter 1.15s cubic-bezier(.2,.65,.3,1) both; }
.why-entered .why-interactive { animation-delay: .24s; }
.why-reveal-ready:not(.why-entered) .why-panels:focus-within :is(.why-response, .why-interactive) { opacity: 1; }
.why-entered::before { animation: why-dim .7s ease-out both; }
.why-reveal-ready .why-definition:not(.why-note-entered) { opacity: 0; }
.why-definition.why-note-entered { animation: why-panel-enter 1.2s cubic-bezier(.2,.65,.3,1) both; }

@keyframes why-panel-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes why-arrive { from { opacity: .72; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes why-dim { from { opacity: .8; } to { opacity: 1; } }
.why-demo .why-status { margin: 8px 0 0; color: #eee; font-size: 13px; text-align: center; }
.why-demo .why-status:empty { margin: 0; }

@media (min-width: 780px) {
  .why-layout {
    --why-note-width: clamp(148px, 16vw, 276px);
    grid-template-areas: "response comparison interactive";
    grid-template-columns: var(--why-note-width) minmax(0, 1fr) var(--why-note-width);
    gap: clamp(12px, 1.55vw, 28px);
  }
}
@media (780px <= width <= 1100px) {
  .why-panels {
    grid-template-columns: minmax(146px, 1fr) minmax(0, 1.55fr);
    column-gap: clamp(10px, 1.4vw, 16px);
    padding: clamp(12px, 1.5vw, 17px);
  }
  .why-demo .why-panels h3 { font-size: clamp(19px, 2.1vw, 23px); }
}
@media (max-width: 730px) {
  .why-panels { grid-template-columns: 1fr; grid-template-rows: none; gap: 24px; }
  .why-response, .why-interactive { grid-column: auto; grid-row: auto; grid-template-rows: none; gap: 12px; }
  .why-chat, .why-situations, .why-situation-navigation { grid-row: auto; }
}
@media (max-width: 495px) {
  .why-demo { --why-stage-width: calc(100vw - 28px); }
  .why-comparison { border-radius: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .why-storyboard[open] .why-frames,
  .why-entered :is(.why-response, .why-interactive), .why-entered::before,
  .why-definition.why-note-entered { animation: none; }
  .why-reveal-ready .why-definition:not(.why-note-entered),
  .why-type-source,
  .why-reveal-ready:not(.why-entered) :is(.why-response, .why-interactive) { opacity: 1; }
  .why-type-live { display: none; }
  .why-situation-indicators button::before, .why-frame-image { transition: none; }
}
.results-page .article-body > .homepage-findings {
  scroll-margin-top: calc(var(--header-height, 72px) + 12px);
}
.why-resources > summary { cursor: pointer; color: #193b30; font-weight: 650; }
.why-resource-measure { display: grid; gap: 6px; margin: 18px 0; width: min(100%, 420px); }
.why-resource-measure select { width: 100%; min-height: 42px; padding: 5px 9px; font: inherit; }
