/* CareDots V4 (Founder, 9 Nov 2026): Island branding made whole. The app icons' colour sweep (deep green, teal, leaf,
   gold, sun orange) becomes the brand signature, used sparingly: the logo dots, key words in headlines, a glow behind
   the hero, a thin line over the footer. Layout details come from the CareDeck presentation: small teal uppercase
   a short rule under headings and soft round cards. V1's fonts and type styles are kept exactly (Founder, 9 Nov).
   Loaded after concise.css and v4-island.css (Island colours, no type changes) on /v4/ pages only (html.v-v4). */
html.v-v4{
  --sweep:conic-gradient(from 200deg at 50% 55%,#1E5A4C,#3FA79A,#4F9A5C,#E2B23F,#F08A2E,#1E5A4C);
  --sweep-line:linear-gradient(90deg,#1E5A4C 0%,#3FA79A 30%,#4F9A5C 50%,#E2B23F 75%,#F08A2E 100%);
  --sweep-text:linear-gradient(100deg,#1E5A4C 0%,#2E8A7E 35%,#C9952E 75%,#E9822A 100%);
  --deck-shadow:0 2px 6px rgba(22,59,54,.06),0 10px 28px rgba(22,59,54,.06);
}
@media (prefers-color-scheme:dark){html.v-v4:not([data-theme="light"]){--sweep-text:linear-gradient(100deg,#7FCFC2 0%,#9FD9D0 35%,#F2C26A 75%,#F2A04E 100%);--deck-shadow:0 2px 8px rgba(0,0,0,.35)}}
html.v-v4[data-theme="dark"]{--sweep-text:linear-gradient(100deg,#7FCFC2 0%,#9FD9D0 35%,#F2C26A 75%,#F2A04E 100%);--deck-shadow:0 2px 8px rgba(0,0,0,.35)}

/* Logo: three dots in the sweep, then the word. */
html.v-v4 .logo{display:inline-flex;align-items:center;gap:9px}
html.v-v4 .logo::before{content:"";width:30px;height:20px;flex:none;background:var(--sweep);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Ccircle cx='6' cy='13' r='4'/%3E%3Ccircle cx='14.5' cy='6' r='5'/%3E%3Ccircle cx='24' cy='12.5' r='3.6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Ccircle cx='6' cy='13' r='4'/%3E%3Ccircle cx='14.5' cy='6' r='5'/%3E%3Ccircle cx='24' cy='12.5' r='3.6'/%3E%3C/svg%3E") center/contain no-repeat}

/* The highlighted words take the sweep (V1's fonts and sizes are kept). */
html.v-v4 :is(.display,h1,h2,h3) .pillw,html.v-v4 :is(.display,h1,h2,h3) .pillw.b,html.v-v4 :is(.display,h1,h2,h3) .pillw .w{background:var(--sweep-text)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent;padding:0;border:0;box-shadow:none}
/* Headlines that reveal word by word wrap each word in its own .w: each one carries the sweep itself, or it vanishes. */
html.v-v4 .display .pillw::before,html.v-v4 .display .pillw::after{display:none}

/* A short teal rule under section headings, as on the deck's slides. */
html.v-v4 main h2{position:relative;padding-bottom:18px}
html.v-v4 main h2::after{content:"";position:absolute;left:0;bottom:0;width:120px;height:3px;border-radius:3px;background:var(--sweep-line);opacity:.85}
html.v-v4 main [style*="text-align:center"] h2::after,html.v-v4 main .center h2::after{left:50%;transform:translateX(-50%)}

/* Hero: a soft sweep glow behind it. */
html.v-v4 main > section:first-of-type{position:relative;isolation:isolate}
html.v-v4 main > section:first-of-type::before{content:"";position:absolute;z-index:-1;right:-8vw;top:-6vw;width:min(46vw,620px);aspect-ratio:1;border-radius:50%;background:var(--sweep);filter:blur(80px);opacity:.22;pointer-events:none}
@media (prefers-reduced-motion:no-preference){html.v-v4 main > section:first-of-type::before{animation:v4spin 40s linear infinite}}
@keyframes v4spin{to{transform:rotate(360deg)}}

/* Cards: the deck's soft round cards. */
html.v-v4 .card,html.v-v4 .appcard{border-radius:22px;box-shadow:var(--deck-shadow);border-color:transparent}

/* Buttons: deep green; the main one gets a thin sweep ring on hover. */
html.v-v4 .btn.primary,html.v-v4 a.btn:not(.ghost){position:relative}
html.v-v4 .btn.primary:hover::after,html.v-v4 a.btn:not(.ghost):hover::after{content:"";position:absolute;inset:-3px;border-radius:inherit;padding:2px;background:var(--sweep-line);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}

/* Footer: a thin sweep line over it. */
html.v-v4 footer{position:relative}
html.v-v4 footer::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--sweep-line)}

/* Pills and tags lean teal like the deck. */
html.v-v4 .pill,html.v-v4 .tag{border-color:color-mix(in srgb,var(--teal) 35%,transparent)}

/* Hero bento (Founder, 9 Nov 2026): small floating cards around the headline, left and right. The headline keeps the middle
   0.618 of the width; the cards sit in the side bands at golden-ratio heights (0.146, 0.382, 0.618, 0.854) and drift gently. */
html.v-v4 .v4-hero{position:relative}
html.v-v4 .v4-hero .wrap{position:static}
html.v-v4 .v4-bento{position:absolute;inset:0;pointer-events:none;z-index:1}
html.v-v4 .vb{position:absolute;width:var(--vbw,clamp(138px,10.4vw,186px));background:color-mix(in srgb,var(--card) 92%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  border-radius:20px;padding:12px 14px 13px;text-align:left;justify-items:start;box-shadow:0 2px 6px rgba(22,59,54,.06),0 14px 34px rgba(22,59,54,.10);display:grid;gap:4px;color:var(--ink);font-size:13px;line-height:1.3}
html.v-v4 .vb b{font-size:17px;letter-spacing:-.01em;color:var(--plum)}
html.v-v4 .vb small{color:var(--mute);font-size:12px}
html.v-v4 .vb-h{display:flex;align-items:center;gap:7px;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
html.v-v4 .vb-dot{width:8px;height:8px;border-radius:50%;background:#3FA79A}
html.v-v4 .vb-dot.g{background:#4F9A5C} html.v-v4 .vb-dot.o{background:#F08A2E} html.v-v4 .vb-dot.t{background:#3FA79A}
/* golden placement in the page's side margins (the headline keeps V1's full width); heights on the golden steps */
/* Founder, 15 Nov 2026: grouped around the headline but clear of the central text (640px half column). Founder, 9 Nov 2026: closer to the middle. Each card hugs the 1100px text column (gap --g), never past the screen edge. */
html.v-v4 .vb{--vbw:clamp(138px,10.4vw,186px);--g:30px}
html.v-v4 .vb-l1,html.v-v4 .vb-l2,html.v-v4 .vb-l3{left:max(12px,calc(50% - 640px - var(--g) - var(--vbw)))}
html.v-v4 .vb-r1,html.v-v4 .vb-r2,html.v-v4 .vb-r3{right:max(12px,calc(50% - 640px - var(--g) - var(--vbw)))}
html.v-v4 .vb-l1{top:24vh;--g:18px} html.v-v4 .vb-l2{top:calc(24vh + 17vh);--g:34px} html.v-v4 .vb-l3{top:calc(24vh + 34vh);--g:12px}
html.v-v4 .vb-r1{top:20vh;--g:22px} html.v-v4 .vb-r2{top:calc(20vh + 17vh);--g:10px} html.v-v4 .vb-r3{top:calc(20vh + 34vh);--g:30px}
html.v-v4 .vb .vb-waves,html.v-v4 .vb .vb-bar,html.v-v4 .vb .vb-spark,html.v-v4 .vb .vb-progs{justify-self:stretch;width:100%}
/* the side margins only fit cards on wide screens */
@media (max-width:1359px) and (min-width:761px){html.v-v4 .v4-bento{display:none}}
@media (prefers-reduced-motion:no-preference){
  html.v-v4 .vb{animation:vbfloat 7s ease-in-out infinite}
  html.v-v4 .vb-l2,html.v-v4 .vb-r1{animation-duration:8.5s;animation-delay:-2s} html.v-v4 .vb-l3,html.v-v4 .vb-r2{animation-duration:6.2s;animation-delay:-4s} html.v-v4 .vb-r3{animation-delay:-1s}
}
@keyframes vbfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
/* the headline keeps the middle 0.618 of the hero */
/* RPM sparkline, care timer bar */
html.v-v4 .vb-spark{width:100%;height:26px} html.v-v4 .vb-spark polyline{fill:none;stroke:url(#none);stroke:#3FA79A;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
html.v-v4 .vb-bar{height:6px;border-radius:6px;background:color-mix(in srgb,var(--plum) 12%,transparent);overflow:hidden}
html.v-v4 .vb-bar i{display:block;height:100%;width:88%;border-radius:6px;background:var(--sweep-line);transition:width .9s linear}
/* scribe: bouncing sound waves */
html.v-v4 .vb-waves{display:flex;align-items:center;gap:4px;height:30px}
html.v-v4 .vb-waves i{flex:1;max-width:7px;height:40%;border-radius:4px;background:var(--sweep-line)}
html.v-v4 .vb-waves i{animation:vbwave 1.1s ease-in-out infinite}
  html.v-v4 .vb-waves i:nth-child(2){animation-delay:-.9s}html.v-v4 .vb-waves i:nth-child(3){animation-delay:-.3s}html.v-v4 .vb-waves i:nth-child(4){animation-delay:-.7s}
  html.v-v4 .vb-waves i:nth-child(5){animation-delay:-.1s}html.v-v4 .vb-waves i:nth-child(6){animation-delay:-.5s}html.v-v4 .vb-waves i:nth-child(7){animation-delay:-.8s}
  html.v-v4 .vb-waves i:nth-child(8){animation-delay:-.2s}html.v-v4 .vb-waves i:nth-child(9){animation-delay:-.6s}
@keyframes vbwave{0%,100%{height:22%}50%{height:100%}}
/* phone: a ringing dot */
html.v-v4 .vb-ring{width:10px;height:10px;border-radius:50%;background:#4F9A5C;box-shadow:0 0 0 0 rgba(79,154,92,.55)}
html.v-v4 .vb-ring{animation:vbring 1.6s ease-out infinite}
@keyframes vbring{0%{box-shadow:0 0 0 0 rgba(79,154,92,.55)}100%{box-shadow:0 0 0 12px rgba(79,154,92,0)}}
/* programs */
html.v-v4 .vb-progs{display:flex;gap:10px} html.v-v4 .vb-progs span{display:grid;font-size:11.5px;color:var(--mute)} html.v-v4 .vb-progs b{font-size:19px}
/* phones: three small cards in a row under the headline area, no floating over the text */
@media (max-width:760px){html.v-v4 .v4-bento{position:static;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;order:9;margin-top:14px}
  html.v-v4 .vb{position:static;width:auto;padding:9px 10px;animation:none} html.v-v4 .vb-l3,html.v-v4 .vb-r2,html.v-v4 .vb-r3{display:none}
  html.v-v4 .vb-l2{display:grid} html.v-v4 .vb b{font-size:14px} html.v-v4 .vb small{display:none} html.v-v4 .vb-h{font-size:10px;letter-spacing:.03em}}
@media (prefers-color-scheme:dark){html.v-v4:not([data-theme="light"]) .vb{background:color-mix(in srgb,var(--card) 88%,transparent);box-shadow:0 2px 10px rgba(0,0,0,.35)}}
html.v-v4[data-theme="dark"] .vb{background:color-mix(in srgb,var(--card) 88%,transparent);box-shadow:0 2px 10px rgba(0,0,0,.35)}

/* Eyebrows (Founder, 9 Nov 2026: "the background behind that should be visible"): a clear teal-tinted pill on light
   sections, a light pill on the green and dark bands. */
html.v-v4 .eyebrow{background:color-mix(in srgb,#3FA79A 18%,var(--card))!important;color:#1E5A4C!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,#3FA79A 30%,transparent)}
html.v-v4 :is(.f-plum,.f-ink) .eyebrow{background:rgba(255,255,255,.16)!important;color:#F7F2EA!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
@media (prefers-color-scheme:dark){html.v-v4:not([data-theme="light"]) .eyebrow{background:color-mix(in srgb,#7FCFC2 20%,var(--card))!important;color:#CDEFE9!important}}
html.v-v4[data-theme="dark"] .eyebrow{background:color-mix(in srgb,#7FCFC2 20%,var(--card))!important;color:#CDEFE9!important}

/* Real app screenshots in the devices (9 Nov 2026): the same rounded screen corners as the drawn screens had. */
html.v-v4 .dev img.scr{width:100%;height:auto;display:block;object-fit:cover;object-position:top;background:#F7F2EA}
html.v-v4 .lid img.scr{border-radius:.8%/1.3%;aspect-ratio:960/600}
html.v-v4 .tab img.scr{border-radius:2.2%/3%;aspect-ratio:720/540}
html.v-v4 .ph img.scr{border-radius:12%/5.6%;aspect-ratio:300/620}

/* Founder, 9 Nov 2026: the cards' content moves (v4-hero.js swaps the values; these are the transitions). */
html.v-v4 .vb-phone{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#4F9A5C;color:#fff;box-shadow:0 0 0 0 rgba(79,154,92,.5)}
html.v-v4 .vb-phone svg{width:11px;height:11px;fill:currentColor}
html.v-v4 .vb-phone.done{background:var(--teal,#3FA79A)}
html.v-v4 .vb-swap{animation:vbswap .45s ease}
@keyframes vbswap{0%{opacity:0;transform:translateY(5px)}100%{opacity:1;transform:none}}
html.v-v4 .vb-note{display:flex;align-items:center;min-height:1.3em;white-space:nowrap;overflow:hidden}
html.v-v4 .vb-caret{display:inline-block;width:1.5px;height:1em;margin-left:1px;background:currentColor;opacity:.7}
html.v-v4 .vb-codes span{transition:color .3s,font-weight .3s}
html.v-v4 .vb-codes span.on{color:var(--plum);font-weight:700}
/* in-card motion runs always (Founder, 9 Nov 2026) */
@media all{
  html.v-v4 .vb-l3:not(.answered) .vb-phone{animation:vbring 1.6s ease-out infinite}
  html.v-v4 .vb-l3:not(.answered) .vb-phone svg{animation:vbshake 1.6s ease-in-out infinite}
  html.v-v4 .vb-caret{animation:vbcaret 1s steps(1) infinite}
  html.v-v4 .vb-spark polyline{stroke-dasharray:240;stroke-dashoffset:240;animation:vbdraw 4s ease-in-out infinite}
}
@keyframes vbshake{0%,50%,100%{transform:rotate(0)}5%,15%,25%{transform:rotate(-16deg)}10%,20%,30%{transform:rotate(16deg)}}
@keyframes vbcaret{50%{opacity:0}}
@keyframes vbdraw{0%{stroke-dashoffset:240}45%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:-240}}
/* Founder, 9 Nov 2026: the card contents move even when the device asks for less motion (styles.css turns every animation
   off then; these win back the in-card motion and, on wide screens, the cards' slow float). */
@media (prefers-reduced-motion:reduce) and (min-width:761px){
  html.v-v4 .vb{animation-name:vbfloat!important;animation-duration:7s!important;animation-timing-function:ease-in-out!important;animation-iteration-count:infinite!important}
  html.v-v4 .vb-l2,html.v-v4 .vb-r1{animation-duration:8.5s!important;animation-delay:-2s!important} html.v-v4 .vb-l3,html.v-v4 .vb-r2{animation-duration:6.2s!important;animation-delay:-4s!important} html.v-v4 .vb-r3{animation-delay:-1s!important}
}
@media (prefers-reduced-motion:reduce){
  html.v-v4 .vb-waves i{animation-name:vbwave!important;animation-duration:1.1s!important;animation-timing-function:ease-in-out!important;animation-iteration-count:infinite!important}
  html.v-v4 .vb-waves i:nth-child(2){animation-delay:-.9s!important}html.v-v4 .vb-waves i:nth-child(3){animation-delay:-.3s!important}html.v-v4 .vb-waves i:nth-child(4){animation-delay:-.7s!important}
  html.v-v4 .vb-waves i:nth-child(5){animation-delay:-.1s!important}html.v-v4 .vb-waves i:nth-child(6){animation-delay:-.5s!important}html.v-v4 .vb-waves i:nth-child(7){animation-delay:-.8s!important}
  html.v-v4 .vb-waves i:nth-child(8){animation-delay:-.2s!important}html.v-v4 .vb-waves i:nth-child(9){animation-delay:-.6s!important}
  html.v-v4 .vb-l3:not(.answered) .vb-phone{animation-name:vbring!important;animation-duration:1.6s!important;animation-timing-function:ease-out!important;animation-iteration-count:infinite!important}
  html.v-v4 .vb-l3:not(.answered) .vb-phone svg{animation-name:vbshake!important;animation-duration:1.6s!important;animation-timing-function:ease-in-out!important;animation-iteration-count:infinite!important}
  html.v-v4 .vb-caret{animation-name:vbcaret!important;animation-duration:1s!important;animation-timing-function:steps(1)!important;animation-iteration-count:infinite!important}
  html.v-v4 .vb-spark polyline{stroke-dasharray:240;animation-name:vbdraw!important;animation-duration:4s!important;animation-timing-function:ease-in-out!important;animation-iteration-count:infinite!important}
  html.v-v4 .vb-swap{animation-name:vbswap!important;animation-duration:.45s!important;animation-timing-function:ease!important;animation-iteration-count:1!important}
  html.v-v4 .vb-bar i{transition:width .9s linear!important} html.v-v4 .vb-codes span{transition:color .3s!important}
}

/* Care timer (Founder, 9 Nov 2026): rolling number cylinders with a ticking clock beside them */
html.v-v4 .vb-time{display:flex;align-items:center;gap:7px}
html.v-v4 .vb-clock{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
html.v-v4 .vb-clock .h-s{stroke:#F08A2E;stroke-width:1.6;transform-origin:12px 12px;animation:vbtick 60s steps(60) infinite}
html.v-v4 .vb-clock .h-m{transform-origin:12px 12px;animation:vbspin 3600s linear infinite}
html.v-v4 .vb-clock .h-c{fill:currentColor;stroke:none}
@keyframes vbtick{to{transform:rotate(360deg)}} @keyframes vbspin{to{transform:rotate(360deg)}}
html.v-v4 .vb-odo{display:inline-flex;font-variant-numeric:tabular-nums;line-height:1}
html.v-v4 .odo-w{display:inline-block;height:1em;overflow:hidden;line-height:1}
html.v-v4 .odo-s{display:flex;flex-direction:column;will-change:transform;transition:transform .5s cubic-bezier(.3,1.3,.5,1)!important}
html.v-v4 .odo-s.snap{transition:none!important}
html.v-v4 .odo-s span{display:block;height:1em;line-height:1}
html.v-v4 .odo-c{padding:0;margin:0 -.08em}
@media (prefers-reduced-motion:reduce){
  html.v-v4 .vb-clock .h-s{animation-name:vbtick!important;animation-duration:60s!important;animation-timing-function:steps(60)!important;animation-iteration-count:infinite!important}
  html.v-v4 .vb-clock .h-m{animation-name:vbspin!important;animation-duration:3600s!important;animation-timing-function:linear!important;animation-iteration-count:infinite!important}
}
/* Split fold (Founder, 9 Nov 2026, /home-split): words on the left, the app on the right; wide screens only. */
@media (min-width:1100px){
  html.v4-split .v4-hero .wrap{max-width:min(1360px,94vw)}
  html.v4-split .v4-hero .txt{max-width:none;width:100%;position:relative;text-align:left;padding-right:54%;min-height:min(660px,74vh);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
  html.v4-split .v4-hero .hero-trio{position:absolute;right:0;top:50%;transform:translateY(-46%);width:55%;margin:0!important;z-index:2}
  html.v4-split .v4-hero .hslides,html.v4-split .v4-hero .hslide{text-align:left;width:100%;align-items:flex-start!important;justify-items:start!important;place-items:start!important}
  html.v4-split .v4-hero .hslide .eyebrow,html.v4-split .v4-hero .hslide .lede{align-self:flex-start;justify-self:start}
  html.v4-split .v4-hero .hslide>*{margin-left:0!important;margin-right:0!important;text-align:left}
  html.v4-split .v4-hero .hslide .display{font-size:clamp(38px,3.3vw,56px)}
  html.v4-split .v4-hero .hwhat,html.v4-split .v4-hero .lede{margin-inline:0;text-align:left;max-width:34em}
  html.v4-split .v4-hero .hdots,html.v4-split .v4-hero .hprog,html.v4-split .v4-hero .roll{justify-content:flex-start;margin-left:0;margin-right:0}
  html.v4-split .v4-hero .hdots{margin:18px 0 8px}
  html.v4-split .v4-hero form.signup{margin-left:0;margin-right:0;width:100%;max-width:440px}
  html.v4-split .v4-bento{display:none}
}
/* Founder, 9 Nov 2026: the cards sit inset into the page, behind the words and the app, not floating on top. */
html.v-v4 .v4-bento{z-index:0}
html.v-v4 .v4-hero .txt{position:relative;z-index:1}
html.v4-split .v4-hero .txt{position:relative}
html.v-v4 .vb{background:color-mix(in srgb,var(--ink) 3.5%,var(--paper,#F3EEE6));backdrop-filter:none;-webkit-backdrop-filter:none;
  box-shadow:inset 0 2px 6px rgba(22,59,54,.10),inset 0 0 0 1px rgba(22,59,54,.06),0 1px 0 rgba(255,255,255,.7)}
@media (prefers-color-scheme:dark){html.v-v4:not([data-theme="light"]) .vb{background:color-mix(in srgb,#000 22%,var(--card));box-shadow:inset 0 2px 8px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.05)}}
html.v-v4[data-theme="dark"] .vb{background:color-mix(in srgb,#000 22%,var(--card));box-shadow:inset 0 2px 8px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.05)}

/* Carousel dots above the slides, in brand colours (Founder, 15 Nov 2026) */
html.v-v4 .hero .hdots{margin:0 0 18px}
html.v-v4 .hdots button{background:var(--sage-c,#CFE0D3);opacity:1;border:1.5px solid color-mix(in srgb,var(--ink) 18%,transparent)}
html.v-v4 .hdots button[aria-selected="true"]{width:30px;opacity:1;border-color:transparent;background:linear-gradient(90deg,#2E6B4F,#3FA79A 45%,#E58A3C)}

/* Menu bar with the hero cards' inset look (Founder, 15 Nov 2026) */
html.v-v4 .hdr .bar,html.v-v4 .hdr.scrolled .bar{background:color-mix(in srgb,color-mix(in srgb,var(--ink) 3.5%,var(--paper,#F3EEE6)) 94%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:0;
  box-shadow:inset 0 2px 6px rgba(22,59,54,.10),inset 0 0 0 1px rgba(22,59,54,.06),0 1px 0 rgba(255,255,255,.7)}
@media (prefers-color-scheme:dark){html.v-v4:not([data-theme="light"]) .hdr .bar{background:color-mix(in srgb,color-mix(in srgb,#000 22%,var(--card)) 94%,transparent);box-shadow:inset 0 2px 8px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.05)}}
html.v-v4[data-theme="dark"] .hdr .bar{background:color-mix(in srgb,color-mix(in srgb,#000 22%,var(--card)) 94%,transparent);box-shadow:inset 0 2px 8px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.05)}

/* Carousel text a little narrower (Founder, 15 Nov 2026) */
html.v-v4 .hero .hslides{max-width:940px;margin-inline:auto}
html.v-v4 .hero.prod .hslide .display{font-size:clamp(38px,4.6vw,68px)}
html.v-v4 .hero .hslide .lede{max-width:760px;margin-inline:auto}

/* "One patient, one summary" mock-up: bigger (Founder, 15 Nov 2026) */
#one-summary .trio{max-width:none;width:min(1640px,94vw);margin-left:calc(50% - min(820px,47vw));margin-right:0}
.grid3 .accent-card>.sn.ic{margin-bottom:18px;width:48px;height:48px;border-radius:16px}.grid3 .accent-card>.sn.ic svg{width:24px;height:24px}
/* Download: CareTimeDot as a wide card under the three apps (Founder, 15 Nov 2026) */
.ctd-h{display:flex;align-items:center;gap:clamp(18px,3vw,36px);padding:clamp(24px,3vw,40px);margin-top:clamp(18px,2vw,28px)}
.ctd-h .ctd-ic{width:96px;height:96px;border-radius:28px;flex:none}
.ctd-h .ctd-t{flex:1}.ctd-h .ctd-t p{margin:0}.ctd-h h3{font-size:clamp(28px,2.8vw,40px);font-weight:800;letter-spacing:-.04em;margin:4px 0 6px}
.ctd-h .btn{flex:none}
@media (max-width:700px){.ctd-h{flex-direction:column;align-items:flex-start}.ctd-h .ctd-ic{width:72px;height:72px;border-radius:22px}}

/* ===== CareTimeDot page redesign (Founder, 15 Nov 2026) ===== */
/* Hero: stacked, centred copy over a full-width mockup */
html.v-v4 .td-v .td-hero-grid{display:flex;flex-direction:column;align-items:center;gap:clamp(32px,4vw,56px)}
html.v-v4 .td-v .td-copy{display:block;text-align:center;max-width:920px;margin-inline:auto}
html.v-v4 .td-v h1{font-size:clamp(40px,5.4vw,80px);line-height:1.02}
html.v-v4 .td-v .lede{max-width:720px;margin-inline:auto;font-size:clamp(18px,1.6vw,22px)}
html.v-v4 .td-v .cta{justify-content:center}
html.v-v4 .td-v .tdm{order:0;width:min(1120px,100%);margin:0 auto}
.td-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:18px 0 6px}
.td-chips span{padding:7px 16px;border-radius:999px;font-weight:700;font-size:15px;background:color-mix(in srgb,var(--card) 70%,transparent);box-shadow:inset 0 1px 3px rgba(22,59,54,.10),inset 0 0 0 1px rgba(22,59,54,.08)}
.td-chips span:last-child{background:linear-gradient(90deg,#2E6B4F,#3FA79A);color:#fff;box-shadow:none}

/* Mockup in CareDots colours */
html.v-v4 .tdm-win{background:#FBF8F2;color:#163B36;border-radius:2.2cqw;box-shadow:0 1.6cqw 5cqw rgba(22,59,54,.18),0 0 0 1px rgba(22,59,54,.10)}
html.v-v4 .tdm-tabs{background:#E3EDE6}
html.v-v4 .tdm-dots i{background:#E58A3C}html.v-v4 .tdm-dots i+i{background:#E9C46A}html.v-v4 .tdm-dots i+i+i{background:#3FA79A}
html.v-v4 .tdm-tab{background:#FBF8F2;color:#163B36}html.v-v4 .tdm-tab.off{color:#5E7A70}
html.v-v4 .tdm-bar{border-bottom-color:#E6E1D6}html.v-v4 .tdm-nav{color:#8BA39A}
html.v-v4 .tdm-url{background:#EFEBE2;color:#4E6A61}
html.v-v4 .tdm-puzzle{border-color:#8BA39A}
html.v-v4 .tdm-body{background:#F4F0E8}
html.v-v4 .tdm-side{background:#1E4A3F;color:#BFD8CE}
html.v-v4 .tdm-banner small,html.v-v4 .tdm-ctabs{color:#5E7A70}
html.v-v4 .tdm-av{background:#CFE0D3;color:#1E4A3F}
html.v-v4 .tdm-ctabs{border-bottom-color:#E2DCCF}html.v-v4 .tdm-ctabs .on{color:#163B36;box-shadow:inset 0 -.3cqw #2E6B4F}
html.v-v4 .tdm-card{background:#FBF8F2;border-color:transparent;box-shadow:inset 0 .2cqw .6cqw rgba(22,59,54,.08),inset 0 0 0 1px rgba(22,59,54,.07)}
html.v-v4 .tdm-card p{color:#33524A}html.v-v4 .tdm-card code{background:#E3EDE6;color:#1E4A3F}html.v-v4 .tdm-card em{color:#163B36}
html.v-v4 .tdm-panel{background:#FFFDF8;border-left-color:#E6E1D6}
html.v-v4 .tdm-wm{color:#163B36}html.v-v4 .tdm-pn{color:#163B36}
html.v-v4 .tdm-sel{border-color:#DDD6C8;color:#163B36}
/* Step captions become a slim dot row; the active step shows its name */
html.v-v4 .tdm-steps{flex-wrap:nowrap;gap:8px;margin-top:22px;align-items:center}
html.v-v4 .tdm-steps span{width:10px;height:10px;padding:0;border:1.5px solid color-mix(in srgb,var(--ink) 18%,transparent);background:#CFE0D3;font-size:0;overflow:hidden;white-space:nowrap;transition:width .35s var(--eff,ease),background .3s}
html.v-v4 .tdm-steps span.on{width:auto;height:auto;padding:6px 14px;font-size:14px;color:#fff;border-color:transparent;background:linear-gradient(90deg,#2E6B4F,#3FA79A 45%,#E58A3C)}

/* How it works: icon cards */
.td-how{margin-top:32px}
.td-how .card h3{font-size:clamp(20px,1.7vw,24px);margin:0 0 8px}
.td-how .card p{margin:0}

/* Screens: equal frames */
.td-shotgrid{margin-top:28px;gap:18px;align-items:stretch}
.td-shot{margin:0;display:flex;flex-direction:column;gap:14px}
.td-frame{aspect-ratio:4/5;border-radius:16px;display:grid;place-items:center;padding:14px;background:color-mix(in srgb,var(--ink) 3.5%,var(--paper,#F3EEE6));box-shadow:inset 0 2px 6px rgba(22,59,54,.10),inset 0 0 0 1px rgba(22,59,54,.06)}
.td-frame img{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px;box-shadow:0 6px 18px rgba(22,59,54,.12)}
.td-shot figcaption{font-weight:600}

/* Light by design: balanced lists */
.td-two{margin-top:28px;gap:18px;align-items:stretch}
.td-two .card{display:flex;flex-direction:column}
.td-list{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:12px}
.td-list li{display:flex;gap:12px;align-items:flex-start}
.td-list svg{flex:none;width:22px;height:22px;margin-top:2px;padding:4px;border-radius:50%;background:#CFE0D3;fill:none;stroke:#1E4A3F;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;box-sizing:content-box}
.td-list.plus svg{background:#F6DFC8;stroke:#8A4B17}

/* Install: four numbered cards across */
.td-steps4{list-style:none;padding:0;margin:32px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;counter-reset:tds}
.td-steps4 li{counter-increment:tds;background:var(--card);color:var(--ink);border-radius:22px;padding:24px;position:relative}
.td-steps4 li::before{content:counter(tds);display:grid;place-items:center;width:40px;height:40px;border-radius:14px;margin-bottom:14px;font-weight:800;background:linear-gradient(135deg,#2E6B4F,#3FA79A);color:#fff}
.td-steps4 h3{font-size:20px;margin:0 0 8px}.td-steps4 p{margin:0}.td-steps4 a{color:inherit}
@media (max-width:1000px){.td-steps4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.td-steps4{grid-template-columns:1fr}html.v-v4 .tdm-steps{flex-wrap:wrap}}
html.v-v4 .tdm-steps span.on:has(+ span.on){width:10px;height:10px;padding:0;font-size:0;background:#2E6B4F;border-color:transparent}
.td-frame{position:relative;aspect-ratio:3/4;padding:0}
.td-frame img{position:absolute;inset:16px;width:calc(100% - 32px);height:calc(100% - 32px);max-width:none;max-height:none;object-fit:contain;border-radius:0;box-shadow:none;filter:drop-shadow(0 6px 14px rgba(22,59,54,.14))}
/* Home: three parts of CareDots (Founder, 15 Nov 2026) */
.parts3{margin-top:32px}
.parts3 .card{display:flex;flex-direction:column}
.parts3 h3{font-size:clamp(22px,1.9vw,28px);margin:0 0 10px;letter-spacing:-.02em}
.parts3 p{margin:0 0 18px;flex:1}
.parts3 .more{font-weight:700;text-decoration:none;color:inherit}.parts3 .more:hover{text-decoration:underline}

/* 16 Nov 2026 (Founder, phone screenshot): homepage headline wider and shorter on phones */
@media (max-width:520px){
  .v4-hero > .wrap{padding-left:14px;padding-right:14px}
  .v4-hero h1.display{line-height:1.04;letter-spacing:-.035em;font-stretch:128%;font-variation-settings:"wdth" 128,"opsz" 144}
}
