:root {
    color-scheme: light;
    --ink: #122e37;
    --text: #314951;
    --muted: #536b72;
    --green: #146651;
    --line: #d9e2e5;
    --wash: #f1f5f7;
    --white: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #2475b0; outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(1264px, calc(100% - 7rem)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 2rem; border-bottom: 1px solid var(--line); gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1.5px solid var(--ink); border-radius: .75rem .75rem .75rem 0; font-family: Georgia, serif; font-size: 1.45rem; font-style: italic; font-weight: 400; letter-spacing: -.08em; padding-right: .1rem; }
.header-link { font-size: .875rem; text-decoration: none; font-weight: 600; }
.header-link span { margin-left: .8rem; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 5rem; padding-block: 6rem 7rem; }
.eyebrow { font-size: .75rem; font-weight: 700; line-height: 1.7; letter-spacing: .13em; margin: 0 0 1.5rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 4.45vw, 4.7rem); line-height: 1.09; font-weight: 400; letter-spacing: -.05em; margin-bottom: 1.75rem; }
h1 em { color: var(--green); font-weight: 400; }
.hero-description { max-width: 33rem; font-size: 1.2rem; line-height: 1.6; color: var(--text); margin-bottom: 1.25rem; }
.hero-detail { max-width: 29rem; color: var(--muted); margin-bottom: 2rem; }
.button { display: inline-flex; gap: 2rem; justify-content: space-between; align-items: center; min-height: 3.4rem; padding: .9rem 1.4rem; color: white; background: var(--ink); border: 1px solid var(--ink); border-radius: .25rem; font-size: .9375rem; font-weight: 600; text-decoration: none; transition: background .15s ease; }
.button:hover { background: var(--green); border-color: var(--green); }
.subtle { margin-top: .8rem; margin-bottom: 0; color: var(--muted); font-size: .875rem; }
.hero-actions { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.text-link { text-decoration: none; font-size: .9375rem; font-weight: 600; padding-block: .8rem; }
.text-link span { margin-left: .4rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: .3rem; }
.case-board { border: 1px solid #cbd8dc; border-radius: .75rem; background: var(--white); box-shadow: 14px 14px 0 var(--wash); overflow: hidden; }
.board-topline { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.75rem; background: var(--ink); color: white; font-size: .75rem; letter-spacing: .1em; font-weight: 600; }
.case-intro { padding: 1.75rem 1.75rem 1.5rem; }
.mini-label { font-size: .75rem; font-weight: 700; line-height: 1.7; letter-spacing: .07em; color: var(--muted); margin: 0 0 .5rem; }
.case-intro h2 { font-family: Georgia, serif; font-size: 2.1rem; font-weight: 400; letter-spacing: -.025em; line-height: 1.2; margin-bottom: .65rem; }
.case-intro > p:not(.mini-label) { color: var(--text); font-size: 1rem; line-height: 1.55; }
.case-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.case-tags span { padding: .2rem .7rem; border: 1px solid var(--line); border-radius: 2rem; font-size: .8125rem; color: var(--text); }
blockquote { margin: 0 1.75rem; padding: 1.3rem 1.25rem; border-left: 2px solid var(--green); background: var(--wash); font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.5; }
.practice-prompt { display: flex; align-items: flex-start; gap: .9rem; padding: 1.5rem 1.75rem; }
.practice-prompt p:last-child { margin-bottom: 0; line-height: 1.5; }
.step-dot { display: grid; place-items: center; flex: 0 0 1.7rem; width: 1.7rem; height: 1.7rem; border: 1px solid #a6babe; border-radius: 50%; font-size: .875rem; }
.coaching-note { padding: 1.2rem 1.75rem; border-top: 1px solid var(--line); background: #f4f8f6; }
.coaching-note p:last-child { margin-bottom: 0; color: var(--text); line-height: 1.6; font-size: .9375rem; }
.board-footer { padding: .65rem 1.75rem; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.workflow-section { padding-block: 5rem; border-block: 1px solid var(--line); background: var(--wash); }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5rem; align-items: end; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro h2, .people-section h2, .access-section h2 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(2.1rem, 3.1vw, 3.2rem); line-height: 1.2; letter-spacing: -.035em; }
.section-intro > p:last-child { max-width: 27rem; color: var(--text); font-size: 1.075rem; }
.workflow { list-style: none; padding: 2.5rem 0 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.workflow li { padding-inline: 1.5rem; border-left: 1px solid #c4d2d7; }
.workflow li:first-child { border-left: 0; padding-left: 0; }
.workflow li:last-child { padding-right: 0; }
.step-number { display: block; color: var(--green); font-family: Georgia, serif; font-size: 1.2rem; margin-bottom: 1.5rem; }
.workflow h3 { margin-bottom: .65rem; font-size: 1.125rem; letter-spacing: -.02em; }
.workflow p { color: var(--text); font-size: 1rem; line-height: 1.65; margin: 0; }
.people-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-block: 6rem; }
.people-copy article + article { margin-top: 2rem; }
.people-copy h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.people-copy p { color: var(--text); }
.people-copy .principle { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.access-section { padding-bottom: 5rem; }
.access-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 5rem; align-items: center; padding: 3.5rem; background: var(--ink); color: white; border-radius: .5rem; }
.access-inner .eyebrow { color: #bddacd; }
.access-inner > div:first-child > p:not(.eyebrow) { color: #dce7ea; max-width: 31rem; }
.contact-panel { padding: 2rem 0 2rem 2.5rem; border-left: 1px solid #4b626a; }
.contact-panel h3 { font-size: 1.3rem; font-weight: 500; line-height: 1.4; margin-bottom: 1rem; }
.contact-panel p { color: #dce7ea; margin-bottom: 1.4rem; }
.contact-panel .button { background: white; color: var(--ink); border-color: white; }
.contact-panel .button:hover { background: #dcece5; }
.contact-detail { display: block; margin-top: 1rem; color: #c4d7dc; font-size: .875rem; }
.contact-panel .contact-address { margin-top: 1rem; font-size: .9375rem; overflow-wrap: anywhere; }
.contact-address a { text-underline-offset: .2em; }
.site-footer { padding-block: 1.75rem 2.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.site-footer p { margin: 0; font-size: .8125rem; color: var(--muted); }
.footer-brand { font-size: 1.15rem; }
.skip-link { position: fixed; left: 1rem; top: -5rem; padding: .7rem 1rem; z-index: 10; background: var(--white); }
.skip-link:focus { top: 1rem; }

@media (min-width: 1500px) { .hero { gap: 7rem; } }
@media (max-width: 1050px) {
    .wrap { width: calc(100% - 4rem); }
    .hero { gap: 2.5rem; padding-block: 4rem 5rem; grid-template-columns: 1fr 1fr; }
    h1 { font-size: 3.3rem; }
    .hero-description { font-size: 1.075rem; }
    .section-intro, .people-section { gap: 2.5rem; }
    .access-inner { padding: 2.5rem; gap: 2.5rem; }
    .contact-panel { padding-left: 1.5rem; }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 2.5rem); }
    .site-header { padding-block: 1.3rem; gap: 1rem; }
    .brand { font-size: 1.2rem; }
    .brand-mark { width: 2.1rem; height: 2.1rem; font-size: 1.25rem; }
    .header-link { font-size: .8125rem; max-width: 7rem; text-align: right; }
    .header-link span { margin-left: .2rem; }
    .hero { grid-template-columns: 1fr; padding-block: 3.5rem 4rem; gap: 3rem; }
    h1 { font-size: clamp(2.7rem, 8.6vw, 4rem); }
    .hero-copy { max-width: 35rem; }
    .hero-description { font-size: 1.125rem; }
    .case-board { max-width: 35rem; box-shadow: 7px 7px 0 var(--wash); }
    .workflow-section { padding-block: 3.5rem; }
    .section-intro { grid-template-columns: 1fr; gap: 0; }
    .section-intro > p:last-child { max-width: 35rem; }
    .workflow { grid-template-columns: 1fr 1fr; gap: 2rem 0; padding-top: 1.75rem; }
    .workflow li { padding-inline: 1rem; }
    .workflow li:nth-child(odd) { border-left: none; padding-left: 0; }
    .step-number { margin-bottom: .7rem; }
    .people-section { grid-template-columns: 1fr; padding-block: 3.5rem; gap: 1rem; }
    .people-section h2 { max-width: 33rem; }
    .access-section { padding-bottom: 3rem; }
    .access-inner { padding: 2rem 1.5rem; grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-panel { padding: 1.5rem 0 0; border-left: none; border-top: 1px solid #4b626a; }
    .site-footer { flex-direction: column; align-items: flex-start; gap: .5rem; padding-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

/* A small, self-contained product story. No video download or external player. */
.demo-section { padding-bottom: 6rem; scroll-margin-top: 2rem; }
.demo-intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 4rem; margin-bottom: 2rem; }
.demo-intro h2 { font: 400 clamp(2.1rem, 3.1vw, 3.2rem)/1.2 Georgia, serif; letter-spacing: -.035em; margin-bottom: 0; }
.demo-intro > p { max-width: 25rem; color: var(--text); font-size: 1.075rem; margin-bottom: .2rem; }
.demo-intro .eyebrow { margin-bottom: .8rem; }
.product-demo { border: 1px solid #bacdd2; border-radius: .85rem; overflow: hidden; background: #fff; box-shadow: 0 18px 55px -28px #122e374d; }
.demo-topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.75rem; background: #122e37; color: white; }
.demo-wordmark { font: italic 1.5rem Georgia, serif; display: inline-flex; align-items: center; gap: .8rem; }
.demo-wordmark strong { font: 600 .9375rem Arial, sans-serif; letter-spacing: -.02em; }
.preview-label { font-size: .8125rem; color: #d1e0e4; }
.demo-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); }
.demo-nav { padding: 2rem 1rem; background: #f1f5f7; border-right: 1px solid var(--line); }
.demo-nav > .mini-label { margin: 0 .65rem 1.3rem; font-size: .75rem; letter-spacing: .1em; }
.demo-step { display: flex; gap: .8rem; align-items: center; padding: .9rem .75rem; border-radius: .35rem; text-decoration: none; font-size: .9375rem; line-height: 1.3; margin-bottom: .45rem; border: 1px solid transparent; }
.demo-step > span:first-child { font-size: .8125rem; color: #647f86; }
.demo-step small { display: block; margin-top: .35rem; font-size: .8125rem; color: var(--muted); }
.demo-step:hover { background: #e5ecef; }
.demo-step[aria-current] { background: white; border-color: #cad8dd; color: var(--green); box-shadow: 0 2px 4px #122e3708; }
.demo-step[aria-current] > span:first-child { color: var(--green); }
.demo-case-summary { border-top: 1px solid #cedbdf; margin: 2.5rem .65rem 0; padding-top: 1.25rem; display: grid; gap: .4rem; }
.demo-case-summary strong { font-size: .875rem; font-weight: 500; line-height: 1.4; }
.demo-case-summary > span:last-child { font-size: .75rem; color: var(--muted); }
.demo-stage { min-width: 0; }
.demo-panel { min-height: 490px; padding: 2rem; }
.demo-panel + .demo-panel { border-top: 1px solid var(--line); }
.is-enhanced .demo-panel { border: 0; }
.scene-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.scene-heading .mini-label { font-size: .75rem; }
.scene-heading h3 { font-size: 1.25rem; line-height: 1.4; letter-spacing: -.025em; margin: 0; font-weight: 500; }
.scene-tag { white-space: nowrap; font-size: .75rem; border: 1px solid var(--line); border-radius: 2rem; padding: .25rem .7rem; color: var(--muted); }
.conversation-layout { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 1.5rem; }
.patient-summary { text-align: center; background: #f4f7f8; border: 1px solid #e2e9ec; border-radius: .5rem; padding: 1.4rem .8rem; }
.patient-monogram { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto .8rem; border-radius: 50%; font: 1.7rem Georgia, serif; background: #dce9e3; color: #246750; }
.patient-summary h4 { font-size: 1rem; font-weight: 600; margin: 0 0 .5rem; }
.patient-summary p { font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.patient-summary > span { font-size: .75rem; color: var(--muted); }
.voice-wave { display: flex; justify-content: center; align-items: center; height: 2rem; gap: 4px; margin: 1rem 0 .25rem; }
.voice-wave i { width: 3px; height: 10px; border-radius: 3px; background: #468875; }
.voice-wave i:nth-child(3n) { height: 23px; }
.voice-wave i:nth-child(2n) { height: 16px; }
.is-playing .voice-wave i { animation: speaking 1.1s ease-in-out infinite alternate; }
.voice-wave i:nth-child(2n) { animation-delay: -.7s; }
.voice-wave i:nth-child(3n) { animation-delay: -.3s; }
.dialogue { display: grid; gap: .75rem; align-content: start; }
.message { border: 1px solid #d9e3e7; background: #f5f8f9; padding: .9rem 1rem; border-radius: .65rem .65rem .65rem .1rem; }
.message > span { display: block; font-size: .75rem; letter-spacing: .07em; font-weight: 600; color: var(--muted); margin-bottom: .3rem; }
.message p { font-size: .9375rem; line-height: 1.55; margin: 0; color: var(--text); }
.therapist-message { background: #eaf3ee; border-color: #d0e3d8; margin-left: 1.5rem; border-radius: .65rem .65rem .1rem .65rem; }
.therapist-message > span { color: #28664e; }
.scene-takeaway { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.takeaway-mark { font-size: 1.3rem; color: var(--green); }
.scene-takeaway p { margin: 0; font-size: .875rem; color: var(--muted); }
.scene-takeaway strong { display: block; color: var(--ink); font-weight: 600; }
.note-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1.5rem; align-items: start; }
.note-document { border: 1px solid var(--line); border-radius: .4rem; padding: 1.3rem; box-shadow: 5px 5px 0 #f1f5f7; }
.document-heading { border-bottom: 1px solid var(--line); padding-bottom: .9rem; }
.document-heading h4 { font: 1.25rem Georgia, serif; margin: 0; }
.document-heading span { font-size: .75rem; color: var(--muted); }
.note-block { margin-top: 1rem; }
.note-block h5 { font-size: .8125rem; font-weight: 600; margin: 0 0 .35rem; }
.note-block p { font-size: .875rem; line-height: 1.6; margin: 0; color: var(--text); }
.reflection-card { background: #eaf3ee; border-top: 3px solid #377e64; padding: 1.3rem; }
.reflection-card h4, .review-focus h4 { font: 1.35rem/1.4 Georgia, serif; margin: .7rem 0; letter-spacing: -.02em; }
.reflection-card p { font-size: .875rem; line-height: 1.6; color: var(--text); }
.sample-status { display: block; border-top: 1px solid #c7dcd0; padding-top: .8rem; margin-top: 1.4rem; color: #27634d; font-size: .75rem; }
.review-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; }
.review-excerpt { padding: 1.25rem; border: 1px solid var(--line); border-radius: .4rem; }
.review-excerpt blockquote { background: transparent; margin: .9rem 0 0; padding: 0; border: 0; font-size: 1.2rem; }
mark { background: #e6edbc; color: inherit; padding: .05rem .15rem; }
.annotation-connector { height: 1.5rem; margin-left: 1rem; border-left: 1px dashed #80a693; }
.supervisor-comment { display: flex; gap: .7rem; padding: 1rem; background: #eef5f1; border: 1px solid #d1e3d8; border-radius: .35rem; }
.review-avatar { flex: 0 0 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: #cfe3d8; font-size: .8125rem; }
.supervisor-comment strong { font-size: .8125rem; font-weight: 600; }
.supervisor-comment p { font-size: .875rem; line-height: 1.6; margin: .4rem 0 0; color: var(--text); }
.review-focus { padding: 1.3rem 0; }
.review-focus ul { padding-left: 1.1rem; font-size: .875rem; color: var(--text); }
.review-focus li { margin-bottom: .5rem; }
.retry-focus { display: flex; align-items: center; justify-content: space-between; gap: .8rem; background: #f1f5f7; padding: 1rem 1.25rem; border-radius: .4rem; margin-bottom: 1.5rem; }
.retry-focus .mini-label { margin: 0; font-size: .75rem; }
.retry-focus p { margin: 0; font-size: .9375rem; }
.retry-dialogue { max-width: 35rem; margin: 0 auto; display: grid; gap: 1rem; }
.retry-dialogue .message { padding: 1.1rem 1.3rem; }
.development-trail { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .6rem; font-size: .8125rem; margin-top: 2rem; color: var(--muted); }
.development-trail strong { color: var(--green); font-weight: 600; }
.development-trail i { font-style: normal; color: #99adb2; }
.retry-caption { text-align: center; font-size: .8125rem; color: var(--muted); margin: 1rem auto 0; max-width: 30rem; }
.demo-controls { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 1.5rem; border-top: 1px solid var(--line); background: #fafcfc; }
.demo-play { min-width: 12rem; border: 1px solid var(--ink); border-radius: .3rem; background: var(--ink); color: white; padding: .7rem 1rem; font-size: .875rem; }
.demo-play:hover { background: var(--green); }
.demo-progress { flex: 1; height: 4px; border-radius: 3px; background: #dce5e8; overflow: hidden; }
.demo-progress > span { display: block; width: 0; height: 100%; background: var(--green); }
.demo-time { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-restart { border: 0; background: transparent; color: var(--text); padding: .5rem; font-size: 1.3rem; display: flex; gap: .4rem; align-items: center; }
.demo-restart span { font-size: .8125rem; }
.demo-disclosure { text-align: center; color: var(--muted); font-size: .75rem; margin: 1rem .5rem 0; }
.demo-panel[data-animate="true"] .reveal { animation: reveal 700ms cubic-bezier(.2,.7,.2,1) var(--delay, 0s) both; }
.product-demo:not(.is-playing) .reveal { animation-play-state: paused; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes speaking { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@media (max-width: 1100px) {
    .demo-layout { grid-template-columns: 185px minmax(0, 1fr); }
    .demo-nav { padding-inline: .6rem; }
    .demo-panel { padding: 1.5rem; min-height: 555px; }
    .scene-heading { flex-direction: column; gap: .6rem; margin-bottom: 1.4rem; }
    .conversation-layout { grid-template-columns: 120px minmax(0, 1fr); gap: 1rem; }
    .note-layout, .review-layout { gap: 1rem; }
    .reflection-card { padding: 1rem; }
}
@media (max-width: 760px) {
    .demo-section { padding-bottom: 3.5rem; }
    .demo-intro { grid-template-columns: 1fr; gap: 1rem; }
    .demo-intro > p { max-width: 34rem; }
    .demo-topbar { padding: 1rem; }
    .demo-wordmark { font-size: 1.3rem; gap: .5rem; }
    .demo-wordmark strong { font-size: .8125rem; }
    .preview-label { font-size: .75rem; max-width: 7rem; text-align: right; line-height: 1.4; }
    .demo-layout { grid-template-columns: 1fr; }
    .demo-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem; padding: .65rem; border-right: 0; border-bottom: 1px solid var(--line); }
    .demo-nav > .mini-label, .demo-case-summary, .demo-step small { display: none; }
    .demo-step { flex-direction: column; align-items: center; gap: .3rem; padding: .6rem .25rem; margin: 0; font-size: .8125rem; }
    .demo-step > span:first-child { font-size: .75rem; }
    .demo-panel { padding: 1.25rem; min-height: 630px; }
    .scene-heading h3 { font-size: 1.2rem; }
    .conversation-layout { grid-template-columns: 1fr; }
    .patient-summary { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: .75rem; text-align: left; padding: .75rem; }
    .patient-monogram { grid-row: 1 / 3; width: 2.5rem; height: 2.5rem; font-size: 1.3rem; margin: 0; align-self: center; }
    .patient-summary h4 { font-size: .875rem; margin: 0; }
    .patient-summary p { font-size: .75rem; margin: 0; }
    .patient-summary br { display: none; }
    .patient-summary .voice-wave, .patient-summary > span { display: none; }
    .message p { font-size: .875rem; }
    .note-layout, .review-layout { grid-template-columns: 1fr; }
    .note-document { padding: 1rem; }
    .reflection-card { padding: .8rem 1rem; }
    .reflection-card h4 { font-size: 1.15rem; margin: .3rem 0; }
    .reflection-card p { margin-bottom: .5rem; }
    .reflection-card .sample-status { margin-top: .5rem; padding-top: .5rem; }
    .review-focus { padding: .4rem 0; }
    .review-focus h4 { font-size: 1.2rem; }
    .review-focus .sample-status { margin-top: .8rem; }
    .retry-focus { flex-direction: column; align-items: flex-start; gap: .2rem; }
    .demo-controls { flex-wrap: wrap; gap: .8rem; padding: 1rem; }
    .demo-play { min-width: 0; flex: 1; }
    .demo-progress { flex: 1 0 100%; order: 4; }
    .demo-restart span { display: none; }
    .demo-time { font-size: .75rem; }
    .demo-disclosure { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .demo-panel[data-animate="true"] .reveal, .is-playing .voice-wave i { animation: none; }
}

/* The practice workspace is the hero's main visual. */
.hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; padding-block: 3.5rem 4.5rem; }
.hero-copy h1 { font-size: clamp(2.6rem, 3.4vw, 3.8rem); }
.hero-copy .eyebrow { max-width: 25rem; }
.hero-description { font-size: 1.125rem; }
.hero-demo { min-width: 0; container: workspace / inline-size; scroll-margin-top: 2rem; }
.hero-demo .demo-topbar { padding: 1rem 1.25rem; }
.workspace-label { font-size: .75rem; color: #d1e0e4; }
.hero-demo .demo-layout { grid-template-columns: 1fr; }
.hero-demo .demo-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; padding: .65rem; border-right: 0; border-bottom: 1px solid var(--line); }
.hero-demo .demo-nav > .mini-label, .hero-demo .demo-case-summary, .hero-demo .demo-step small { display: none; }
.hero-demo .demo-step { justify-content: center; gap: .5rem; padding: .65rem .25rem; margin: 0; font-size: .8125rem; }
.hero-demo .demo-step > span:first-child { font-size: .75rem; }
.hero-demo .demo-stage { display: grid; }
.hero-demo .demo-panel { grid-area: 1 / 1; padding: 1.25rem; min-height: 465px; }
.hero-demo .is-enhanced .demo-panel[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.hero-demo .product-demo:not(.is-enhanced) .demo-panel { grid-area: auto; }
.hero-demo .scene-heading { margin-bottom: 1.25rem; flex-direction: column; gap: .5rem; }
.hero-demo .scene-heading h3 { font-size: 1.1rem; }
.hero-demo .conversation-layout { grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; }
.hero-demo .message { padding: .8rem; }
.hero-demo .message p { font-size: .875rem; }
.hero-demo .therapist-message { margin-left: .8rem; }
.hero-demo .patient-summary { padding: 1rem .5rem; }
.hero-demo .patient-summary p { font-size: .75rem; }
.hero-demo .scene-takeaway { margin-top: 1rem; padding-top: 1rem; }
.hero-demo .scene-takeaway p { font-size: .8125rem; }
.hero-demo .note-layout, .hero-demo .review-layout { gap: 1rem; }
.hero-demo .note-document, .hero-demo .reflection-card, .hero-demo .review-excerpt { padding: 1rem; }
.hero-demo .note-block p, .hero-demo .reflection-card p, .hero-demo .supervisor-comment p, .hero-demo .review-focus ul { font-size: .8125rem; }
.hero-demo .reflection-card h4, .hero-demo .review-focus h4 { font-size: 1.2rem; }
.hero-demo .supervisor-comment { padding: .75rem; }
.hero-demo .review-excerpt blockquote { font-size: 1.1rem; }
.hero-demo .retry-focus { flex-direction: column; align-items: start; gap: .3rem; }
.hero-demo .demo-controls { padding: .7rem 1.1rem; gap: .9rem; }
.hero-demo .demo-play { min-width: 4.5rem; padding: .45rem .8rem; font-size: .8125rem; }
.hero-demo .demo-restart { padding: .3rem; }
@container workspace (max-width: 540px) {
    .hero-demo .conversation-layout { grid-template-columns: 1fr; }
    .hero-demo .patient-summary { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: .75rem; padding: .75rem; text-align: left; }
    .hero-demo .patient-monogram { grid-row: 1 / 3; width: 2.5rem; height: 2.5rem; font-size: 1.3rem; margin: 0; align-self: center; }
    .hero-demo .patient-summary h4 { margin: 0; font-size: .875rem; }
    .hero-demo .patient-summary p { margin: 0; }
    .hero-demo .patient-summary br, .hero-demo .voice-wave, .hero-demo .patient-summary > span { display: none; }
    .hero-demo .note-layout, .hero-demo .review-layout { grid-template-columns: 1fr; }
    .hero-demo .reflection-card h4 { margin: .3rem 0; }
    .hero-demo .reflection-card p { margin-bottom: .5rem; }
    .hero-demo .reflection-card .sample-status { margin-top: .5rem; padding-top: .5rem; }
    .hero-demo .review-focus { padding: .25rem 0; }
    .hero-demo .review-focus .sample-status { margin-top: .5rem; }
    .hero-demo .demo-step { flex-direction: column; gap: .2rem; }
}
@media (max-width: 1000px) {
    .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem; }
    .hero-copy { max-width: 38rem; }
    .hero-copy h1 { font-size: clamp(2.7rem, 6vw, 3.8rem); }
    .hero-demo { width: 100%; }
}

/* Compact workspace with a fictional, animated patient. */
.hero-demo .demo-topbar { padding: .7rem 1rem; }
.hero-demo .demo-nav { padding: .4rem; }
.hero-demo .demo-panel { min-height: 370px; padding: 1rem; }
.hero-demo .scene-heading { flex-direction: row; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.hero-demo .scene-heading .mini-label { margin-bottom: .25rem; font-size: .625rem; }
.hero-demo .scene-tag { font-size: .625rem; padding: .2rem .45rem; }
.hero-demo .conversation-layout { grid-template-columns: 136px minmax(0, 1fr); gap: .8rem; }
.hero-demo .patient-summary { display: flex; flex-direction: column; align-items: center; padding: .6rem; gap: .6rem; }
.patient-avatar { width: 112px; flex-shrink: 0; border-radius: 14px; overflow: hidden; }
.patient-avatar svg { display: block; width: 100%; height: auto; }
.hero-demo .patient-summary h4 { margin: 0 0 .2rem; }
.hero-demo .patient-summary p { margin: 0; font-size: .6875rem; }
.patient-state { display: block; color: #36755f; font-size: .6875rem; margin-top: .25rem; }
.avatar-mouth-talk { opacity: 0; transform-origin: 80px 106px; }
.avatar-eyes { transform-origin: 80px 81px; }
.avatar-head { transform-origin: 80px 120px; }
.is-playing .avatar-head { animation: patient-sway 5s ease-in-out infinite; }
.is-playing .avatar-eyes { animation: patient-blink 4.3s infinite; }
[data-patient-speaking="true"] .avatar-mouth-rest { opacity: 0; }
[data-patient-speaking="true"] .avatar-mouth-talk { opacity: 1; animation: patient-talk .55s ease-in-out infinite; }
@keyframes patient-blink { 0%, 43%, 48%, 100% { transform: scaleY(1); } 45%, 46% { transform: scaleY(.1); } }
@keyframes patient-sway { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1deg) translateY(1px); } }
@keyframes patient-talk { 0%, 100% { transform: scaleY(.3); } 35% { transform: scaleY(1.3); } 70% { transform: scaleY(.6); } }
.hero-demo .dialogue, .hero-demo .retry-dialogue { gap: .5rem; }
.hero-demo .message { padding: .6rem .7rem; }
.hero-demo .message > span { font-size: .6rem; margin-bottom: .2rem; }
.hero-demo .message p { font-size: .8125rem; line-height: 1.45; }
.hero-demo .scene-takeaway { margin-top: .7rem; padding-top: .6rem; }
.hero-demo .scene-takeaway p { font-size: .75rem; line-height: 1.4; }
.hero-demo .note-document, .hero-demo .reflection-card, .hero-demo .review-excerpt { padding: .75rem; }
.hero-demo .document-heading { padding-bottom: .5rem; }
.hero-demo .document-heading h4 { font-size: 1rem; }
.hero-demo .note-block { margin-top: .65rem; }
.hero-demo .note-block h5 { margin-bottom: .2rem; font-size: .75rem; }
.hero-demo .note-block p, .hero-demo .supervisor-comment p { line-height: 1.45; }
.hero-demo .reflection-card h4, .hero-demo .review-focus h4 { font-size: 1.05rem; margin: .5rem 0; }
.hero-demo .sample-status { margin-top: .7rem; padding-top: .5rem; }
.hero-demo .review-focus { padding: .5rem 0; }
.hero-demo .review-excerpt blockquote { font-size: 1rem; line-height: 1.45; }
.hero-demo .retry-focus { padding: .6rem .75rem; margin-bottom: .7rem; }
.retry-patient { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-size: .8125rem; }
.retry-patient .patient-avatar { width: 44px; border-radius: 50%; }
.hero-demo .development-trail { margin-top: .8rem; gap: .4rem; font-size: .7rem; }
.hero-demo .retry-caption { margin-top: .6rem; font-size: .75rem; }
@container workspace (max-width: 540px) {
    .hero-demo .demo-panel { min-height: 440px; padding: .85rem; }
    .hero-demo .scene-heading { flex-direction: column; align-items: start; }
    .hero-demo .conversation-layout { grid-template-columns: 1fr; gap: .65rem; }
    .hero-demo .patient-summary { flex-direction: row; padding: .45rem .6rem; text-align: left; }
    .patient-summary .patient-avatar { width: 62px; border-radius: 10px; }
    .hero-demo .note-layout, .hero-demo .review-layout { gap: .65rem; }
    .hero-demo .reflection-card h4 { font-size: .95rem; }
    .hero-demo .reflection-card > p { display: none; }
    .hero-demo .review-focus ul { margin-block: .4rem; }
    .hero-demo .review-focus li { margin-bottom: .2rem; }
    .hero-demo .demo-controls { flex-wrap: nowrap; padding: .6rem .85rem; gap: .6rem; }
    .hero-demo .demo-progress { flex: 1; order: 0; }
    .hero-demo .demo-play { flex: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .is-playing .avatar-head, .is-playing .avatar-eyes, [data-patient-speaking="true"] .avatar-mouth-talk { animation: none; }
}
