.demo-page { background: var(--canvas); }
.demo-main { max-width: 1320px; margin: 0 auto; padding: 64px 40px 96px; }
.demo-intro { margin-bottom: 54px; }
.demo-intro .section-label { font-size: 11px; }
.demo-intro h1 { font-size: clamp(36px, 4.3vw, 62px); line-height: 1.12; }
.demo-intro > p:not(.section-label) { max-width: 600px; margin: 24px 0 14px; font-size: 17px; color: var(--muted-strong); line-height: 1.8; }
.demo-disclosure { font-size: 12px; color: var(--muted); }
@media (min-width: 960px) {
  .demo-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin-bottom: 42px; }
  .demo-intro .section-label { grid-column: 1 / -1; }
  .demo-intro h1 { grid-row: 2 / 4; font-size: 48px; }
  .demo-intro > p:not(.section-label) { align-self: end; margin-top: 0; }
  .demo-disclosure { align-self: start; }
}
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 5vw, 76px); align-items: start; }
.review-workspace { scroll-margin-top: 110px; }
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.step-label { font-size: 11px; color: var(--blue); font-weight: 650; }
.review-heading h2 { margin: 10px 0 0; font-size: 23px; letter-spacing: -.035em; }
#selection-count { flex-shrink: 0; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.review-help { color: var(--muted); font-size: 13px; margin: 14px 0 24px; }
#candidate-fields { padding: 0; margin: 0; border: 0; min-width: 0; }
.candidate { padding: 21px 0; border-top: 1px solid var(--line-strong); }
.candidate:last-child { border-bottom: 1px solid var(--line-strong); }
.candidate-top { display: flex; align-items: center; gap: 12px; }
.candidate input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.candidate label { display: inline-flex; min-height: 32px; align-items: center; gap: 10px; cursor: pointer; font-size: 12px; color: var(--muted-strong); }
.candidate-kind { color: var(--blue); font-weight: 700; }
.candidate label small { font-size: 11px; }
.candidate-title { display: block; margin: 9px 0 10px 32px; width: calc(100% - 32px); border: 1px solid transparent; border-bottom-color: var(--line); border-radius: 6px 6px 0 0; padding: 8px 4px; color: var(--ink); background: transparent; font: inherit; font-size: 18px; font-weight: 600; line-height: 1.5; }
.candidate-title:hover:not(:disabled), .candidate-title:focus { background: var(--surface); border-color: var(--line-strong); }
.candidate-title:disabled { opacity: 1; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.candidate details { margin-left: 36px; font-size: 12px; }
.candidate summary { width: fit-content; padding: 6px 0; min-height: 32px; color: var(--muted-strong); cursor: pointer; }
.candidate details p { padding: 12px 14px; margin: 8px 0 0; background: var(--surface); border-left: 2px solid var(--blue); border-radius: 0 7px 7px 0; color: var(--muted-strong); line-height: 1.8; }
.candidate-note { margin: 7px 0 0 36px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button:disabled { cursor: default; opacity: .45; box-shadow: none; transform: none; }
.demo-feedback { min-height: 42px; margin: 15px 0 0; color: var(--muted-strong); font-size: 12px; line-height: 1.65; }
.demo-next { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
.demo-next p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.demo-next a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 600; font-size: 14px; }
.demo-preview { position: sticky; top: 106px; min-width: 0; }
.preview-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; }
.preview-heading h2 { margin: 0; font-size: 11px; color: var(--muted); font-weight: 600; }
.preview-heading > span { color: var(--muted); font-size: 11px; }
.demo-receipt { padding: 26px 28px; transform: none; box-shadow: 0 12px 40px rgba(0, 0, 0, .06); }
.demo-receipt h2 { font-size: 29px; }
.demo-receipt .receipt-status { font-size: 11px; padding: 7px; }
.demo-receipt .receipt-kicker { margin-top: 20px; font-size: 10px; }
.demo-receipt .receipt-subtitle { margin-bottom: 18px; }
.demo-receipt .receipt-meta { padding: 12px 0; }
.demo-receipt .receipt-meta div { font-size: 12px; }
.demo-receipt .outcome-list li { grid-template-columns: 24px minmax(0, 1fr) 40px; padding: 13px 0; }
.demo-receipt .receipt-table-head { grid-template-columns: 24px minmax(0, 1fr) 40px; }
.demo-receipt .outcome-list strong { font-size: 14px; overflow-wrap: anywhere; }
.demo-receipt .outcome-list em { font-size: 10px; color: var(--muted); }
.demo-receipt .outcome-list small { font-size: 11px; }
.demo-receipt .receipt-total { padding: 18px 0; }
.demo-receipt .receipt-total strong { font-size: 16px; }
.demo-receipt .receipt-stamp { font-size: 19px; margin: 22px auto 18px; color: var(--muted); border-color: currentColor; }
.demo-receipt[data-confirmed] .receipt-stamp { color: var(--red); }
.demo-receipt[data-confirmed] .outcome-list em { color: var(--green); }
.empty-receipt { padding: 28px 0; text-align: center; font-size: 12px; line-height: 1.8; color: #6e6e73; }
.preview-note { text-align: center; color: var(--muted); font-size: 11px; line-height: 1.8; margin: 18px 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 800px) {
  .demo-main { padding: 46px 22px 64px; }
  .demo-intro { margin-bottom: 38px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .demo-preview { position: static; width: 100%; max-width: 480px; justify-self: center; }
  .review-heading h2 { font-size: 21px; }
  .demo-page .site-header nav a.demo-back { display: inline-flex; min-height: 44px; align-items: center; font-size: 12px; }
  .demo-page .site-header { padding-left: 16px; }
  .demo-page .brand { font-size: 13px; gap: 7px; }
  .demo-page .brand > span:last-child { display: inline; }
  .demo-page .brand-mark { width: 26px; height: 26px; }
  .demo-page nav { gap: 10px; }
  .demo-intro > p:not(.section-label) { font-size: 15px; }
  .demo-page footer { flex-wrap: wrap; font-size: 12px; }
}
@media (max-width: 360px) { .demo-page .brand > span:last-child { display: none; } .demo-main { padding-inline: 16px; } .demo-receipt { padding-inline: 20px; } }
