/* A shorter story, original app screens, and a calmer visual rhythm. */
:root { --ink: #152d43; --muted: #536b7f; --page: #f8fafc; }
body { background: var(--page); }
.section-heading h2,.audience-heading h2 { font-size: clamp(32px,3.1vw,44px); font-weight: 650; line-height: 1.18; letter-spacing: -1.5px; text-wrap: balance; }
.section-heading > p { max-width: 550px; margin-inline: auto; color: var(--muted); }
.site-header { background: #244f80f5; box-shadow: 0 3px 16px #173a5910; }
.hero-stage { background: #f5f9fc; }
.hero-stage > .hero-background { inset: 0; background: radial-gradient(ellipse at 85% 35%,#dcefe990,transparent 55%),radial-gradient(ellipse at 12% 0%,#e5efff,transparent 65%),#f7fafc; }
.hero-stage > .hero-background::after { display: none; }
.hero { grid-template-columns: 1.06fr 1fr; min-height: 580px; padding-block: 64px 64px; gap: 56px; color: var(--ink); }
.hero-copy h1 { font-size: clamp(40px,4.2vw,60px); line-height: 1.13; font-weight: 650; letter-spacing: -2.2px; }
.hero-title-accent { color: #087d70; }
.hero-copy .eyebrow-light { background: #fff9; border-color: #d9e7ef; color: #355a7b; }
.hero-copy > p { max-width: 440px; color: #50687d; font-size: 17px; line-height: 1.85; }
.hero-copy > .button { margin-top: 25px; min-width: 164px; padding-inline: 24px; border-radius: 13px; background: #2563eb; color: #fff; box-shadow: 0 7px 18px #2563eb20; }
.hero-copy > .button:hover { background: #1d4ed8; }
.hero-secondary-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-left: 20px; color: #335c73; font-size: 14px; font-weight: 600; }
.hero-secondary-link:hover { color: #087d70; }
.hero-copy .hero-footnote { color: #526c7c; margin-top: 20px; font-size: 13px; }
.hero-copy .hero-footnote .icon { color: #248a74; }
.hero-visual { border: 1px solid #d6e3e8; border-radius: 23px; box-shadow: 0 22px 50px -26px #254b664a; }
.hero-visual-caption { background: #fff; padding: 11px 18px; min-height: 58px; }

.benefits-section { background: #fff; }
#capabilities.benefits-section { padding-block: 56px 44px; box-shadow: none; clip-path: none; }
.benefits-section .section-heading { margin-bottom: 30px; }
.tools-grid { gap: 22px; }
.tool-card { padding: 24px 24px 0; border-radius: 21px; box-shadow: none; }
.tool-card .tool-icon { width: 39px; height: 39px; border-radius: 12px; }
.tool-card .tool-icon .icon { width: 21px; height: 21px; }
.tool-tag { margin-top: 16px; padding: 3px 10px; }
.tool-card h3 { font-size: 23px; line-height: 1.35; margin-block: 13px 12px; letter-spacing: -.7px; }
.tool-card p { font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.tool-card > a { min-height: 58px; font-size: 13px; }

#features.audience-section { background: #fff; padding-block: 44px 64px; }
.audience-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 18px; }
.audience-heading h2 { margin: 14px 0 0; }
.audience-tabs { display: flex; gap: 4px; flex-shrink: 0; padding: 5px; border: 1px solid #e0e8ed; border-radius: 100px; background: #f2f6f8; }
.audience-tabs button { min-height: 44px; padding: 10px 19px; border: 0; border-radius: 100px; background: transparent; color: #536b7b; font-size: 14px; font-weight: 600; transition: background .2s,color .2s,box-shadow .2s; }
.audience-tabs button[aria-selected="true"] { background: #fff; color: #087d70; box-shadow: 0 2px 8px #19394d0a; }
.audience-tabs button:focus-visible,.screen-choices button:focus-visible,.screen-arrows button:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.audience-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: 44px; padding-block: 20px 0; }
.audience-layout:focus-visible { outline: 2px solid #b9d9e9; outline-offset: 10px; border-radius: 20px; }
.audience-copy { max-width: 480px; min-width: 0; }
.audience-kicker { display: inline-flex; align-items: center; gap: 8px; color: #526b7d; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.audience-kicker > span { width: 6px; height: 6px; border-radius: 50%; background: #31a88b; }
.audience-copy h3 { margin: 15px 0 16px; font-size: clamp(27px,2.5vw,35px); font-weight: 650; letter-spacing: -1.1px; line-height: 1.25; text-wrap: balance; }
.audience-copy > p { color: #536b7f; font-size: 16px; line-height: 1.85; margin: 0; }
.audience-copy > ul { display: grid; gap: 12px; padding: 0; margin: 23px 0 25px; list-style: none; }
.audience-copy li { position: relative; padding-left: 26px; color: #405e72; font-size: 14px; line-height: 1.7; }
.audience-copy li::before { content: "✓"; position: absolute; top: 2px; left: 0; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #e5f5ef; color: #198370; font-size: 12px; }
.screen-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.screen-choices button { min-height: 44px; padding: 8px 12px; border: 1px solid #dfe7ed; border-radius: 10px; background: #fff; color: #526a7f; font-size: 12px; font-weight: 500; line-height: 1.6; transition: background .2s,border-color .2s,color .2s; }
.screen-choices button:hover { border-color: #98c6bc; background: #f7fcfa; }
.screen-choices button[aria-pressed="true"] { border-color: #a9d5c8; background: #eaf8f2; color: #176e5a; }
.mobile-screen-picker { display: none; }
.audience-visual { min-width: 0; width: 100%; max-width: 520px; justify-self: center; }
.audience-stage { position: relative; width: 100%; height: 502px; perspective: 1200px; touch-action: pan-y; }
.audience-stage:focus-visible { outline: 2px solid #c2dae8; outline-offset: 3px; border-radius: 24px; }
.audience-stage::before { content: ""; position: absolute; inset: 10% 0 5%; border-radius: 50%; background: radial-gradient(ellipse,#e6f4ee9c,transparent 69%); pointer-events: none; }
.audience-device { position: absolute; display: block; padding: 6px; border: 1px solid #dbe5ed; border-radius: 31px; background: #fff; box-shadow: -3px 3px 0 #c9d6df,0 23px 36px -22px #183c5d5c,0 4px 9px #183c5d08; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.7,.25,1),opacity .18s; }
.audience-device::after { content: ""; position: absolute; inset: -3px; border: 1px solid #e2eaf0; border-radius: 33px; pointer-events: none; }
.audience-device-front { --phone-shift: -67%; top: 21px; left: 50%; z-index: 2; width: 222px; transform: translateX(var(--phone-shift)) rotateX(4deg) rotateY(-12deg) rotateZ(-5deg); }
.audience-device-back { top: 55px; left: 50%; z-index: 1; width: 195px; transform: translateX(-4%) rotateX(3deg) rotateY(-10deg) rotateZ(8deg); box-shadow: 0 16px 32px -22px #183c5d4a; }
.audience-screen { display: block; aspect-ratio: 738 / 1600; border: 1px solid #e9edf0; border-radius: 25px; overflow: hidden; background: #fff; }
.audience-screen img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.audience-stage.is-changing .audience-device { opacity: .7; }
.audience-screen-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 360px; margin: 0 auto; padding-inline: 10px; }
.audience-screen-controls > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.audience-screen-controls strong { font-size: 14px; color: #344f63; font-weight: 600; line-height: 1.6; }
.audience-screen-controls [data-screen-count] { font-size: 12px; color: #5e7384; letter-spacing: .08em; }
.screen-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.screen-arrows button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #dce6ec; border-radius: 50%; background: #fff; color: #41667a; }
.screen-arrows button:hover { background: #edf7f3; border-color: #bfded3; }
.screen-arrows .icon { width: 18px; height: 18px; }
[data-screen-previous] .icon { transform: rotate(90deg); }
[data-screen-next] .icon { transform: rotate(-90deg); }
.care-connection-strip { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: center; gap: 35px; max-width: 960px; margin: 40px auto 0; padding: 8px 36px 8px 24px; border: 1px solid #e2edea; border-radius: 22px; background: linear-gradient(110deg,#f1f7ff,#f4fbf7); }
.care-connection-strip .care-network { width: 180px; }
.care-connection-strip .care-person-label,.care-connection-strip .care-together,.care-connection-strip .care-hub-name { display: none; }
.care-connection-strip .eyebrow { padding: 0; border: 0; background: none; color: #4b687b; }
.care-connection-strip h3 { margin: 9px 0; font-size: 24px; line-height: 1.3; font-weight: 650; letter-spacing: -.8px; }
.care-connection-strip p { margin: 0; max-width: 540px; color: #536f80; font-size: 14px; line-height: 1.8; }

#ocr-clarity { background: #f3f8fa; border-color: #e5edf0; }
#patient-story.video-hub { padding-block: 56px; background: #fff; }
.story-copy h2 { font-size: clamp(32px,3vw,43px); }
.video-hub-grid { margin-top: 28px; gap: 24px; }
.parallax-viewport { border-radius: 16px; border-color: #dfe8ec; box-shadow: 0 10px 26px -20px #203d5e30; }
#demo { padding-block: 60px; background: transparent; }
.chat-window { border-color: #dce6ef; box-shadow: 0 14px 34px -28px #2042683d; }
.chat-header { background: #fff; }
.chat-header p { margin-top: 4px; }
.chat-messages,.chat-window.chat-expanded .chat-messages { max-height: none; overflow: visible; padding-block: 24px; background: linear-gradient(180deg,#f9fbfe,#fff 80%); }
.message { scroll-margin-top: calc(var(--header-height) + 20px); }
.message-bubble { background: #f4f8fc; border-color: #e4ebf3; }
.assistant-message .message-avatar { margin-top: 3px; }
.user-message .message-bubble { background: #e8f3ef; border-color: #e8f3ef; color: #204c46; }
.message-bubble .demo-doctor-heading { font-size: 17px; }
.demo-doctor-card { padding: 16px; border-radius: 14px; box-shadow: none; }
.demo-doctor-identity h5 { font-size: 16px; }
.demo-doctor-booking { margin-top: 21px; }
.demo-doctor-cards { margin-top: 14px; }
.chat-bottom { background: #fff; }
.quick-prompts { margin-bottom: 14px; }
.quick-prompts button { background: #f8fafc; border-color: #e1e8ee; }
.chat-form { background: #fff; border-color: #d6e3ee; }
.chat-form input::placeholder { font-size: 15px; }
.demo-contact-link { margin-top: 8px; }

#download .download-panel { min-height: 580px; padding-block: 44px; background: radial-gradient(ellipse at 98% 100%,#5996f34d,transparent 62%),linear-gradient(115deg,#2259cf,#2869e2 70%,#3b80ed); }
.download-copy h2 { font-size: clamp(35px,3.4vw,48px); }
.install-scene { gap: 20px; }
.install-scene::before { bottom: 65px; }
.install-preview-caption { padding-inline: 12px; }
.install-preview-eyebrow { color: #e4eeff; }
#faq { padding-block: 64px 56px; }
.faq-list details { border-color: #e2e9ee; box-shadow: none; }
.faq-list summary { font-size: 16px; }
.footer-card { border-color: #e6edf2; box-shadow: 0 10px 24px -18px #1c3d5c26; }
.footer-notices { padding-block: 21px; gap: 42px; }
.footer-notices p { font-size: 13px; line-height: 1.8; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .audience-stage:hover .audience-device-front { transform: translateX(var(--phone-shift)) translateY(-4px) rotateX(2deg) rotateY(-7deg) rotateZ(-3deg); }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0,1fr); max-width: 740px; min-height: 0; gap: 34px; padding-block: 46px 42px; text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-copy .hero-footnote { justify-content: center; }
  .hero-visual { max-width: 650px; margin-inline: auto; }
  .audience-layout { gap: 24px; }
  .audience-device-front { width: 204px; }
  .audience-device-back { width: 177px; left: calc(50% - 10px); }
  .audience-stage { height: 470px; }
  .audience-copy > p { font-size: 15px; }
  .audience-tabs button { padding-inline: 15px; }
}
@media (max-width: 800px) {
  .audience-heading { flex-direction: column; text-align: center; gap: 23px; margin-bottom: 12px; }
  .audience-layout { grid-template-columns: minmax(0,1fr); gap: 17px; }
  .audience-copy { max-width: 570px; margin-inline: auto; text-align: center; }
  .audience-copy h3 { font-size: 30px; }
  .audience-copy > ul { text-align: left; width: fit-content; margin-inline: auto; }
  .screen-choices { justify-content: center; }
  .audience-visual { max-width: 430px; }
  .audience-device-front { width: 222px; }
  .audience-device-back { width: 190px; left: calc(50% - 10px); }
  .audience-stage { height: 502px; }
  .care-connection-strip { grid-template-columns: 135px minmax(0,1fr); gap: 22px; padding: 14px 22px; }
  .care-connection-strip .care-network { width: 135px; }
  .care-connection-strip h3 { font-size: 22px; }
}
@media (max-width: 600px) {
  .hero { padding-block: 35px 36px; gap: 28px; }
  .hero-copy h1 { font-size: clamp(35px,9.6vw,42px); line-height: 1.16; letter-spacing: -1.5px; }
  .hero-copy > p { font-size: 16px; line-height: 1.85; }
  .hero-copy > .button { min-width: 156px; }
  .hero-secondary-link { margin-left: 12px; font-size: 13px; }
  .hero-copy .hero-footnote { gap: 8px 14px; font-size: 12px; }
  .hero-visual { border-radius: 18px; }
  .hero-visual-caption { padding: 10px 13px; gap: 5px 10px; font-size: 12px; justify-content: center; }
  .hero-visual-caption > span { display: none; }
  #capabilities.benefits-section { padding-block: 42px 24px; }
  .tools-grid { gap: 15px; }
  .tool-card { padding: 22px 22px 0; border-radius: 18px; }
  .tool-card h3 { font-size: 22px; }
  #features.audience-section { padding-block: 28px 44px; }
  .audience-heading h2,.section-heading h2 { font-size: 32px; letter-spacing: -1.15px; }
  .audience-tabs { width: 100%; max-width: 310px; }
  .audience-tabs button { flex: 1; padding-inline: 14px; }
  .audience-kicker { font-size: 12px; }
  .audience-copy h3 { margin-top: 13px; font-size: 28px; }
  .audience-copy > ul { gap: 10px; margin-block: 19px; }
  .audience-copy li { font-size: 13px; }
  .screen-choices { display: none; }
  .mobile-screen-picker { display: grid; gap: 7px; max-width: 330px; margin: 22px auto 0; text-align: left; }
  .mobile-screen-picker label { font-size: 12px; font-weight: 600; color: #506a7c; }
  .mobile-screen-picker select { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #dce7ed; border-radius: 11px; background: #fff; color: #244c5e; font-family: var(--font); font-size: 16px; }
  .audience-stage { height: 459px; }
  .audience-device-front { width: 198px; --phone-shift: -65%; }
  .audience-device-back { width: 168px; top: 56px; left: calc(50% - 18px); }
  .audience-device { border-radius: 27px; padding: 5px; }
  .audience-device::after { border-radius: 29px; }
  .audience-screen { border-radius: 22px; }
  .audience-screen-controls { max-width: 310px; padding-inline: 4px; }
  .care-connection-strip { grid-template-columns: 100px minmax(0,1fr); gap: 12px; margin-top: 28px; padding: 16px 14px; border-radius: 18px; }
  .care-connection-strip .care-network { width: 100px; }
  .care-connection-strip h3 { font-size: 19px; letter-spacing: -.5px; }
  .care-connection-strip h3 br { display: none; }
  .care-connection-strip p { font-size: 13px; line-height: 1.75; }
  .care-connection-strip .eyebrow { font-size: 12px; letter-spacing: .03em; }
  #patient-story.video-hub { padding-block: 42px; }
  .video-hub-grid { gap: 15px; }
  #demo { padding-block: 44px; }
  .chat-header { padding: 18px 16px; }
  .chat-messages,.chat-window.chat-expanded .chat-messages { padding: 20px 13px; gap: 16px; }
  .message-bubble { padding: 14px; }
  .demo-doctor-identity h5 { font-size: 14px; }
  .demo-doctor-card { padding: 13px; }
  .demo-doctor-booking { margin-top: 18px; }
  .quick-prompts { gap: 8px; }
  .quick-prompts > span { flex-basis: 100%; }
  .quick-prompts button { font-size: 12px; padding-inline: 10px; }
  #download .download-panel { padding: 34px 23px 25px; min-height: 0; gap: 20px; }
  .download-copy h2 { font-size: 36px; letter-spacing: -1.3px; }
  #download .download-art { min-height: 510px; }
  #download .install-phone { width: 198px; }
  .download-note { font-size: 12px; }
  #faq { padding-block: 44px; }
  .footer-notices { gap: 22px; }
}
@media (max-width: 380px) {
  .hero-secondary-link { margin: 12px 0 0; display: flex; justify-content: center; }
  .hero-copy > .button { margin-top: 20px; }
  .audience-device-back { display: none; }
  .audience-device-front { --phone-shift: -50%; width: 204px; transform: translateX(var(--phone-shift)) rotateX(4deg) rotateY(-9deg) rotateZ(-3deg); }
  .care-connection-strip { grid-template-columns: minmax(0,1fr); text-align: center; gap: 0; padding: 15px 20px 21px; }
  .care-connection-strip .care-network { width: 130px; }
  .care-connection-strip h3 { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .audience-device,.audience-tabs button,.screen-choices button { transition: none; }
}
