/* The interactive demo is local, illustrative and independent of the sales form. */
.demo-page { background: #fff; }
.dm-intro { padding-block: 62px 36px; }
.dm-intro-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dm-intro .eyebrow { font-size: 11px; letter-spacing: .08em; }
.dm-language { display: inline-flex; min-height: 40px; align-items: center; padding: 7px 13px; border: 1px solid #e5e1ec; border-radius: 8px; font-size: 12px; flex-shrink: 0; }
.dm-language:hover { background: #f5f4f8; }
.dm-intro h1 { max-width: 870px; margin-top: 23px; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.06; letter-spacing: -.055em; font-weight: 500; text-wrap: balance; }
.dm-intro-description { max-width: 785px; margin-top: 22px; color: #61606b; font-size: 16px; line-height: 1.65; }
.dm-noscript { margin-bottom: 24px; padding: 20px; background: #f5f4f8; border-radius: 12px; }
.dm-demo { --dm-accent: #542cec; --dm-accent-dark: #4121bf; --dm-soft: #f1edff; --dm-border: #dcd3f5; --dm-ink: #0d0d0d; --dm-muted: #61606b; border: 1px solid #e4e0ec; border-radius: 23px; background: #faf9fc; color: var(--dm-ink); overflow: clip; }
.dm-demo[data-palette="blue"] { --dm-accent: #396a95; --dm-accent-dark: #285475; --dm-soft: #edf3f9; --dm-border: #cbdce9; }
.dm-demo *, .dm-demo *::before, .dm-demo *::after { box-sizing: border-box; }
.dm-demo [hidden] { display: none !important; }
.dm-demo button, .dm-demo input, .dm-demo select { font: inherit; }
.dm-demo button { -webkit-tap-highlight-color: transparent; }
.dm-demo button:focus-visible, .dm-demo input:focus-visible, .dm-demo select:focus-visible, .dm-workspace:focus-visible { outline: 3px solid var(--dm-accent); outline-offset: 3px; }
.dm-demo button:disabled { cursor: default; }
.dm-icon { display: block; width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.dm-toolbar { display: flex; align-items: flex-start; gap: 28px; padding: 24px; background: #fff; border-bottom: 1px solid #e9e5ef; }
.dm-brand-control { flex: 1 1 250px; max-width: 300px; min-width: 0; }
.dm-brand-control > label, .dm-palette > legend { display: block; color: #37323f; font-size: 11px; line-height: 1.4; font-weight: 500; margin-bottom: 7px; }
.dm-brand-control > input { display: block; width: 100%; height: 42px; padding: 9px 12px; border: 1px solid #d8d2e3; border-radius: 8px; color: var(--dm-ink); background: #fff; font-size: 13px; }
.dm-brand-control > span { display: block; margin-top: 5px; color: var(--dm-muted); font-size: 10px; }
.dm-palette { min-width: 0; border: 0; margin: 0; padding: 0; }
.dm-palette > div { display: flex; gap: 6px; }
.dm-palette button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 8px 11px; border: 1px solid #ddd7e8; border-radius: 8px; background: #fff; font-size: 11px; }
.dm-palette button[aria-pressed="true"] { border-color: var(--dm-accent); box-shadow: inset 0 0 0 1px var(--dm-accent); background: var(--dm-soft); }
.dm-swatch { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; }
.dm-swatch-purple { background: #542cec; }
.dm-swatch-blue { background: #396a95; }
.dm-view-controls { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-top: 19px; }
.dm-view-tabs { display: flex; padding: 3px; border: 1px solid #e2ddec; border-radius: 9px; background: #f5f3f8; }
.dm-view-tabs > button { min-height: 35px; padding: 7px 14px; border: 0; border-radius: 6px; background: transparent; font-size: 11px; line-height: 1.4; color: var(--dm-muted); }
.dm-view-tabs > button[aria-selected="true"] { background: #fff; color: var(--dm-ink); box-shadow: 0 1px 5px #1f153215; }
.dm-reset { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; padding: 4px 2px; border: 0; background: none; color: var(--dm-muted); font-size: 10px !important; }
.dm-reset > .dm-icon { width: 13px; height: 13px; }
.dm-reset:hover { color: var(--dm-accent); }
.dm-simulation-note { display: flex; align-items: center; gap: 8px; padding: 13px 24px; border-bottom: 1px solid #e8e3ef; background: #f5f3f9; color: #625b6d; font-size: 11px; line-height: 1.5; }
.dm-simulation-note > .dm-icon { width: 14px; height: 14px; color: var(--dm-accent); }
.dm-workspace { display: grid; grid-template-columns: 176px minmax(0, 1fr) 194px; align-items: start; gap: 19px; padding: 23px; min-width: 0; }
.dm-journey, .dm-experience, .dm-record { min-width: 0; }
.dm-journey-heading { padding: 3px 4px 0; }
.dm-small-label { display: block; color: var(--dm-muted); font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .035em; }
.dm-journey-heading > strong { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; }
.dm-progress { height: 3px; margin: 14px 4px 18px; border-radius: 2px; overflow: hidden; background: #e6e0ef; }
.dm-progress > span { display: block; width: 0; height: 100%; background: var(--dm-accent); transition: width .2s; }
.dm-step-list { display: flex; flex-direction: column; gap: 5px; list-style: none; margin: 0; padding: 0; }
.dm-step { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 55px; padding: 10px 8px; border: 1px solid transparent; border-radius: 9px; background: none; text-align: left; }
.dm-step:not(:disabled):hover { background: #f0ecf6; }
.dm-step.is-current { background: var(--dm-soft); border-color: var(--dm-border); }
.dm-step.is-current:hover { background: var(--dm-soft); }
.dm-step-state { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 auto; border: 1px solid #d9d1e5; border-radius: 7px; font-size: 9px; font-weight: 500; color: #746c80; }
.dm-step.is-current .dm-step-state, .dm-step.is-complete .dm-step-state { background: var(--dm-accent); color: #fff; border-color: var(--dm-accent); }
.dm-step-copy { min-width: 0; }
.dm-step-copy > strong { display: block; color: #2e2837; font-size: 11px; line-height: 1.35; font-weight: 500; }
.dm-step-copy > span { display: block; margin-top: 4px; color: #756d82; font-size: 9px; line-height: 1.3; }
.dm-step:disabled .dm-step-copy > strong { color: #807889; }
.dm-step:disabled .dm-step-state { border-color: #e3ddeb; color: #8a8294; }
.dm-experience { padding: 22px; border: 1px solid #e4deec; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px #32204704; }
.dm-experience-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 32px; padding-bottom: 20px; border-bottom: 1px solid #ece7f2; }
.dm-experience-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.dm-brand-mark { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; border-radius: 10px; color: #fff; background: var(--dm-accent); font-size: 10px; font-weight: 500; }
.dm-experience-brand > strong { font-size: 13px; line-height: 1.3; font-weight: 500; overflow-wrap: anywhere; }
.dm-perspective-badge { display: block; max-width: 120px; flex: 0 0 auto; padding: 5px 8px; border: 1px solid #e5deef; border-radius: 6px; color: var(--dm-muted); background: #faf9fc; font-size: 9px; line-height: 1.35; text-align: right; }
.dm-demo[data-perspective="officer"] .dm-perspective-badge { background: #f0f4f8; border-color: #dce5ed; color: #396a95; }
.dm-stage-heading { padding-block: 23px 19px; }
.dm-stage-heading > .dm-small-label { color: var(--dm-accent); }
.dm-stage-heading > h2 { margin-top: 9px; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.13; letter-spacing: -.04em; font-weight: 500; }
.dm-stage-heading > h2:focus { outline: none; }
.dm-stage-heading > h2:focus-visible { outline: 2px solid var(--dm-accent); outline-offset: 5px; border-radius: 2px; }
.dm-stage-heading > p:last-child { margin-top: 12px; color: var(--dm-muted); font-size: 12px; line-height: 1.6; }
.dm-stage-body { min-height: 320px; }
.dm-stage-actions { display: flex; justify-content: space-between; align-items: center; gap: 13px; margin-top: 24px; padding-top: 19px; border-top: 1px solid #ece7f2; }
.dm-primary, .dm-back { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 45px; padding: 12px 15px; border: 1px solid transparent; border-radius: 8px; font-size: 11px !important; font-weight: 500 !important; line-height: 1.4; text-align: left; }
.dm-primary { background: var(--dm-accent); color: #fff; }
.dm-primary:hover:not(:disabled) { background: var(--dm-accent-dark); }
.dm-primary:focus-visible { outline-color: var(--dm-accent-dark); }
.dm-primary:disabled { background: #eeeaf3; color: #82778e; }
.dm-primary > .dm-icon { width: 15px; height: 15px; }
.dm-back { color: var(--dm-muted); background: none; padding-inline: 0; }
.dm-back > .dm-icon { width: 14px; height: 14px; transform: rotate(180deg); }
.dm-back:hover:not(:disabled) { color: var(--dm-accent); }
.dm-back:disabled { opacity: .5; }
.dm-view-hint { margin-top: 13px; color: var(--dm-muted); font-size: 10px; line-height: 1.5; }
.dm-identity-visual { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 15px; margin-block: 12px 21px; }
.dm-identity-art { min-width: 0; }
.dm-identity-art > svg { display: block; width: 100%; height: auto; }
.dm-person-summary > h3 { margin-top: 7px; font-size: 19px; line-height: 1.2; font-weight: 500; letter-spacing: -.03em; }
.dm-subtle { margin-top: 7px; color: var(--dm-muted); font-size: 11px; line-height: 1.55; }
.dm-evidence-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.dm-evidence-chips > span { display: flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid var(--dm-border); border-radius: 5px; color: var(--dm-accent); background: var(--dm-soft); font-size: 9px; line-height: 1.3; }
.dm-evidence-chips .dm-icon { width: 11px; height: 11px; }
.dm-note { padding: 14px 15px; border: 1px solid #e5dfee; border-radius: 10px; background: #faf9fc; }
.dm-note > strong { display: block; margin-bottom: 6px; color: #3e3549; font-size: 11px; font-weight: 500; }
.dm-note > p { color: var(--dm-muted); font-size: 11px; line-height: 1.6; }
.dm-stage-note { margin-top: 17px; color: var(--dm-muted); font-size: 10px; line-height: 1.6; }
.dm-autofill { display: inline-flex; align-items: center; padding: 6px 9px; margin-bottom: 17px; border: 1px solid var(--dm-border); border-radius: 6px; color: var(--dm-accent); background: var(--dm-soft); font-size: 10px; line-height: 1.4; }
.dm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dm-field { min-width: 0; }
.dm-field > label { display: block; margin-bottom: 6px; color: #4d4359; font-size: 10px; line-height: 1.4; }
.dm-field > input, .dm-field > select { display: block; width: 100%; min-width: 0; min-height: 42px; padding: 10px 9px; border: 1px solid #d9d1e5; border-radius: 7px; background: #fff; color: #312738; font-size: 11px; line-height: 1.4; }
.dm-field > input[readonly] { background: #f6f3fa; color: #706478; }
.dm-field > select { padding-right: 21px; }
.dm-consent-choices { display: flex; flex-direction: column; gap: 10px; margin-top: 17px; }
.dm-choice { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #e0d8e9; border-radius: 8px; font-size: 11px; line-height: 1.6; cursor: pointer; }
.dm-choice > input { width: 17px; height: 17px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--dm-accent); }
.dm-choice > span { min-width: 0; }
.dm-signature { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100px; margin-top: 15px; padding: 12px; border: 1px dashed #d9d0e6; border-radius: 9px; }
.dm-signature-art { width: min(210px, 100%); }
.dm-signature-art > svg { display: block; width: 100%; height: 56px; }
.dm-signature > p { font-size: 10px; text-align: center; }
.dm-contribution { max-width: 430px; margin: 0 auto; padding: 22px; border: 1px solid var(--dm-border); border-radius: 13px; background: linear-gradient(150deg, var(--dm-soft), #fff 72%); text-align: center; }
.dm-contribution-icon { display: grid; place-items: center; width: 43px; height: 43px; margin: 0 auto 13px; border: 1px solid var(--dm-border); border-radius: 12px; background: #fff; color: var(--dm-accent); }
.dm-demo-amount { margin-top: 10px; font-size: 29px; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.dm-details { margin-top: 23px; border-top: 1px solid #e1d9eb; padding-top: 8px; }
.dm-detail-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 10px; text-align: left; font-size: 10px; line-height: 1.5; }
.dm-detail-row > span { color: var(--dm-muted); }
.dm-detail-row > strong { text-align: right; font-weight: 500; max-width: 60%; }
.dm-empty-state { padding: 30px 22px; border: 1px solid #e1dbe8; border-radius: 12px; background: #faf9fc; }
.dm-empty-state > strong { font-size: 17px; font-weight: 500; }
.dm-empty-state > p { margin-top: 12px; color: var(--dm-muted); font-size: 12px; line-height: 1.6; }
.dm-digital-id { max-width: 420px; margin: 0 auto; padding: 22px; border: 1px solid var(--dm-accent); border-radius: 17px; background: var(--dm-accent); color: #fff; box-shadow: 0 13px 23px #30204812; }
.dm-digital-id .dm-brand-mark { background: #ffffff20; border: 1px solid #ffffff4d; }
.dm-id-person { display: flex; align-items: center; gap: 13px; margin-top: 29px; }
.dm-id-avatar { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto; border: 1px solid #ffffff70; border-radius: 50%; }
.dm-id-avatar > .dm-icon { width: 23px; height: 23px; }
.dm-id-person h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.03em; font-weight: 500; }
.dm-id-person p { margin-top: 6px; color: #ffffffe0; font-size: 11px; }
.dm-id-status { margin-top: 19px; font-size: 10px; color: #ffffffe0; }
.dm-id-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 19px; padding-top: 13px; border-top: 1px solid #ffffff45; font-size: 9px; line-height: 1.4; color: #ffffffe8; }
.dm-id-connections { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.dm-id-connections > span { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 11px; border: 1px solid var(--dm-border); border-radius: 7px; color: var(--dm-accent); background: var(--dm-soft); font-size: 10px; line-height: 1.4; }
.dm-id-connections .dm-icon { width: 15px; height: 15px; }
.dm-graph-prompt { margin-top: 0; }
.dm-graph { position: relative; width: 100%; max-width: 570px; aspect-ratio: 2 / 1; margin: 12px auto 18px; }
.dm-graph-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.dm-graph-node { position: absolute; display: flex; justify-content: center; align-items: center; gap: 7px; width: 112px; min-height: 48px; padding: 10px; border: 1px solid var(--dm-border); border-radius: 10px; background: #fff; color: #43364f; transform: translate(-50%, -50%); font-size: 10px !important; line-height: 1.3; }
.dm-graph-node > .dm-icon { width: 15px; height: 15px; color: var(--dm-accent); }
.dm-graph-node[aria-pressed="true"] { border-color: var(--dm-accent); box-shadow: 0 0 0 1px var(--dm-accent); background: var(--dm-soft); }
.dm-node-identity { left: 50%; top: 50%; min-height: 62px; width: 120px; }
.dm-node-profile { left: 18.3%; top: 20.3%; }
.dm-node-consent { left: 81.7%; top: 20.3%; }
.dm-node-goal { left: 18.3%; top: 79.7%; }
.dm-node-policy { left: 81.7%; top: 79.7%; }
.dm-node-detail { padding: 15px; border: 1px solid #e4ddec; border-radius: 10px; background: #faf9fc; }
.dm-node-detail > h3 { color: var(--dm-accent); font-size: 13px; letter-spacing: -.015em; font-weight: 500; }
.dm-node-detail > p { margin-top: 7px; color: var(--dm-muted); font-size: 11px; line-height: 1.6; }
.dm-agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 19px; }
.dm-agent { min-width: 0; padding: 10px 8px 14px; border: 1px solid #e9e2f0; border-radius: 12px; background: #faf8fd; text-align: center; }
.dm-character { --dm-sprite-x: 0%; --dm-sprite-y: 0%; display: block; width: min(100%, 94px); aspect-ratio: 1; margin-inline: auto; background-image: url('/assets/oneteam-characters-v1.png'); background-size: 300% 200%; background-position: var(--dm-sprite-x) var(--dm-sprite-y); background-repeat: no-repeat; }
.dm-char-nora { --dm-sprite-x: 0%; --dm-sprite-y: 0%; }
.dm-char-leo { --dm-sprite-x: 100%; --dm-sprite-y: 0%; }
.dm-char-bruno { --dm-sprite-x: 100%; --dm-sprite-y: 100%; }
.dm-agent > h3 { margin-top: 2px; font-size: 14px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.dm-agent > strong { display: block; margin-top: 6px; font-size: 9px; line-height: 1.5; font-weight: 500; color: #3d304b; }
.dm-agent > p { margin-top: 7px; color: var(--dm-muted); font-size: 9px; line-height: 1.5; }
.dm-proposal { padding: 19px; border: 1px solid var(--dm-border); border-radius: 12px; background: var(--dm-soft); }
.dm-proposal > .dm-small-label { color: var(--dm-accent); }
.dm-proposal > h3 { margin-top: 9px; font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -.03em; }
.dm-proposal > .dm-subtle { margin-top: 12px; font-size: 10px; line-height: 1.6; }
.dm-proposal + .dm-note { margin-top: 13px; }
.dm-review-pending { display: flex; flex-direction: column; align-items: center; margin-top: 18px; padding: 23px 18px; border: 1px solid #e6dfed; border-radius: 12px; text-align: center; }
.dm-review-pending > .dm-icon { width: 25px; height: 25px; color: var(--dm-accent); }
.dm-review-pending > strong { margin-top: 12px; font-size: 13px; font-weight: 500; }
.dm-review-pending > p { margin-top: 9px; color: var(--dm-muted); font-size: 11px; line-height: 1.6; }
.dm-decision { display: flex; flex-direction: column; gap: 9px; min-width: 0; margin: 20px 0 14px; padding: 0; border: 0; }
.dm-decision > legend { margin-bottom: 11px; font-size: 11px; font-weight: 500; }
.dm-outcome { padding: 22px 17px 24px; text-align: center; }
.dm-outcome-symbol { display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto 14px; border: 1px solid var(--dm-border); border-radius: 50%; color: var(--dm-accent); background: var(--dm-soft); }
.dm-outcome > h3 { margin-top: 9px; font-size: 24px; font-weight: 500; letter-spacing: -.035em; line-height: 1.2; }
.dm-outcome > p { margin-top: 13px; color: var(--dm-muted); font-size: 12px; line-height: 1.6; }
.dm-record { padding: 15px 13px; border: 1px solid #e6e0ed; border-radius: 13px; background: #f6f3f9; }
.dm-record-heading { display: grid; grid-template-columns: 19px 1fr; column-gap: 7px; row-gap: 5px; }
.dm-record-heading > .dm-icon { grid-row: span 2; margin-top: 2px; color: var(--dm-accent); width: 17px; height: 17px; }
.dm-record-heading > .dm-small-label { font-size: 9px; }
.dm-record-heading > strong { font-size: 11px; line-height: 1.4; font-weight: 500; }
.dm-record > h2 { margin-top: 21px; font-size: 16px; line-height: 1.25; font-weight: 500; letter-spacing: -.03em; }
.dm-record > p { margin-top: 9px; color: var(--dm-muted); font-size: 10px; line-height: 1.55; }
.dm-record > dl { margin: 16px 0 0; }
.dm-record-row { padding-block: 10px; border-top: 1px solid #e2dce9; }
.dm-record-row > dt { color: #494050; font-size: 10px; font-weight: 500; line-height: 1.4; }
.dm-record-row > dd { margin: 4px 0 0; color: #83798e; font-size: 9px; line-height: 1.5; }
.dm-record-row.is-ready > dd { color: var(--dm-accent); }
.dm-platform { border-top: 1px solid #e5deed; padding: 18px 24px 20px; background: #f5f1fa; }
.dm-platform-layers { display: flex; align-items: center; justify-content: center; gap: 18px; }
.dm-platform-layers > [data-dm-layer] { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; color: #756b80; }
.dm-platform-layers > [data-dm-layer].is-active { background: #fff; border-color: var(--dm-border); color: var(--dm-accent); }
.dm-platform-layers strong { font-size: 12px; font-weight: 500; }
.dm-platform-layers [data-dm-layer] > span { font-size: 10px; }
.dm-layer-arrow { color: #9d90af; font-size: 13px; }
.dm-platform-core { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; column-gap: 10px; row-gap: 7px; margin-top: 13px; color: #716579; }
.dm-platform-core > .dm-icon { width: 14px; height: 14px; }
.dm-platform-core > strong { color: #3f334c; font-size: 10px; font-weight: 500; }
.dm-platform-core > span { font-size: 10px; }
.dm-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 68px 78px; }
.dm-cta h2 { font-size: 31px; line-height: 1.15; letter-spacing: -.04em; font-weight: 500; }
.dm-cta p { max-width: 620px; margin-top: 14px; color: #61606b; font-size: 14px; line-height: 1.65; }
.dm-cta > .button { flex-shrink: 0; }
.dm-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1180px) {
  .dm-toolbar { gap: 19px; }
  .dm-brand-control { max-width: 260px; }
  .dm-workspace { grid-template-columns: 176px minmax(0, 1fr); }
  .dm-record { grid-column: 2; }
  .dm-record-heading { display: flex; align-items: center; gap: 8px; }
  .dm-record-heading > .dm-icon { margin-top: 0; }
  .dm-record > h2 { margin-top: 13px; }
  .dm-record > dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 12px; }
  .dm-journey { grid-row: span 2; }
  .dm-experience { padding: 25px; }
}
@media (max-width: 1000px) {
  .dm-toolbar { flex-wrap: wrap; }
  .dm-brand-control { flex: 1 1 230px; max-width: none; }
  .dm-palette { flex: 0 0 auto; }
  .dm-view-controls { flex-direction: row; justify-content: space-between; align-items: center; flex: 1 0 100%; padding-top: 0; }
  .dm-reset { min-height: 42px; }
  .dm-stage-body { min-height: 340px; }
  .dm-identity-visual { grid-template-columns: 1fr; gap: 8px; }
  .dm-identity-art { max-width: 220px; margin-inline: auto; }
  .dm-person-summary { text-align: center; }
  .dm-evidence-chips { justify-content: center; margin-top: 12px; }
  .dm-graph-node { width: 100px; font-size: 9px !important; padding-inline: 7px; gap: 5px; }
  .dm-node-identity { width: 110px; }
  .dm-graph-node > .dm-icon { width: 13px; height: 13px; }
  .dm-cta h2 { font-size: 28px; }
}
@media (max-width: 800px) {
  .dm-intro { padding-top: 44px; }
  .dm-intro h1 { max-width: 680px; font-size: 45px; }
  .dm-intro-description { font-size: 15px; }
  .dm-workspace { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 19px; }
  .dm-journey { grid-row: auto; }
  .dm-journey-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .dm-journey-heading > strong { margin-top: 0; font-size: 11px; }
  .dm-progress { margin-block: 12px 16px; }
  .dm-step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .dm-step { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 94px; padding: 10px; border-color: #e4deed; background: #fff; }
  .dm-step-copy > strong { font-size: 10px; }
  .dm-step-copy > span { font-size: 8px; }
  .dm-step-state { width: 21px; height: 21px; font-size: 8px; border-radius: 6px; }
  .dm-stage-body { min-height: 0; }
  .dm-identity-visual { grid-template-columns: 1fr 1fr; gap: 15px; }
  .dm-person-summary { text-align: left; }
  .dm-evidence-chips { justify-content: flex-start; }
  .dm-graph-node { width: 112px; font-size: 10px !important; }
  .dm-node-identity { width: 120px; }
  .dm-record { grid-column: 1; }
  .dm-cta { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 48px 62px; }
  .dm-platform-layers { gap: 8px; }
  .dm-platform-layers > [data-dm-layer] { flex-direction: column; align-items: flex-start; gap: 3px; padding: 7px 10px; }
}
@media (max-width: 540px) {
  .dm-intro, .dm-demo, .dm-cta, .dm-noscript { width: calc(100% - 32px); }
  .dm-intro { padding-block: 35px 27px; }
  .dm-intro-top { gap: 12px; align-items: flex-start; }
  .dm-intro .eyebrow { font-size: 9px; line-height: 1.6; letter-spacing: .04em; }
  .dm-intro .little-dot { width: 5px; height: 5px; }
  .dm-language { min-height: 34px; padding: 5px 9px; font-size: 10px; }
  .dm-intro h1 { font-size: 37px; line-height: 1.06; margin-top: 18px; }
  .dm-intro-description { margin-top: 17px; font-size: 14px; line-height: 1.65; }
  .dm-demo { border-radius: 17px; }
  .dm-toolbar { gap: 17px 12px; padding: 18px 15px; }
  .dm-brand-control { flex-basis: 100%; }
  .dm-brand-control > input { font-size: 16px; }
  .dm-palette { flex: 1 1 100%; }
  .dm-palette > legend { margin-bottom: 8px; }
  .dm-palette > div { gap: 8px; }
  .dm-palette button { flex: 1 1 0; min-height: 40px; font-size: 11px; }
  .dm-view-controls { flex-wrap: wrap; gap: 7px 10px; }
  .dm-view-tabs { flex: 1 1 100%; }
  .dm-view-tabs > button { flex: 1 1 50%; min-height: 39px; font-size: 11px; padding-inline: 8px; }
  .dm-reset { margin-left: auto; min-height: 36px; }
  .dm-simulation-note { padding: 12px 15px; font-size: 10px; align-items: flex-start; gap: 7px; }
  .dm-simulation-note > .dm-icon { margin-top: 2px; }
  .dm-workspace { padding: 15px 12px; gap: 16px; }
  .dm-journey-heading { padding-inline: 2px; }
  .dm-journey-heading > .dm-small-label { font-size: 9px; }
  .dm-journey-heading > strong { font-size: 10px; }
  .dm-step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .dm-step { flex-direction: row; align-items: center; gap: 7px; min-height: 63px; padding: 9px 8px; }
  .dm-step-copy > strong { font-size: 11px; line-height: 1.3; }
  .dm-step-copy > span { font-size: 8px; margin-top: 4px; }
  .dm-step-state { width: 20px; height: 20px; }
  .dm-experience { padding: 17px 14px; border-radius: 12px; }
  .dm-experience-top { flex-wrap: wrap; gap: 9px; padding-bottom: 16px; }
  .dm-experience-brand > strong { font-size: 12px; }
  .dm-brand-mark { width: 28px; height: 28px; border-radius: 8px; font-size: 9px; }
  .dm-perspective-badge { max-width: none; margin-left: auto; font-size: 8px; padding: 5px 7px; }
  .dm-stage-heading { padding-block: 19px 18px; }
  .dm-stage-heading > h2 { font-size: 25px; line-height: 1.12; }
  .dm-stage-heading > p:last-child { font-size: 12px; line-height: 1.6; }
  .dm-stage-actions { flex-direction: column-reverse; align-items: stretch; gap: 7px; margin-top: 21px; padding-top: 16px; }
  .dm-primary { width: 100%; min-height: 46px; justify-content: space-between; font-size: 12px !important; }
  .dm-back { justify-content: flex-start; min-height: 38px; font-size: 11px !important; }
  .dm-view-hint { margin-top: 7px; font-size: 9px; }
  .dm-identity-visual { grid-template-columns: 1fr; gap: 9px; margin-block: 0 18px; }
  .dm-identity-art { width: min(220px, 100%); }
  .dm-person-summary { text-align: center; }
  .dm-person-summary > h3 { font-size: 19px; }
  .dm-evidence-chips { justify-content: center; margin-top: 14px; }
  .dm-evidence-chips > span { font-size: 9px; }
  .dm-form-grid { grid-template-columns: 1fr; gap: 13px; }
  .dm-field > label { font-size: 11px; }
  .dm-field > input, .dm-field > select { min-height: 44px; font-size: 16px; }
  .dm-field > input[readonly] { font-size: 13px; }
  .dm-choice { font-size: 12px; padding: 11px; }
  .dm-choice > input { margin-top: 2px; }
  .dm-signature { min-height: 105px; }
  .dm-stage-note { font-size: 11px; line-height: 1.55; }
  .dm-note { padding: 13px; }
  .dm-note > strong { font-size: 12px; }
  .dm-note > p { font-size: 11px; }
  .dm-contribution { padding: 20px 13px; }
  .dm-demo-amount { font-size: 25px; }
  .dm-detail-row { flex-direction: column; gap: 4px; font-size: 11px; padding-top: 12px; }
  .dm-detail-row > strong { max-width: 100%; text-align: left; }
  .dm-digital-id { padding: 19px 15px; border-radius: 14px; }
  .dm-id-person { gap: 10px; margin-top: 24px; }
  .dm-id-avatar { width: 36px; height: 36px; }
  .dm-id-avatar > .dm-icon { width: 19px; height: 19px; }
  .dm-id-person h3 { font-size: 22px; }
  .dm-id-person p { font-size: 10px; }
  .dm-id-status { font-size: 9px; }
  .dm-id-bottom { flex-direction: column; align-items: flex-start; font-size: 9px; }
  .dm-id-connections { gap: 7px; }
  .dm-id-connections > span { flex: 1 1 100%; font-size: 11px; }
  .dm-graph { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; aspect-ratio: auto; margin-block: 17px; }
  .dm-graph-lines { display: none; }
  .dm-graph-node { position: static; transform: none; flex-direction: column; gap: 7px; width: 100%; min-height: 70px; padding: 12px 7px; font-size: 11px !important; }
  .dm-graph-node > .dm-icon { width: 17px; height: 17px; }
  .dm-node-identity { grid-column: 1 / -1; flex-direction: row; min-height: 56px; }
  .dm-node-detail { padding: 13px; }
  .dm-node-detail > p { font-size: 12px; }
  .dm-agents { grid-template-columns: 1fr; gap: 8px; }
  .dm-agent { display: grid; grid-template-columns: 76px 1fr; column-gap: 13px; padding: 10px 12px; text-align: left; }
  .dm-character { grid-row: span 3; width: 76px; align-self: center; }
  .dm-agent > h3 { font-size: 15px; margin-top: 3px; }
  .dm-agent > strong { font-size: 10px; margin-top: 3px; }
  .dm-agent > p { font-size: 10px; margin-top: 5px; line-height: 1.5; }
  .dm-proposal { padding: 16px 14px; }
  .dm-proposal > h3 { font-size: 19px; }
  .dm-proposal > .dm-subtle { font-size: 11px; }
  .dm-outcome { padding-inline: 3px; }
  .dm-outcome > h3 { font-size: 23px; }
  .dm-review-pending { padding-inline: 14px; }
  .dm-review-pending > p { font-size: 12px; }
  .dm-record { padding: 16px; }
  .dm-record > dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 15px; }
  .dm-record-row > dt { font-size: 11px; }
  .dm-record-row > dd { font-size: 10px; }
  .dm-platform { padding: 15px 12px 17px; }
  .dm-platform-layers { gap: 4px; justify-content: space-between; }
  .dm-platform-layers > [data-dm-layer] { padding: 7px 5px; gap: 3px; }
  .dm-platform-layers strong { font-size: 11px; }
  .dm-platform-layers [data-dm-layer] > span { font-size: 9px; }
  .dm-layer-arrow { font-size: 10px; }
  .dm-platform-core { gap: 6px; }
  .dm-platform-core > span { flex: 1 1 100%; text-align: center; font-size: 9px; line-height: 1.5; }
  .dm-cta h2 { font-size: 29px; }
  .dm-cta p { font-size: 13px; }
  .dm-cta > .button { width: 100%; justify-content: space-between; }
}
@media (max-width: 350px) {
  .dm-intro h1 { font-size: 33px; }
  .dm-intro-top { gap: 8px; }
  .dm-intro .eyebrow { font-size: 8px; }
  .dm-step { gap: 6px; padding-inline: 6px; }
  .dm-step-copy > strong { font-size: 10px; }
  .dm-step-state { width: 18px; height: 18px; font-size: 8px; }
  .dm-experience { padding-inline: 12px; }
  .dm-stage-heading > h2 { font-size: 23px; }
  .dm-record { padding-inline: 12px; }
  .dm-agent { grid-template-columns: 65px 1fr; gap: 9px; padding-inline: 9px; }
  .dm-character { width: 65px; }
  .dm-platform-layers [data-dm-layer] > span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-progress > span { transition: none; }
}

/* Keep the interactive controls usable independently of the illustration scale. */
.dm-toolbar > *, .dm-view-controls, .dm-view-tabs,
.dm-stage-actions > *, .dm-person-summary, .dm-id-person > div,
.dm-agent > *, .dm-platform-layers > [data-dm-layer] { min-width: 0; }
.dm-demo button { overflow-wrap: anywhere; }
.dm-palette button, .dm-view-tabs > button, .dm-reset { min-height: 44px; }
.dm-demo .dm-reset { font-size: 12px !important; }
.dm-choice > input { min-height: 17px; padding: 0; }
.dm-stage-heading > h2 { scroll-margin-block: 112px 24px; }
.dm-stage-actions { flex-wrap: wrap; }
.dm-primary, .dm-back { max-width: 100%; }
.dm-primary > span { min-width: 0; }
.dm-platform-layers { flex-wrap: wrap; }
.dm-node-detail, .dm-record-row, .dm-note, .dm-id-person { overflow-wrap: anywhere; }
@media (max-width: 1024px) {
  .dm-brand-control > input, .dm-field > input, .dm-field > select { font-size: 16px; }
  .dm-brand-control > label, .dm-palette > legend { font-size: 12px; }
  .dm-brand-control > span { font-size: 11px; line-height: 1.5; }
  .dm-view-tabs > button, .dm-palette button { font-size: 12px; }
  .dm-stage-actions { gap: 10px; }
  .dm-primary, .dm-back { font-size: 12px !important; }
}
@media (max-width: 800px) {
  .dm-stage-heading > p:last-child { font-size: 14px; }
  .dm-stage-note, .dm-note > p, .dm-subtle, .dm-view-hint { font-size: 12px; line-height: 1.6; }
  .dm-note > strong, .dm-field > label { font-size: 12px; }
  .dm-choice { font-size: 13px; }
  .dm-step-copy > strong { font-size: 12px; }
  .dm-step-copy > span { font-size: 10px; }
  .dm-record-row > dt { font-size: 12px; }
  .dm-record-row > dd { font-size: 11px; }
  .dm-record > p { font-size: 12px; }
  .dm-agent > strong, .dm-agent > p { font-size: 11px; }
  .dm-proposal > .dm-subtle { font-size: 12px; }
  .dm-platform-layers [data-dm-layer] > span { font-size: 11px; }
  .dm-platform-core > span { font-size: 11px; }
}
@media (max-width: 540px) {
  .dm-step { align-items: flex-start; }
  .dm-step-state { margin-top: 2px; }
  .dm-step-copy > strong { font-size: 12px; }
  .dm-stage-heading > h2 { scroll-margin-top: 96px; }
  .dm-primary { min-height: 48px; font-size: 13px !important; }
  .dm-back { min-height: 44px; font-size: 12px !important; }
  .dm-record-heading { flex-wrap: wrap; }
  .dm-record-heading > strong { overflow-wrap: anywhere; }
  .dm-graph-node { font-size: 12px !important; }
  .dm-person-summary > h3, .dm-id-person h3 { overflow-wrap: anywhere; }
  .dm-platform-layers { gap: 7px 4px; }
  .dm-platform-layers > [data-dm-layer] { align-items: center; text-align: center; padding-inline: 4px; }
  .dm-platform-layers strong { font-size: 12px; }
  .dm-layer-arrow { font-size: 11px; }
}
@media (max-height: 600px) {
  .dm-intro { padding-block: 32px 24px; }
  .dm-stage-body { min-height: 0; }
  .dm-stage-heading { padding-block: 18px 16px; }
  .dm-stage-actions { margin-top: 18px; }
}
