/* LISTRAK DEMOS (/discover/demos/) - the page's own pieces on top of THE ONE DESIGN SYSTEM (../assets/discover.css): the
   hero's "one conversation, every face" card, the table of contents, a demo section (its words beside the face switcher and
   the stage the live embed lands in), the Say line, and the coming-next and own-team cards. Category pictures: Unsplash
   (royalty-free, each one looked at - never a brand's own photography, no logo on anything). */

/* The hero card: one conversation, every face. */
.dm-faces-card {
  border-radius: var(--dc-radius-lg);
  border: 1px solid var(--dc-navy-line);
  background: rgba(22, 32, 47, 0.8);
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.dm-faces-card h2 {
  margin: 0 0 4px;
  font-family: var(--dc-font);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dc-navy-head);
}

.dm-faces-card > p { margin: 0 0 16px; font-size: 0.92rem; color: var(--dc-navy-muted); }

.dm-face-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.dm-face-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--dc-navy-line);
  background: rgba(14, 21, 35, 0.6);
}

.dm-face-list li b { color: var(--dc-navy-head); }

.dm-face-list li span { grid-column: 2; font-size: 0.86rem; color: var(--dc-navy-muted); }

.dm-face-list li i {
  grid-row: span 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dc-teal);
}

.dm-face-list li:first-child { border-color: rgba(30, 234, 143, 0.55); }

.dm-face-list li:first-child i { background: var(--dc-mint); box-shadow: 0 0 0 4px rgba(30, 234, 143, 0.18); }

.dm-face-list li:first-child b::after {
  content: "default";
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(30, 234, 143, 0.55);
  font: 0.66rem var(--dc-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dc-mint);
  vertical-align: middle;
}

/* The table of contents. */
.dm-toc {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-top: 28px;
}

@media (min-width: 900px) {
  .dm-toc { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; }
}

.dm-toc h3 { margin-bottom: 12px; }

.dm-toc ol,
.dm-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.dm-toc-demos { counter-reset: dm-toc; }

.dm-toc-demos li a {
  counter-increment: dm-toc;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--dc-line);
  background: var(--dc-card);
  text-decoration: none;
  color: var(--dc-body);
}

.dm-toc-demos li a::before {
  content: counter(dm-toc);
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0e1523;
  background: var(--dc-mint-btn);
}

.dm-toc-demos li a b { color: var(--dc-head); }

.dm-toc-demos li a span { font-size: 0.9rem; color: var(--dc-muted); }

.dm-toc-demos li a:hover { border-color: var(--dc-mint-btn); }

.dm-toc-more li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--dc-line);
  text-decoration: none;
  color: var(--dc-head);
  font-weight: 700;
}

.dm-toc-more li a span { font-weight: 500; color: var(--dc-muted); font-size: 0.9rem; text-align: right; }

.dm-toc-more li a:hover { border-color: var(--dc-teal); }

/* A demo: its words beside the face switcher and the stage. */
.dm-demo { border-top: 1px solid var(--dc-line); }

.dm-demo-in {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1000px) {
  .dm-demo-in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; }
  .dm-try { position: sticky; top: 24px; }
}

.dm-demo .dc-h2 span { display: block; font-size: 0.62em; color: var(--dc-muted); }

.dm-concept {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--dc-line);
  font-size: 0.84rem;
  color: var(--dc-muted);
}

.dm-demo h3.dc-h3 { margin-top: 24px; }

.dm-say {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--dc-line);
  border-left: 4px solid var(--dm-accent, var(--dc-teal));
  background: var(--dc-surface);
}

.dm-say-label {
  font: 0.72rem var(--dc-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dc-teal-ink);
}

.dm-say q {
  flex: 1 1 260px;
  font-family: var(--dc-display);
  font-size: 1.18rem;
  line-height: 1.4;
  color: var(--dc-head);
}

.dm-say button {
  min-height: 36px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--dc-line);
  background: var(--dc-card);
  color: var(--dc-head);
  font: 700 0.86rem var(--dc-font);
  cursor: pointer;
}

.dm-say-hint { flex-basis: 100%; margin: 0; font-size: 0.86rem; color: var(--dc-muted); }

.dm-doors { margin-top: 24px; }

.dm-doors .dc-btn { min-height: 42px; padding: 9px 16px; font-size: 0.9rem; }

.dm-codes { margin: 14px 0 0; font-size: 0.84rem; color: var(--dc-muted); }

.dm-codes code { font-family: var(--dc-mono); }

/* The face switcher: the AI Concierge first, then the RCS phone, then the web runner. */
.dm-faces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: var(--dc-surface);
  border: 1px solid var(--dc-line);
}

.dm-faces button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 52px;
  padding: 8px 6px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--dc-head);
  font: 800 0.9rem/1.2 var(--dc-font);
  cursor: pointer;
  text-align: center;
}

.dm-faces button small { font: 500 0.72rem var(--dc-font); color: var(--dc-muted); }

.dm-faces button[aria-pressed="true"] {
  background: var(--dc-card);
  border-color: var(--dm-accent, var(--dc-teal));
  box-shadow: 0 6px 18px rgba(14, 21, 35, 0.12);
}

/* The stage the live embed lands in - a poster until the visitor starts it. */
.dm-stage {
  position: relative;
  margin-top: 12px;
  min-height: 660px;
  border-radius: 22px;
  overflow: hidden;
  background: #0e1523;
  display: flex;
  justify-content: center;
}

.dm-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 28px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.dm-poster[hidden] { display: none; }

.dm-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 21, 35, 0.05) 20%, rgba(14, 21, 35, 0.88) 78%);
}

.dm-poster > * { position: relative; }

.dm-poster b { font-size: 1.5rem; line-height: 1.2; }

.dm-poster p { margin: 0; color: #dfe4ee; }

.dm-poster .dc-btn { align-self: flex-start; }

.dm-pic-bloomsybox { background-image: url("https://images.unsplash.com/photo-1610599929746-e79dbd785f18?w=900&q=70&auto=format&fit=crop"); background-color: #8a4b5d; }
.dm-pic-zumiez { background-image: url("https://images.unsplash.com/photo-1550602081-cfc32634c9bf?w=900&q=70&auto=format&fit=crop"); background-color: #4a5560; }
.dm-pic-mottandbow { background-image: url("https://images.unsplash.com/photo-1637069585336-827b298fe84a?w=900&q=70&auto=format&fit=crop"); background-color: #2e4a6b; background-position: center 60%; }
.dm-pic-kachava { background-image: url("https://images.unsplash.com/photo-1642102903914-dca6cd38361e?w=900&q=70&auto=format&fit=crop"); background-color: #4a2e22; }
.dm-pic-slimchickens { background-color: #6b2f12; background-image: linear-gradient(135deg, #9c3d12 0%, #6b2f12 55%, #3d1b0b 100%); }
.dm-pic-youngla { background-image: url("https://images.unsplash.com/photo-1584827386894-fc939dad6078?w=900&q=70&auto=format&fit=crop"); background-color: #1d1d1d; }

.dm-live {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.dm-live-concierge { background: #ffffff; padding: 0; }

.dm-live-web { background: #ffffff; padding: 0; }

.dm-web-frame,
.dm-bot-frame {
  width: 100%;
  height: 640px;
  border: 0;
  display: block;
  background: #ffffff;
}

.dm-rcs-frame {
  width: 420px;
  max-width: 100%;
  height: 680px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
}

.dm-open {
  display: block;
  padding: 10px;
  text-align: center;
  font: 700 0.86rem var(--dc-font);
  color: var(--dc-teal-ink);
}

.dm-stage-msg { margin: 18px; color: var(--dc-navy-text); font-size: 0.92rem; text-align: center; }

.dm-stage-msg a { color: var(--dc-mint); }

.dm-stage-note { margin: 10px 2px 0; font-size: 0.84rem; color: var(--dc-muted); }

/* Coming next, and the team's own conversations. */
.dm-later { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }

@media (min-width: 760px) {
  .dm-later { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dm-later li p:first-child { margin-bottom: 6px; }

.dm-later .dc-label { margin-bottom: 6px; }
