/* Demo scenarios page
 * "Try a sample report" screen with persona cards.
 * Uses base.css design tokens (--coral, --text, --bone-0, --ink-0, etc).
 */

/* ------------------------------------------------------------------ */
/* PAGE LAYOUT                                                        */
/* ------------------------------------------------------------------ */

/* FS-2 (2026-08-02): root typeface declaration. This screen has no inner
   wrapper div -- the .ds-* children sit directly on the screen container --
   so the root IS the screen id. Only .ds-page-title carried the family;
   the back link, the page subhead, the persona cards and the audience /
   CTA buttons (which do carry `font-family: inherit`) all resolved to
   Inter. See landing.css `.landing` for the full rationale. */
#screen-demo-scenarios {
  padding-bottom: 60px;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ds-back-link {
  display: block;
  padding: 18px 20px 0;
  max-width: 640px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 600;
  color: rgba(30,42,53,0.55);
  text-decoration: none;
}
.ds-back-link:hover { color: var(--coral, #f26419); }

.ds-page-header {
  text-align: center;
  padding: 48px 20px 8px;
  max-width: 640px;
  margin: 0 auto;
}

.ds-page-title {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-size: clamp(28px, 3.3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text, #1E2A35);
  margin: 0 0 8px;
}

.ds-page-title span { color: var(--coral, #f26419); }

.ds-page-sub {
  font-size: 15px;
  color: rgba(30,42,53,0.6);
  line-height: 1.5;
  margin: 0 0 4px;
}

/* Audience toggle */
.ds-audience-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 20px auto 32px;
  border: 1.5px solid rgba(30,42,53,0.18);
  border-radius: 999px;
  overflow: hidden;
  width: fit-content;
  background: rgba(255,255,255,0.6);
}

.ds-aud-btn {
  padding: 8px 20px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: rgba(30,42,53,0.55);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.ds-aud-btn.active {
  background: var(--ink-0, #1D2430);
  color: var(--bone-0, #fbf8f1);
}

/* ------------------------------------------------------------------ */
/* CARDS CONTAINER                                                    */
/* ------------------------------------------------------------------ */

#demo-scenarios-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------------------------------------ */
/* PERSONA CARD                                                       */
/* ------------------------------------------------------------------ */

.ds-card,
.ds-dana-row {
  background: #fff;
  border: 1px solid rgba(31,24,19,0.1);
  border-radius: 20px;
  padding: 24px 22px 20px;
  box-shadow: 0 4px 16px rgba(28,20,14,0.05);
}

.ds-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(30,42,53,0.4);
  background: rgba(30,42,53,0.04);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
}

.ds-card-header {
  margin-bottom: 12px;
}

.ds-persona-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text, #1E2A35);
  letter-spacing: -0.02em;
}

.ds-bureau-label {
  font-size: 13px;
  color: rgba(30,42,53,0.5);
  margin-top: 2px;
}

/* ------------------------------------------------------------------ */
/* STORY QUOTE                                                        */
/* ------------------------------------------------------------------ */

.ds-story {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(30,42,53,0.7);
  margin: 0 0 16px;
  padding: 12px 16px;
  background: rgba(30,42,53,0.025);
  border-radius: 12px;
  border-left: 3px solid var(--coral, #f26419);
  font-style: normal;
}

/* ------------------------------------------------------------------ */
/* FINDINGS                                                           */
/* ------------------------------------------------------------------ */

.ds-findings-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(30,42,53,0.45);
  margin-bottom: 8px;
}

.ds-findings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.ds-finding {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.ds-finding-chip {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(242,100,25,0.1);
  color: #f26419;
  white-space: nowrap;
}

.ds-finding-text {
  color: rgba(30,42,53,0.7);
}

/* ------------------------------------------------------------------ */
/* AUDIENCE LINE                                                      */
/* ------------------------------------------------------------------ */

.ds-audience-line {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(30,42,53,0.55);
  padding: 10px 14px;
  background: rgba(242,100,25,0.04);
  border-radius: 10px;
  border: 1px solid rgba(242,100,25,0.1);
  margin-bottom: 16px;
}

.ds-audience-line:empty { display: none; }

/* ------------------------------------------------------------------ */
/* SILENT NOTE                                                        */
/* ------------------------------------------------------------------ */

.ds-silent-note {
  font-size: 12px;
  color: rgba(30,42,53,0.45);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------ */
/* ACTIONS                                                            */
/* ------------------------------------------------------------------ */

.ds-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ds-cta-primary {
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: var(--ink-0, #1D2430);
  color: var(--bone-0, #fbf8f1);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s;
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.ds-cta-primary:hover { filter: brightness(1.1); }

.ds-cta-pdf {
  font-size: 13px;
  font-weight: 600;
  color: var(--coral, #f26419);
  text-decoration: none;
  padding: 10px 0;
}

.ds-cta-pdf:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ */
/* DANA ROW -- two bureau sub-cards                                   */
/* ------------------------------------------------------------------ */

.ds-dana-sub-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.ds-dana-sub {
  background: var(--bone-0, #fbf8f1);
  border: 1px solid rgba(31,24,19,0.08);
  border-radius: 14px;
  padding: 14px 14px 12px;
}

.ds-sub-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ds-sub-bureau {
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1E2A35);
}

.ds-sub-note {
  font-size: 11px;
  color: rgba(30,42,53,0.45);
}

/* ------------------------------------------------------------------ */
/* MOBILE                                                             */
/* ------------------------------------------------------------------ */

@media (max-width: 480px) {
  .ds-back-link { padding: 14px 14px 0; font-size: 13px; }
  .ds-page-header { padding: 32px 16px 8px; }
  #demo-scenarios-content { padding: 0 14px; }
  .ds-card, .ds-dana-row { padding: 18px 16px 16px; }
  .ds-dana-sub-cards { grid-template-columns: 1fr; }
  .ds-persona-name { font-size: 19px; }
  .ds-story { font-size: 13px; padding: 10px 12px; }
  .ds-aud-btn { padding: 8px 16px; min-height: 44px; }
  .ds-cta-primary { min-height: 44px; }
  .ds-actions { flex-direction: column; align-items: flex-start; }
}
