.demo-page { --demo-outline: var(--rule);
  --demo-pad: var(--pad); }

.demo-shell {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--demo-pad);
}

.demo-page { background: var(--paper); }

.demo-hero { color: var(--ink); }

.demo-hero-inner { padding-block: clamp(24px, 5vw, 64px) 20px; }

.demo-hero h1 { font-size: var(--t-h1);
  line-height: 1.04;
  text-wrap: balance; }

.demo-intro { max-width: 55ch;
  margin-top: 14px;
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--muted); }

.demo-disclosure {
  margin-block: 11px 14px;
  font-size: 14px;
  color: var(--muted);
}

.demo-hero-calls { display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px; }
.demo-contact { margin-top: 24px; }

.demo-hero-call { position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 2px 10px;
  padding: 10px 14px 12px;
  min-width: 0;
  border: 1px solid var(--demo-outline);
  border-radius: var(--radius);
  background: var(--card); }

.demo-hero-call.is-selected { border-color: var(--copper); background: var(--copper-soft); }
.demo-select { grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink); }
.demo-select:hover { text-decoration: underline; text-underline-offset: .2em; }
.demo-select::after { position: absolute; inset: 0; content: ''; }
.demo-shop-name { font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 3px; }

.demo-wave {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  height: 34px;
  gap: 2px;
  margin-block: 3px;
  color: var(--rule-strong);
}
.demo-wave i { flex: 1; border-radius: 2px; height: max(3px, var(--height)); background: currentColor; }
.demo-wave i.is-played { color: var(--copper); }
.demo-wave[data-pending] { grid-column: 1 / -1; height: 13px; border-bottom: 1px dashed var(--demo-outline); }
.demo-play {
  position: relative;
  z-index: 1;
  grid-area: 2 / 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  cursor: pointer;
}
.demo-play:hover, .is-playing .demo-play { background: var(--copper); }
.demo-play span { border-block: 6px solid transparent; border-left: 10px solid currentColor; margin-left: 2px; }
.is-playing .demo-play span { width: 10px; height: 12px; border: 0; border-inline: 3px solid currentColor; margin-left: 0; }
.demo-play[hidden], .demo-call[hidden] { display: none; }
.demo-hero-duration { grid-column: 1 / -1; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.demo-hero-call[data-recorded] .demo-hero-duration { text-align: right; }
.demo-audio-status:empty { display: none; }

.demo-destinations h3, .demo-lead h3 { font-size: clamp(19px, 2.3vw, 25px); line-height: 1.2; }

.demo-call { padding-block: clamp(24px, 4vw, 48px) clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--demo-outline);
  scroll-margin-top: 20px; }

.demo-call-header { margin-bottom: 20px; }
.demo-call-header h2, .demo-pricing h2, .demo-method h2 { margin-block: 4px;
  font-size: var(--t-h2);
  line-height: 1.1; }

.demo-kind { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
.demo-kind, .demo-call-header > p:last-child { color: var(--muted); }
.demo-kind span { padding: 3px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 13px; }

.demo-call-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: start;
}

.demo-evidence, .demo-profile, .demo-lead, .demo-destination { min-width: 0; }

.demo-pending, .demo-listen { border: 1px solid var(--demo-outline);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--sand); }

.demo-pending h3, .demo-listen h3 { font-size: 21px; }
.demo-pending p, .demo-listen p { color: var(--muted); font-size: 15px; margin-top: 5px; }

.demo-profile { margin-top: 22px;
  border: 1px solid var(--demo-outline);
  border-radius: var(--radius);
  background: var(--card); }

.demo-profile summary { min-height: 52px;
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer; }

.demo-profile summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.demo-profile[open] summary { border-bottom: 1px solid var(--rule); }
.demo-profile dl { padding: 4px 18px 12px; }
.demo-profile h3 { margin-inline: 18px; font-size: 18px; padding-top: 7px; }
.demo-profile dt, .demo-lead dt, .demo-destination dt { font-weight: 600; }
.demo-profile dd, .demo-lead dd, .demo-destination dd { color: var(--muted); }
.demo-profile dl > div, .demo-lead dl > div { padding-block: 8px; }
.demo-profile dl > div + div, .demo-lead dl > div + div { border-top: 1px solid var(--rule); }

.demo-listen audio { display: block; min-width: 0; width: -webkit-fill-available; width: stretch; min-height: 54px; margin-block: 8px 18px; }
.demo-listen audio[hidden] { display: none; }
.demo-duration, .demo-time { font-variant-numeric: tabular-nums; }
.demo-transcript { margin: 6px 0 0; padding: 0; list-style: none; max-height: 19rem; overflow-y: auto; }
.demo-transcript li + li { border-top: 1px solid var(--demo-outline); }
.demo-transcript button {
  display: grid;
  grid-template-columns: 5ch 1fr;
  text-align: left;
  gap: 10px;
  min-height: 46px;
  width: -webkit-fill-available; width: stretch;
  padding: 10px 8px;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}
.demo-transcript button:hover, .demo-transcript button[aria-current] { background: var(--card); }
.demo-transcript button[aria-current] { background: var(--copper-soft); font-weight: 500; }
.demo-listen h4, .demo-lead h4 { margin: 0; font-weight: 600; }

.demo-lead { padding: 20px;
  border: 1px solid var(--demo-outline);
  border-radius: var(--radius);
  background: var(--card); }
.demo-lead dl { margin-block: 8px; }
.demo-capture, .demo-timing { color: var(--muted); font-size: 15px; }
.demo-dental-note { margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--demo-outline);
  border-radius: var(--radius-s);
  background: var(--sand); }

.demo-lead + .demo-destinations { margin-top: 20px; }
.demo-destinations > p { margin-top: 5px; color: var(--muted); font-size: 15px; }
.demo-destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100vi), 1fr));
  gap: 12px;
  margin-top: 12px;
}

.demo-destination { padding: 16px;
  border: 1px solid var(--demo-outline);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 14px;
  overflow-wrap: anywhere; }

.demo-destination h4 { margin: 0; font-size: 16px; font-weight: 600; }
.demo-destination-state { margin: 2px 0 10px; color: var(--muted); }
.demo-destination table { width: -webkit-fill-available; width: stretch; border-collapse: collapse; }
.demo-destination th, .demo-destination td { padding: 4px 5px; border: 1px solid var(--demo-outline); text-align: left; }
.demo-destination dl > div { display: flex; justify-content: space-between; gap: 10px; }
.demo-destination pre { font-size: 13px; white-space: pre-wrap; margin: 0; }

.demo-for-shop { margin-top: 17px; }
.demo-for-shop strong { display: block; font-weight: 600; }
.demo-method { padding-block: 35px 44px; }
.demo-method p { margin-top: 10px; color: var(--muted); }

.demo-pricing { padding-block: var(--band); background: var(--sand); }
.demo-pricing h2 + p { color: var(--muted); }
.demo-price-grid { display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 20px; }
.demo-rate { display: grid; align-content: start; gap: 6px; padding: clamp(16px, 2.4vw, 28px); border: 1px solid var(--demo-outline); border-radius: var(--radius); background: var(--card); }
.demo-rate strong { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.015em; line-height: 1.15; }
.demo-rate span { font-size: 14px; color: var(--muted); }

.demo-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(1px); }

@media (max-width: 735px) {
  .demo-hero-calls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-call-grid, .demo-price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .demo-destination-grid { grid-template-columns: 1fr; }
  .demo-wave { gap: 1px; }
}
