@font-face{font-family:Inter;src:url('/fonts/inter-latin-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
/* One ink ramp, one teal accent, one glass. Headline weight and tracking follow the homepage (600, -.03em). */
:root{color-scheme:light;--ink:#163747;--ink-2:#38596a;--ink-3:#557280;--accent:#1d6b66;--accent-soft:#d5eae7;--paper:#edf3f6;--bubble:#e9e9eef2;--hairline:rgba(22,55,71,.07);--hairline-strong:rgba(22,55,71,.12);--radius:4px;--pane:rgba(250,253,254,.8);--pane-blur:blur(14px) saturate(1.25);--pane-shadow:0 0 0 1px var(--hairline-strong);--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}html{overflow-y:scroll;scrollbar-width:auto;scrollbar-color:#6a8994 #edf3f6}html::-webkit-scrollbar{width:10px}html::-webkit-scrollbar-track{background:#edf3f6}html::-webkit-scrollbar-thumb{background:#6a8994;border:2px solid #edf3f6;border-radius:4px}
body{margin:0;background:var(--paper);color:var(--ink);font:500 16px/1.5 Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}button:focus-visible,a:focus-visible,[contenteditable]:focus-visible{outline:3px solid var(--accent);outline-offset:5px}button:disabled{opacity:.55;cursor:default}.skip{position:fixed;z-index:100;top:12px;left:25%;padding:12px;background:white;transform:translateY(-160%)}.skip:focus{transform:none}
.header{position:fixed;top:calc(23px + env(safe-area-inset-top));left:5vw;right:5vw;z-index:30;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:450;letter-spacing:-.025em;pointer-events:auto}.brand img{object-fit:contain;filter:brightness(.65) saturate(.5)}.menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:44px;height:44px;background:rgba(249,252,253,.72);border-radius:var(--radius);box-shadow:0 0 0 1px var(--hairline);pointer-events:auto;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.menu-toggle span{width:18px;height:2px;background:var(--ink);border-radius:2px;transition:transform .3s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4px) rotate(-45deg)}
.glass{background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(230,244,248,.38));backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25);box-shadow:0 0 0 1px var(--hairline-strong);border:0}
.chapter-list{position:fixed;right:5vw;top:84px;z-index:29;width:200px;border-radius:var(--radius);padding:8px;opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .3s,transform .3s,visibility .3s}.chapter-list.open{opacity:1;visibility:visible;transform:none}.chapter-list a{display:block;padding:12px 14px;border-radius:2px;font-size:14px;font-weight:500}.chapter-list a:hover,.chapter-list a[aria-current]{background:rgba(22,55,71,.07)}.chapter-list a[aria-current]{font-weight:600}
.stage{position:fixed;inset:0 0 auto;height:100vh;height:100lvh;z-index:-1;overflow:hidden;background:var(--paper)}.stage img,.stage canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.stage canvas{opacity:0}.stage canvas.ready{opacity:1}
.scene{height:180svh;position:relative;pointer-events:none}.scene:last-child{height:100vh;height:100lvh}.scene-layer{position:fixed;inset:0;opacity:0;visibility:hidden;pointer-events:none;will-change:opacity}.scene:first-child .scene-layer{opacity:1;visibility:visible}.scene-layer.present{visibility:visible}.scene-layer.interactive .copy a,.scene-layer.interactive button{pointer-events:auto}
.copy{position:absolute;top:clamp(112px,16vh,180px);left:5vw;width:min(650px,48vw);display:flex;align-items:flex-start;flex-direction:column;gap:24px;text-shadow:0 1px 8px #f6fbfd90}h1,h2{font-weight:600;line-height:1.06;letter-spacing:-.03em;text-wrap:balance}h1{font-size:clamp(42px,4.5vw,76px)}h2{font-size:clamp(36px,3.65vw,60px)}.keep{white-space:nowrap}.lead{max-width:440px;font-size:clamp(17px,1.35vw,21px);font-weight:500;line-height:1.5;text-wrap:pretty}.primary{display:inline-flex;align-items:center;gap:12px;background:var(--ink);color:white;border-radius:var(--radius);padding:14px 22px;font-size:15px;font-weight:600;text-shadow:none;transition:background-color .16s ease}.primary:hover{background:#24566a}.quiet-links{display:flex;gap:24px;font-size:15px;font-weight:500}.quiet-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:rgba(22,55,71,.45)}.quiet-links a:hover{text-decoration-color:currentColor}
#patients .copy{width:34vw;top:100px}#patients h2{font-size:clamp(32px,3vw,48px)}#home .copy{left:auto;right:5vw;width:42vw}#visit .copy{left:38%;width:29%;top:100px}#visit h2{font-size:clamp(29px,2.6vw,42px)}
.object{position:absolute;z-index:2;display:flex;align-items:center;gap:20px;left:5vw;bottom:11vh;padding:0;background:none;text-align:left;max-width:440px}.orb{width:84px;height:84px;flex:none;transition:transform .5s var(--ease);filter:drop-shadow(0 8px 14px #16374722)}.object:hover .orb{transform:translateY(-3px)}.home-object{left:auto;right:5vw;max-width:430px}.patients-object{left:auto;right:23.5%;bottom:33%}
.scribe-point{position:absolute;left:calc(44.5% - 22px);top:calc(36.5% - 22px);width:44px;height:44px;background:none;display:grid;place-items:center;border-radius:50%}.scribe-point .phone-pulse{width:13px;height:13px;background:var(--accent);border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px var(--accent)}.scribe-point::after{content:'';position:absolute;inset:8px;border:1px solid var(--accent);border-radius:50%;animation:breathe 3s ease-in-out infinite}@keyframes breathe{0%,100%{transform:scale(.9);opacity:.3}50%{transform:scale(1.25);opacity:.65}}
.noscript{position:fixed;inset:0;z-index:100;display:grid;place-content:center;background:var(--paper)}.noscript a{text-decoration:underline}
@media(min-width:761px) and (max-height:760px){.copy{top:110px;gap:16px}h1{font-size:56px}h2{font-size:45px}.lead{font-size:17px}#visit .copy{top:84px}}
@media(max-width:760px),(orientation:portrait) and (max-width:1000px){
 .header{left:21px;right:24px;top:calc(16px + env(safe-area-inset-top))}.brand{font-size:18px;gap:8px}.brand img{width:25px;height:25px}.menu-toggle{width:40px;height:40px}.chapter-list{top:73px;right:24px;width:185px}.copy,#patients .copy,#home .copy,#visit .copy{left:24px;right:24px;top:calc(94px + env(safe-area-inset-top));width:auto;gap:16px}h1{font-size:clamp(36px,9.6vw,58px)}h2,#patients h2,#visit h2{font-size:clamp(33px,8.7vw,50px)}.lead{font-size:15px;max-width:350px;line-height:1.5}.object,.home-object,.payments-object{left:22px;right:22px;bottom:calc(50px + env(safe-area-inset-bottom));max-width:none;gap:14px}.orb{width:66px;height:66px}.patients-object{left:auto;right:24px;bottom:24%}.scribe-point{top:auto;bottom:15%;left:calc(50% - 26px);width:52px;height:52px;background:#f7fcff90;backdrop-filter:blur(8px)}.scribe-point .phone-pulse{width:15px;height:15px}.scribe-point::after{inset:10px}.primary{font-size:14px;padding:12px 20px}.quiet-links{font-size:12px;gap:20px}
}
@media(max-width:760px) and (max-height:700px){.copy,#patients .copy,#home .copy,#visit .copy{top:88px;gap:12px}h1{font-size:35px}h2,#patients h2,#visit h2{font-size:32px}.lead{font-size:14px}.object,.home-object,.payments-object{bottom:34px}.patients-object{bottom:24%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Canonical OliMed sphere mark from demo/index.html. */
.oli-sh-orb {
  --dot-ink: #252e48; --dot-tone: #7c8bab; --glass: #8a9db8; --dust: #7d8aa6; --badge: #1b3a66;
  --ring: #e0553d; --ring-a: 0.62; --halo-a: 0.45; --flush: 0.28; --ring-w: 3px; --shadow-a: 0.34;
  position: relative; display: grid; place-items: center; flex: 0 0 auto; isolation: isolate; border-radius: 50%;
  color: var(--dot-ink); transition: --glass 1400ms ease, --dust 1400ms ease;
}
.oli-sh-orb[data-band='neutral'] { --glass: #8a9db8; --dust: #7d8aa6; --badge: #1b3a66; }
.oli-sh-orb[data-band='teal'] { --glass: #6fa5a1; --dust: #5f8f96; --badge: #134a63; }
.oli-sh-orb[data-band='gold'] { --glass: #cf9530; --dust: #a88a5a; --badge: #6e4608; }
.oli-sh-orb[data-band='coral'] { --glass: #c2604b; --dust: #b07c70; --badge: #7a2a16; }
.oli-sh-orb-glass {
  position: absolute; inset: 0; z-index: 1; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(ellipse 13% 9% at 73% 17%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 62% 44% at 40% 20%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 72%),
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0) 60%, color-mix(in srgb, var(--glass) 24%, transparent) 97%),
    linear-gradient(172deg, color-mix(in srgb, var(--glass) 28%, #fbfdff) 6%, color-mix(in srgb, var(--glass) 23%, #eef1f5) 60%, color-mix(in srgb, var(--glass) 37%, #dde2e9) 100%);
  box-shadow: inset 0 -9px 16px -9px color-mix(in srgb, var(--glass) 30%, rgba(52, 70, 100, 0.24)), inset 0 0 0 1px color-mix(in srgb, var(--glass) 16%, rgba(255, 255, 255, 0.6));
}
.oli-sh-orb::after {
  content: ''; position: absolute; z-index: 0; left: 10%; right: 10%; bottom: -8.5%; height: 15%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glass) 50%, #8492a6) 0%, color-mix(in srgb, color-mix(in srgb, var(--glass) 50%, #8492a6) 55%, transparent) 45%, transparent 100%);
  opacity: var(--shadow-a);
}
.oli-sh-orb-glyph { position: relative; z-index: 2; width: 51%; height: 51%; overflow: visible; }
.oli-sh-glyph-ink { fill: var(--dot-ink); }
.oli-sh-glyph-tone { fill: var(--dot-tone); }
.oli-sh-orb-dots { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; pointer-events: none; visibility: hidden; }
.oli-sh-orb[data-dots='on'] .oli-sh-orb-dots { visibility: visible; }
.oli-sh-orb[data-dots='on'] .oli-sh-orb-glyph { visibility: hidden; }

@media(min-width:1001px),(min-width:761px) and (orientation:landscape){#welcome .copy{width:min(430px,34vw)}#welcome h1{font-size:clamp(40px,4.1vw,68px)}#welcome .lead{max-width:none}}

.scribe-point .scribe-orb{display:none}
@media(max-width:760px),(orientation:portrait) and (max-width:1000px){.scribe-point{left:22px;bottom:40px;width:66px;height:66px;background:none;backdrop-filter:none}.scribe-point .phone-pulse,.scribe-point::after{display:none}.scribe-point .scribe-orb{display:grid}}

/* Tiny anchors let native scrolling settle on whole scenes, not in the middle
   of an oversized section. The copy follows the scroll at once; the film catches up.
   Durations below come from pacing.mjs as --t-* custom properties. */
html{scroll-snap-type:y mandatory}
.snap-point{position:absolute;top:0;left:0;width:1px;height:1px;scroll-snap-align:start;scroll-snap-stop:always}
.object{transition:opacity var(--t-text) ease}
.story-open .object{opacity:0;pointer-events:none!important}

/* Texts and their results are independent floating objects. No panel encloses
   this composition, and nothing blurs or dims the illustration behind it. */
.conversation{position:fixed;z-index:21;left:5vw;top:35vh;width:min(720px,58vw);height:390px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--t-out) ease,visibility var(--t-out);background:none;border:0;box-shadow:none}
.conversation.open{opacity:1;visibility:visible;transition-duration:var(--t-text)}
/* Scrolling away plays the rest of a story at once, with nothing left mid-fade. */
.conversation.rushing *,.conversation.rushing *::after{transition-duration:0s!important;transition-delay:0s!important}
.conversation[data-story=home]{left:auto;right:4vw;width:46vw}
.conversation[data-story=patients]{top:34vh;width:max(49vw,720px)}
/* the arrival painting's people stand on the right: the story keeps to the calm wall, its result under the messages */
@media(min-width:1001px){.conversation[data-story=patients]{top:max(236px,25vh);width:440px}.conversation[data-story=patients] .conversation-result{left:78px;right:auto;width:330px;top:min(290px,calc(100vh - max(236px,25vh) - 212px))}}
.conversation[data-story=finance]{top:39vh;width:51vw}
.conversation-close{position:absolute;left:8px;top:76px;width:44px;height:44px;display:grid;place-items:center;padding:0;border-radius:var(--radius);box-shadow:0 0 0 1px var(--hairline);background:rgba(249,252,253,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);pointer-events:auto;color:var(--ink);transition:background-color .16s ease}.conversation-close:hover{background:rgba(249,252,253,.92)}.conversation-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.conversation-orb{position:absolute;left:0;top:0;padding:0;background:none;border:0;pointer-events:auto}
.conversation-orb .orb{width:60px;height:60px}
.message-thread{position:absolute;left:78px;top:0;width:330px;display:flex;flex-direction:column;align-items:flex-start;pointer-events:auto}
.message-step{max-height:0;opacity:0;overflow:hidden;transform:translateY(14px) scale(.96);transform-origin:bottom left;transition:opacity var(--t-text) ease,transform var(--t-move) var(--ease),max-height var(--t-move) var(--ease),margin var(--t-move);max-width:100%;margin-top:0}
.message-step.shown{max-height:150px;opacity:1;transform:none;margin-top:12px}
.message-step:first-child.shown{margin-top:0}
.message-step.you{align-self:flex-end;transform-origin:bottom right}
.text-bubble{padding:12px 16px;font-size:15px;line-height:1.45;font-weight:500;background:var(--bubble);color:#17212b;border-radius:20px 20px 20px 6px;max-width:310px;text-wrap:pretty}
.you .text-bubble{background:#007aff;color:#fff;border-radius:20px 20px 6px 20px}
.typing{display:flex;gap:4px;align-items:center;justify-content:center;width:56px;height:0;opacity:0;margin-top:0;padding:0;background:var(--bubble);border-radius:20px;transition:opacity var(--t-text),height var(--t-text),margin var(--t-text)}
.typing.shown{opacity:1;height:34px;margin-top:10px}
.typing i{width:6px;height:6px;border-radius:50%;background:#929299;animation:typing 1.1s ease-in-out infinite}.typing i:nth-child(2){animation-delay:.14s}.typing i:nth-child(3){animation-delay:.28s}@keyframes typing{0%,65%,100%{transform:translateY(0);opacity:.5}32%{transform:translateY(-3px);opacity:1}}
.conversation-result{position:absolute;left:440px;right:0;top:65px;opacity:0;transform:translate(18px,8px) scale(.97);transition:opacity var(--t-text) ease,transform var(--t-move) var(--ease)}
.conversation[data-stage='2'] .conversation-result,.conversation[data-stage='3'] .conversation-result,.conversation[data-stage='4'] .conversation-result{opacity:1;transform:none}
.confirmation-check{position:absolute;right:9px;top:15px;width:15px;height:15px;fill:none;stroke:var(--accent);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:23;stroke-dashoffset:23;transition:stroke-dashoffset var(--t-draw) ease var(--t-stagger)}
.conversation:not([data-story=chief]):is([data-stage='2'],[data-stage='3'],[data-stage='4']) .confirmation-check{stroke-dashoffset:0}
.floating-money{width:100%;max-width:230px}
.money-row{position:relative;padding-bottom:16px;margin-bottom:20px;display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.money-row>span{font-size:13px;font-weight:500;color:var(--ink-2)}.money-row strong{font-size:32px;letter-spacing:-.03em;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}.money-row i{position:absolute;left:0;right:0;bottom:0;height:6px;border-radius:3px;background:#3d8a80;transform:scaleX(0);transform-origin:left;transition:transform var(--t-draw) var(--ease)}
.money-row.paid i{right:84%;background:#6b93bd}
[data-stage='2'] .money-row i,[data-stage='3'] .money-row i,[data-stage='4'] .money-row i{transform:scaleX(1)}
.floating-appeal{position:relative;width:144px;height:112px;margin:24px 0 0 auto;padding:16px;border-radius:var(--radius);background:rgba(255,255,255,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:var(--pane-shadow);opacity:0;transform:translate(16px,12px);transition:opacity var(--t-text),transform var(--t-move) var(--ease)}
.floating-appeal>span{display:block;font-size:13px;font-weight:500;color:var(--ink-2)}.floating-appeal strong{display:block;font-size:32px;line-height:1.3;letter-spacing:-.03em;font-weight:600;font-variant-numeric:tabular-nums}.floating-appeal svg{position:absolute;right:14px;bottom:16px;width:20px;fill:none;stroke:var(--ink-3);stroke-width:1.6;stroke-linejoin:round}
.conversation:is([data-stage='2'],[data-stage='3'],[data-stage='4']) .floating-appeal{opacity:1;transform:none;transition-delay:var(--t-stagger)}
/* On laptops the payment comparison sits on the same glass as every other result. */
@media(min-width:1001px),(min-width:761px) and (orientation:landscape) and (min-height:501px){
 .conversation[data-story=finance] .conversation-result{right:auto;width:340px;padding:20px 24px;border-radius:var(--radius);background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);box-shadow:var(--pane-shadow);filter:none}
 .conversation[data-story=finance] .floating-money{width:52%;max-width:none}.conversation[data-story=finance] .money-row:last-child{margin-bottom:0}
 .conversation[data-story=finance] .floating-appeal{position:absolute;right:20px;top:20px;margin:0;width:126px;height:120px;padding:14px}.conversation[data-story=finance] .floating-appeal strong{font-size:28px}
}
@media(min-width:761px) and (max-width:1250px){
 .conversation{width:60vw}.message-thread{left:70px;width:290px}.text-bubble{font-size:15px;max-width:290px}.conversation-result{left:380px}.conversation[data-story=home]{width:47vw}.conversation[data-story=home] .message-thread{left:0;width:265px}.conversation[data-story=home] .conversation-orb{left:-75px}.conversation[data-story=home] .conversation-result{left:290px}.conversation[data-story=patients]{width:52vw}.conversation[data-story=finance]{width:55vw}
}
@media(min-width:1001px),(min-width:761px) and (orientation:landscape) and (min-height:501px){.conversation[data-story=home] .conversation-close{left:-70px}}
@media(min-width:1251px){.conversation[data-story=home] .message-thread{left:0}.conversation[data-story=home] .conversation-orb{left:-78px}.conversation[data-story=home] .conversation-result{left:340px}}
@media(max-width:760px),(orientation:portrait) and (max-width:1000px),(orientation:landscape) and (min-width:761px) and (max-width:1000px) and (max-height:500px){
 .conversation,.conversation[data-story=home],.conversation[data-story=patients],.conversation[data-story=finance]{top:auto;bottom:calc(28px + env(safe-area-inset-bottom));left:18px;right:18px;width:auto;height:310px}
 .conversation-orb,.conversation[data-story=home] .conversation-orb{left:0;top:auto;bottom:0}.conversation-orb .orb{width:56px;height:56px}
 .conversation-close{right:auto;left:8px;top:auto;bottom:68px}
 .message-thread,.conversation[data-story=home] .message-thread{left:74px;right:0;top:auto;bottom:0;width:auto}
 .text-bubble{font-size:13px;padding:12px 16px;max-width:100%;line-height:1.42}
 .message-step.shown{margin-top:10px}.message-step.past{max-height:0;opacity:0;margin-top:0;transform:translateY(-14px)}
 .conversation-result,.conversation[data-story=home] .conversation-result{left:74px;right:0;top:0;transform:translate(14px,5px);opacity:0!important}
 .conversation:is([data-stage='2'],[data-stage='3'],[data-stage='4']) .conversation-result{opacity:1!important;transform:none}
 .confirmation-check{top:12px}.floating-money{width:54%;padding-top:4px}.money-row{margin-bottom:14px;padding-bottom:12px;gap:6px}.money-row>span{font-size:11px}.money-row strong{font-size:26px}.money-row i{height:5px}
 .floating-appeal{position:absolute;right:0;top:16px;width:100px;height:112px;margin:0;padding:12px}.floating-appeal>span{font-size:11px}.floating-appeal strong{font-size:28px}.floating-appeal svg{right:10px;bottom:10px;width:18px}
 .conversation[data-reduced=true]{height:auto;max-height:72svh;overflow:auto;display:flex;flex-direction:column;gap:22px;padding:0 4px 0 65px;pointer-events:auto}.conversation[data-reduced=true] .message-thread,.conversation[data-reduced=true] .conversation-result{position:relative;inset:auto;width:auto}.conversation[data-reduced=true] .conversation-result{opacity:1!important;min-height:150px}.conversation[data-reduced=true] .conversation-orb{position:fixed;left:18px;bottom:32px}.conversation[data-reduced=true] .conversation-close{position:fixed;left:26px;bottom:100px}
}
@media(max-width:760px) and (max-height:700px){.conversation,.conversation[data-story=home],.conversation[data-story=patients],.conversation[data-story=finance]{bottom:24px;height:300px}.text-bubble{font-size:12px;padding:11px 14px}}

/* A request becomes visible work across the practice. */
.campaign-work{position:relative;min-height:330px}
.campaign-page{position:relative;width:100%;padding:20px;border-radius:var(--radius);background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);box-shadow:var(--pane-shadow);transform-origin:right center;transition:opacity var(--t-text) ease,width var(--t-move) var(--ease),transform var(--t-move) var(--ease)}
.campaign-url{display:block;font-size:12px;font-weight:500;white-space:nowrap;color:var(--ink-3);margin-bottom:12px}.campaign-url .confirmation-check{top:20px;right:16px;width:12px}
.campaign-page h3{font-size:28px;line-height:1.05;letter-spacing:-.03em;font-weight:600;margin:0 0 8px;color:var(--ink);clip-path:inset(0 100% 0 0);transition:clip-path var(--t-draw) var(--ease)}
.conversation:is([data-work=ready],[data-work=reach]) .campaign-page h3{clip-path:inset(0)}
.campaign-page p{font-size:13px;line-height:1.45;max-width:220px;color:var(--ink-2);text-wrap:pretty}.campaign-cta{display:inline-block;margin-top:12px;padding:8px 12px;font-size:12px;font-weight:600;background:var(--ink);color:#fff;border-radius:2px}
.campaign-ready{position:absolute;left:8px;right:0;display:flex;gap:10px;align-items:center;font-size:13px;font-weight:500;opacity:0;transform:translateX(24px);transition:opacity var(--t-text),transform var(--t-move) var(--ease)}
.campaign-ready>svg:first-child{width:18px;height:18px;flex:none;stroke:var(--ink-2);stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.campaign-ready .confirmation-check{position:static;margin-left:auto;width:15px;stroke-dashoffset:0}.phone-ready{top:236px}.team-ready{top:272px}
.conversation:is([data-work=ready],[data-work=reach]) :is(.phone-ready,.team-ready){opacity:1;transform:none}.conversation[data-work=ready] .team-ready{transition-delay:var(--t-stagger)}
[data-work=reach] .campaign-url .confirmation-check{stroke-dashoffset:0}[data-work=reach] .draft-tag{display:none}
.campaign-reach{position:absolute;left:8px;top:312px;display:flex;gap:12px;align-items:baseline;text-shadow:0 1px 8px #f6fbfdcc;opacity:0;transform:translateY(12px);transition:opacity var(--t-text),transform var(--t-move) var(--ease)}
.campaign-reach strong{font-size:44px;line-height:1;font-weight:600;letter-spacing:-.03em;color:var(--accent);font-variant-numeric:tabular-nums}.campaign-reach span{font-size:13px;font-weight:500;color:var(--ink-2)}.conversation[data-work=reach] .campaign-reach{opacity:1;transform:none}
.conversation[data-story=chief]{top:33vh}.conversation[data-story=chief] .conversation-result{top:30px}
/* On laptops the chips and the count flow below the page, whatever its height. */
@media(min-width:1001px),(min-width:761px) and (orientation:landscape) and (min-height:501px){.campaign-ready{position:relative;left:0;top:auto;margin:14px 0 0 8px}.campaign-reach{position:relative;top:auto;margin:22px 0 0 8px}}

/* The campaign's pieces wait for Oli: each goes live as the sphere arrives. */
.conversation[data-story=chief] .conversation-result{opacity:1;transform:none;filter:none}
.conversation[data-story=chief] .campaign-page{opacity:0;transform:scale(.94)}
.conversation:is([data-work=ready],[data-work=reach]) .campaign-page{opacity:1;transform:none}

/* Insurance and follow-through, not three copies of a booking exchange. */
.visit-prep{position:relative;padding-top:4px}.coverage-object{width:100%;padding:20px;border-radius:var(--radius);background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);box-shadow:var(--pane-shadow)}
.coverage-object>svg{width:28px;height:28px;fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:8px}.coverage-object strong{display:block;font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.2}.coverage-object>span{display:block;font-size:13px;margin-top:4px;color:var(--ink-2)}
.referral-object{position:relative;display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:16px 40px 16px 16px;background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);box-shadow:var(--pane-shadow);border-radius:var(--radius);font-size:13px;font-weight:500;opacity:0;transform:translateY(12px);transition:opacity var(--t-text),transform var(--t-move) var(--ease)}
.referral-object>svg:first-child{width:20px;flex:none;fill:none;stroke:var(--ink-2);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.referral-object .confirmation-check{right:16px;top:calc(50% - 7.5px)}.conversation:is([data-stage='2'],[data-stage='3'],[data-stage='4']) .referral-object{opacity:1;transform:none;transition-delay:var(--t-stagger)}
.care-context{display:flex;gap:16px;margin:0 0 16px;opacity:0;transform:translateY(-12px);transition:opacity var(--t-text),transform var(--t-move) var(--ease)}.care-context>span{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:var(--ink-2)}.care-context svg{width:18px;fill:none;stroke:var(--ink-2);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.care-task{position:relative;padding:20px 24px;background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);border-radius:var(--radius);box-shadow:var(--pane-shadow);transform:translateX(16px);opacity:0;transition:opacity var(--t-text) var(--t-stagger),transform var(--t-move) var(--ease) var(--t-stagger)}.care-task>span{font-size:13px;font-weight:500;color:var(--ink-3)}.care-task h3{font-size:24px;line-height:1.15;letter-spacing:-.03em;font-weight:600;margin:8px 0}.care-task p{font-size:13px;line-height:1.5;color:var(--ink-2)}.care-task .confirmation-check{top:20px;right:20px}
.conversation:is([data-stage='2'],[data-stage='3'],[data-stage='4']) .care-context,.conversation:is([data-stage='2'],[data-stage='3'],[data-stage='4']) .care-task{opacity:1;transform:none}
.care-reminder{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;margin:16px 0 0;opacity:0;transform:translateY(12px);transition:opacity var(--t-text) var(--t-stagger),transform var(--t-move) var(--ease) var(--t-stagger)}.care-reminder svg{width:18px;flex:none;fill:none;stroke:var(--ink-2);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.conversation[data-stage='4'] .care-reminder{opacity:1;transform:none}

/* A living visit note, followed by the work it creates. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.story-open .scribe-point{opacity:0;pointer-events:none!important}.scribe-point{transition:opacity var(--t-text)}
.conversation[data-story=scribe]{top:auto;left:7vw;right:auto;bottom:5vh;width:min(800px,85vw);height:320px}
.conversation[data-story=scribe] .conversation-close{left:8px;top:76px}.conversation[data-story=scribe] .conversation-orb{top:0;left:0}
.scribe-listening{position:absolute;left:78px;top:0;width:fit-content;max-width:420px;display:flex;gap:14px;align-items:center;padding:10px 16px;border-radius:var(--radius);background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);box-shadow:var(--pane-shadow);transition:opacity var(--t-text),transform var(--t-move) var(--ease)}
.scribe-quote{font-size:15px;line-height:1.45;font-weight:500;max-width:340px}
.listening-wave{display:flex;align-items:center;gap:3px;height:24px;flex:none}.listening-wave i{display:block;width:3px;height:8px;background:var(--accent);border-radius:3px;animation:listen 1.7s ease-in-out infinite}.listening-wave i:nth-child(2){animation-delay:.3s;height:15px}.listening-wave i:nth-child(3){animation-delay:.5s;height:23px}.listening-wave i:nth-child(4){animation-delay:.15s;height:16px}.listening-wave i:nth-child(5){animation-delay:.65s}
@keyframes listen{0%,100%{transform:scaleY(.45);opacity:.55}50%{transform:scaleY(1);opacity:1}}
.scribe-note{position:absolute;left:78px;top:72px;width:320px;min-height:100px;padding:20px 24px;background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);border-radius:var(--radius);box-shadow:var(--pane-shadow);transition:top var(--t-move) var(--ease)}
.scribe-note h3{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:22px;line-height:1.1;letter-spacing:-.03em;margin:0 0 16px;font-weight:600}.visit-level{font-size:13px;font-weight:600;letter-spacing:0;color:var(--ink-3);font-variant-numeric:tabular-nums;transition:color var(--t-text) ease}.visit-level.changed{color:var(--accent)}
.note-line{font-size:14px;line-height:1.5;margin:0;opacity:0;max-height:0;transition:opacity var(--t-text),max-height var(--t-move),margin var(--t-move);overflow:hidden}.note-line.shown{opacity:1;max-height:85px;margin-top:12px}.note-line.writing::after{content:'';display:inline-block;width:2px;height:1em;background:var(--accent);vertical-align:-.12em;margin-left:3px;animation:caret 1s ease-in-out infinite}@keyframes caret{50%{opacity:.25}}
.scribe-tasks{position:absolute;left:445px;top:76px;width:300px;list-style:none;padding:0;margin:0}.scribe-tasks li{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.35;font-weight:500;margin-bottom:8px;padding:8px 12px;border-radius:var(--radius);background:rgba(250,253,254,.8);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 0 0 1px var(--hairline);width:fit-content;max-width:100%;opacity:0;transform:translate(20px,6px);transition:opacity var(--t-text),transform var(--t-move) var(--ease)}.scribe-tasks li.shown{opacity:1;transform:none}.scribe-tasks svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:25;stroke-dashoffset:25;transition:stroke-dashoffset var(--t-draw) var(--t-stagger)}.scribe-tasks li.shown svg{stroke-dashoffset:0}.scribe-tasks .task-clock{stroke-dasharray:none;stroke-dashoffset:0;stroke:var(--ink-2);stroke-width:1.6}.scribe-tasks small{display:block;font-size:13px;font-weight:400;color:var(--ink-3);margin-top:2px}
.scribe-nudge{position:absolute;left:445px;top:229px;width:305px;padding:16px;background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);box-shadow:var(--pane-shadow);border-radius:var(--radius);pointer-events:auto;opacity:0;transform:translateY(14px);transition:opacity var(--t-text),transform var(--t-move) var(--ease)}.scribe-nudge.shown{opacity:1;transform:none}.scribe-nudge>p{font-size:14px;font-weight:600;line-height:1.4;text-wrap:pretty}.scribe-answers{display:flex;gap:8px;margin-top:12px}.scribe-answers[hidden]{display:none}.scribe-answers button{padding:8px 12px;font-size:13px;font-weight:600;background:var(--accent-soft);color:#174f4b;border-radius:var(--radius);transition:background-color .16s ease}.scribe-answers button:hover{background:#c3e0dc}.scribe-answers button:focus-visible{outline-offset:2px}.clarification{color:var(--accent);font-weight:600}
.conversation[data-phase=followthrough] .scribe-listening{opacity:0;transform:translateY(-10px)}.conversation[data-phase=followthrough] .scribe-note{top:42px}.conversation[data-phase=followthrough] .listening-wave i{animation-play-state:paused}.answered .scribe-nudge>p{color:var(--accent)}

@media(max-width:1100px) and (min-width:761px) and (orientation:landscape){.conversation[data-story=scribe]{left:4vw;width:90vw}.scribe-note{left:70px;width:290px}.scribe-tasks,.scribe-nudge{left:395px}.scribe-listening{left:70px}}
@media(max-width:760px),(orientation:portrait) and (max-width:1000px),(orientation:landscape) and (min-width:761px) and (max-width:1000px) and (max-height:500px){
 .conversation[data-story=chief]{top:auto;bottom:24px;height:340px}
 .conversation[data-story=chief] .conversation-result{top:0;opacity:1!important;transform:none}
 .campaign-work{min-height:218px}.campaign-page{padding:14px 16px;width:100%;height:178px;overflow:hidden;transform-origin:right top;transition:opacity var(--t-text) ease,transform var(--t-move) var(--ease),width var(--t-move) var(--ease),height var(--t-move) var(--ease),padding var(--t-move) var(--ease)}.campaign-url{font-size:11px;margin-bottom:8px;overflow:hidden}.campaign-url .confirmation-check{top:14px;right:12px;width:11px}.campaign-page h3{font-size:26px;margin-bottom:8px}.campaign-page p{font-size:12px;transition:opacity var(--t-text)}.campaign-cta{transition:opacity var(--t-text);margin-top:8px;font-size:11px;padding:6px 10px}
 .campaign-ready{font-size:12px;left:4px;gap:8px}.campaign-ready>svg:first-child{width:16px;height:16px}.campaign-reach{left:auto;right:0;top:28px;width:36%;display:block}.campaign-reach strong{font-size:44px}.campaign-reach span{display:block;font-size:12px;line-height:1.3;margin-top:6px}
 .conversation[data-work=reach] .campaign-page{width:59%;height:125px;padding:12px}.conversation[data-work=reach] .campaign-url{font-size:11px;margin-right:-3px}.conversation[data-work=reach] .campaign-url .confirmation-check{display:none}.conversation[data-work=reach] .campaign-page h3{font-size:22px;margin-bottom:0}.conversation[data-work=reach] .campaign-page p,.conversation[data-work=reach] .campaign-cta{opacity:0}
 .coverage-object{padding:16px 18px;width:78%;margin-left:auto}.coverage-object>svg{width:24px;height:24px;margin-bottom:6px}.coverage-object strong{font-size:18px}.coverage-object>span{font-size:12px;margin-top:4px}.referral-object{padding:12px 36px 12px 12px;width:78%;margin:12px 0 0 auto;font-size:12px}.referral-object .confirmation-check{right:12px}
 .care-context{gap:12px;margin:0 0 12px}.care-context>span{font-size:11px}.care-context svg{width:16px}.care-task{padding:16px 18px}.care-task h3{font-size:21px;margin:6px 0}.care-task p{font-size:12px}.care-task .confirmation-check{top:16px;right:14px}.care-reminder{font-size:12px;margin:16px 0 0;gap:8px}.care-reminder svg{width:18px}
 .conversation[data-story=home]{height:345px}
 /* The comparison needs its own glass on a busy, small illustration. */
 .conversation[data-story=finance]{height:330px}.conversation[data-story=finance] .conversation-result{padding:16px;height:185px;border-radius:var(--radius);background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);box-shadow:var(--pane-shadow);filter:none}
 .conversation[data-story=finance] .floating-money{width:48%;padding-top:0}.conversation[data-story=finance] .money-row{display:block;padding-bottom:9px;margin-bottom:12px}.conversation[data-story=finance] .money-row>span{display:block;font-size:12px;font-weight:500;color:var(--ink-2)}.conversation[data-story=finance] .money-row strong{display:block;font-size:30px;line-height:1.1;margin-top:4px;font-weight:600;color:var(--ink)}.conversation[data-story=finance] .money-row i{height:5px}.conversation[data-story=finance] .floating-appeal{top:32px;right:12px;width:100px;height:115px;padding:12px;background:rgba(255,255,255,.72);backdrop-filter:none}.conversation[data-story=finance] .floating-appeal>span{font-size:11px}.conversation[data-story=finance] .floating-appeal strong{font-size:22px}
 .conversation[data-story=scribe]{left:18px;right:18px;top:auto;bottom:24px;width:auto;height:340px}.conversation[data-story=scribe] .conversation-orb{left:0;top:auto;bottom:0}.conversation[data-story=scribe] .conversation-close{right:auto;left:8px;top:auto;bottom:68px}
 .scribe-listening{left:74px;right:0;top:5px;width:auto;gap:10px}.scribe-quote{font-size:12px;font-weight:500;line-height:1.45}.listening-wave{gap:2px}.listening-wave i{width:2px}
 .scribe-note{left:74px;right:0;top:78px;width:auto;padding:16px 18px;min-height:100px}.scribe-note h3{font-size:20px;margin-bottom:12px}.note-line{font-size:12px;line-height:1.45}.note-line.shown{margin-top:12px}
 .conversation[data-phase=followthrough] .scribe-note{top:0;min-height:0;padding:12px 16px}.conversation[data-phase=followthrough] .scribe-note h3{font-size:18px;margin-bottom:8px}.conversation[data-phase=followthrough] .note-line[data-line='0'],.conversation[data-phase=followthrough] .note-line[data-line='1']{display:none}.conversation[data-phase=followthrough] .note-line.shown{margin-top:0;font-size:11px}.conversation.answered .note-line[data-line='2']{display:none}
 .scribe-tasks{left:74px;right:0;top:100px;width:auto}.scribe-tasks li{font-size:12px;padding:6px 8px;gap:8px;margin-bottom:6px}.scribe-tasks svg{width:15px;height:15px}.scribe-tasks small{font-size:11px;margin-top:2px}
 .scribe-nudge{left:74px;right:0;top:229px;width:auto;padding:12px}.scribe-nudge>p{font-size:12px}.scribe-answers{gap:8px;margin-top:10px}.scribe-answers button{font-size:12px;padding:7px 12px}
 .conversation[data-reduced=true][data-story=scribe]{display:block;height:340px;overflow:visible;padding:0;max-height:none}
 .conversation[data-reduced=true][data-story=chief] .conversation-result{min-height:230px}
}
@media(max-width:350px){.conversation[data-story=chief] .text-bubble{font-size:12px}.scribe-nudge{padding:11px}.scribe-answers{gap:4px}.scribe-answers button{font-size:11px;padding:7px 9px}.conversation[data-story=finance] .floating-appeal{width:88px;padding:10px}.conversation[data-story=finance] .floating-appeal strong{font-size:20px}}

@media(max-width:760px),(orientation:portrait) and (max-width:1000px),(orientation:landscape) and (min-width:761px) and (max-width:1000px) and (max-height:500px){
 .conversation[data-story=finance]{height:300px}.conversation[data-story=finance] .conversation-result{height:164px;padding:14px 16px}.conversation[data-story=finance] .money-row{padding-bottom:7px;margin-bottom:10px}.conversation[data-story=finance] .money-row:last-child{margin-bottom:0}.conversation[data-story=finance] .money-row>span{line-height:1.2}.conversation[data-story=finance] .money-row strong{line-height:1;margin-top:3px}.conversation[data-story=finance] .floating-appeal{top:26px;height:108px}
 .conversation[data-story=home] .conversation-result{top:40px}.care-context{display:none}.care-task p{display:none}
 .conversation[data-reduced=true][data-story=scribe]{display:block;height:auto;max-height:72svh;overflow:auto;padding:0 0 0 65px;pointer-events:auto}
 .conversation[data-reduced=true][data-story=scribe] .scribe-note,.conversation[data-reduced=true][data-story=scribe] .scribe-tasks,.conversation[data-reduced=true][data-story=scribe] .scribe-nudge{position:relative;inset:auto;width:auto;transform:none}
 .conversation[data-reduced=true][data-story=scribe] .note-line[data-line]{display:block;margin-top:10px;font-size:12px}
 .conversation[data-reduced=true][data-story=scribe] .scribe-tasks,.conversation[data-reduced=true][data-story=scribe] .scribe-nudge{margin-top:18px}
 .conversation[data-reduced=true][data-story=scribe] .conversation-orb{position:fixed;left:18px;bottom:32px;top:auto}.conversation[data-reduced=true][data-story=scribe] .conversation-close{position:fixed;left:26px;bottom:100px;top:auto}
}
@media(max-width:760px),(orientation:portrait) and (max-width:1000px),(orientation:landscape) and (min-width:761px) and (max-width:1000px) and (max-height:500px){.campaign-ready{right:auto;width:max-content;max-width:100%;padding:4px 10px;border-radius:var(--radius);background:rgba(250,253,254,.85);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 0 0 1px var(--hairline);color:var(--ink)}.campaign-ready .confirmation-check{margin-left:4px}.phone-ready{top:188px}.team-ready{top:220px}.conversation[data-work=reach] .phone-ready{top:139px}.conversation[data-work=reach] .team-ready{top:172px}}

/* The Oli agent as the app draws it (keeper.js): a canvas twice its sphere, so the swarm has room. */
.oli-keeper{position:relative;display:block;width:60px;height:60px;pointer-events:none}
.oli-keeper canvas{position:absolute;left:50%;top:50%;width:200%;height:200%;transform:translate(-50%,-50%)}
@media(max-width:760px),(orientation:portrait) and (max-width:1000px),(orientation:landscape) and (min-width:761px) and (max-width:1000px) and (max-height:500px){.conversation-orb .oli-keeper{width:56px;height:56px}}

/* Oli leaves the conversation to do the work, then comes back to report. */
.agent-layer{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:visible}
.agent{position:absolute;left:0;top:0;width:60px;height:60px;opacity:0;will-change:transform}
.agent .oli-keeper{width:100%;height:100%}
.agent-dot{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:#5f9f99;opacity:0;will-change:transform,opacity}
.agent-dot.spark{left:-4px;top:-4px;width:8px;height:8px;background:var(--accent)}
.conversation.agent-out .conversation-orb{opacity:0;pointer-events:none}
@media(max-width:760px),(orientation:portrait) and (max-width:1000px),(orientation:landscape) and (min-width:761px) and (max-width:1000px) and (max-height:500px){.agent{width:56px;height:56px}}
@media(prefers-reduced-motion:reduce){.agent-layer{display:none}}


/* Golden hour behind the last scene's "Let's talk": the button is the moon, the evening light its corona.
   A thin halo that hugs the pill, about 12px of reach, amber on one side and honey on the other, no red.
   Each side is one soft shadow on its own layer, painted once; the drift is two small transform animations
   on the compositor, running only while the scene is on screen. No filter. */
#evening .primary{position:relative}
#evening .primary::before,#evening .primary::after{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:.8;transition:opacity .6s var(--ease),transform .6s var(--ease);will-change:transform;animation:evening-drift 9s ease-in-out infinite alternate paused}
#evening .primary::before{box-shadow:-5px 1px 12px rgba(232,134,22,.62),0 0 4px rgba(238,156,36,.45)}
#evening .primary::after{box-shadow:5px 2px 13px rgba(244,176,48,.6);animation-direction:alternate-reverse}
#evening .scene-layer.present .primary::before,#evening .scene-layer.present .primary::after{animation-play-state:running}
#evening .primary:hover::before,#evening .primary:hover::after,#evening .primary:focus-visible::before,#evening .primary:focus-visible::after{opacity:1;transform:scale(1.03)}
@keyframes evening-drift{from{translate:-3px 0}to{translate:3px 0}}
@media(prefers-reduced-motion:reduce){#evening .primary::before,#evening .primary::after{animation:none}}
@media(forced-colors:active){#evening .primary::before,#evening .primary::after{display:none}}

/* Phones (2026-11-19): every story clears the home indicator and the notch, text reads at body size, every
   control is a full 44px target, and words never sit straight on a busy part of a painting. */
@media(max-width:760px),(orientation:portrait) and (max-width:1000px){
 .brand{min-height:44px}.menu-toggle{width:44px;height:44px}
 .chapter-list{top:calc(70px + env(safe-area-inset-top));width:200px;padding:8px}.chapter-list a{padding:12px 14px;font-size:16px}
 .conversation,.conversation[data-story]{bottom:max(24px,calc(env(safe-area-inset-bottom) + 10px))}
 .scribe-point{bottom:max(40px,calc(env(safe-area-inset-bottom) + 12px))}
 .primary{font-size:15px;padding:13px 22px}
 /* On a phone the links leave the painting's busiest part and sit at the foot of the screen, on glass. */
 #evening .quiet-links{position:fixed;left:16px;right:16px;bottom:max(16px,calc(env(safe-area-inset-bottom) + 6px));display:grid;grid-template-columns:1fr 1fr;gap:0 16px;padding:4px 16px;font-size:15px;border-radius:var(--radius);background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);box-shadow:var(--pane-shadow);text-shadow:none}
}
@media(max-width:760px),(orientation:portrait) and (max-width:1000px),(orientation:landscape) and (min-width:761px) and (max-width:1000px) and (max-height:500px){
 .quiet-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
 .conversation-close,.conversation[data-story=scribe] .conversation-close{width:44px;height:44px;left:6px}
 .text-bubble,.conversation[data-story=chief] .text-bubble{font-size:15px;line-height:1.4;padding:11px 15px}
 /* The campaign's count gets its own glass beside the page instead of floating on the painting. */
 .conversation[data-work=reach] .campaign-page{width:calc(62% - 8px);height:106px}.conversation[data-work=reach] .phone-ready{top:120px}.conversation[data-work=reach] .team-ready{top:153px}.conversation[data-work=reach] .campaign-page h3{font-size:19px}
 .campaign-reach{top:0;width:38%;height:106px;display:flex;flex-direction:column;justify-content:center;padding:12px 14px;border-radius:var(--radius);background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);box-shadow:var(--pane-shadow);text-shadow:none}
 .campaign-reach strong{font-size:40px}.campaign-reach span{font-size:13px;margin-top:4px}
 .campaign-ready{font-size:13px}
 .coverage-object>span{font-size:13px}.referral-object{width:fit-content;max-width:100%;font-size:13px}
 .care-reminder{width:max-content;max-width:100%;margin-top:12px;padding:8px 12px;font-size:14px;border-radius:var(--radius);background:rgba(250,253,254,.85);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 0 0 1px var(--hairline)}
 /* What Oli hears is on glass, so the patient's words never cross the painting. */
 .scribe-listening{padding:10px 14px}
 .scribe-quote{font-size:14px;text-shadow:none}
 .note-line{font-size:14px}.conversation[data-phase=followthrough] .note-line.shown{font-size:13px}
 .scribe-tasks li{font-size:13px}.scribe-tasks small{font-size:12px}.scribe-nudge>p{font-size:14px}
 .scribe-answers button{position:relative;font-size:13px;padding:9px 14px}.scribe-answers button::after{content:'';position:absolute;inset:-4px 0}
}
@media(max-width:360px){.scribe-nudge{padding:10px}.scribe-answers{gap:6px}.scribe-answers button{padding:9px 10px;white-space:nowrap}.conversation[data-work=reach] .campaign-page h3{font-size:17px}.campaign-reach strong{font-size:34px}.text-bubble,.conversation[data-story=chief] .text-bubble{font-size:14px}}

/* Phones on their side: the headline in the corner, the story beneath it, both clear of the notch, on the
   side of the painting its people leave empty. */
@media(orientation:landscape) and (min-width:761px) and (max-width:1000px) and (max-height:500px){
 .header{top:12px;left:max(24px,calc(env(safe-area-inset-left) + 8px));right:max(20px,calc(env(safe-area-inset-right) + 8px))}
 .brand{min-height:44px}
 .chapter-list{top:62px;right:max(20px,calc(env(safe-area-inset-right) + 8px));width:300px;padding:8px;display:grid;grid-template-columns:1fr 1fr;gap:0 4px}.chapter-list a{display:flex;align-items:center;min-height:44px;padding:0 12px;font-size:15px}
 .copy,#patients .copy,#visit .copy{left:max(5vw,calc(env(safe-area-inset-left) + 12px));right:auto;top:62px;width:40vw;gap:12px}
 #home .copy{left:auto;right:max(5vw,calc(env(safe-area-inset-right) + 12px));top:62px;width:40vw}
 #visit .copy{left:37%;width:36vw}
 h2,#patients h2,#visit h2{font-size:30px}#visit h2{font-size:26px}.lead{font-size:15px}
 #welcome .copy{left:max(5vw,calc(env(safe-area-inset-left) + 12px))}
 #evening .copy{gap:12px;width:60vw}.quiet-links a{white-space:nowrap}.primary{font-size:15px;padding:12px 22px}.quiet-links{font-size:15px;gap:20px}
 .object,.payments-object{left:max(5vw,calc(env(safe-area-inset-left) + 12px))}.home-object{right:max(5vw,calc(env(safe-area-inset-right) + 12px))}
 .conversation,.conversation[data-story]{top:auto;left:max(5vw,calc(env(safe-area-inset-left) + 12px));right:auto;bottom:max(12px,calc(env(safe-area-inset-bottom) + 4px));width:min(560px,66vw);height:calc(100vh - 140px - max(12px,calc(env(safe-area-inset-bottom) + 4px)));height:calc(100svh - 140px - max(12px,calc(env(safe-area-inset-bottom) + 4px)))}
 .conversation[data-story=home]{left:auto;right:max(5vw,calc(env(safe-area-inset-right) + 12px))}
 .message-thread,.conversation[data-story=home] .message-thread{left:68px;right:auto;width:232px}.text-bubble,.conversation[data-story=chief] .text-bubble{font-size:14px}
 .conversation-result,.conversation[data-story=home] .conversation-result,.conversation[data-story=chief] .conversation-result{left:314px;right:0;top:0}
 .conversation[data-stage='2'] .conversation-result,.conversation[data-stage='3'] .conversation-result{opacity:1!important;transform:none}
 .campaign-work{min-height:0}.campaign-page h3{font-size:22px}
 .coverage-object{width:100%}
 .conversation[data-story=home] .conversation-result{top:0}
 .conversation[data-reduced=true] .conversation-result,.conversation[data-reduced=true][data-story] .conversation-result{inset:auto}
 .conversation[data-story=finance] .conversation-result{height:164px}
 /* The scribe: the note on the left, what Oli hears and then the follow-through on the right. */
 .conversation[data-story=scribe]{width:min(720px,88vw);height:calc(100vh - 128px - max(12px,calc(env(safe-area-inset-bottom) + 4px)));height:calc(100svh - 128px - max(12px,calc(env(safe-area-inset-bottom) + 4px)))}
 .scribe-note,.conversation[data-phase=followthrough] .scribe-note{left:68px;right:auto;top:0;width:300px}
 .scribe-listening,.scribe-tasks{left:384px;right:0;top:0;width:auto}
 .scribe-nudge{left:384px;right:0;top:120px;width:auto}
 /* Reduced motion: the whole conversation scrolls between the headline and the foot of the screen. */
 .conversation[data-reduced=true],.conversation[data-reduced=true][data-story=scribe]{top:140px;height:auto;max-height:none}.conversation[data-reduced=true][data-story=scribe]{top:132px}
 .conversation[data-reduced=true] .conversation-orb,.conversation[data-reduced=true][data-story=scribe] .conversation-orb{left:max(18px,calc(env(safe-area-inset-left) + 8px))}
 .conversation[data-reduced=true] .conversation-close,.conversation[data-reduced=true][data-story=scribe] .conversation-close{left:max(24px,calc(env(safe-area-inset-left) + 14px))}
}

/* The way to start is on every screen, beside the menu, as it is on every other olimed.ai page. The last
   scene carries its own, so the header's steps aside there. */
.header-actions{display:flex;align-items:center;gap:10px}
.header-cta{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:var(--radius);background:var(--ink);color:#fff;font-size:15px;font-weight:600;pointer-events:auto;transition:background-color .16s ease,opacity var(--t-text),visibility var(--t-text)}
.header-cta:hover{background:#24566a}
[data-scene=evening] .header-cta{opacity:0;visibility:hidden}
/* The last painting's leaves and window frame run behind the copy's left edge; a paper halo keeps it AA. */
#evening .lead,#evening .quiet-links{text-shadow:0 0 6px #fbf3ea,0 0 2px #fbf3ea}
[data-scene=evening] .brand span{text-shadow:0 0 10px #f3ecf0,0 0 3px #f3ecf0}
@media(max-width:360px){.header-cta{padding:0 12px;font-size:14px}}

/* on a phone the waiting room's people stand low: its result sits on the open wall above them, the latest message below */
@media(max-width:760px){.conversation[data-story=patients] .conversation-result{top:calc(-1 * clamp(0px,100svh - 520px,240px))}.conversation[data-story=patients] .coverage-object svg{display:none}}
/* The day stays full (calendar story): today's slots, with the night's callers booked and both cancellations filled
   from the waitlist; on a phone the four slots that carry the story. On a tall wide screen the morning painting's
   people walk in from the middle, so the story keeps to the calm trees: the day under the messages, as the arrival
   does. A window under 781px tall has no room for both, so there the day sits beside the messages. */
.day-card{width:100%;max-width:310px;padding:16px 18px 14px;border-radius:var(--radius);background:var(--pane);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);box-shadow:var(--pane-shadow)}
.day-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 10px}
.day-head strong{font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.2}
.day-head span{font-size:13px;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}
.day-slots{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.day-slots li{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:8px;font-size:13px;font-weight:500;line-height:1.3}
.day-slots time{color:var(--ink-3);font-variant-numeric:tabular-nums}
.day-slots li>span{position:relative;display:flex;align-items:center;min-height:28px;padding:4px 30px 4px 10px;border-radius:var(--radius);background:var(--accent-soft);color:var(--ink)}
.day-slots li>span>svg:not(.confirmation-check){position:absolute;right:9px;top:calc(50% - 7px);width:14px;height:14px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.day-slots .refill>span{background:transparent;box-shadow:inset 0 0 0 1px rgba(22,55,71,.3);transition:background-color var(--t-text) ease .9s,box-shadow var(--t-text) ease .9s}
.day-slots .refill s{color:var(--ink-3);transition:opacity var(--t-out) ease .9s}
.day-slots .refill b{position:absolute;left:10px;font-weight:600;opacity:0;transition:opacity var(--t-text) ease .9s}
.day-slots .refill .confirmation-check{top:calc(50% - 7.5px);transition-delay:1.1s}
.conversation:is([data-stage='2'],[data-stage='3'],[data-stage='4']) .refill>span{background:var(--accent-soft);box-shadow:none}
.conversation:is([data-stage='2'],[data-stage='3'],[data-stage='4']) .refill s{opacity:0}
.conversation:is([data-stage='2'],[data-stage='3'],[data-stage='4']) .refill b{opacity:1}
.day-moved{position:relative;display:flex;align-items:center;gap:8px;margin:12px 0 0;padding-right:24px;font-size:13px;font-weight:500;opacity:0;transform:translateY(8px);transition:opacity var(--t-text),transform var(--t-move) var(--ease)}
.day-moved>svg:first-child{width:18px;flex:none;fill:none;stroke:var(--ink-2);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.day-moved .confirmation-check{right:0;top:calc(50% - 7.5px)}
.conversation[data-stage='4'] .day-moved{opacity:1;transform:none}
.conversation[data-story=calendar]:not([data-stage='4']) .day-moved .confirmation-check{stroke-dashoffset:23}
/* Narrower and short laptop windows keep the side-by-side story, with the day wide enough to read. */
@media(min-width:761px) and (max-width:1250px) and (min-height:501px) and (orientation:landscape){.conversation[data-story=calendar] .conversation-result{right:auto;width:270px}}
@media(min-width:1001px) and (min-height:781px){#morning .copy{width:34vw;top:100px}
#morning h2{font-size:clamp(32px,3vw,48px)}
.conversation[data-story=calendar]{top:max(236px,25vh);width:440px}
.conversation[data-story=calendar] .conversation-result{left:78px;right:auto;width:330px;top:296px}}
@media(min-width:1001px) and (max-height:860px){.day-slots li:is(:first-child,:nth-child(4)){display:none}}
@media(max-width:760px),(orientation:portrait) and (max-width:1000px),(orientation:landscape) and (min-width:761px) and (max-width:1000px) and (max-height:500px){
 .day-card{padding:12px 14px;max-width:none}
.day-head{margin-bottom:8px}
.day-head strong{font-size:17px}
.day-head span{font-size:12px}
.day-slots{gap:4px}
.day-slots li{font-size:12px;grid-template-columns:38px 1fr}
.day-slots li>span{min-height:26px}
.day-slots li:is(:first-child,:nth-child(4)),.day-moved{display:none}}
/* The payments card on a wide screen: each figure under its label, so "Paid as a scope" never wraps beside $150. */
@media(min-width:1001px),(min-width:761px) and (orientation:landscape) and (min-height:501px){.conversation[data-story=finance] .money-row{display:block;padding-bottom:10px;margin-bottom:16px}
.conversation[data-story=finance] .money-row>span{display:block;font-size:13px}
.conversation[data-story=finance] .money-row strong{display:block;font-size:30px;line-height:1.1;margin-top:4px}}

