/* ============================================================================
   demo.css · the "first morning" click-through. A guided, static illustration
   of the experience. No real data, no network, nothing sends.
   ========================================================================== */

.demo-lead { max-width: var(--measure); margin-inline: auto; text-align: center; }
.demo-lead .eyebrow { display: block; margin-bottom: 0.9rem; }

.demo-stage {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 900px) { .demo-stage { grid-template-columns: min(340px, 40vw) 1fr; justify-content: center; } }

.demo-phone-col { display: flex; flex-direction: column; align-items: center; gap: 1rem; position: sticky; top: 90px; }

/* the screen swaps content; each "scene" is a slide */
.demo-scene { display: none; }
.demo-scene.is-active { display: block; animation: sceneIn 0.5s var(--ease); }
@keyframes sceneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .demo-scene.is-active { animation: none; } }

/* controls */
.demo-controls { display: flex; align-items: center; gap: 0.75rem; }
.demo-controls .btn { padding: 0.7rem 1.2rem; }
.demo-dots { display: flex; gap: 0.4rem; }
.demo-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line); transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.demo-dots button[aria-current="true"] { background: var(--accent); transform: scale(1.25); }

/* narration column */
.demo-narrate { max-width: 46ch; }
.demo-narrate .step-count { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.demo-narrate h2 { font-size: var(--step-2); margin-top: 0.6rem; }
.demo-narrate .narr { display: none; }
.demo-narrate .narr.is-active { display: block; }
.demo-narrate .narr p { margin-top: 1rem; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; }
.demo-narrate .narr .aside { margin-top: 1.1rem; font-size: var(--step--1); color: var(--muted); }

/* the "found errand" report card, in her voice, inside the phone */
.scr-report {
  background: var(--card); border: 1px solid var(--pending); border-radius: var(--radius);
  padding: 13px 14px; margin-bottom: 11px;
}
.scr-report .who { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.scr-report .rbody { font-size: 12.5px; line-height: 1.55; color: var(--ink); margin: 8px 0 11px; }
.scr-report .rbody .amt { font-weight: 700; color: var(--ink); }
.scr-report .egress {
  font-size: 10px; color: var(--muted); margin: 0 0 11px;
  display: flex; align-items: center; gap: 5px;
}
.scr-report .egress::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); flex: none; }

.demo-disclaimer {
  margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center;
  font-size: var(--step--1); color: var(--muted); max-width: 60ch; margin-inline: auto;
}
.demo-disclaimer strong { color: var(--ink-soft); }

/* contract-book mini list for the "mapped" scene */
.scr-contract-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line-soft); font-size: 12px; }
.scr-contract-row:first-of-type { border-top: 0; }
.scr-contract-row .c-name { color: var(--ink-soft); }
.scr-contract-row .c-tag { color: var(--faint); font-size: 10.5px; }
.scr-contract-row .c-tag.flag { color: var(--accent-2); font-weight: 700; }
