.demo-main { max-width: 1160px; }
.demo-heading { max-width: 830px; padding-block: 18px 22px; }
.demo-heading h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
.view-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 26px; }
.view-switch button, .role-selector button { min-height: 48px; font: inherit; font-weight: 650; cursor: pointer; background: #fffcf7; color: #59453b; border: 1px solid var(--line); border-radius: 2px; padding: 10px 12px; }
.view-switch button[aria-current], .role-selector button[aria-pressed=true] { color: white; background: var(--accent); border-color: var(--accent); }
[hidden] { display: none !important; }
.company-layout, .participant-layout, .result-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.overview-copy { display: flex; flex-direction: column; align-items: flex-start; min-height: 400px; }
.overview-copy h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); max-width: 21ch; }
.overview-controls { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 16px; }
.overview-controls span { font-variant-numeric: tabular-nums; white-space: nowrap; }
.text-button { font: inherit; color: var(--accent); border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; cursor: pointer; padding: 8px 0; }
button:disabled { cursor: default; opacity: .48; }
.muted { color: #696157; font-size: .9rem; }
.overview-copy > .muted { margin: 8px 0 0; }
.team-map { background: #211e1b; color: #f5eee2; overflow: hidden; }
.map-center { text-align: center; margin-bottom: 22px; }
.map-center span, .map-center strong { display: block; }
.map-center strong { font-size: 1.3rem; line-height: 1.3; }
.role-map { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.map-role { position: relative; border: 1px solid #6c5f52; border-radius: 2px; padding: 14px; min-width: 0; }
.map-role strong, .map-role small { display: block; }
.map-role small { color: #d9cbbd; }
.map-role.active { background: #f5eee2; color: #211e1b; border-color: #f5eee2; }
.map-role.active small { color: #59453b; }
.map-role.active::after { content: '✓'; position: absolute; top: 11px; right: 12px; font-weight: 800; }
.map-role.active strong { padding-right: 20px; }
.map-caption { border-top: 1px solid #6c5f52; padding-top: 16px; margin: 20px 0 0; text-align: center; }
.demo-bottom { display: flex; gap: 25px; align-items: center; justify-content: space-between; margin-top: 24px; }
.demo-bottom p { max-width: 62ch; margin: 0; }
.demo-bottom button { flex-shrink: 0; }
.participant-intro { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.participant-intro .muted { max-width: 38ch; }
.role-selector { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 22px; }
.participant-layout { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: start; }
.phone-card { border: 2px solid #b3a89a; border-radius: 3px; box-shadow: none; }
.phone-header { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; font-weight: 700; }
.phone-header span:last-child { color: #696157; font-size: .9rem; }
.scenario-sum { font-size: 1.7rem; font-weight: 750; color: var(--accent); }
.mini-progress { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: 6px; margin: 0 0 24px; }
.mini-progress li { font-size: .8rem; padding: 5px 9px; background: #ece7dd; border-radius: 2px; }
.mini-progress li.current { background: #bb2027; color: white; }
.mini-progress li.complete { color: #19573d; background: #e7f3ec; }
.round-progress { margin-bottom: 18px; }
.round-progress li { font-family: inherit; }
.step-card { border-top: 1px solid var(--line); padding-top: 18px; }
.step-card h3 { font-size: 1.3rem; }
.step-card .next-action-title { margin-top: 20px; margin-bottom: 4px; font-size: 1.1rem; }
.step-card .secondary { text-align: left; justify-content: flex-start; }
.step-card button { width: 100%; margin-top: 10px; }
.fact-card { border-left: 4px solid #bb2027; padding: 12px 14px; background: #f1e9dd; }
.fact-card p { margin-bottom: 0; }
.colleague { display: flex; align-items: flex-start; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.colleague:last-child { border-bottom: 0; }
.avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; height: 40px; border: 1px solid var(--line); border-radius: 2px; font-weight: 750; background: #f1e9dd; }
.colleague p { margin: 0; }
.colleague small { color: #696157; }
.colleagues > .muted { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 10px; }
.transfer { display: flex; align-items: center; gap: 12px; margin-block: 15px; color: var(--accent); font-weight: 700; }
.transfer-line { flex: 1; height: 3px; background: #e6bfc3; position: relative; overflow: hidden; }
.transfer-line::after { content: ''; display: block; width: 45%; height: 100%; background: var(--accent); animation: transfer 1.2s ease-out both; }
.result-heading { max-width: 75ch; margin-bottom: 24px; }
.result-sheet { position: relative; border-top: 5px solid var(--accent); padding-top: 42px; }
.sample-label { position: absolute; top: 10px; right: 16px; font-size: .78rem; color: #696157; text-transform: uppercase; letter-spacing: .08em; }
.result-sheet h3 { font-size: 1.4rem; }
.result-money { font-size: 1.25rem; font-weight: 700; }
.result-sheet hr { border: 0; border-top: 1px solid var(--line); margin: 25px 0; }
.result-aside .primary, .result-aside .secondary { width: 100%; margin-bottom: 12px; }
.result-aside ul { padding-left: 22px; margin-bottom: 25px; }
.result-aside li { padding-bottom: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.reveal { animation: reveal .35s ease-out both; }
@keyframes reveal { from { opacity: .3; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes transfer { from { transform: translateX(-100%); } to { transform: translateX(230%); } }
@media (max-width: 750px) {
  .company-layout, .participant-layout, .result-layout { grid-template-columns: 1fr; }
  .overview-copy { min-height: 330px; }
  .demo-bottom, .participant-intro { display: block; }
  .demo-bottom button { margin-top: 16px; width: 100%; }
  .view-switch { gap: 5px; }
  .view-switch button { padding: 9px 5px; font-size: .9rem; }
  .role-selector { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 20px; }
  .result-sheet { padding-top: 42px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.view-switch button { font-family: var(--mono); font-size: .76rem; text-align: left; border-bottom: 3px solid var(--line); }
.view-switch button[aria-current] { border-color: var(--accent); }
.team-map { border: 0; }
.phone-header, .mini-progress, .sample-label { font-family: var(--mono); }
.role-selector button { border-radius: 2px; }
.result-sheet { background: #fffcf7; }

.map-role strong, .map-role small { overflow-wrap: anywhere; }

.decision-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.comparison-choice { padding: 14px; border: 1px solid var(--line); background: #f6f1e9; }
.comparison-choice:first-child { border-top: 3px solid var(--accent); }
.comparison-choice h4 { margin: 4px 0 8px; font-size: 1rem; }
.comparison-choice .eyebrow { margin-bottom: 0; }
.comparison-choice p { font-size: .88rem; }
.comparison-choice .comparison-follow { margin: 0; color: var(--muted); }
@media (max-width: 500px) { .decision-comparison { grid-template-columns: 1fr; } }

#reflection-sample fieldset { display: grid; gap: 6px; padding: 0; border: 0; margin: 12px 0 0; min-width: 0; }
#reflection-sample legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
#reflection-sample label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line); cursor: pointer; }
#reflection-sample label:has(input:checked) { background: #f1e9dd; border-color: var(--accent); }
#reflection-sample input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
#reflection-reply { margin: 8px 0 0; font-weight: 600; }
#reflection-reply:empty { margin: 0; }
