/* Approved section-by-section revision. Existing white/grey design system retained. */
.hero h1{font-size:clamp(54px,5.6vw,84px)}.hero .lead{max-width:530px;font-size:18px}.hero-secondary{display:inline-flex!important;margin-top:14px;margin-left:14px;background:white!important;border:1px solid #c3cdc6;box-shadow:none!important}.hero>div:first-child>.small{margin-top:22px}
.how-heading h2{font-size:clamp(34px,3.6vw,51px)}.how-grid h3{font-size:25px;line-height:1.18;max-width:320px}.how-art{height:410px}.clinical-art img{filter:none;object-position:50%}.clinical-tag{bottom:42px;display:flex;gap:12px;align-items:center;opacity:0;transform:translateY(15px);transition:opacity .5s ease,transform .5s cubic-bezier(.23,1,.32,1);padding:16px 13px}.clinical-tag strong{display:block;font-size:14px;font-weight:600}.clinical-tag div>span{display:block;font-size:11px;margin-top:5px}.confirm-check{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:50%;background:#e0efda;color:#3f6b42;font-size:17px}.introduced .clinical-tag{opacity:1;transform:translateY(0)}.art-note{position:absolute;bottom:15px;left:21px;font-size:10px;color:#fff;text-shadow:0 1px 5px #0008}
.plan-art .phone-photo{width:100%;height:100%;object-fit:cover;display:block}.phone-caption{position:absolute;bottom:12px;left:14px;right:14px;text-align:center;font-size:10px;color:#41534b;background:#ffffffd9;border-radius:20px;padding:6px}.plan-art{display:block}.support-art{background:#e8e9df}.support-art>img{filter:blur(5px) brightness(.7);object-position:40%}.message-thread{position:absolute;inset:66px 18px 40px;display:flex;flex-direction:column;gap:12px;justify-content:center}.chat-message{max-width:90%;border-radius:15px;padding:13px 15px;background:#fffffff0;color:#273e35;opacity:0}.chat-message.patient{align-self:flex-end;background:#e5efd5}.chat-message.team{align-self:flex-start}.chat-message small{font-size:10px;color:#5f7164}.chat-message p{font-size:13px;line-height:1.4;margin-top:3px}.introduced .chat-message{animation:chat-enter .45s cubic-bezier(.23,1,.32,1) forwards}.introduced .chat-message:nth-child(2){animation-delay:1s}.introduced .chat-message:nth-child(3){animation-delay:2s}.chat-replay{position:absolute;right:16px;bottom:8px;width:34px;height:34px;border-radius:50%;background:#ffffffdb;color:#294639;font-size:22px}.support-art>small{font-size:10px}.trust strong{font-variant-numeric:tabular-nums}
.care-story{height:310svh}.story-heading h2{max-width:620px;font-size:clamp(26px,3.3vw,48px)}.story-copy{max-width:650px}.story-copy h3{font-size:clamp(40px,4.6vw,66px)}.story-copy p{max-width:430px;font-size:20px}.story-stage>img{object-position:70% center}.story-shade{background:linear-gradient(90deg,#10221db3 0%,#152c2450 65%,#162a2620),linear-gradient(0deg,#15251fde,transparent 60%)}.story-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.story-buttons button{min-width:0;overflow-wrap:normal;font-size:14px}.story-foot{bottom:25px}.story-progress{bottom:95px}
.floating-assessment{left:50%;right:auto;bottom:24px;transform:translate(-50%,18px);min-width:270px;justify-content:center;padding:17px 45px;text-align:center;box-shadow:0 0 0 4px #b5c78466,0 8px 25px #203b2520;background:#233c37;color:#d2f59a}.floating-assessment.is-visible{transform:translate(-50%,0)}.floating-assessment>span{position:absolute;right:23px}.floating-assessment:hover{background:#314b43;color:#e3ffaf}
.medical-support{display:grid;grid-template-columns:1fr 1.1fr;background:transparent;padding:0;gap:30px;overflow:visible}.medical-copy{background:#eef2ee;border-radius:24px;padding:52px}.medical-copy h2{font-size:clamp(34px,3.4vw,50px)}.medical-support .pen-scene{background:#fff;position:relative;height:570px;overflow:hidden;border-radius:24px}.photo-pen{position:absolute;inset:12% -3%;display:grid;place-items:center;transition:transform .2s linear;pointer-events:none;z-index:2}.photo-pen img{object-fit:contain;filter:drop-shadow(0 24px 14px #273d351c);animation:pen-float 7s ease-in-out infinite alternate}.pen-dots{position:absolute;inset:5%;transition:transform .6s cubic-bezier(.23,1,.32,1)}.pen-dots i{position:absolute;width:4px;height:4px;border-radius:50%;background:#a2bba7;opacity:.6;transition:transform .8s cubic-bezier(.23,1,.32,1),opacity .8s;transition-delay:var(--delay)}.pen-dots i:nth-child(3n){background:#b5cb7f;width:5px;height:5px}.pen-dots i:nth-child(4n){background:#487f70}.scattered .pen-dots i{transform:scale(2.2) translate(8px,-12px);opacity:1}.pen-interact{position:absolute;bottom:45px;left:50%;transform:translateX(-50%);border:1px solid #d8e0d9;border-radius:30px;background:#fff;padding:12px 22px;min-height:44px;font-size:14px;z-index:3}.pen-caption{bottom:12px;text-align:center;left:12px;right:12px;font-size:10px}
#dashboard-secondary{stroke:#91bfa8;stroke-width:2.5;stroke-dasharray:6 5}#dashboard-labels text{fill:#edf5e6;font-family:inherit;font-size:15px}#dashboard-labels circle{fill:#e0f8a8;stroke:#405c4a;stroke-width:3}.dashboard-tabs{flex-wrap:wrap}.dashboard-tabs button{padding:10px 15px}.doctor-section>div:last-child>p:not(.eyebrow){margin-bottom:20px}.doctor-section h2{font-size:clamp(38px,4.2vw,58px)}.doctor-section .lead{font-size:22px}.portrait-placeholder>p{font-size:28px}.assessment-photo>img{object-position:55% center}.assessment h2{font-size:clamp(35px,3.5vw,50px)}.faq details p{line-height:1.65}.faq details p+p{margin-top:15px}
@keyframes chat-enter{to{opacity:1;transform:translateY(0)}from{opacity:0;transform:translateY(12px)}}@keyframes pen-float{from{transform:translateY(-5px)}to{transform:translateY(5px)}}
@media(max-width:1000px){.medical-copy{padding:32px}.medical-support .pen-scene{height:490px}.how-grid{gap:18px}.clinical-tag{left:12px;right:12px;padding:12px;gap:8px}.clinical-tag div>span{font-size:10px}.message-thread{inset:55px 12px 35px}.chat-message p{font-size:12px}}
@media(max-width:760px){.hero h1{font-size:clamp(36px,9.5vw,46px);line-height:1.08}.hero .lead{font-size:16px;line-height:1.5;max-width:360px;margin:18px 0 21px}.hero-secondary{margin-left:0;margin-top:12px;background:#ffffff14!important}.hero .hero-secondary{color:white;border-color:#ffffffc9}.hero .hero-visual>img{object-position:50% center}.how-heading h2{font-size:35px}.how-heading p{max-width:300px}.how-art{height:420px}.how-grid h3{font-size:27px}.clinical-tag{left:18px;right:18px;padding:16px;gap:12px}.clinical-tag div>span{font-size:11px}.message-thread{inset:65px 22px 45px}.chat-message p{font-size:14px}.how-grid{gap:44px}.care-story{height:320svh}.story-stage{top:0;height:100svh}.story-heading{top:95px;left:6%;right:6%}.story-heading h2{font-size:27px;max-width:250px}.story-heading>p{font-size:12px}.story-heading a{font-size:11px}.story-copy{top:43%;left:6%;right:6%;max-width:none}.story-copy h3{font-size:36px}.story-copy p{font-size:17px;line-height:1.5;max-width:300px}.story-stage>img{object-position:65% center}.story-progress{bottom:145px}.story-buttons{gap:8px}.story-buttons button{font-size:11px;line-height:1.35;padding:3px 0;min-height:54px}.story-buttons span{font-size:14px}.story-foot{bottom:105px;font-size:10px;line-height:1.4}.floating-assessment{bottom:max(22px,env(safe-area-inset-bottom));min-width:260px;padding:15px 43px;font-size:14px;max-width:calc(100% - 48px)}.medical-support{grid-template-columns:1fr;gap:0}.medical-copy{padding:30px 25px}.medical-support .pen-scene{height:400px;margin:0}.photo-pen{inset:15% -5%}.pen-caption{font-size:10px}.dashboard-tabs{gap:5px}.dashboard-tabs button{font-size:12px;padding:10px 12px}.dashboard-visual{padding:23px 17px}#dashboard-labels text{font-size:18px}.doctor-section .lead{font-size:21px}.doctor-section>div:last-child>p{font-size:16px}.faq summary{font-size:17px;line-height:1.45;padding-right:25px}.faq details p{font-size:15px}.assessment-photo{height:430px}}
@media(max-height:740px) and (max-width:760px){.hero h1{font-size:34px}.hero .lead{font-size:15px;line-height:1.4}.hero .button{min-height:44px}.story-heading{top:85px}.story-heading h2{font-size:23px}.story-copy{top:39%}.story-copy h3{font-size:30px}.story-copy p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.clinical-tag,.chat-message{opacity:1;transform:none;animation:none!important;transition:none}.photo-pen img{animation:none}.pen-dots,.pen-dots i{transition:none}}
.paused .clinical-tag,.paused .chat-message{opacity:1;transform:none;animation:none}.paused .photo-pen img{animation:none}
.hero-visual>picture{position:absolute;inset:0;display:block}.hero-visual>picture img{width:100%;height:100%;object-fit:cover;object-position:88% center}
@media(max-width:760px){.hero-visual>picture img{object-position:50% center}}

#consult-count span{font:inherit;color:inherit;letter-spacing:inherit}
/* Entry sequences settle into persistent states; no disappearing messages. */
.clinical-tag{transform:translateY(28px) scale(.96);transition:opacity .5s cubic-bezier(.23,1,.32,1),transform .65s cubic-bezier(.23,1,.32,1)}
.introduced .clinical-tag{transform:translateY(0) scale(1);opacity:1}
.chat-message,.introduced .chat-message{animation:none;opacity:0;transform:translateY(20px);transition:opacity .45s cubic-bezier(.23,1,.32,1),transform .55s cubic-bezier(.23,1,.32,1)}
.introduced .chat-message.message-visible{opacity:1;transform:translateY(0)}
.paused .chat-message{opacity:1;transform:none;transition:none}
@media(prefers-reduced-motion:reduce){.chat-message,.introduced .chat-message,.clinical-tag{opacity:1;transform:none;transition:none}}

@media(max-width:760px){#assessment-start{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 18px;border-radius:28px;background:#d3ff83;color:#253e2f;font-size:15px;box-shadow:none;border:0}#assessment-start:hover{background:#cbea8b}}
