/* PracticeWell × Teddy Chat × Buyology: the member-benefit page (Buyology email campaign, 2026-10), v3 "simple ask".
   One idea: the promise and the two actions first (Book a demo, Let's talk), the living practice beside them playing
   one service at a time; then a clinic's own words and the real product, the services as plain cards, the member
   benefits beside a three-field setup form, and questions. Nothing to pick anywhere.
   Look: white and soft clinical blue, one sans (Inter), hairlines, Teddy's light palette; the fun lives
   in Teddy, the living practice and small moments. Real marks only (practicewell-logo.svg, buyology-*.svg, the Teddy
   Chat bear = /logo.webp resized).
   Text pairs measured (WCAG AA): #0f172a on #fff 17.9 · #475569 on #fff 7.6 / on #f5f5f7 7.0 / on #eff6ff 7.0 ·
   #64748b on #fff 4.8 · #2563eb on #fff 5.2 / on #f5f5f7 4.8 / on #eff6ff 4.8 · #fff on #2563eb 5.2 / on #1d4ed8 6.7 ·
   #3f7d0a on #fff 5.1 · #0f766e 5.5 · #b45309 5.0 · #be185d 6.0 · #7e22ce 7.0 · #15803d 5.0 (all on #fff) ·
   input border #7c8798 on #fff 3.6 */

/* metric-matched fallbacks: the page lays out the same before and after Inter arrives (no layout shift). Measured
   against Inter's own widths: body text (400–549), semibold labels (550–649), and the headlines (650+, Inter's display
   optical size, which runs narrower) */
@font-face{font-family:'Inter Fallback';font-weight:100 549;src:local('Arial'),local('ArialMT'),local('Helvetica');size-adjust:104.2%;ascent-override:92.97%;descent-override:23.15%;line-gap-override:0%}
@font-face{font-family:'Inter Fallback';font-weight:550 649;src:local('Arial'),local('ArialMT'),local('Helvetica');size-adjust:107.12%;ascent-override:90.44%;descent-override:22.52%;line-gap-override:0%}
@font-face{font-family:'Inter Fallback';font-weight:650 900;src:local('Arial Bold'),local('Arial-BoldMT'),local('Helvetica Bold');size-adjust:95.8%;ascent-override:101.1%;descent-override:25.2%;line-gap-override:0%}

:root{
  --white:#fff; --band:#f5f5f7; --field:#eff6ff;
  --b50:#eff6ff; --b100:#dbeafe; --b200:#bfdbfe; --b300:#93c5fd; --b600:#2563eb; --b700:#1d4ed8;
  --ink:#0f172a; --ink-2:#475569; --ink-3:#64748b; --line:#e2e8f0; --line-2:#cbd5e1; --field-line:#7c8798;
  --sun:#facc15; --buy-green:#3f7d0a; --ok:#15803d;
  --f-body:'Inter','Inter Fallback',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-brand:'Fredoka','Inter',system-ui,sans-serif;
  /* the living scenes read these two */
  --font-display:'Nunito','Inter',sans-serif; --font-body:'Inter','Inter Fallback',sans-serif;
  --radius:24px; --wrap:1240px; --gut:40px; --head-min:68px; --hdr-h:69px;
  --ease:cubic-bezier(.2,.8,.2,1); --spring:cubic-bezier(.34,1.56,.64,1);
}
@media (max-width:1279px){:root{--gut:32px}}
@media (max-width:1023px){:root{--gut:28px}}
@media (max-width:759px){:root{--gut:16px;--head-min:60px;--hdr-h:61px}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--hdr-h) + 16px);background:var(--white)}
main{container:page / inline-size}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--f-body);font-optical-sizing:auto;font-size:1.125rem;line-height:1.55;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overflow-x:clip}
img,svg{max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:0}
h1,h2,h3{font-family:var(--f-body);font-weight:650;letter-spacing:-.028em;margin:0;text-wrap:balance}
p{margin:0}
.wrap{width:100%;max-width:calc(var(--wrap) + var(--gut) * 2);margin:0 auto;padding:0 var(--gut)}
.nw{white-space:nowrap}
.sr-only{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-80px;z-index:200;background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px;font-weight:600;text-decoration:none}
.skip:focus{top:12px}
:focus-visible{outline:3px solid var(--b600);outline-offset:3px}
.ico{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:block}
.eyebrow{font:600 .9375rem/1.2 var(--f-body);letter-spacing:0;color:var(--b600)}

/* ---------- buttons: the CTA ladder (solid, calm) ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 24px;border-radius:999px;font:600 1.0625rem/1.15 var(--f-body);letter-spacing:-.01em;text-decoration:none;text-align:center;cursor:pointer;border:0;white-space:nowrap;transition:transform .25s var(--ease),background-color .2s ease,box-shadow .2s ease,color .2s ease}
.btn .arr{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--ease)}
.btn-primary{color:#fff;background:var(--b600)}
.btn-primary:hover{background:var(--b700)}
.btn-ghost{color:var(--ink);background:#fff;box-shadow:inset 0 0 0 1px var(--line-2)}
.btn-ghost:hover{box-shadow:inset 0 0 0 1px #94a3b8;background:#f8fafc}
@media (hover:hover){.btn:hover .arr{transform:translateX(3px)}}
.btn:active{transform:scale(.98)}
.btn-sm{min-height:44px;padding:0 18px;font-size:.9375rem}
/* the reassurances: one quiet row of checks under the buttons */
.pills{display:flex;flex-wrap:wrap;gap:6px 20px;list-style:none;margin:0;padding:0}
.pills li{display:flex;align-items:center;gap:7px;font-size:.9375rem;font-weight:500;color:var(--ink-2);line-height:1.3}
.pills svg{width:18px;height:18px;flex:none;border-radius:50%;padding:3.5px;background:#dcfce7;stroke:var(--ok);fill:none;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
/* inline links keep their line, but get a 44px tall hit area */
:is(.plan-alt,.faq-more,.dlg-foot,.a11y-statement,.banner) a{padding-block:13px}
.fine .linkbtn{padding-block:13px;margin-block:-13px}
/* the tall hit area stays; the focus ring hugs the word, clear of the line above */
:is(.fine,.banner) .linkbtn:focus-visible{outline-offset:-10px;border-radius:6px}

/* ---------- header: the triple lockup, real colour marks on white ---------- */
.site-head{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.head-in{min-height:var(--head-min);display:flex;align-items:center;justify-content:space-between;gap:10px 16px;padding-top:6px;padding-bottom:6px}
.lockup{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-height:44px;text-decoration:none;border-radius:10px;min-width:0}
.lk-grp{display:inline-flex;align-items:center;gap:12px;white-space:nowrap}
.lk-pw{height:24px;width:auto;display:block}
.lk-x{color:var(--ink-3);font-size:1rem;line-height:1}
.lk-teddy{display:inline-flex;align-items:center;gap:8px}
.lk-mark{width:30px;height:30px;display:block}
.lk-tname{font-family:var(--f-brand);font-weight:500;font-size:1.125rem;letter-spacing:-.01em;line-height:1;color:var(--ink);white-space:nowrap}
.lk-div{width:1px;height:26px;background:var(--line-2);display:block}
.lk-buy{display:inline-flex;align-items:center;gap:8px}
.lk-pb{font-size:.9375rem;font-weight:500;color:var(--ink-2);white-space:nowrap}
.lk-buy-logo{height:22px;width:auto;display:block}
.lk-buy-mark{width:22px;height:22px;display:none}
/* a separator never opens a row: page.js marks a group that wraps to a new row (.lk-nl hides its × or bar) and pins
   that break (.lk-brk), so dropping the separator can never pull the group back up beside its neighbour */
.lk-grp.lk-nl > :is(.lk-x,.lk-div){display:none}
.lk-grp.lk-brk{flex-basis:100%}
@media (max-width:899px) and (min-width:760px){.lk-buy-logo{display:none}.lk-buy-mark{display:block}}
@media (max-width:759px){
  .head-cta{display:none}
  .lockup{gap:6px 8px}
  .lk-grp{gap:8px}
  .lk-pw{height:18px}
  .lk-mark{width:24px;height:24px}
  .lk-teddy{gap:6px}
  .lk-tname{font-size:.9375rem}
  .lk-div{height:22px}
  .lk-pb,.lk-buy-logo{display:none}
  .lk-buy-mark{display:block}
}
@media (max-width:359px){.lk-pw{height:15px}.lk-mark{width:22px;height:22px}}

/* ---------- hero ---------- */
.hero{position:relative;isolation:isolate;overflow:clip;background:#fff;padding:clamp(20px,3vh,40px) 0 clamp(32px,4.4vh,56px)}
.cobrand{font-size:1rem;line-height:1.5;font-weight:500;color:var(--ink-2)}
.cobrand strong{font-weight:600;color:var(--ink)}
.buy{white-space:nowrap}
.buy img{width:20px;height:20px;display:inline-block;vertical-align:-4px;margin:0 5px 0 3px}
.buy-name{color:var(--buy-green);font-weight:700}
.hero h1{margin-top:16px;font-size:clamp(2.4rem,1rem + 2.9vw,3.625rem);line-height:1.02;font-weight:650;letter-spacing:-.034em;color:var(--ink)}
.hero h1 .l1{display:block}
.hero h1 em{display:block;font-style:normal;color:var(--b600)}
.hero .lead{margin-top:18px;font-size:clamp(1.0625rem,1rem + .3vw,1.25rem);line-height:1.5;color:var(--ink-2);max-width:31em;text-wrap:pretty;letter-spacing:-.006em}
.hero-act{display:grid;gap:16px;justify-items:start}
.unsure{font-size:1.0625rem;line-height:1.5;color:var(--ink-2);max-width:31em;text-wrap:pretty}
.cta-row{display:flex;flex-wrap:wrap;gap:12px}
/* the buttons hold their width while the web fonts arrive (no shift) */
.head-cta{min-width:132px}
.hero-act .btn-primary{min-width:178px}
.hero-act .btn-ghost{min-width:136px}

/* the living practice: a window onto the practice on Teddy's blue-50 field */
.hero-stage{position:relative;min-width:0}
.hero .clinic-live{margin:0}
.hero .clinic-live .cl-stage{border-radius:28px;background:var(--field);box-shadow:inset 0 0 0 1px var(--b100)}
/* the practice stays in daylight (page.js eases it back to the morning before dusk); should the engine ever dim, the
   ground under it is a light evening blue, never a dark block */
.hero .clinic-live .cl-stage::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:var(--dark,0);transition:opacity .6s linear;background:#9db5d9}
/* the morning comes back: a soft cross-fade to Teddy's blue field and in again (page.js) */
.hero .clinic-live :is(.cl-svg,.pw-pins,.pw-fx){transition:opacity .55s ease}
.hero .clinic-live.pw-dawn :is(.cl-svg,.pw-pins,.pw-fx){opacity:0}
.hero .clinic-live .cl-stage::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;box-shadow:inset 0 0 0 1px rgba(37,99,235,.10)}
.hero .clinic-live .cl-svg{position:relative;z-index:1}
.hero .clinic-live .cl-ov-clock{left:14px;right:70px;top:14px;justify-content:flex-start}
.hero .cl-chip{font-family:var(--f-body);font-size:.9375rem;font-weight:500;color:#334155;padding:7px 13px;border-color:var(--line);box-shadow:0 1px 2px rgba(15,23,42,.06)}
.hero .clinic-live.night .cl-chip{color:#1e293b}
.hero .clinic-live > .cl-pause{top:12px;right:12px;width:44px;height:44px;border-color:var(--line);color:#334155;box-shadow:0 1px 2px rgba(15,23,42,.06)}
.hero .clinic-live > .cl-pause svg{width:14px;height:14px}
.hero .clinic-live > .cl-pause::before{inset:0}
.hero .clinic-live > .cl-pause:focus-visible{outline:3px solid var(--b600);outline-offset:3px}

/* the waiting-room screen (patient education) fades off and on with its guide */
.pw-edu-on,.pw-edu-glow{transition:opacity .9s ease}
.pw-edu-scr{transition:fill .9s ease}

/* one pin at a time: the service the tour is playing, with its word from teddychat.com */
.pw-pins,.pw-fx{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden;border-radius:28px}
.pwpin{position:absolute;left:0;top:0;width:0;height:0;opacity:0;transition:opacity .14s ease}
.pwpin.show{opacity:1;z-index:2;transition:opacity .45s ease .16s}
.pwpin-dot{position:absolute;left:-16px;top:-42px;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--ic);color:#fff;border:2px solid #fff;box-shadow:0 8px 16px -8px rgba(15,23,42,.45);transform:scale(.6);transform-origin:50% 130%;transition:transform .55s var(--spring)}
.pwpin.show .pwpin-dot{transform:scale(1)}
.pwpin-dot::before{content:"";position:absolute;left:50%;bottom:-7px;width:10px;height:10px;margin-left:-5px;background:inherit;border-right:2px solid #fff;border-bottom:2px solid #fff;border-bottom-right-radius:2px;transform:rotate(45deg);z-index:-1}
.pwpin-dot .ico{width:16px;height:16px;stroke-width:2.3}
.pwpin-dot::after{content:"";position:absolute;inset:-5px;border-radius:13px;border:2px solid var(--ic);opacity:0}
.pwpin.ping .pwpin-dot::after{animation:pinPing 1.6s ease-out 2}
@keyframes pinPing{0%{transform:scale(1);opacity:.8}100%{transform:scale(2);opacity:0}}
/* one line while it fits; a chip wider than the stage (Largest text on a phone) wraps inside it (page.js sets
   --pin-max to the stage width less 16px, then measures and places the chip) */
.pwpin-chip{position:absolute;top:0;left:0;display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:var(--pin-max,none);text-wrap:balance;padding:6px 12px 6px 9px;border-radius:999px;background:#fff;color:var(--fg);font:600 .9375rem/1.2 var(--f-body);box-shadow:0 0 0 1px rgba(15,23,42,.06),0 10px 22px -12px rgba(15,23,42,.4);transform:translate(-50%,-90px)}
.pwpin-chip::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ic);flex:none}
.pwpin-w{min-width:0}
.pwpin-chip.is-wrap{border-radius:16px}

/* page-side moments where the engine has no module of its own (drawn in the house line style) */
.fx{position:absolute;left:0;top:0;opacity:0;transform:translate(var(--x,0),var(--y,0));transition:opacity .14s ease}
.fx.on{opacity:1;transition:opacity .45s ease .16s}
.fx-card{position:absolute;left:0;top:0;display:grid;gap:6px;width:132px;padding:8px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px rgba(15,23,42,.07),0 14px 26px -14px rgba(15,23,42,.45);transform:translate(-50%,-100%) scale(.92);transform-origin:50% 100%;transition:transform .6s var(--spring)}
.fx.on .fx-card{transform:translate(-50%,-100%) scale(1)}
/* the website's page opens beside the sign (its left foot at the anchor), clear of the pin's word */
.fx-website .fx-card{transform:translate(0,-100%) scale(.92);transform-origin:0 100%}
.fx-website.on .fx-card{transform:translate(0,-100%) scale(1)}
.fx-bar{display:flex;gap:3px;align-items:center;height:8px;padding-left:2px}
.fx-bar i{width:5px;height:5px;border-radius:50%;background:#cbd5e1}
.fx-hero{height:30px;border-radius:6px;background:var(--b100);position:relative;overflow:hidden}
.fx-hero::after{content:"";position:absolute;left:8px;top:9px;width:56%;height:5px;border-radius:3px;background:var(--b600);transform-origin:left;transform:scaleX(var(--w1,1));transition:transform 1.1s var(--ease)}
.fx-hero::before{content:"";position:absolute;left:8px;top:18px;width:38%;height:4px;border-radius:2px;background:var(--b300)}
.fx-line{height:4px;border-radius:2px;background:#e2e8f0}
.fx-line.s{width:70%}
.fx-new{position:relative;height:16px;border-radius:5px;background:#f3e8ff;overflow:hidden;transform-origin:left;transform:scaleX(var(--w2,0));transition:transform 1s var(--ease)}
.fx-new::after{content:"";position:absolute;left:6px;top:6px;width:60%;height:4px;border-radius:2px;background:#a855f7}

/* service colours (Teddy's light palette): --bg the pastel square, --ic the icon/accent, --fg text-safe on white (4.8 to 6.5) */
[data-p="website"]{--bg:#f3e8ff;--ic:#7e22ce;--fg:#7e22ce;--tint:#faf5ff}
[data-p="chat"]{--bg:#dbeafe;--ic:#2563eb;--fg:#1d4ed8;--tint:#eff6ff}
[data-p="phone"]{--bg:#dcfce7;--ic:#15803d;--fg:#15803d;--tint:#f0fdf4}
[data-p="texting"]{--bg:#ccfbf1;--ic:#0d9488;--fg:#0f766e;--tint:#f0fdfa}
[data-p="forms"]{--bg:#fef3c7;--ic:#b45309;--fg:#b45309;--tint:#fffbeb}
[data-p="education"]{--bg:#fce7f3;--ic:#be185d;--fg:#be185d;--tint:#fdf2f8}

/* ---------- the member card: crisp and light, the real colour marks ---------- */
.mcard-scene{position:relative;z-index:4;width:clamp(300px,23vw,340px);perspective:1100px;pointer-events:none}
/* a card's proportions (1.586) at rest, held by a prop in the face's own grid cell (::after); the face is in flow, so
   if its words ever need more room (Largest text on a narrow phone, a long practice name) the card grows taller
   instead of the type shrinking or clipping */
.mcard{--rx:0deg;--ry:0deg;--mx:30%;--my:20%;position:relative;display:grid;border-radius:clamp(16px,1.5vw,20px);transform-style:preserve-3d;
  transform:rotateX(var(--rx)) rotateY(var(--ry));transition:transform .8s var(--ease);animation:mcIn 1.1s var(--ease) .2s both;pointer-events:auto}
.mcard::after{content:"";grid-area:1/1;padding-top:63.05%;pointer-events:none}
.mcard::before{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 28px 50px -26px rgba(15,23,42,.38),0 4px 12px -4px rgba(15,23,42,.08);pointer-events:none}
.mcard-face{position:relative;grid-area:1/1;border-radius:inherit;overflow:hidden;container-type:inline-size;padding:6.4% 7% 0;display:grid;grid-template-rows:auto 1fr auto auto;background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
.mc-top{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:3cqw}
.mc-pw{height:8cqw;width:auto;display:block}
/* type floors on the card: labels 14px, the practice's name 15px (it grows with the card, never below) */
.mc-label{font:600 max(14px,4.6cqw)/1.1 var(--f-body);letter-spacing:.08em;text-transform:uppercase;color:var(--b600);text-align:right}
.mc-mid{position:relative;display:flex;align-items:center;gap:3.6cqw;align-self:center;padding:2% 0}
/* the real Teddy Chat badge on a Teddy-blue chip, so the bear reads on the white card */
.mc-chip{flex:none;width:15.5cqw;aspect-ratio:1;border-radius:4.2cqw;display:grid;place-items:center;background:var(--b600);box-shadow:0 6px 14px -8px rgba(37,99,235,.6)}
.mc-chip img{width:84%;height:84%;display:block}
.mc-brand{display:flex;flex-direction:column;gap:max(3px,1.1cqw);min-width:0}
.mc-name{font-family:var(--f-brand);font-weight:500;font-size:8.6cqw;letter-spacing:-.01em;line-height:1;color:var(--ink)}
.mc-pow{display:inline-flex;align-items:center;gap:max(5px,1.6cqw);font-size:max(14px,4.5cqw);line-height:1.2;font-weight:500;color:var(--ink-2);white-space:nowrap}
.mc-pow img{height:max(15px,5.2cqw);width:auto;display:block}
.mc-icons{position:relative;display:flex;gap:1.8cqw;margin:0 0 4.2cqw}
.mc-icons i{display:grid;place-items:center;width:9.2cqw;height:9.2cqw;border-radius:2.6cqw;background:#f1f5f9;transition:background-color .4s ease}
.mc-icons svg{width:5.8cqw;height:5.8cqw;fill:none;stroke:#94a3b8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:stroke .4s ease}
.mc-icons i.on{background:var(--bg)}
.mc-icons i.on svg{stroke:var(--ic)}
.mc-icons i.pop{animation:icPop .6s var(--spring)}
@keyframes icPop{0%{transform:scale(1)}35%{transform:scale(1.14) rotate(-6deg)}100%{transform:none}}
/* the practice's own name: a full row, in their own case, up to two lines (60 characters), never cut */
/* a quiet Teddy-blue foot under the practice's name, edge to edge */
.mc-bot{position:relative;min-width:0;margin:0 -7cqw;padding:3.4cqw 7cqw 4.6cqw;background:var(--b50);border-top:1px solid var(--b100)}
.mc-holder{display:block;font:650 max(15px,5.4cqw)/1.2 var(--f-body);letter-spacing:-.01em;color:var(--ink);overflow-wrap:anywhere;text-wrap:balance}
.mc-sheen{position:absolute;inset:0;border-radius:inherit;pointer-events:none;overflow:hidden}
.mc-sheen::before{content:"";position:absolute;top:-30%;bottom:-30%;width:40%;left:-60%;background:linear-gradient(100deg,rgba(191,219,254,0) 0%,rgba(191,219,254,.45) 50%,rgba(191,219,254,0) 100%);transform:translateX(0) skewX(-14deg)}
.mcard.sheen .mc-sheen::before{animation:mcSheen 1.3s ease-in-out both}
@keyframes mcIn{from{opacity:0;transform:translateY(24px)}to{opacity:1}}
/* transform only: a moving light is never a layout shift */
@keyframes mcSheen{from{transform:translateX(0) skewX(-14deg)}to{transform:translateX(450%) skewX(-14deg)}}

/* ---------- hero, laptops and up: the words and the two actions on the left (centred against the frame), the practice on
   Teddy's blue field on the right, the member card hanging off its lower-left corner ---------- */
@container page (min-width:1024px){
  /* every size here is fixed up front (none waits on content parsed later), so the hero never shifts as it loads */
  .hero{--hero-pt:clamp(20px,3.4vh,40px);--hero-pb:clamp(24px,4vh,48px);--copy-w:560px;--hero-gap:clamp(40px,3.6vw,64px);
    /* the frame is never taller than about its width (a tall screen gets a calm, near-square window) */
    --frame-w:calc(min(100cqw - var(--gut) * 2, var(--wrap)) - var(--copy-w) - var(--hero-gap));
    --stage-h:max(500px,min(calc(100svh / var(--zf,1) - var(--hdr-h) - var(--hero-pt) - var(--hero-pb)),760px,calc(var(--frame-w) * .9 + 40px)));
    --card-w:264px;--card-out:30px;--card-pad:18px;padding:var(--hero-pt) 0 var(--hero-pb)}
  .hero-grid{display:grid;grid-template-columns:minmax(0,var(--copy-w)) minmax(0,1fr);column-gap:var(--hero-gap);
    grid-template-areas:". stage" "copy stage" "act stage" ". stage";grid-template-rows:1fr auto auto 1.15fr}
  /* both lines of the headline stay whole on laptops ("Your AI front desk," / "working day and night."), with room to
     spare in the column at this size */
  .hero h1{font-size:clamp(2.5rem,1rem + 2.4vw,3.1rem)}
  .stage-track{display:contents}
  .hero-copy{grid-area:copy}
  .hero-act{grid-area:act;margin-top:30px}
  .hero-stage{grid-area:stage;align-self:start;height:var(--stage-h);display:flex;flex-direction:column}
  .hero .clinic-live{flex:1 1 auto;min-height:0}
  .hero .clinic-live .cl-stage{height:100%}
  .mcard-scene{grid-area:stage;align-self:start;justify-self:start;width:var(--card-w);height:var(--stage-h);margin-left:calc(var(--card-out) * -1);display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:var(--card-pad)}
  /* the reassurances: one quiet line under the buttons, its three facts set apart by soft dots */
  .pills{flex-wrap:nowrap;gap:0;white-space:nowrap;margin-top:4px}
  .pills li{gap:0}
  .pills svg{display:none}
  .pills li + li::before{content:"";flex:none;width:4px;height:4px;margin:0 10px;border-radius:50%;background:#94a3b8}
  .pills li:first-child svg{display:block;margin-right:8px}
}
@container page (min-width:1280px){.hero{--copy-w:590px}}
/* a narrower laptop column, or larger text: the facts wrap onto their own lines, each with its check */
@container page (min-width:1024px) and (max-width:1199px){
  .pills{flex-wrap:wrap;white-space:normal;gap:6px 18px}
  .pills li + li::before{display:none}
  .pills svg{display:block;margin-right:7px}
}
html[data-a11y-text] .pills{flex-wrap:wrap;white-space:normal;gap:6px 18px}
html[data-a11y-text] .pills li + li::before{display:none}
html[data-a11y-text] .pills svg{display:block;margin-right:7px}
@container page (min-width:1024px) and (max-width:1199px){
  .hero{--copy-w:470px;--hero-gap:36px;--card-w:248px}
  .hero h1{font-size:2.75rem}
}
/* short laptop screens (1280×650): the words, both buttons and the reassurances stay in the first screen beside the
   practice; the card takes its compact size (its type never shrinks below its floors) */
@media (max-height:760px){@container page (min-width:1024px){
  .hero{--hero-pt:14px;--hero-pb:18px;--card-w:248px;--card-out:28px;--card-pad:14px}
  .hero h1{margin-top:12px;font-size:clamp(2.3rem,6.6vh,2.875rem);line-height:1.03}
  .hero .lead{margin-top:14px;font-size:1.0625rem}
  .hero-act{margin-top:22px;gap:12px}
}}

/* ---------- hero, tablets and phones: the words, the two buttons and the reassurances, then the practice (it scrolls
   with the page) ---------- */
@container page (max-width:1023px){
  .hero-grid{display:flex;flex-direction:column}
  .hero-act{margin-top:24px}
  .stage-track{position:relative;margin-top:28px}
  .hero{--clv-h:clamp(340px,52svh / var(--zf,1),460px)}
  .hero .clinic-live{--clv-h:inherit}
  /* the member card is a laptop delight; on phones it waits for the setup request's success */
  .mcard-scene{display:none}
}
@container page (max-width:759px){
  .hero{padding-top:18px;--clv-h:clamp(270px,82cqw,360px)}
  .cobrand{font-size:.9375rem}
  .cobrand strong{display:block}
  .hero h1{margin-top:10px;font-size:clamp(2.1rem,1.3rem + 3.6vw,2.5rem);line-height:1.04}
  .hero .lead{margin-top:12px;font-size:1.0625rem}
  .hero-act{margin-top:20px;gap:14px}
  .unsure{font-size:1rem}
  .stage-track{margin-top:22px}
  .hero .clinic-live .cl-stage,.pw-pins,.pw-fx{border-radius:22px}
  .hero .clinic-live .cl-ov-clock{left:10px;top:auto;bottom:10px;right:10px}
  .hero .clinic-live > .cl-pause{top:8px;right:8px}
  .hero .cl-chip{font-size:.875rem;padding:5px 11px}
  .cta-row{width:100%}
  .cta-row .btn{flex:1 1 auto}
  .pills{gap:6px 16px}
}

/* ---------- member benefits + the setup request, on the light-grey band ---------- */
.plan{position:relative;padding:clamp(64px,6.4vw,104px) 0;background:var(--band)}
.plan-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:clamp(36px,4.6vw,80px);align-items:start}
.plan-side h2{margin-top:12px;font-size:clamp(2rem,1.2rem + 1.7vw,2.75rem);line-height:1.08;letter-spacing:-.032em;color:var(--ink)}
.plan-side h2 em{font-style:normal;color:var(--b600)}
/* the three member benefits: white rows with a green check */
.perks{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:10px}
.perks li{display:flex;align-items:center;gap:14px;min-height:60px;padding:12px 18px 12px 14px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1px var(--line);font-size:1.125rem;font-weight:600;line-height:1.35;letter-spacing:-.012em;color:var(--ink)}
.perks svg{flex:none;width:30px;height:30px;border-radius:50%;padding:7px;background:#dcfce7;stroke:var(--ok);fill:none;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.terms{display:flex;align-items:center;gap:12px;margin-top:22px;font-size:1.0625rem;line-height:1.5;color:var(--ink-2)}
.terms-ic{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#fff;color:var(--b600);box-shadow:inset 0 0 0 1px var(--line)}
.terms-ic .ico{width:19px;height:19px;stroke-width:2}
/* Teddy Inbox: the command center the services' work lands in (one line, not a product) */
.hub{display:flex;align-items:center;gap:12px;width:fit-content;max-width:100%;margin-top:22px;padding:12px 18px 12px 12px;border-radius:16px;background:var(--b50);font-size:1.0625rem;line-height:1.45;color:var(--ink-2)}
.hub-ic{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#fff;color:var(--b600);box-shadow:inset 0 0 0 1px var(--b100)}
.hub-ic .ico{width:19px;height:19px;stroke-width:2}
.plan-alt{margin-top:18px;font-size:1rem;color:var(--ink-2)}
.plan-alt a{color:var(--b600);font-weight:600;text-decoration:none}
.plan-alt a:hover{text-decoration:underline;text-underline-offset:3px}

.form-card{position:relative;background:#fff;color:var(--ink);border-radius:28px;padding:clamp(24px,3vw,40px);box-shadow:inset 0 0 0 1px var(--line),0 30px 60px -44px rgba(15,23,42,.35)}
.form-card:focus{outline:none}
.form-card h3{font-size:2rem;line-height:1.1;letter-spacing:-.03em;color:var(--ink)}
.fc-lead{color:var(--ink-2);font-size:1.0625rem;margin-top:6px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin-top:22px}
.fields .field--wide{grid-column:1/-1}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field label{font-weight:600;font-size:1rem;color:var(--ink)}
.field label small{font-weight:450;color:var(--ink-2);font-size:.9375rem}
.field input{width:100%;min-height:52px;padding:12px 14px;border-radius:12px;border:1px solid var(--field-line);background:#fff;color:var(--ink);font:450 1.0625rem/1.3 var(--f-body)}
.field input::placeholder{color:var(--ink-3)}
.field input:hover{border-color:var(--ink-2)}
.field input:focus{outline:3px solid rgba(37,99,235,.35);outline-offset:0;border-color:var(--b600)}
.field input:focus-visible{outline:3px solid var(--b600);outline-offset:1px}
.field input[aria-invalid="true"]{border-color:#b42318;background:#fffafa}
.err{display:none;font-size:.9375rem;font-weight:550;color:#b42318}
.err.show{display:block}
.form-actions{margin-top:22px;display:grid;gap:12px}
.btn-send{width:100%;min-height:54px;color:#fff;background:var(--b600);font-size:1.125rem}
.btn-send:hover{background:var(--b700)}
.btn-send:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.btn-send[aria-disabled="true"]{opacity:.75;cursor:progress;transform:none}
html[data-a11y-text] .btn-send{white-space:normal}
.fine{font-size:.9375rem;color:var(--ink-2);line-height:1.5}
.linkbtn{display:inline;color:var(--b600);font-weight:600;text-decoration:underline;text-underline-offset:2px;min-height:24px;padding:2px 0}
.banner{margin-top:14px;padding:12px 14px;border-radius:12px;background:#fef3f2;color:#912018;font-weight:500;font-size:1rem;line-height:1.5;box-shadow:inset 0 0 0 1px #fecdca}
.banner b{font-weight:650}
.banner p + p{margin-top:2px}
.banner .linkbtn{color:#912018;padding-block:13px;margin-block:-13px}
.banner[hidden],.success[hidden],.form-live[hidden]{display:none}
.banner a{color:#912018}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.success:focus,.success h3:focus{outline:none}
.success-mark{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#dcfce7;margin-bottom:18px}
.success-mark svg{width:30px;height:30px;fill:none;stroke:var(--ok);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.success h3{font-size:2rem}
.success p{color:var(--ink-2);margin-top:10px;font-size:1.0625rem}
.success .btn{margin-top:22px;width:auto}

/* ---------- services: plain information cards, nothing to pick ---------- */
.svcs h2,.faq-side h2{font-size:clamp(2rem,1.2rem + 2vw,3rem);line-height:1.06;letter-spacing:-.032em;color:var(--ink)}
.svcs{padding:clamp(72px,7.5vw,120px) 0 clamp(64px,6.4vw,104px);background:#fff}
.svcs-head{max-width:46rem}
.svcs h2 em{font-style:normal;color:var(--b600)}
.svcs-lead{margin-top:16px;font-size:clamp(1.0625rem,1rem + .3vw,1.25rem);line-height:1.5;color:var(--ink-2);max-width:34em;text-wrap:pretty}
.svc-grid{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.svc{padding:24px 24px 26px;border-radius:var(--radius);background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
.svc-ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--bg);color:var(--ic)}
.svc-ic .ico{width:22px;height:22px;stroke-width:2}
.svc h3{margin-top:18px;font-size:1.25rem;line-height:1.25;letter-spacing:-.018em;color:var(--ink)}
.svc-tag{margin-top:2px;font-size:.9375rem;line-height:1.35;color:var(--ink-3)}
.svc-ln{margin-top:10px;font-size:1.0625rem;line-height:1.5;color:var(--ink-2);text-wrap:pretty}

/* ---------- questions ---------- */
.faq-sec{padding:clamp(32px,3vw,48px) 0 clamp(112px,10vw,150px);background:#fff}
.faq-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,5vw,96px);align-items:start;border-top:1px solid var(--line);padding-top:clamp(40px,4vw,64px)}
.faq-more{margin-top:16px;font-size:1rem;color:var(--ink-2);max-width:22em}
.faq-more a{color:var(--b600);font-weight:600;text-decoration:none}
.faq-more a:hover{text-decoration:underline;text-underline-offset:3px}
.faq details{border-top:1px solid var(--line)}
.faq details:first-child{border-top:0}
.faq details:last-of-type{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px;padding:14px 0;font-weight:600;font-size:1.125rem;line-height:1.35;letter-spacing:-.012em;color:var(--ink);border-radius:8px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:28px;height:28px;border-radius:50%;background:var(--b50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;transition:transform .3s var(--ease)}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding:0 0 20px;font-size:1.0625rem;line-height:1.6;color:var(--ink-2);max-width:38em}

/* ---------- footer: daytime, happy ---------- */
.site-foot{position:relative;margin-top:-56px;border-radius:44px 44px 0 0;overflow:hidden;color:var(--ink);
  background:linear-gradient(180deg,#bfe3fb 0%,#d9effc 34%,#eef8fe 62%,#f8fbff 100%)}
.foot-art{--fh:clamp(170px,17vw,230px);position:relative;height:var(--fh);pointer-events:none;container-type:inline-size}
.foot-art svg.hills{position:absolute;left:0;right:0;bottom:0;width:100%;height:62%}
.sun{position:absolute;top:22px;right:clamp(24px,9vw,140px);width:clamp(74px,7vw,100px);aspect-ratio:1}
.sun .rays{transform-origin:50% 50%;animation:sunSpin 90s linear infinite}
/* the cloud's viewBox (0 -8 150 64) holds its whole top puff (the arc peaks at y -6.4); --t is where the drawing's
   y=0 sits, as before, so the drawn size and place are unchanged */
.cloud{position:absolute;height:auto;opacity:.95;width:var(--w);top:calc(var(--t) - var(--w) * 8 / 150)}
.cloud-a{--t:34px;--w:150px;left:-180px;animation:cloud 140s linear -40s infinite}
.cloud-b{--t:84px;--w:96px;left:-180px;opacity:.8;animation:cloud 190s linear -120s infinite}
@keyframes cloud{from{transform:translateX(0)}to{transform:translateX(calc(100vw + 360px))}}
@keyframes sunSpin{to{transform:rotate(360deg)}}
.foot-teddy{position:absolute;bottom:13%;left:63%;width:clamp(64px,6.4vw,92px);aspect-ratio:220/194;pointer-events:auto}
.foot-teddy svg{display:block;width:100%;height:auto}
.site-foot .foot-teddy.tr{position:absolute;display:block}
.foot-house{position:absolute;bottom:16%;left:9%;width:clamp(84px,9vw,124px)}
.foot-bubble{position:absolute;left:15%;bottom:44%;width:38px;height:29px;opacity:0;filter:drop-shadow(0 6px 10px rgba(20,44,68,.2))}
.foot-bubble svg{width:100%;height:100%;display:block}
.foot-bubble.fly{animation:bubble 5.2s cubic-bezier(.45,.05,.4,1) both}
/* the family's question floats from the house to Teddy by transform only (no layout shift) */
@keyframes bubble{0%{opacity:0;transform:translate(0,0) scale(.6)}10%{opacity:1;transform:translate(2.3cqw,calc(var(--fh) * -.038)) scale(1)}50%{transform:translate(23cqw,calc(var(--fh) * -.38))}92%{opacity:1;transform:translate(46cqw,calc(var(--fh) * -.08))}100%{opacity:0;transform:translate(47cqw,calc(var(--fh) * -.04)) scale(.7)}}
.site-foot.is-off :is(.cloud,.sun .rays){animation-play-state:paused}
.foot-main{position:relative;padding-top:8px;padding-bottom:calc(30px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
.foot-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 28px;padding:22px 0;border-top:1px solid var(--line)}
.foot-row:first-child{border-top:0}
.foot-lock{display:inline-flex;align-items:center;flex-wrap:wrap;gap:10px 12px}
.foot-lock .lk-x{color:var(--ink-3)}
.foot-lock .lk-tname{color:var(--ink)}
.foot-lock .lk-div{background:var(--line-2)}
.foot-pow{font-size:.9375rem;font-weight:500;color:var(--ink-2);gap:10px}
.foot-pow img{height:20px;width:auto;display:block}
.foot-cta{display:inline-block;padding:10px 0;min-height:44px;font-weight:600;color:var(--b600);text-decoration:none;font-size:1rem;line-height:1.5}
.foot-cta:hover{text-decoration:underline;text-underline-offset:3px}
.foot-cta svg{width:18px;height:18px;vertical-align:-4px;margin-left:4px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.foot-fine{display:grid;gap:4px;font-size:.875rem;color:var(--ink-2);line-height:1.5;max-width:54em}
.foot-btns{display:flex;flex-wrap:wrap;gap:6px 10px}
.foot-btn{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 14px;border:0;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink);font:550 .9375rem/1 var(--f-body);cursor:pointer}
.foot-btn:hover{box-shadow:inset 0 0 0 1px #94a3b8}
.foot-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- phones: the dock (one "Book a demo", only over the practice picture and the services; page.js) ---------- */
.dock{position:fixed;left:0;right:0;bottom:0;z-index:40;display:none;gap:8px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -1px 0 var(--line),0 -12px 28px -20px rgba(15,23,42,.35);transform:translateY(110%);visibility:hidden;transition:transform .35s var(--ease),visibility 0s linear .35s}
.dock .btn{flex:1 1 0;min-width:0;min-height:50px;padding:0 16px;font-size:1.0625rem}
.dock.show{transform:none;visibility:visible;transition:transform .35s var(--ease)}
@media (max-width:759px){.dock{display:flex}}
/* a phone held sideways: the header already takes a slice of a short screen, so no dock there */
@media (max-width:759px) and (max-height:559px){.dock{display:none}}
html.dock-on{scroll-padding-bottom:calc(var(--dock-h,68px) + 16px)}

/* ---------- the demo dialog (Calendly loads only when it opens) ---------- */
.demo-dlg{width:min(1040px,calc(100vw / var(--zf,1) - 32px));height:min(800px,calc(100dvh / var(--zf,1) - 32px));max-width:none;max-height:none;padding:0;border:0;border-radius:24px;background:#fff;color:var(--ink);box-shadow:0 40px 100px -30px rgba(15,23,42,.45);overflow:hidden}
.demo-dlg[open]{display:flex;flex-direction:column;animation:dlgIn .35s var(--ease)}
.demo-dlg::backdrop{background:rgba(15,23,42,.42)}
@keyframes dlgIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
.dlg-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 20px 14px 24px;border-bottom:1px solid var(--line)}
.dlg-head h2{font-size:1.625rem;line-height:1.15;color:var(--ink);outline:none}
.dlg-head p{color:var(--ink-2);font-size:1rem;margin-top:4px}
.dlg-x{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:var(--band);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.dlg-x:hover{background:#e8e8ed}
.dlg-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.dlg-body{position:relative;flex:1;min-height:0;background:#fafbfc}
.dlg-body iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent}
.dlg-body iframe:focus-visible{outline:3px solid var(--b600);outline-offset:-3px}
.dlg-loading{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:14px;color:var(--ink-2);font-weight:550}
.dlg-loading::before{content:"";width:34px;height:34px;border-radius:50%;border:3px solid var(--b100);border-top-color:var(--b600);animation:spin 1s linear infinite}
.dlg-body.is-loaded .dlg-loading{display:none}
@keyframes spin{to{transform:rotate(360deg)}}
.dlg-foot{padding:12px 24px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);font-size:.9375rem;color:var(--ink-2)}
.dlg-foot a{color:var(--b600);font-weight:600}
@media (max-width:759px){.demo-dlg{width:calc(100vw / var(--zf,1));height:calc(100dvh / var(--zf,1));border-radius:0}.dlg-head{padding:14px 12px 12px 16px}.dlg-head h2{font-size:1.375rem}.dlg-foot{padding-left:16px;padding-right:16px}}
html:has(dialog[open]){overflow:hidden}

/* ---------- display options dialogs (the live page's widget, restyled) ---------- */
/* centred by auto margins, not align-items: a box taller than the screen starts at its top (never above it) */
.a11y-scrim{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-start;justify-content:center;padding:20px;background:rgba(15,23,42,.42);overflow-y:auto}
.a11y-scrim[hidden]{display:none}
.a11y-modal{background:#fff;color:var(--ink);width:min(560px,100%);margin-block:auto;max-height:calc(100vh - 40px);max-height:calc(100dvh / var(--zf,1) - 40px);overflow-y:auto;border-radius:22px;box-shadow:0 30px 80px -20px rgba(15,23,42,.4);padding:26px;font-size:1rem;animation:dlgIn .3s var(--ease)}
.a11y-modal:focus{outline:none}
.a11y-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}
.a11y-modal-head h2{font-size:1.5rem;line-height:1.2;color:var(--ink)}
.a11y-close{flex-shrink:0;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--band);color:var(--ink);font-size:24px;cursor:pointer;line-height:1}
.a11y-close:hover{background:#e8e8ed}
.a11y-modal-sub{margin:0 0 18px;color:var(--ink-2);font-size:.9375rem}
.a11y-group{border:0;padding:0;margin:0 0 20px}
.a11y-group legend{padding:0;font-size:.9375rem;font-weight:600;color:var(--ink);margin-bottom:10px}
.a11y-seg{display:flex;flex-wrap:wrap;gap:8px}
.a11y-seg label{flex:1 1 auto;position:relative}
.a11y-seg input{position:absolute;opacity:0;width:1px;height:1px}
.a11y-seg span{display:flex;align-items:center;justify-content:center;min-height:44px;text-align:center;padding:8px 14px;border:1px solid var(--field-line);border-radius:12px;font-size:.9375rem;font-weight:550;color:var(--ink);cursor:pointer;background:#fff}
.a11y-seg label:hover span{border-color:var(--b600)}
.a11y-seg input:checked + span{background:var(--b600);border-color:var(--b600);color:#fff}
.a11y-seg input:focus-visible + span{outline:3px solid var(--b600);outline-offset:2px}
.a11y-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;padding:12px 16px;border:1px solid var(--field-line);border-radius:12px;background:#fff;color:var(--ink);font:550 1rem/1.2 var(--f-body);cursor:pointer;margin-bottom:10px;text-align:left}
.a11y-toggle:hover{border-color:var(--b600)}
.a11y-state{display:inline-flex;align-items:center;gap:10px;font-size:.875rem;font-weight:600;color:var(--ink-2)}
.a11y-knob{width:42px;height:24px;border-radius:999px;background:#94a3b8;position:relative;flex-shrink:0}
.a11y-knob::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s var(--ease)}
.a11y-toggle[aria-pressed="true"]{border-color:var(--b600)}
.a11y-toggle[aria-pressed="true"] .a11y-knob{background:var(--b600)}
.a11y-toggle[aria-pressed="true"] .a11y-knob::after{transform:translateX(18px)}
.a11y-toggle[aria-pressed="true"] .a11y-state{color:var(--b700)}
.a11y-actions{display:flex;justify-content:flex-end;margin-top:4px}
.a11y-reset{border:0;background:none;color:var(--b600);font:600 .9375rem/1 var(--f-body);min-height:44px;padding:0 10px;cursor:pointer;border-radius:8px;text-decoration:underline}
.a11y-statement h3{font-weight:650;font-size:1.0625rem;letter-spacing:-.01em;color:var(--ink);margin:18px 0 6px}
.a11y-statement p,.a11y-statement ul{margin:0 0 12px;color:var(--ink-2);font-size:1rem;line-height:1.65}
.a11y-statement ul{padding-left:20px}
.a11y-statement a{color:var(--b600);font-weight:600}
.a11y-statement-meta{font-size:.875rem !important;color:var(--ink-3) !important}
@media (max-width:560px){.a11y-modal{padding:20px;border-radius:16px}.a11y-seg label{flex:1 1 40%}}

/* ---------- display options: text size (zoom, as the live page), contrast, links ---------- */
/* --zf: viewport units are not scaled by zoom, so heights made from svh divide by it */
html[data-a11y-text="lg"]{zoom:1.12;--zf:1.12}
html[data-a11y-text="xl"]{zoom:1.25;--zf:1.25}
html[data-a11y-text="xxl"]{zoom:1.4;--zf:1.4}
html[data-a11y-links="on"] :is(main,footer) a:not(.btn){text-decoration:underline !important;text-decoration-thickness:2px !important;text-underline-offset:3px}
html[data-a11y-contrast="on"]{--ink-2:#1e293b;--ink-3:#334155;--line:#64748b;--line-2:#334155;--field-line:#334155}
html[data-a11y-contrast="on"] .hero h1 em,html[data-a11y-contrast="on"] :is(.plan-side,.svcs) h2 em{color:var(--b700)}
/* larger text on a phone: the lockup keeps every word and wraps into two rows (PracticeWell × Teddy Chat, then
   "Powered by Buyology" in full); the logos (images) keep their physical size; the practice scrolls with the page */
@media (max-width:759px){
  html[data-a11y-text] .lockup{row-gap:4px}
  html[data-a11y-text] .lk-grp:last-child{flex-basis:100%}
  html[data-a11y-text] .lk-div,html[data-a11y-text] .lk-buy-mark{display:none}
  html[data-a11y-text] .lk-pb,html[data-a11y-text] .lk-buy-logo{display:block}
  html[data-a11y-text] .head-in{padding-top:8px;padding-bottom:8px}
  html[data-a11y-text="lg"] .lk-pw{height:16px}
  html[data-a11y-text="lg"] .lk-mark{width:21px;height:21px}
  html[data-a11y-text="lg"] .lk-buy-logo{height:17px}
  html[data-a11y-text="xl"] .lk-pw,html[data-a11y-text="xxl"] .lk-pw{height:13px}
  html[data-a11y-text="xl"] .lk-mark,html[data-a11y-text="xxl"] .lk-mark{width:18px;height:18px}
  html[data-a11y-text="xl"] .lk-buy-logo,html[data-a11y-text="xxl"] .lk-buy-logo{height:14px}
  html[data-a11y-text="xl"] .lockup,html[data-a11y-text="xxl"] .lockup{column-gap:7px}
  html[data-a11y-text="xl"] .lk-grp,html[data-a11y-text="xxl"] .lk-grp{gap:6px}
  html[data-a11y-text="xl"] .hero .cl-chip > span:nth-child(3),html[data-a11y-text="xxl"] .hero .cl-chip > span:nth-child(3){display:none}
  html[data-a11y-text="xl"] .hero .cl-chip [data-mode],html[data-a11y-text="xxl"] .hero .cl-chip [data-mode]{display:none}
  html[data-a11y-text="xl"] .hero,html[data-a11y-text="xxl"] .hero{--clv-h:250px}
  html[data-a11y-text="xl"] .cta-row .btn,html[data-a11y-text="xxl"] .cta-row .btn{flex-basis:100%}
  html[data-a11y-text="xl"] .dock,html[data-a11y-text="xxl"] .dock{gap:6px;padding:6px 10px calc(6px + env(safe-area-inset-bottom))}
  html[data-a11y-text="xl"] .dock .btn,html[data-a11y-text="xxl"] .dock .btn{flex:1 1 0;min-height:44px;padding:3px 8px;white-space:normal;line-height:1.15}
  html[data-a11y-text="xl"] .dock .arr,html[data-a11y-text="xxl"] .dock .arr{display:none}
}

/* ---------- motion: reduced (OS or Display options) pins movement, keeps the meaningful fades ---------- */
@media (prefers-reduced-motion:reduce){
  html:not([data-a11y-motion="on"]) :is(.mcard,.mc-sheen::before,.sun .rays,.cloud,.foot-bubble,.demo-dlg[open],.a11y-modal,.pwpin-dot::after,.dlg-loading::before,.mc-icons i){animation:none !important}
  html:not([data-a11y-motion="on"]) .foot-bubble{opacity:0}
  html:not([data-a11y-motion="on"]) :is(.btn,.btn .arr,.mcard,.dock,.pwpin-dot,.pwpin-chip,.fx-card,.fx-hero::after,.fx-new){transition-property:opacity,background-color,border-color,color,box-shadow !important}
  html:not([data-a11y-motion="on"]) .dock{transform:none}
  html:not([data-a11y-motion="on"]){scroll-behavior:auto}
}
html[data-a11y-motion="reduce"] :is(.mcard,.mc-sheen::before,.sun .rays,.cloud,.foot-bubble,.demo-dlg[open],.a11y-modal,.pwpin-dot::after,.dlg-loading::before,.mc-icons i){animation:none !important}
html[data-a11y-motion="reduce"] .mcard.sheen .mc-sheen::before{animation:none !important}
html[data-a11y-motion="reduce"] .foot-bubble{opacity:0}
html[data-a11y-motion="reduce"] :is(.btn,.btn .arr,.mcard,.dock,.pwpin-dot,.pwpin-chip,.fx-card,.fx-hero::after,.fx-new){transition-property:opacity,background-color,border-color,color,box-shadow !important}
html[data-a11y-motion="reduce"] .dock{transform:none}
/* the practice is a still frame whenever motion is reduced, even after Motion is switched to Reduced mid-visit (the
   still frame's static Teddy shares the rig's .tr-open eyes, and the rig's stylesheet, once loaded, blinks them) */
html[data-pref-motion="reduce"] #clinicLive .cl-svg *{animation:none !important}
@media (prefers-reduced-motion:reduce){#clinicLive .cl-svg *{animation:none !important}}

/* ---------- forced colours (Windows contrast themes): the cards keep their edges ---------- */
@media (forced-colors:active){
  .svc,.hub,.perks li,.terms-ic{border:1px solid CanvasText}
  .mc-icons i.on{outline:2px solid Highlight}
  .hero-stage{background:Canvas}
  .mcard{forced-color-adjust:none}
}

/* ---------- responsive: services, plan, footer ---------- */
@container page (max-width:1023px){
  .svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .plan-grid{grid-template-columns:minmax(0,1fr)}
  .faq-grid{grid-template-columns:minmax(0,1fr);gap:16px}
}
@media (max-width:759px){
  body{font-size:1.0625rem}
  .cloud-a{--t:14px;--w:104px}
  .cloud-b{--t:56px;--w:70px}
  .foot-house{left:6%}
  .foot-row{flex-direction:column;align-items:flex-start}
  .site-foot{border-radius:32px 32px 0 0;margin-top:-40px}
  .foot-lock .lk-pw{height:20px}
}
@container page (max-width:759px){
  .svcs{padding:56px 0 56px}
  .svc-grid{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:28px}
  .svc{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;padding:18px 18px 20px 16px;border-radius:20px}
  .svc-ic{grid-row:1 / span 3}
  .svc h3{margin-top:0;font-size:1.125rem}
  .svc-ln{margin-top:6px;font-size:1rem}
  .hub{align-items:flex-start;width:auto}
  .plan{padding:56px 0 64px}
  .perks{margin-top:24px}
  .perks li{font-size:1.0625rem}
  .terms{align-items:flex-start}
  .fields{grid-template-columns:minmax(0,1fr)}
  .form-card{border-radius:24px;margin:0 -4px;padding:22px 18px}
  .form-card h3{font-size:1.75rem}
  .faq-sec{padding:32px 0 112px}
  .faq-grid{padding-top:32px}
}
@container page (max-width:399px){
  .hero h1{font-size:2.05rem}
  .hero-act .btn{padding:0 18px}
}
