/* ============================================================
   ARtho Move design tokens — Palette B, "Deep Teal & Oat".
   Colour lives here as custom properties; Tailwind utilities
   handle structure. Same split the React build uses.
   ============================================================ */
:root {
  --canvas:#f3eee6; --surface:#fdfaf4; --surface-raised:#fffdf7; --surface-sunken:#eae3d8;
  --ink:#15303a; --ink-secondary:#4a6166; --ink-tertiary:#4f6367;
  --primary:#134c58; --primary-deep:#0e3a44; --on-primary:#fffdf7;
  --accent:#cf8a4e; --accent-deep:#a96a2c;
  --logo-green:#33917a; /* the arc in the logo */
  /* small text on light surfaces — AA at 12-14px, where accent/accent-deep fail */
  --accent-ink:#8a5420;
  --border-subtle:#eae3d8; --border-default:#e0d4b8;

  --dk-canvas:#0c1c15; --dk-surface:#163529; --dk-surface-2:#1e4236;
  --dk-ink:#f1ead8; --dk-ink-secondary:#c8d5d8; --dk-primary:#3f9f86; --dk-accent:#e8b36a;

  --success:#2e7d5b; --warning:#caa12f; --error:#c8463a;
  --lime:#aeea00;

  --font-display:"Fraunces","Fraunces Fallback",Georgia,serif;
  --font-body:"DM Sans","DM Sans Fallback",system-ui,sans-serif;
  --ease-brand:cubic-bezier(.32,.72,0,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
.display-font{font-family:var(--font-display);letter-spacing:-.02em}
.data-num{font-variant-numeric:tabular-nums;font-weight:700}
.eyebrow{font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;line-height:1.1}
.container-site{max-width:1240px;margin-inline:auto;padding-inline:24px}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* hero: text beside the footage from 900px up */
.hero-grid{grid-template-columns:1fr}
@media(min-width:900px){.hero-grid{grid-template-columns:1.2fr 1fr}}

/* nav is chrome, not content: it spans the window */
.nav-bar{width:100%;padding-inline:clamp(18px,3.6vw,60px);min-height:88px;gap:clamp(14px,2vw,28px)}
@media(max-width:640px){.nav-bar{min-height:72px}}
.nav-links{gap:clamp(15px,1.7vw,26px)}
.nav-links a{color:var(--ink-secondary);font-size:clamp(14.5px,1.15vw,15.5px);font-weight:500;
  white-space:nowrap}
.nav-links a[aria-current="page"]{color:var(--primary);font-weight:600}
.nav-links a[aria-current="page"]::after{transform:scaleX(1)}

/* The wordmark is the way home, so it has to look like somewhere to click.
   It was wrapping to two lines, which made it read as a static logo. */
.nav-logo{display:inline-flex;align-items:center;gap:10px;flex:none;text-decoration:none;
  white-space:nowrap;color:var(--ink);font-size:clamp(19px,1.6vw,25px);font-weight:600;
  padding:6px 10px 6px 6px;margin-left:-6px;border-radius:999px;
  transition:background .22s var(--ease-brand),color .22s var(--ease-brand)}
.nav-logo:hover{background:var(--surface-sunken);color:var(--primary)}
/* the logo is one image (symbol + drawn name, locked together). It stays at or above
   the guidelines' 140 px minimum width: 164 px wide here, 148 px on phones */
.nav-logo__img{display:block;height:40px;width:auto;flex:none}
@media(max-width:640px){.nav-logo__img{height:36px}}
/* the logo intro (site.js): the still logo stays hidden until the animated copy
   takes its place, and shows anyway after 2.5 s if the script never runs */
.logo-intro .nav-logo__img{animation:logo-failsafe 0s 2.5s both}
@keyframes logo-failsafe{from{visibility:hidden}to{visibility:visible}}

.nav-right{display:flex;align-items:center;gap:10px;flex:none}

/* --- the menu that did not exist below 900px --- */
.nav-burger{display:none;align-items:center;gap:9px;min-height:48px;padding:10px 16px 10px 13px;
  border:1px solid var(--border-default);border-radius:999px;background:transparent;cursor:pointer;
  font-family:var(--font-body);font-size:14.5px;font-weight:600;color:var(--ink)}
.nav-burger__box{display:grid;gap:4px;width:17px}
.nav-burger__box i{display:block;height:2px;border-radius:2px;background:var(--ink);
  transition:transform .3s var(--ease-brand),opacity .2s var(--ease-brand)}
.nav-burger[aria-expanded="true"] .nav-burger__box i:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-burger[aria-expanded="true"] .nav-burger__box i:nth-child(2){opacity:0}
.nav-burger[aria-expanded="true"] .nav-burger__box i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.nav-menu{display:none;border-top:1px solid var(--border-subtle);
  background:rgba(253,250,244,.97);backdrop-filter:blur(16px) saturate(1.4);
  -webkit-backdrop-filter:blur(16px) saturate(1.4);
  padding:10px clamp(18px,3.6vw,60px) 22px;max-height:calc(100vh - 72px);overflow-y:auto}
.nav-menu:not([hidden]){display:block}
.nav-menu__list{list-style:none;margin:0 0 16px;padding:0}
.nav-menu__list a{display:block;padding:15px 4px;text-decoration:none;color:var(--ink);
  font-family:var(--font-display);font-size:20px;font-weight:600;letter-spacing:-.02em;
  border-bottom:1px solid var(--border-subtle)}
.nav-menu__list li:last-child a{border-bottom:none}
.nav-menu__list a[aria-current="page"]{color:var(--primary)}
.nav-menu__list a[aria-current="page"]::after{content:" ·";color:var(--logo-green)}
.nav-menu__cta{width:100%}

@media(max-width:900px){
  .nav-links{display:none!important}
  .nav-burger{display:inline-flex}
  .nav-right .nav-cta{display:none}
}
@media (prefers-reduced-motion: reduce){
  .nav-logo,.nav-burger__box i{transition:none}
}
.nav-shell{position:sticky;top:0;z-index:50;border-bottom:1px solid transparent;transition:background .24s var(--ease-brand),border-color .24s var(--ease-brand)}
.nav-shell.scrolled{background:rgba(253,250,244,.82);backdrop-filter:blur(14px) saturate(1.4);-webkit-backdrop-filter:blur(14px) saturate(1.4);border-bottom-color:var(--border-subtle)}

/* arc-sweep underline */
.arc-link{position:relative;padding-bottom:4px;text-decoration:none}
.arc-link::after{content:"";position:absolute;left:0;right:0;bottom:0;height:8px;border-bottom:1.5px solid var(--logo-green);border-radius:0 0 50% 50%;transform:scaleX(0);transform-origin:left;transition:transform .38s var(--ease-brand)}
.arc-link:hover::after{transform:scaleX(1)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:13px 26px;border-radius:999px;font-family:var(--font-body);font-size:15.5px;font-weight:600;cursor:pointer;border:1px solid transparent;text-decoration:none;position:relative;overflow:hidden;transition:background .2s var(--ease-brand),color .2s var(--ease-brand),border-color .2s var(--ease-brand)}
.btn-primary{background:var(--primary);color:var(--on-primary)}
.btn-secondary{background:transparent;color:var(--primary);border-color:var(--primary)}
.btn-ondark{background:var(--dk-primary);color:#08221b}
.btn-ghost{background:transparent;color:var(--ink-secondary)}
.btn::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:45%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.3),transparent);transform:skewX(-18deg);transition:left .62s var(--ease-brand)}
.btn:hover::after{left:130%}
.btn:hover{filter:brightness(1.07)}

.section-dark{background:var(--dk-canvas);color:var(--dk-ink)}

/* liquid glass, dark sections only */
.glass-card{background:rgba(255,255,255,.05);backdrop-filter:blur(20px) saturate(1.2);-webkit-backdrop-filter:blur(20px) saturate(1.2);border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 32px rgba(0,0,0,.25)}
.spotlight{position:relative;overflow:hidden;border-radius:4px 4px 4px 64px;padding:30px;height:100%;transition:transform .42s var(--ease-brand),border-color .42s var(--ease-brand)}
.spotlight::before{content:"";position:absolute;inset:0;background:radial-gradient(340px circle at var(--mx,50%) var(--my,0%),rgba(174,234,0,.16),transparent 62%);opacity:0;transition:opacity .4s var(--ease-brand);pointer-events:none}
.spotlight:hover{transform:translateY(-4px);border-color:rgba(174,234,0,.42)}
.spotlight:hover::before{opacity:1}
.spotlight>*{position:relative;z-index:1}

/* ambient drift behind dark sections */
.aurora{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.aurora span{position:absolute;border-radius:50%;filter:blur(90px);opacity:.5;animation:drift 26s var(--ease-brand) infinite alternate}
.aurora span:nth-child(1){width:520px;height:520px;top:-14%;left:-8%;background:rgba(63,159,134,.5)}
.aurora span:nth-child(2){width:460px;height:460px;bottom:-18%;right:-6%;background:rgba(174,234,0,.16);animation-duration:34s;animation-direction:alternate-reverse}
.aurora span:nth-child(3){width:380px;height:380px;top:38%;left:46%;background:rgba(20,80,62,.7);animation-duration:30s}
@keyframes drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(60px,-50px,0) scale(1.16)}}

/* paper tooth so the oat is not flat */
.grain{position:relative}
.grain::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E")}

/* reveal on scroll */
.js .reveal{opacity:0;transform:translateY(22px) scale(.985);transition:opacity .5s var(--ease-brand),transform .5s var(--ease-brand)}
.reveal.visible{opacity:1;transform:none}

/* hero stat strip: three counts, catalogue leading on size */
.stat-strip{display:grid;grid-template-columns:1fr;border-top:1px solid var(--border-default);border-bottom:1px solid var(--border-default)}
.stat-cell{display:flex;flex-direction:column;justify-content:flex-end;gap:6px;padding:30px 4px 30px 0;border-top:1px solid var(--border-default)}
.stat-cell:first-child{border-top:none}
@media(min-width:800px){.stat-strip{grid-template-columns:1.7fr 1fr 1fr}.stat-cell{padding:34px 28px;border-top:none;border-left:1px solid var(--border-default)}.stat-cell--lead{padding-left:0;border-left:none}}
.stat-num{font-size:clamp(54px,7vw,88px);line-height:.85;font-weight:600;letter-spacing:-.04em;color:var(--primary);font-variant-numeric:tabular-nums}
/* sized for FOUR digits against the FALLBACK serif, which is wider than
   Fraunces and is what paints before the webfont arrives */
.stat-num--lead{font-size:clamp(68px,12.5vw,186px)}
.stat-label{font-size:clamp(15px,1.6vw,18px);color:var(--ink);line-height:1.3;max-width:20ch}
.stat-scripts{font-size:13.5px;color:var(--ink-secondary)}

/* scroll story: sticky visual, steps light at mid-screen */
.scroll-story{display:grid;gap:40px;align-items:start}
@media(min-width:900px){.scroll-story{grid-template-columns:.9fr 1.1fr;gap:72px}.scroll-story-media{position:sticky;top:120px}}
.story-step{padding:34px 0 34px 28px;border-left:2px solid var(--border-default);opacity:.42;transition:opacity .45s var(--ease-brand),border-color .45s var(--ease-brand),padding-left .45s var(--ease-brand)}
.story-step.is-active{opacity:1;border-left-color:var(--accent);padding-left:36px}
@media(min-width:900px){.story-step{min-height:46vh;display:flex;flex-direction:column;justify-content:center}}
.story-index{font-size:12px;letter-spacing:.12em;color:var(--accent-ink)}
.story-title{font-size:clamp(30px,4.4vw,50px);font-weight:600;line-height:1.05;margin:6px 0 10px}
.story-line{font-size:clamp(16px,1.7vw,19px);color:var(--ink-secondary);line-height:1.5;max-width:34ch}
.step-dots{position:absolute;left:20px;bottom:20px;display:flex;gap:7px}
.step-dots span{width:7px;height:7px;border-radius:999px;background:rgba(241,234,216,.35);transition:all .4s var(--ease-brand)}
.step-dots span.on{width:26px;background:var(--lime)}
.story-photo{position:absolute;inset:0;opacity:0;transform:scale(1.03);transition:opacity .6s var(--ease-brand),transform .6s var(--ease-brand)}
.story-photo.on{opacity:1;transform:scale(1)}
.story-photo:first-of-type{position:relative}

/* photo slot: a named placeholder until the real file lands */
.photo{position:relative;aspect-ratio:4/5;border-radius:4px 4px 4px 72px;overflow:hidden;background:var(--dk-surface);display:grid;place-items:center;gap:10px;text-align:center;padding:24px;background-image:linear-gradient(150deg,var(--dk-surface-2),var(--dk-canvas))}
.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.photo-name{font-size:12.5px;color:var(--dk-ink-secondary);letter-spacing:.04em}

/* engine + clinics grids */
.engine-grid{display:grid;gap:18px;grid-template-columns:1fr}
@media(min-width:768px){.engine-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.engine-grid{grid-template-columns:repeat(3,1fr)}}
.clinic-grid{display:grid;gap:20px;grid-template-columns:1fr}
@media(min-width:900px){.clinic-grid{grid-template-columns:repeat(3,1fr)}}

/* patient highlights: content-led, evenly sized, no empty boxes */
.patients-head{display:grid;gap:20px;margin-bottom:44px}
@media(min-width:860px){.patients-head{grid-template-columns:1.4fr 1fr;gap:48px}}
.hl-grid{display:grid;gap:16px;grid-template-columns:1fr}
@media(min-width:620px){.hl-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.hl-grid{grid-template-columns:repeat(3,1fr)}}
.hl-card{height:100%;padding:26px 24px 28px;background:var(--surface);border:1px solid var(--border-subtle);border-radius:4px 4px 4px 40px;transition:transform .38s var(--ease-brand),border-color .38s var(--ease-brand),box-shadow .38s var(--ease-brand)}
.hl-card:hover{transform:translateY(-4px);border-color:var(--accent);box-shadow:0 14px 34px rgba(21,48,58,.1)}
.hl-icon{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:999px;margin-bottom:16px;color:var(--primary);background:var(--surface-sunken);transition:background .38s var(--ease-brand),color .38s var(--ease-brand)}
.hl-card:hover .hl-icon{background:var(--primary);color:var(--on-primary)}
.hl-title{font-size:20px;font-weight:600;line-height:1.15;margin-bottom:7px}
.hl-body{font-size:15px;line-height:1.55;color:var(--ink-secondary)}
.patients-cta{margin-top:40px;padding:30px;border-radius:4px 4px 4px 56px;background:var(--surface-sunken);display:flex;gap:24px;flex-wrap:wrap;align-items:center;justify-content:space-between}

/* modal */
.modal-backdrop{position:fixed;inset:0;background:rgba(12,28,21,.55);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:100}
.modal-backdrop[hidden]{display:none}
.modal-card{background:var(--surface-raised);border-radius:24px;box-shadow:0 2px 4px rgba(21,48,58,.08),0 8px 24px rgba(21,48,58,.1);padding:32px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto}
.field{width:100%;min-height:44px;padding:10px 14px;border-radius:8px;border:1px solid var(--border-default);background:var(--surface);color:var(--ink);font-family:var(--font-body);font-size:15px}
.field-label{display:block;font-size:13px;font-weight:600;color:var(--ink-secondary);margin-bottom:6px}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .aurora span{animation:none}
  .reveal{opacity:1;transform:none;transition:none}
  .story-step{opacity:1}
  .hl-card:hover,.spotlight:hover{transform:none}
  .story-photo{transition:none}
}

/* ---------- multi-page additions ---------- */
.hero-grid{grid-template-columns:1fr}
@media(min-width:900px){.hero-grid{grid-template-columns:1.2fr 1fr}}

.page-head{padding-block:clamp(48px,7vw,88px)}
.page-h1{font-size:clamp(36px,6vw,64px);line-height:1;font-weight:600;letter-spacing:-.03em;margin:0 0 20px;max-width:16ch}
.page-sub{font-size:clamp(17px,2vw,20px);line-height:1.5;color:var(--ink-secondary);max-width:52ch;margin:0 0 32px}
.sec{padding-block:clamp(56px,7vw,88px)}
.sec h2{font-size:clamp(28px,4.2vw,46px);font-weight:600;line-height:1.05;letter-spacing:-.025em;margin:0 0 18px;max-width:18ch}
.sec p.lead{font-size:clamp(16px,1.9vw,19px);line-height:1.6;color:var(--ink-secondary);max-width:58ch;margin:0 0 32px}

.cols-2{display:grid;gap:20px;grid-template-columns:1fr}
@media(min-width:800px){.cols-2{grid-template-columns:repeat(2,1fr)}}
.cols-3{display:grid;gap:18px;grid-template-columns:1fr}
@media(min-width:700px){.cols-3{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.cols-3{grid-template-columns:repeat(3,1fr)}}

.card{background:var(--surface);border:1px solid var(--border-subtle);border-radius:4px 4px 4px 40px;padding:26px 24px 28px;height:100%}
.card h3{font-size:20px;font-weight:600;line-height:1.15;margin:0 0 8px}
.card p{font-size:15px;line-height:1.55;color:var(--ink-secondary);margin:0}

.tbl-wrap{overflow-x:auto;border:1px solid var(--border-default);border-radius:12px}
table.cmp{width:100%;border-collapse:collapse;font-size:14.5px;min-width:640px}
table.cmp th,table.cmp td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--border-subtle);vertical-align:top}
table.cmp thead th{background:var(--surface-sunken);font-weight:600;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
table.cmp tr:last-child td{border-bottom:none}
table.cmp td:first-child{font-weight:600;color:var(--ink)}

.two-list{display:grid;gap:18px;grid-template-columns:1fr}
@media(min-width:700px){.two-list{grid-template-columns:repeat(2,1fr)}}
.two-list>div{padding:24px;border-radius:4px 4px 4px 36px}
.list-yes{background:rgba(46,125,91,.08);border:1px solid rgba(46,125,91,.3)}
.list-no{background:rgba(200,70,58,.06);border:1px solid rgba(200,70,58,.25)}
.two-list h3{font-size:16px;margin:0 0 12px;font-weight:600}
.two-list ul{margin:0;padding:0;list-style:none;display:grid;gap:9px}
.two-list li{font-size:14.5px;line-height:1.5;color:var(--ink-secondary);display:flex;gap:9px}
.two-list li::before{content:"—";color:var(--ink-tertiary);flex-shrink:0}

.fill{background:rgba(202,161,47,.16);border:1px dashed var(--warning);border-radius:6px;padding:2px 8px;font-size:.92em;color:#6b5310;font-family:var(--font-body);white-space:normal}

.faq{display:grid;gap:0;border-top:1px solid var(--border-default)}
.faq details{border-bottom:1px solid var(--border-default)}
.faq summary{cursor:pointer;padding:20px 0;font-size:17px;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--accent-deep);font-size:22px;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq p{margin:0 0 20px;font-size:15.5px;line-height:1.6;color:var(--ink-secondary);max-width:62ch}

.legal{max-width:760px;margin-inline:auto;padding-block:56px}
.legal h1{font-size:clamp(30px,4vw,44px);font-weight:600;margin:0 0 8px}
.legal .meta{font-size:14px;color:var(--ink-tertiary);margin-bottom:28px}
.legal .summary{background:var(--surface-sunken);border-radius:4px 4px 4px 36px;padding:24px;margin-bottom:32px;font-size:15.5px;line-height:1.6}
.legal h2{font-size:23px;font-weight:600;margin:36px 0 12px;line-height:1.2}
.legal p,.legal li{font-size:15.5px;line-height:1.68;color:var(--ink-secondary)}
.legal table{width:100%;border-collapse:collapse;font-size:14px;margin:18px 0}
.legal th,.legal td{padding:10px 12px;border:1px solid var(--border-subtle);text-align:left;vertical-align:top}
.legal th{background:var(--surface-sunken);font-weight:600}
.legal .toc{border-left:2px solid var(--accent);padding-left:18px;margin-bottom:32px}
.legal .toc a{display:block;font-size:14.5px;color:var(--ink-secondary);text-decoration:none;padding:3px 0}
.legal .toc a:hover{color:var(--primary)}

.mini-cta{background:var(--surface-sunken);border-radius:4px 4px 4px 56px;padding:32px;display:flex;gap:24px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-top:8px}
.mini-cta p{font-size:22px;font-weight:600;margin:0;max-width:24ch}

.disclaimer-strip{background:var(--surface-sunken);border-top:1px solid var(--border-default);font-size:13px;color:var(--ink-secondary);padding:16px 0;text-align:center}

/* ============================================================
   VISUAL SYSTEM — grandness.
   Layered figures with gradient borders, pose-overlay frames
   that read as designed art before a photograph exists, and
   editorial image/text splits. Motion is scroll-driven.
   ============================================================ */

/* --- gradient-bordered frame: the signature container --- */
.gframe{position:relative;border-radius:28px;padding:3px;background-color:var(--accent);background-image:linear-gradient(140deg,var(--dk-primary),var(--accent) 55%,var(--error));box-shadow:0 30px 80px rgba(21,48,58,.22);height:100%}
/* height:100% resolves to auto when the parent is auto-height, so a frame used
   standalone still sizes from its child's aspect-ratio. Inside a sized box
   (.stack__tall) it fills instead — without this both collapse to zero. */
.gframe>*{border-radius:25px;overflow:hidden;display:block;background:var(--dk-canvas);height:100%;min-height:inherit}
.gframe--soft{background-color:var(--dk-primary);background-image:linear-gradient(140deg,rgba(63,159,134,.9),rgba(207,138,78,.75) 60%,rgba(200,70,58,.6))}

/* --- layered stack: a small card overlapping a tall one --- */
.stack{position:relative;min-height:clamp(420px,52vw,660px)}
.stack__tall{position:relative;z-index:2;width:min(62%,340px);margin-left:auto;aspect-ratio:9/17}
.stack__wide{position:absolute;left:0;bottom:8%;z-index:3;width:min(58%,330px);aspect-ratio:4/3}
.stack__line{position:absolute;left:14%;top:22%;width:44%;height:34%;z-index:1;pointer-events:none}

.stack__line path{fill:none;stroke:url(#stackGrad);stroke-width:2}
.js .stack__line path{fill:none;stroke:url(#stackGrad);stroke-width:2;stroke-dasharray:var(--len,600);stroke-dashoffset:var(--len,600);transition:stroke-dashoffset 1.6s var(--ease-brand) .2s}
.is-in .stack__line path{stroke-dashoffset:0}
@media(max-width:720px){
  .stack{min-height:auto;display:grid;gap:18px}
  .stack__tall{width:100%;max-width:300px;margin-inline:auto}
  .stack__wide{position:static;width:100%}
  .stack__line{display:none}
}

/* --- pose frame: a designed asset with or without a photograph --- */
.pose{position:relative;width:100%;height:100%;min-height:220px;background-color:var(--dk-canvas);background-image:linear-gradient(165deg,#2a4a3d,#0c1c15 70%)}
.pose img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pose svg.skeleton{position:absolute;inset:0;width:100%;height:100%}
/* the drawn figure is only a fallback: once a picture loads, it steps aside */
.pose img + svg.skeleton{display:none}
.pose .joint{fill:#fff}
.pose .bone{stroke:#fff;stroke-width:2.6;stroke-linecap:round;fill:none}
.pose__chevrons{position:absolute;left:6%;top:42%;display:grid;gap:7px}
.pose__chevrons svg{width:46px;height:22px;opacity:.25;transition:opacity .4s var(--ease-brand)}
.is-in .pose__chevrons svg{animation:chev 2.4s var(--ease-brand) infinite}
.is-in .pose__chevrons svg:nth-child(2){animation-delay:.2s}
.is-in .pose__chevrons svg:nth-child(3){animation-delay:.4s}
.is-in .pose__chevrons svg:nth-child(4){animation-delay:.6s}
@keyframes chev{0%,100%{opacity:.22}45%{opacity:1}}
.pose__count{position:absolute;left:0;right:0;bottom:22px;text-align:center;color:#fff;font-family:var(--font-body);letter-spacing:-.02em}
.pose__count b{font-size:40px;font-weight:700;font-variant-numeric:tabular-nums}
.pose__count span{font-size:20px;opacity:.72}
.pose__tag{position:absolute;left:16px;top:16px;display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:rgba(12,28,21,.5);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:11.5px;letter-spacing:.08em}
.pose__dot{width:6px;height:6px;border-radius:999px;background:var(--lime)}

/* --- editorial split: big image, flowing text --- */
.split{display:grid;gap:clamp(28px,4vw,64px);align-items:center}
@media(min-width:900px){
  .split{grid-template-columns:1fr 1fr}
  .split--wide{grid-template-columns:1.15fr .85fr}
  .split--flip .split__media{order:2}
}
.split__media{position:relative}
.split__media .gframe>*{aspect-ratio:4/5}
.split__body p{font-size:clamp(16.5px,1.9vw,19px);line-height:1.65;color:var(--ink-secondary);margin:0 0 18px;max-width:52ch}
.split__body p:last-child{margin-bottom:0}
.split__quote{font-family:var(--font-display);font-size:clamp(26px,3.6vw,44px);line-height:1.12;font-weight:600;letter-spacing:-.02em;color:var(--primary);margin:0 0 26px;max-width:16ch}

/* --- story card: image with a play affordance --- */
.story{position:relative;display:block;text-decoration:none}
.story .gframe>*::after{content:"";position:absolute;left:0;right:0;bottom:0;height:45%;background:linear-gradient(to top,rgba(6,16,12,.82),rgba(6,16,12,0));background-color:transparent;pointer-events:none;z-index:3}
.story .gframe>*{aspect-ratio:4/3}
.story__bar{position:absolute;left:22px;right:22px;bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:16px;z-index:4}
.story__label{color:#fff;font-weight:600;font-size:16px;text-shadow:0 1px 12px rgba(0,0,0,.5)}
.story__play{width:48px;height:48px;border-radius:999px;border:1.5px solid rgba(255,255,255,.75);display:grid;place-items:center;background:rgba(12,28,21,.35);backdrop-filter:blur(10px);transition:transform .4s var(--ease-brand),background .4s var(--ease-brand);flex-shrink:0}
.story:hover .story__play{transform:scale(1.12);background:var(--lime)}
.story:hover .story__play svg{fill:#0c1c15}
.story__play svg{fill:#fff;transition:fill .4s var(--ease-brand)}

/* --- parallax + staggered reveal --- */
.par{will-change:transform}
.js .stagger>*{opacity:0;transform:translateY(26px);transition:opacity .7s var(--ease-brand),transform .7s var(--ease-brand)}
.is-in.stagger>*{opacity:1;transform:none}
.is-in.stagger>*:nth-child(2){transition-delay:.09s}
.is-in.stagger>*:nth-child(3){transition-delay:.18s}
.is-in.stagger>*:nth-child(4){transition-delay:.27s}
.is-in.stagger>*:nth-child(5){transition-delay:.36s}
.is-in.stagger>*:nth-child(6){transition-delay:.45s}

.js .fade-up{opacity:0;transform:translateY(30px);transition:opacity .8s var(--ease-brand),transform .8s var(--ease-brand)}
.is-in.fade-up{opacity:1;transform:none}
.js .scale-in{opacity:0;transform:scale(.95);transition:opacity .9s var(--ease-brand),transform .9s var(--ease-brand)}
.is-in.scale-in{opacity:1;transform:none}

/* --- oversized section numbers, editorial --- */
.bignum{font-family:var(--font-display);font-size:clamp(64px,9vw,130px);line-height:.8;font-weight:600;letter-spacing:-.05em;color:rgba(19,76,88,.22);display:block;margin-bottom:-.18em}

/* --- pull quote band --- */
.pull{background:var(--primary-deep);color:var(--dk-ink);position:relative;overflow:hidden}
.pull blockquote{font-family:var(--font-display);font-size:clamp(26px,4.2vw,52px);line-height:1.1;font-weight:600;letter-spacing:-.025em;margin:0;max-width:22ch}
.pull cite{display:block;margin-top:24px;font-family:var(--font-body);font-style:normal;font-size:15px;color:var(--dk-ink-secondary)}

@media (prefers-reduced-motion: reduce){
  .stagger>*,.fade-up,.scale-in{opacity:1;transform:none;transition:none}
  .stack__line path{stroke-dashoffset:0;transition:none}
  .is-in .pose__chevrons svg{animation:none;opacity:.7}
  .par{transform:none!important}
}

/* --- product footage frame --- */
.vframe .vwrap{position:relative;aspect-ratio:var(--vr,4/3);background-color:var(--dk-canvas);min-height:200px}
.vframe video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* the floating measurement chip that overlaps the footage */
.vstat{position:absolute;left:0;bottom:9%;z-index:4;display:flex;align-items:center;gap:14px;padding:16px 22px;border-radius:20px;
  background:rgba(253,250,244,.92);backdrop-filter:blur(16px) saturate(1.3);-webkit-backdrop-filter:blur(16px) saturate(1.3);
  border:1px solid rgba(255,255,255,.7);box-shadow:0 18px 44px rgba(21,48,58,.20)}
.vstat__num{font-family:var(--font-display);font-size:34px;font-weight:600;line-height:1;color:var(--primary);font-variant-numeric:tabular-nums}
.vstat__num span{font-size:18px;color:var(--ink-tertiary)}
.vstat__label{font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-secondary);line-height:1.3;max-width:11ch}
.vstat__chev{display:grid;gap:4px}
.vstat__chev svg{width:26px;height:12px}
.is-in .vstat__chev svg{animation:chev 2.4s var(--ease-brand) infinite}
.is-in .vstat__chev svg:nth-child(2){animation-delay:.2s}
.is-in .vstat__chev svg:nth-child(3){animation-delay:.4s}

.hero-media{position:relative}
@media(max-width:720px){
  .vstat{position:static;margin-top:16px;width:100%;justify-content:flex-start}
}
@media (prefers-reduced-motion: reduce){ .is-in .vstat__chev svg{animation:none;opacity:.8} }

/* ============================================================
   UTILITIES — the 20 classes the markup actually uses.
   These replace the Tailwind browser CDN, which compiled CSS at
   runtime and blocked first paint for ~3.3s on every page.
   ============================================================ */
.flex{display:flex}
.grid{display:grid}
.inline-flex{display:inline-flex}
.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}
.items-center{align-items:center}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.gap-6{gap:24px}
.gap-2\.5{gap:10px}
.relative{position:relative}
.absolute{position:absolute}
.inset-0{inset:0}
.w-full{width:100%}
.h-full{height:100%}
.m-0{margin:0}
.p-0{padding:0}
.list-none{list-style:none}
.no-underline{text-decoration:none}
.overflow-hidden{overflow:hidden}
.text-center{text-align:center}

/* --- ambient drift, made cheap ---------------------------------
   Three 90px-blur layers animating forever is the most expensive
   thing a compositor can be asked to do. The blur is halved, the
   layers are promoted to their own compositing layer, and the
   animation is paused whenever the section is out of view. */
.aurora span{filter:blur(56px);will-change:transform;animation-play-state:paused}
.is-in .aurora span,.aurora.is-in span{animation-play-state:running}

/* --- curved section boundaries --- */
.arcdiv{line-height:0;margin-top:-1px}
.arcdiv svg{display:block;width:100%;height:clamp(44px,5.5vw,86px)}

/* --- the arc corner, restored to the frames --- */
.gframe{border-radius:28px 28px 28px 96px}
.gframe>*{border-radius:25px 25px 25px 93px}
.vframe .vwrap{border-radius:25px 25px 25px 93px}
@media(max-width:600px){
  .gframe{border-radius:22px 22px 22px 60px}
  .gframe>*,.vframe .vwrap{border-radius:19px 19px 19px 57px}
}

/* ============================================================
   BACKGROUND TRANSITIONS
   A slow wash that drifts with scroll position, and a warm bloom
   that follows the cursor across a card. Both are driven by CSS
   custom properties so the browser animates them on the
   compositor rather than re-running layout.
   ============================================================ */
.sec,.page-head{position:relative}
.wash{position:relative;isolation:isolate}
.wash::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(52% 46% at calc(18% + var(--sp,0)*26%) calc(12% + var(--sp,0)*30%),rgba(63,159,134,.16),transparent 68%),
    radial-gradient(46% 40% at calc(84% - var(--sp,0)*22%) calc(74% - var(--sp,0)*24%),rgba(207,138,78,.14),transparent 66%);
  transition:opacity .6s var(--ease-brand);
}
.section-dark.wash::before{
  background:
    radial-gradient(54% 48% at calc(16% + var(--sp,0)*28%) calc(14% + var(--sp,0)*26%),rgba(63,159,134,.30),transparent 66%),
    radial-gradient(44% 40% at calc(86% - var(--sp,0)*24%) calc(78% - var(--sp,0)*28%),rgba(174,234,0,.10),transparent 64%);
}

/* cards bloom warm under the cursor */
.card,.hl-card{position:relative;isolation:isolate;overflow:hidden}
.card::after,.hl-card::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;
  background:radial-gradient(240px circle at var(--cx,50%) var(--cy,50%),rgba(207,138,78,.20),transparent 70%);
  transition:opacity .45s var(--ease-brand);
}
.card:hover::after,.hl-card:hover::after{opacity:1}

/* the whole page tints faintly as you travel down it */
body{transition:background-color .8s linear}

@media (prefers-reduced-motion: reduce){
  .wash::before{--sp:.5!important}
  .card::after,.hl-card::after{transition:none}
}

/* ============================================================
   CAPABILITY MATRIX — dot ratings across alternatives.
   Compares CATEGORIES, never a named product: we can evidence
   our own column and describe a category as commonly built, but
   we cannot audit a competitor's internals.
   ============================================================ */
.matrix{width:100%;border-collapse:collapse;font-size:15px;min-width:660px}
.matrix th,.matrix td{padding:14px 12px;text-align:center;vertical-align:middle}
.matrix thead th{font-size:15px;font-weight:600;line-height:1.2;padding-bottom:18px}
.matrix thead th.is-us{background:rgba(19,76,88,.07);border-radius:14px 14px 0 0;color:var(--primary);font-family:var(--font-display);font-size:20px}
.matrix td.is-us,.matrix tr:last-child td.is-us{background:rgba(19,76,88,.07)}
.matrix tr:last-child td.is-us{border-radius:0 0 14px 14px}
.matrix th.row-label,.matrix td.row-label{text-align:left;font-weight:600;color:var(--ink);width:34%;padding-left:0}
.matrix .grp td{padding:26px 0 8px;text-align:left}
.matrix .grp span{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-ink)}
.dots{display:inline-flex;gap:6px}
.dots i{width:22px;height:9px;border-radius:3px;background:var(--border-default);display:block}
.dots i.on{background:var(--primary)}
.is-us .dots i.on{background:var(--success)}
.matrix tbody tr:not(.grp):hover td:not(.is-us){background:rgba(207,138,78,.06)}
.matrix tbody tr:not(.grp){transition:background .3s var(--ease-brand)}
.matrix-note{font-size:13px;color:var(--ink-tertiary);margin-top:16px;max-width:66ch}

/* ============================================================
   CHARTS — interface demonstrations, always labelled as such.
   No chart on this site carries patient data.
   ============================================================ */
.chart-card{background:var(--surface);border:1px solid var(--border-subtle);border-radius:4px 4px 4px 40px;padding:26px}
.chart-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:6px;flex-wrap:wrap}
.chart-head h3{font-size:19px;font-weight:600;margin:0}
.chart-tag{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-tertiary);border:1px dashed var(--border-default);border-radius:999px;padding:4px 10px}
.chart-sub{font-size:14px;color:var(--ink-secondary);margin:0 0 18px}
.chart-card svg{width:100%;height:auto;display:block;overflow:visible}
.chart-line{fill:none;stroke:var(--primary);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:var(--len,600);stroke-dashoffset:var(--len,600)}
.is-in .chart-line{transition:stroke-dashoffset 1.8s var(--ease-brand) .15s;stroke-dashoffset:0}
.chart-area{fill:url(#romFill);opacity:0;transition:opacity 1s var(--ease-brand) .8s}
.is-in .chart-area{opacity:1}
.chart-dot{fill:var(--surface);stroke:var(--primary);stroke-width:2.5;opacity:0;transition:opacity .4s var(--ease-brand)}
.is-in .chart-dot{opacity:1}
.is-in .chart-dot:nth-of-type(2){transition-delay:.9s}
.is-in .chart-dot:nth-of-type(3){transition-delay:1.1s}
.is-in .chart-dot:nth-of-type(4){transition-delay:1.3s}
.is-in .chart-dot:nth-of-type(5){transition-delay:1.5s}
.is-in .chart-dot:nth-of-type(6){transition-delay:1.7s}
.chart-axis{stroke:var(--border-default);stroke-width:1}
.chart-tick{font-size:11px;fill:var(--ink-tertiary);font-family:var(--font-body)}
.bar{fill:var(--primary);opacity:.85;transform-origin:bottom;transform:scaleY(0);transition:transform .7s var(--ease-brand)}
.is-in .bar{transform:scaleY(1)}
.bar.pain{fill:var(--error)}
@media (prefers-reduced-motion: reduce){
  .chart-line{stroke-dashoffset:0;transition:none}
  .chart-area,.chart-dot{opacity:1;transition:none}
  .bar{transform:none;transition:none}
}

/* ============================================================
   CARD ILLUSTRATIONS
   Line drawings that show the mechanism the card describes.
   They sit above the heading, tint on hover, and animate only
   when the card is hovered — nothing loops on an idle screen.
   ============================================================ */
.illus{margin:-6px 0 16px;pointer-events:none}
.illus svg{width:100%;max-width:210px;height:auto;display:block;overflow:visible}
.illus svg *{
  vector-effect:non-scaling-stroke;
  transition:stroke .4s var(--ease-brand),fill .4s var(--ease-brand),opacity .4s var(--ease-brand),transform .5s var(--ease-brand);
}

/* base ink */
.illus .il-body,.illus .il-arc,.illus .il-track,.illus .il-wave,.illus .il-dash,.illus .il-lead,.illus .il-ring,.illus .il-sweep,.illus .il-pulse{
  fill:none;stroke:var(--ink-tertiary);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.illus .il-dash{stroke-dasharray:5 6}
.illus .il-ghost{opacity:.45}
.illus .il-lead,.illus .il-ring,.illus .il-sweep,.illus .il-stop{stroke:var(--primary)}
.illus .il-arc{stroke:var(--accent);stroke-dasharray:4 6}
.illus .il-joint{fill:var(--primary);stroke:none}
.illus .il-stop{fill:none;stroke-width:2.4}
.illus .il-num{font-family:var(--font-body);font-size:15px;font-weight:700;fill:var(--primary)}
.illus .il-pulse{stroke:var(--accent);opacity:0}
.illus .il-track{stroke-dasharray:none}

/* --- on hover, each illustration performs its own idea --- */
.card:hover .illus .il-body,.card:hover .illus .il-arc{stroke:var(--primary)}
.card:hover .illus .il-dash{stroke:var(--accent);stroke-dashoffset:-22}
.card:hover .illus .il-pulse{opacity:1;transform:translateY(-6px)}
.card:hover .illus .il-ghost{opacity:.8}
.card:hover .illus .il-sweep{transform:rotate(-16deg);transform-origin:108px 92px}
.card:hover .illus .il-arc{stroke-dashoffset:-20}
.card:hover .illus .il-ring{stroke:var(--success);stroke-width:2.6}
.card:hover .illus .il-stop{stroke:var(--error);fill:rgba(200,70,58,.12)}
.card:hover .illus .il-tap{transform:translateY(-5px);stroke:var(--error)}
.card:hover .illus .il-wave{stroke:var(--error);opacity:.9;transform:scale(1.06);transform-origin:100px 46px}
.card:hover .illus .il-num{fill:var(--primary)}

@media (prefers-reduced-motion: reduce){
  .illus svg *{transition:none}
  .card:hover .illus .il-sweep,.card:hover .illus .il-tap,.card:hover .illus .il-pulse,.card:hover .illus .il-wave{transform:none}
}

/* --- illustration vocabulary, extended --- */
.illus .il-cap{font-family:var(--font-body);font-size:12px;fill:var(--ink-tertiary);letter-spacing:.04em}
.illus .il-script{font-size:13px}
.illus .il-fill,.illus .il-rise,.illus .il-reply,.illus .il-check,.illus .il-mark path{stroke:var(--primary)}
.illus .il-fillsq rect{fill:var(--primary);stroke:none;opacity:.85}
.illus .il-mid{fill:var(--accent)}
.illus .il-reply{fill:none}
.illus .il-track rect{fill:none;stroke:var(--border-default);stroke-width:1.8}
.illus .il-body ellipse{fill:none}

/* the highlight cards animate on the same rules as the feature cards */
.hl-card .illus{margin:-4px 0 14px}
.hl-card .illus svg{max-width:180px}
.hl-card:hover .illus .il-body,.hl-card:hover .illus .il-arc{stroke:var(--primary)}
.hl-card:hover .illus .il-dash{stroke:var(--accent);stroke-dashoffset:-22}
.hl-card:hover .illus .il-arc{stroke-dashoffset:-20}
.hl-card:hover .illus .il-stop{stroke:var(--error);fill:rgba(200,70,58,.12)}
.hl-card:hover .illus .il-tap{transform:translateY(-5px);stroke:var(--error)}
.hl-card:hover .illus .il-wave{stroke:var(--error);opacity:.9;transform:scale(1.06);transform-origin:100px 46px}

/* each new illustration performs its idea */
.card:hover .illus .il-fill,.hl-card:hover .illus .il-fill{transform:scaleX(1.28);transform-origin:42px 60px}
.card:hover .illus .il-mark,.hl-card:hover .illus .il-mark{transform:translateX(16px)}
.card:hover .illus .il-fillsq rect:nth-child(4){opacity:.35}
.card:hover .illus .il-mid{fill:var(--success);transform:translateY(-5px)}
.card:hover .illus .il-check,.hl-card:hover .illus .il-check{stroke:var(--success)}
.card:hover .illus .il-rise,.hl-card:hover .illus .il-rise{transform:translateY(-5px)}
.card:hover .illus .il-reply,.hl-card:hover .illus .il-reply{transform:translateX(6px);stroke:var(--accent-deep)}
.card:hover .illus .il-script,.hl-card:hover .illus .il-script{fill:var(--primary)}

@media (prefers-reduced-motion: reduce){
  .card:hover .illus *,.hl-card:hover .illus *{transform:none!important}
}

/* ============================================================
   The interactive measurement (angleDemo).
   A dark instrument panel: the stage on the left is a goniometer
   the visitor operates, the panel on the right is the record it
   produces. Colour carries the whole verdict — dim below the
   accept threshold, amber inside the lenient band, lime once the
   joint has genuinely reached target — so the state is legible
   without reading a word.
   ============================================================ */
.angd{display:grid;gap:20px;grid-template-columns:1fr;align-items:stretch;margin-top:clamp(28px,4vw,44px)}
@media(min-width:960px){.angd{grid-template-columns:1.35fr 1fr;gap:26px}}

.angd__stage{position:relative;container-type:inline-size;border-radius:28px 28px 28px 96px;overflow:hidden;
  background:radial-gradient(120% 90% at 62% 18%,rgba(63,159,134,.20),transparent 62%),var(--dk-surface);
  background-color:var(--dk-surface);border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 24px 64px rgba(0,0,0,.34)}
.angd__svg{display:block;width:100%;height:auto;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}
.angd.is-dragging .angd__svg{cursor:grabbing}
.angd__svg:focus-visible{outline:2px solid var(--lime);outline-offset:-4px;border-radius:24px}

/* the seated figure — one AI-generated photo, with the pose points the camera
   reads drawn over the body */
.ad-body{pointer-events:none}
.ad-bone{fill:none;stroke:var(--dk-primary);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.ad-measured{stroke:var(--dk-ink);stroke-width:2.6;opacity:.95}
.ad-joint{fill:var(--dk-canvas);stroke:var(--dk-primary);stroke-width:1.8}
.ad-joint--knee{fill:var(--knee-red);stroke:none;pointer-events:none}
/* the knee: rings leave the red point and fade, one after another */
.ad-pulse{fill:none;stroke:var(--knee-red);stroke-width:1.3;vector-effect:non-scaling-stroke;pointer-events:none;
  transform-box:fill-box;transform-origin:center;animation:adknee 2.4s ease-out infinite}
.ad-pulse--2{animation-delay:-.8s}
.ad-pulse--3{animation-delay:-1.6s}
@keyframes adknee{from{transform:scale(1);opacity:.9}to{transform:scale(3.6);opacity:0}}
.ad-joint--ankle{fill:var(--dk-ink);stroke:var(--dk-canvas);stroke-width:2}

/* the gauge */
.ad-track{fill:none;stroke:rgba(241,234,216,.13);stroke-width:3.5;stroke-linecap:round}
.ad-arc{fill:none;stroke:rgba(241,234,216,.42);stroke-width:3.5;stroke-linecap:round;
  transition:stroke .22s var(--ease-brand)}
.ad-tick{fill:none;stroke:rgba(241,234,216,.34);stroke-width:2.4;stroke-linecap:round}
.ad-tick--target{stroke:var(--lime);stroke-width:3.2}
.ad-tlabel{fill:rgba(241,234,216,.52);font-family:var(--font-body);font-size:12px;letter-spacing:.04em;
  paint-order:stroke;stroke:var(--dk-surface);stroke-width:4px;stroke-linejoin:round}
.ad-tlabel--target{fill:var(--lime);font-weight:600}
.ad-peak{fill:none;stroke:rgba(241,234,216,.55);stroke-width:2.4;stroke-linecap:round;opacity:0;
  transition:opacity .2s var(--ease-brand)}
.angd.is-armed .ad-peak{opacity:1}

/* the verdict, carried by colour */
.angd{--knee-red:#ff3b2b;--q-low:#f0853c;--q-avg:#f4e08a;--q-good:#58c7a0;--q-top:var(--lime)}
.angd[data-band=low],.angd [data-band=low]{--band:var(--q-low)}
.angd[data-band=avg],.angd [data-band=avg]{--band:var(--q-avg)}
.angd[data-band=good],.angd [data-band=good]{--band:var(--q-good)}
.angd[data-band=top],.angd [data-band=top]{--band:var(--q-top)}
.angd[data-band] .ad-arc{stroke:var(--band)}
.angd.is-target .ad-joint--ankle{fill:var(--lime)}

.angd__tag{left:6cqw;top:auto;bottom:4.5cqw;font-size:clamp(8.5px,1.85cqw,11.5px);gap:2cqw;
  padding:clamp(4px,1.1cqw,7px) clamp(9px,2.4cqw,14px)}

/* The measurement is drawn INSIDE the svg so it scales with the figure it
   describes. Sized in viewport units it tracked the window instead of the
   stage, and landed on top of the leg in the narrow column. */
.ad-num{font-family:var(--font-display);font-weight:600;font-size:58px;fill:var(--dk-ink);
  font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.ad-deg{fill:var(--dk-primary)}
.ad-caption{font-family:var(--font-body);font-size:10.5px;letter-spacing:.09em;fill:var(--dk-ink-secondary)}
.angd.is-target .ad-num{fill:var(--lime)}

.angd__hint{position:absolute;right:5cqw;top:27cqw;max-width:34cqw;margin:0;text-align:right;
  font-size:clamp(11px,2.1cqw,13px);letter-spacing:.04em;color:var(--dk-ink-secondary);
  pointer-events:none;transition:opacity .3s var(--ease-brand)}
.angd.is-touched .angd__hint{opacity:0}
.ad-ring{fill:none;stroke:var(--lime);stroke-width:2;opacity:0}
.angd:not(.is-touched) .ad-ring{animation:adpulse 2.4s var(--ease-brand) infinite}
@keyframes adpulse{0%{opacity:.7;transform:scale(.62)}70%{opacity:0;transform:scale(1.25)}100%{opacity:0;transform:scale(1.25)}}
.ad-ring{transform-box:fill-box;transform-origin:center}

/* the record it produces */
.angd__panel{display:flex;flex-direction:column;border-radius:28px 28px 96px 28px;padding:clamp(22px,3vw,30px);
  background:rgba(255,255,255,.05);backdrop-filter:blur(20px) saturate(1.2);
  -webkit-backdrop-filter:blur(20px) saturate(1.2);border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 32px rgba(0,0,0,.25)}
.angd__ptitle{color:var(--dk-accent);margin:0 0 6px}
.angd__ex{margin:0 0 16px;font-size:13.5px;color:var(--dk-ink-secondary)}
.angd__count{display:flex;align-items:baseline;gap:10px}
.angd__count b{font-family:var(--font-display);font-size:clamp(38px,5.4vw,52px);font-weight:600;
  color:var(--dk-ink);font-variant-numeric:tabular-nums;line-height:1}
.angd__count span{font-size:14px;color:var(--dk-ink-secondary)}
.angd__bar{height:5px;border-radius:999px;background:rgba(241,234,216,.14);margin:16px 0 20px;overflow:hidden}
.angd__bar i{display:block;height:100%;width:0;border-radius:999px;background:var(--lime);
  transition:width .38s var(--ease-brand)}

.angd__log{list-style:none;margin:0;padding:0;display:grid;align-content:start;gap:8px;flex:1}
.angd__row{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;align-items:baseline;
  padding:11px 14px;border-radius:4px 4px 4px 18px;background:rgba(241,234,216,.06);
  border-left:2px solid var(--band,var(--dk-accent))}
.angd__row b{font-size:13.5px;color:var(--dk-ink);font-weight:600}
.angd__row span{font-size:13.5px;color:var(--dk-ink);font-variant-numeric:tabular-nums;justify-self:end}
.angd__row i{grid-column:1/-1;font-style:normal;font-size:12px;letter-spacing:.03em;color:var(--dk-ink-secondary)}
.angd__row--full i{color:var(--lime)}
.js .angd__row{animation:adrow .42s var(--ease-brand) both}
@keyframes adrow{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* the set's summary, in place of the log once the last rep banks */
.angd.is-complete .angd__log{display:none}
.angd__quality{flex:1}
.angd__quality:empty{display:none}
.angd__qtitle{margin:0 0 14px;font:600 19px/1.2 var(--font-display);color:var(--dk-ink)}
.angd__qbody{display:grid;grid-template-columns:clamp(84px,30%,116px) 1fr;gap:clamp(14px,2vw,22px);align-items:center}
.angd__ring{display:block;width:100%;height:auto;transform:rotate(-90deg)}
.angd__seg{fill:none;stroke:var(--band);stroke-width:24;transition:stroke-dasharray .8s var(--ease-brand),opacity .18s var(--ease-brand)}
.angd__qlist{list-style:none;margin:0;padding:0;display:grid;gap:9px;min-width:0}
.angd__qlist li{display:grid;grid-template-columns:10px 1fr auto;gap:10px;align-items:center;transition:opacity .18s var(--ease-brand)}
.angd__qlist i{width:10px;height:10px;border-radius:50%;background:var(--band)}
.angd__qlist span{font-size:14px;color:var(--dk-ink);min-width:0}
.angd__qlist small{font-size:12px;color:var(--dk-ink-secondary);white-space:nowrap}
.angd__qlist b{font-size:15px;font-weight:600;color:var(--dk-ink);font-variant-numeric:tabular-nums}
.has-hot .angd__seg:not(.is-hot),.has-hot .angd__qlist li:not(.is-hot){opacity:.35}

.angd__empty{margin:0;font-size:14px;line-height:1.6;color:var(--dk-ink-secondary)}
.angd__empty b{color:var(--dk-ink)}
.angd__done{margin:16px 0 0;font-size:14px;line-height:1.6;color:var(--lime);display:none}
.angd.is-complete .angd__done{display:block}
.angd__reset{margin-top:18px;align-self:flex-start;background:none;border:none;padding:6px 0;cursor:pointer;
  font-family:var(--font-body);font-size:13.5px;font-weight:600;color:var(--dk-ink-secondary);
  border-bottom:1px solid rgba(241,234,216,.28);visibility:hidden}
.angd.is-started .angd__reset{visibility:visible}
.angd__reset:hover{color:var(--dk-ink)}

@media (prefers-reduced-motion: reduce){
  .angd:not(.is-touched) .ad-ring{animation:none;opacity:.7}
  .js .angd__row{animation:none}
  .angd__bar i,.angd__seg{transition:none}
  .ad-pulse{animation:none;opacity:.5;transform:scale(1.6)}
  .ad-pulse--2{opacity:.32;transform:scale(2.3)}
  .ad-pulse--3{opacity:.18;transform:scale(3)}
}
.angd__foot{margin:clamp(20px,3vw,28px) 0 0;max-width:76ch;font-size:14.5px;line-height:1.65;
  color:var(--dk-ink-secondary)}
.angd__foot b{color:var(--dk-ink)}
.angd__foot a{color:var(--lime);font-weight:600;text-decoration:none;white-space:nowrap}

/* ============================================================
   Engagement quiz.
   A small dark panel in the corner, in the product's own colours
   so it reads as the app speaking rather than a marketing pop-up.
   Every screen keeps a skip in the footer, and the tab is a tab —
   it never covers the page and never opens itself.
   ============================================================ */
.qz{position:fixed;right:clamp(14px,2.4vw,26px);bottom:clamp(14px,2.4vw,26px);z-index:60;
  font-family:var(--font-body)}
.qz__live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.qz__bar{display:inline-flex;align-items:stretch;border-radius:999px 999px 8px 999px;overflow:hidden;
  background:var(--primary);color:var(--on-primary);box-shadow:0 12px 34px rgba(21,48,58,.34);
  transition:transform .3s var(--ease-brand),box-shadow .3s var(--ease-brand)}
.qz__bar:hover{transform:translateY(-2px);box-shadow:0 18px 44px rgba(21,48,58,.42)}
.qz.is-open .qz__bar{display:none}
.qz__tab{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:13px 16px 13px 22px;
  border:none;background:none;color:inherit;cursor:pointer;
  font-family:var(--font-body);font-size:15px;font-weight:600;letter-spacing:-.005em;text-align:left}
.qz__dismiss{display:grid;place-items:center;width:44px;border:none;cursor:pointer;background:none;
  color:var(--on-primary);opacity:.62;border-left:1px solid rgba(255,255,255,.18)}
.qz__dismiss svg{width:16px;height:16px}
.qz__dismiss:hover{opacity:1;background:rgba(0,0,0,.16)}
.qz__pulse{width:8px;height:8px;border-radius:999px;background:var(--lime);flex:none;
  box-shadow:0 0 0 0 rgba(174,234,0,.7);animation:qzpulse 2.6s var(--ease-brand) infinite}
@keyframes qzpulse{0%{box-shadow:0 0 0 0 rgba(174,234,0,.6)}70%{box-shadow:0 0 0 11px rgba(174,234,0,0)}100%{box-shadow:0 0 0 0 rgba(174,234,0,0)}}

.qz__panel{display:none;width:min(384px,calc(100vw - 28px));max-height:min(76vh,660px);
  flex-direction:column;overflow:hidden;border-radius:24px 24px 24px 56px;
  background:var(--dk-surface);color:var(--dk-ink);border:1px solid rgba(255,255,255,.15);
  box-shadow:0 30px 80px rgba(6,16,12,.5)}
.qz.is-open .qz__panel{display:flex;animation:qzin .34s var(--ease-brand) both}
@keyframes qzin{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}

.qz__head{display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:16px 18px 10px;flex:none}
.qz__dots{display:flex;gap:5px}
.qz__dots i{width:16px;height:3px;border-radius:999px;background:rgba(241,234,216,.2);
  transition:background .3s var(--ease-brand)}
.qz__dots i.on{background:var(--lime)}
.qz__x{display:grid;place-items:center;width:30px;height:30px;border-radius:999px;border:none;cursor:pointer;
  background:rgba(241,234,216,.08);color:var(--dk-ink-secondary)}
.qz__x svg{width:16px;height:16px}
.qz__x:hover{background:rgba(241,234,216,.16);color:var(--dk-ink)}

.qz__body{padding:6px 18px 18px;overflow-y:auto;flex:1;-webkit-overflow-scrolling:touch}
.qz__kicker{margin:0 0 8px;font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--dk-accent)}
.qz__q{font-family:var(--font-display);font-weight:600;font-size:21px;line-height:1.2;letter-spacing:-.02em;
  margin:0 0 16px;color:var(--dk-ink)}
.qz__q--result{font-size:23px;margin-bottom:18px}
.qz__sub{margin:0 0 18px;font-size:14.5px;line-height:1.55;color:var(--dk-ink-secondary)}
.qz__sub a{color:var(--lime)}

.qz__opts{display:grid;gap:8px}
.qz__opt{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;
  padding:14px 16px;cursor:pointer;text-align:left;
  border:1px solid rgba(241,234,216,.16);border-radius:4px 4px 4px 18px;
  background:rgba(241,234,216,.05);color:var(--dk-ink);
  font-family:var(--font-body);font-size:14.5px;font-weight:500;line-height:1.35;
  transition:border-color .22s var(--ease-brand),background .22s var(--ease-brand)}
.qz__opt svg{width:16px;height:16px;flex:none;color:var(--dk-primary);opacity:0;
  transform:translateX(-5px);transition:opacity .22s var(--ease-brand),transform .22s var(--ease-brand)}
.qz__opt:hover,.qz__opt:focus-visible{border-color:var(--lime);background:rgba(174,234,0,.09)}
.qz__opt:hover svg,.qz__opt:focus-visible svg{opacity:1;transform:none;color:var(--lime)}

.qz__lines{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:10px}
.qz__line{font-size:13.5px;line-height:1.55;color:var(--dk-ink-secondary);
  padding-left:13px;border-left:2px solid rgba(174,234,0,.45)}
.qz__line b{color:var(--dk-ink);font-weight:600}

.qz__cta{display:grid;gap:10px;justify-items:start}
.qz__btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;width:100%;
  padding:12px 22px;border:none;border-radius:999px;cursor:pointer;text-decoration:none;
  background:var(--lime);color:#0d2410;font-family:var(--font-body);font-size:15px;font-weight:600;
  transition:filter .2s var(--ease-brand)}
.qz__btn:hover{filter:brightness(1.08)}
.qz__again{background:none;border:none;padding:4px 0;cursor:pointer;font-family:var(--font-body);
  font-size:13.5px;color:var(--dk-ink-secondary);text-decoration:underline;text-underline-offset:3px}
.qz__again:hover{color:var(--dk-ink)}

.qz__form{display:grid;gap:14px}
.qz__f{display:grid;gap:6px}
.qz__f span{font-size:13px;color:var(--dk-ink-secondary)}
.qz__f i{font-style:normal;opacity:.68}
.qz__f input{min-height:46px;padding:12px 14px;border-radius:4px 4px 4px 16px;
  border:1px solid rgba(241,234,216,.22);background:rgba(241,234,216,.05);color:var(--dk-ink);
  font-family:var(--font-body);font-size:15px}
.qz__f input:focus{outline:2px solid var(--lime);outline-offset:1px;border-color:transparent}
.qz__f input[aria-invalid="true"]{border-color:var(--error)}
.qz__consent{margin:0;font-size:12.5px;line-height:1.55;color:var(--dk-ink-secondary)}
.qz__consent a{color:var(--lime)}

.qz__foot{flex:none;padding:12px 18px 16px;border-top:1px solid rgba(241,234,216,.12)}
.qz__foot a{font-size:13.5px;font-weight:600;color:var(--dk-ink-secondary);text-decoration:none}
.qz__foot a:hover{color:var(--lime)}

/* on a phone the panel is a sheet, and the tab shrinks to fit one thumb */
@media(max-width:560px){
  .qz{left:12px;right:12px;bottom:12px}
  .qz__bar{width:100%}
  .qz__tab{flex:1;justify-content:center;font-size:14.5px;padding:13px 8px 13px 18px}
  .qz__panel{width:100%;max-height:82vh;border-radius:22px 22px 22px 44px}
}
@media (prefers-reduced-motion: reduce){
  .qz__pulse{animation:none}
  .qz.is-open .qz__panel{animation:none}
  .qz__bar:hover{transform:none}
  .qz__opt svg{opacity:1;transform:none}
}

/* ============================================================
   The human-stake beat.
   One oversized sentence and one large photograph, full-bleed,
   with the image running off the right edge. It is the only
   section on the homepage that breaks the container, which is
   the point: the page should feel a person before it hands
   anyone an instrument.
   ============================================================ */
.stake{position:relative;overflow:hidden}
.stake__grid{display:grid;grid-template-columns:1fr;gap:clamp(28px,4vw,48px);align-items:center;
  max-width:1240px;margin-inline:auto;padding:clamp(52px,7vw,96px) 24px}
@media(min-width:900px){
  .stake__grid{grid-template-columns:1.06fr .94fr;padding-right:0;gap:clamp(40px,5vw,72px)}
  /* padding-right:0 already carries the media to the window edge on a narrow
     window; past the 1240 cap it has to reclaim the centring gutter as well.
     100vw counts the scrollbar, so this can overshoot by a few pixels —
     body already hides horizontal overflow, which is where that lands. */
  .stake__media{margin-right:calc(-1 * max(0px,(100vw - 1240px) / 2))}
}
.stake__line{font-size:clamp(30px,5vw,58px);line-height:1.04;font-weight:600;letter-spacing:-.03em;
  margin:0 0 24px;max-width:17ch;color:var(--ink)}
.stake__sub{margin:0;font-size:clamp(16.5px,1.9vw,20px);line-height:1.6;color:var(--ink-secondary);max-width:46ch}

/* the photograph slot — art now, backing for a real image later */
.pslot{position:relative;margin:0;aspect-ratio:var(--pr,4/5);overflow:hidden;
  max-height:clamp(340px,56vh,540px);
  border-radius:4px 200px 4px 200px;background:var(--surface-sunken)}
@media(max-width:899px){.pslot{border-radius:4px 120px 4px 120px}}
.pslot__art,.pslot img{position:absolute;inset:0;width:100%;height:100%}
.pslot__art svg{width:100%;height:100%;display:block}
.pslot img{object-fit:cover;z-index:1}
.ps-ground{fill:var(--canvas)}
.ps-light ellipse{fill:var(--accent);opacity:.13}
.ps-light ellipse:nth-child(2){fill:var(--primary);opacity:.07}
.ps-arcs path{stroke:var(--accent-deep);stroke-width:1.4;opacity:.3}
.ps-sill{stroke:var(--primary);stroke-width:2;opacity:.22;fill:none}
.pslot figcaption{position:absolute;left:0;bottom:0;z-index:2;padding:8px 14px;
  font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-tertiary);
  background:var(--surface);border-radius:0 12px 0 0}

/* ============================================================
   One session, both ends of it.
   Two drawn interfaces that share their numbers, with a dashed
   arc carrying the eye from the bedroom floor to the console.
   Labelled illustrative, because they are drawings and nobody
   should be able to mistake them for a patient's record.
   ============================================================ */
.duo{display:grid;grid-template-columns:1fr;gap:clamp(20px,3vw,30px);margin-top:clamp(30px,4vw,44px);
  align-items:start}
/* both timestamps land on the same line: the whole point is that these are
   two clocks over one session, not two unrelated screenshots */
@media(min-width:940px){.duo{grid-template-columns:1fr 96px 1fr;align-items:start}
  .duo__arrow{align-self:center;margin-top:40px}}
.duo__side{display:grid;gap:16px}
.duo__when{margin:0;display:flex;align-items:center;gap:9px;font-size:12px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--accent-ink)}
.duo__dot{width:7px;height:7px;border-radius:999px;background:var(--accent);flex:none}
.duo__note{margin:0;font-size:15px;line-height:1.6;color:var(--ink-secondary);max-width:44ch}

.duo__screen{padding:22px 22px 20px;border:1px solid var(--border-default);
  background:var(--surface-raised);border-radius:4px 4px 4px 44px;display:grid;gap:12px}
.duo__screen--console{background:var(--dk-surface);border-color:rgba(255,255,255,.14);color:var(--dk-ink);
  border-radius:4px 4px 44px 4px}
.duo__hdr{margin:0;font-size:12.5px;letter-spacing:.05em;color:var(--ink-tertiary)}
.duo__screen--console .duo__hdr{color:var(--dk-ink-secondary)}
.duo__coach{margin:0;font-family:var(--font-display);font-size:clamp(18px,2.2vw,22px);line-height:1.25;
  font-weight:600;color:var(--primary);letter-spacing:-.015em}
.duo__big{display:flex;align-items:baseline;gap:8px}
.duo__big b{font-family:var(--font-display);font-size:clamp(42px,5.4vw,58px);font-weight:600;line-height:1;
  color:var(--ink);font-variant-numeric:tabular-nums}
.duo__big span{font-size:16px;color:var(--ink-tertiary)}
.duo__meter{height:5px;border-radius:999px;background:var(--border-subtle);overflow:hidden}
.duo__meter i{display:block;height:100%;border-radius:999px;background:var(--primary)}
.duo__foot{margin:0;justify-self:start;padding:9px 16px;border-radius:999px;font-size:13px;font-weight:600;
  color:var(--error);border:1px solid rgba(200,70,58,.4)}

.duo__reps{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.duo__rep{display:flex;align-items:baseline;justify-content:space-between;gap:14px;
  padding:9px 13px;border-radius:4px 4px 4px 14px;background:rgba(241,234,216,.06);
  border-left:2px solid var(--dk-accent)}
.duo__rep.is-ok{border-left-color:var(--lime)}
.duo__rep b{font-size:13.5px;font-weight:600;color:var(--dk-ink)}
.duo__rep span{font-size:13.5px;color:var(--dk-ink);font-variant-numeric:tabular-nums}
.duo__peak{margin:2px 0 0;font-size:13.5px;color:var(--dk-ink-secondary)}
.duo__peak b{color:var(--lime);font-size:16px}
.duo__flag{margin:0;padding:10px 13px;border-radius:4px 4px 4px 14px;font-size:13px;line-height:1.5;
  color:var(--dk-ink);background:rgba(200,70,58,.16);border-left:2px solid var(--error)}

.duo__arrow{display:none;color:var(--border-default)}
@media(min-width:940px){.duo__arrow{display:block}}
.duo__arrow svg{width:100%;height:auto}
.duo__label{grid-column:1/-1;margin:6px 0 0;font-size:12px;letter-spacing:.05em;color:var(--ink-tertiary)}

/* ============================================================
   The oversized statement.
   One sentence, full-bleed, at a size nothing else on the page
   uses, pushed off-centre. It is the interruption in a page of
   otherwise even sections — so it stays alone in its section on
   purpose, and nothing is allowed to sit beside it.
   ============================================================ */
.oversize{position:relative;overflow:hidden}
.oversize__arc{position:absolute;inset:0;width:100%;height:100%;opacity:.3;pointer-events:none}
.oversize--deep{color:var(--dk-ink)}
.oversize--deep .oversize__arc{color:rgba(241,234,216,.3)}
.oversize--warm{color:var(--ink)}
.oversize--warm .oversize__arc{color:var(--border-default)}
.oversize__in{position:relative;z-index:1;max-width:1240px;margin-inline:auto;
  padding:clamp(60px,8.5vw,124px) 24px}
.oversize__text{font-size:clamp(31px,6vw,76px);line-height:1.01;font-weight:600;letter-spacing:-.032em;
  margin:0;max-width:16ch}
.oversize__eyebrow{margin:0 0 20px;max-width:40ch}
.oversize--deep .oversize__eyebrow{color:var(--dk-accent)}
.oversize--warm .oversize__eyebrow{color:var(--accent-ink)}
.oversize__note{margin:26px 0 0;max-width:38ch;font-size:clamp(15px,1.7vw,17.5px);line-height:1.6}
.oversize--deep .oversize__note{color:var(--dk-ink-secondary)}
.oversize--warm .oversize__note{color:var(--ink-secondary)}
/* the off-centre variant: the sentence sits right, its note stays left of it,
   so the band never reads as a centred banner */
@media(min-width:900px){
  .oversize--right .oversize__in{display:grid;justify-items:end;text-align:right}
  .oversize--right .oversize__note{justify-self:end}
}

/* ============================================================
   The session, told by scrolling it.
   A phone that stays put while the words move past it. The
   figure inside is the same figure for all seven beats — the
   scene advances around it rather than being replaced, because
   this is one session, not seven features.
   ============================================================ */
.ssty{display:grid;gap:clamp(24px,4vw,56px);grid-template-columns:1fr;margin-top:clamp(24px,4vw,44px)}
@media(min-width:900px){.ssty{grid-template-columns:minmax(300px,.82fr) 1.18fr;gap:clamp(48px,6vw,96px)}}

.ssty__stage{position:sticky;top:88px;z-index:2;align-self:start;
  padding:12px 0 16px;background:var(--canvas)}
@media(min-width:900px){.ssty__stage{top:112px;padding:0;background:none}}

.ssty__phone{position:relative;margin-inline:auto;width:min(100%,320px);
  aspect-ratio:300/520;max-height:min(36vh,540px);
  border-radius:34px;overflow:hidden;background:var(--dk-canvas);
  border:1px solid rgba(255,255,255,.16);box-shadow:0 30px 80px rgba(6,16,12,.42)}
@media(min-width:900px){.ssty__phone{max-height:none}}
.ssty__scene{position:absolute;inset:0;width:100%;height:100%}

/* the figure, and the measurement laid over it */
.sl-bones path{fill:none;stroke:rgba(241,234,216,.5);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.sl-head{fill:none;stroke:rgba(241,234,216,.5);stroke-width:5}
.sl-dot{fill:var(--lime);opacity:0;transform:scale(.2);transform-box:fill-box;transform-origin:center;
  transition:opacity .4s var(--ease-brand),transform .4s var(--ease-brand);transition-delay:calc(var(--i) * 26ms)}
.ssty[data-beat="1"] .sl-dot,.ssty[data-beat="2"] .sl-dot{opacity:0;transform:scale(.2)}
.ssty:not([data-beat="1"]):not([data-beat="2"]) .sl-dot{opacity:1;transform:none}
.ssty[data-beat="7"] .sl-figure{opacity:.22}
.sl-figure{transition:opacity .6s var(--ease-brand),transform .8s var(--ease-brand);
  transform-box:view-box;transform-origin:150px 272px}
/* the fold. The figure does not get swapped for a fallen one — it falls. */
.ssty[data-beat="6"] .sl-figure{transform:rotate(-74deg) scale(.6)}

/* every beat layer is hidden until its own beat is the one being read */
.sl{opacity:0;visibility:hidden;transition:opacity .5s var(--ease-brand),visibility .5s}
.ssty[data-beat="1"] .sl[data-b~="1"],.ssty[data-beat="2"] .sl[data-b~="2"],
.ssty[data-beat="3"] .sl[data-b~="3"],.ssty[data-beat="4"] .sl[data-b~="4"],
.ssty[data-beat="5"] .sl[data-b~="5"],.ssty[data-beat="6"] .sl[data-b~="6"],
.ssty[data-beat="7"] .sl[data-b~="7"]{opacity:1;visibility:visible}

/* 01 — brackets close in as the beat is read, then lock */
.sl-frame path{fill:none;stroke:var(--dk-accent);stroke-width:4;stroke-linecap:round}
.sl-frame{transform-box:fill-box;transform-origin:center;
  transform:scale(calc(1.16 - .16 * var(--p,0)));
  transition:transform .18s linear}
.ssty[data-locked] .sl-frame path{stroke:var(--lime)}

/* 02 — the coach, offset and mid-movement */
.sl-coach path,.sl-coach circle{fill:none;stroke:var(--dk-primary);stroke-width:5;
  stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.sl-coach{transform:translateX(-58px) scale(.9);transform-box:view-box;transform-origin:150px 280px}

/* 04 — the angle that decides the rep, and the lean that does not */
.sl-arc{fill:none;stroke:var(--lime);stroke-width:6;stroke-linecap:round}
.sl-lean{fill:none;stroke:var(--error);stroke-width:4;stroke-dasharray:7 8;opacity:.85}

/* 06 — alarm in the room, and nowhere else */
.sl-alarm rect{fill:none;stroke:var(--error);stroke-width:5}
.sl-waves path{fill:none;stroke:var(--error);stroke-width:3.5;stroke-linecap:round;opacity:.6}

/* 07 — the session leaves as rows */
.sl-row rect{fill:rgba(241,234,216,.09)}
.sl-row path{stroke:var(--lime);stroke-width:3;fill:none}
.sl-row{opacity:0;transform:translateY(22px);transform-box:fill-box;
  transition:opacity .5s var(--ease-brand),transform .5s var(--ease-brand);
  transition-delay:calc(var(--i) * 90ms)}
.ssty[data-beat="7"] .sl-row{opacity:1;transform:none}

/* stage chrome */
.ssty__hud{position:absolute;left:16px;right:16px;top:16px;display:flex;align-items:center;
  justify-content:space-between;gap:10px;pointer-events:none}
.ssty__chip{padding:6px 13px;border-radius:999px;font-size:11px;letter-spacing:.07em;white-space:nowrap;
  text-transform:uppercase;color:var(--dk-ink);background:rgba(12,28,21,.62);
  border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(10px)}
.ssty[data-beat="6"] .ssty__chip{background:rgba(200,70,58,.4);border-color:rgba(200,70,58,.7)}
.ssty__count{font-family:var(--font-display);font-size:26px;font-weight:600;color:var(--lime);
  font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap}
.ssty__under{display:grid;justify-items:center;gap:12px;margin-top:14px}
@media(max-width:899px){.ssty__cap{display:none}.ssty__under{margin-top:10px}}
.ssty__cap{margin:0;text-align:center;max-width:34ch;min-height:2.9em;
  font-size:13px;line-height:1.45;color:var(--ink-secondary)}
.ssty__pips{display:flex;justify-content:center;gap:6px}
.ssty__pip{border:none;background:none;padding:5px 3px;cursor:pointer;line-height:0}
.ssty__pip i{display:block;width:7px;height:7px;border-radius:999px;background:var(--border-default);
  transition:width .4s var(--ease-brand),background .4s var(--ease-brand)}
.ssty__pip.on i{width:24px;background:var(--primary)}

/* the words */
.ssty__steps{list-style:none;margin:0;padding:0}
.ssty__step{display:grid;grid-template-columns:auto 1fr;gap:14px 20px;align-items:start;
  padding:clamp(30px,5vw,44px) 0;border-top:1px solid var(--border-subtle);
  opacity:.34;transition:opacity .5s var(--ease-brand)}
.ssty__step:first-child{border-top:none}
.ssty__step.is-on{opacity:1}
@media(min-width:900px){.ssty__step{min-height:56vh;align-content:center;padding-block:0;border-top:none}}
.ssty__n{font-family:var(--font-display);font-size:14px;letter-spacing:.1em;color:var(--accent-ink);
  padding-top:5px}
.ssty__tag{color:var(--accent-ink);margin:0 0 10px;opacity:0;transform:translateY(6px);
  transition:opacity .5s var(--ease-brand),transform .5s var(--ease-brand)}
.ssty__step.is-on .ssty__tag{opacity:1;transform:none}
.ssty__title{font-size:clamp(25px,3.6vw,42px);font-weight:600;line-height:1.08;letter-spacing:-.025em;
  margin:0 0 14px;max-width:19ch}
.ssty__body{margin:0;font-size:clamp(16px,1.85vw,18.5px);line-height:1.62;color:var(--ink-secondary);
  max-width:52ch}
.ssty__body strong{color:var(--ink);font-weight:600}

/* Reduced motion: the story still tells itself, it just stops moving to do it.
   Everything is shown at once and nothing is pinned. */
@media (prefers-reduced-motion: reduce){
  .ssty__stage{position:static}
  .ssty__step{opacity:1}
  .ssty__tag{opacity:1;transform:none}
  .sl-figure,.sl,.sl-dot,.sl-row,.sl-frame{transition:none}
  .ssty[data-beat="6"] .sl-figure{transform:none}
}

/* ============================================================
   Nav dropdown — "Who we serve"
   The nav went from eight flat links to six, so the two audience
   pages live behind one item. It has to work on hover for a mouse,
   on click for touch, and on the keyboard for everyone else.
   ============================================================ */
.nav-drop{position:relative}
.nav-drop__btn{display:inline-flex;align-items:center;gap:6px;padding:0 0 4px;border:0;background:none;
  cursor:pointer;font-family:var(--font-body);color:var(--ink-secondary);
  font-size:clamp(14.5px,1.15vw,15.5px);font-weight:500;white-space:nowrap}
.nav-drop__btn svg{width:10px;height:7px;flex:none;transition:transform .28s var(--ease-brand)}
.nav-drop[data-open="true"] .nav-drop__btn svg{transform:rotate(180deg)}
.nav-drop__btn[aria-current="page"]{color:var(--primary);font-weight:600}
.nav-drop__btn[aria-current="page"]::after{transform:scaleX(1)}

.nav-drop__panel{position:absolute;top:calc(100% + 14px);left:50%;translate:-50% 0;min-width:260px;
  background:var(--surface);border:1px solid var(--border-subtle);border-radius:4px 4px 18px 18px;
  box-shadow:0 24px 60px rgba(21,48,58,.16);padding:8px;list-style:none;margin:0;z-index:60;
  opacity:0;visibility:hidden;transform:translateY(-7px);
  transition:opacity .24s var(--ease-brand),transform .24s var(--ease-brand),visibility .24s}
.nav-drop[data-open="true"] .nav-drop__panel{opacity:1;visibility:visible;transform:translateY(0)}
/* Hover belongs in CSS: it needs no state, and it cannot then disagree with
   the click handler about whether the panel is open. */
@media (hover:hover) and (pointer:fine){
  .nav-drop:hover .nav-drop__panel,.nav-drop:focus-within .nav-drop__panel{opacity:1;visibility:visible;transform:translateY(0)}
  .nav-drop:hover .nav-drop__btn svg{transform:rotate(180deg)}
}
/* the gap between trigger and panel would drop the hover, so bridge it */
.nav-drop__panel::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.nav-drop__panel a{display:block;padding:13px 15px;border-radius:12px;text-decoration:none;
  color:var(--ink);font-size:15px;font-weight:600;line-height:1.3}
.nav-drop__panel a span{display:block;margin-top:3px;font-size:13px;font-weight:400;
  color:var(--ink-tertiary);line-height:1.45}
.nav-drop__panel a:hover,.nav-drop__panel a:focus-visible{background:var(--surface-sunken);color:var(--primary)}
.nav-drop__panel a[aria-current="page"]{color:var(--primary);background:var(--surface-sunken)}

/* burger menu: no dropdown, just an indented group */
.nav-menu__group{padding:15px 4px 6px;font-family:var(--font-display);font-size:20px;font-weight:600;
  letter-spacing:-.02em;color:var(--ink-tertiary);border-bottom:1px solid var(--border-subtle);margin:0}
.nav-menu__sub{list-style:none;margin:0;padding:0}
.nav-menu__sub a{padding-left:18px;font-size:17px;color:var(--ink-secondary)}

@media(max-width:900px){.nav-drop{display:none!important}}
@media (prefers-reduced-motion: reduce){
  .nav-drop__panel,.nav-drop__btn svg{transition:none}
}

/* ============================================================
   Full-height hero
   The hero was padding-only, so on a laptop it stopped well short
   of the fold and the next section peeked in. It now owns the
   first screen outright, minus the sticky nav.
   ============================================================ */
.hero-full{display:flex;align-items:center;min-height:100svh;padding-block:clamp(28px,5vw,56px)}
@supports not (min-height:100svh){.hero-full{min-height:100vh}}
@media(max-width:900px){
  .hero-full{min-height:auto;padding-block:clamp(36px,9vw,72px)}
}
.hero-cue{position:absolute;left:50%;translate:-50% 0;bottom:26px;display:inline-flex;align-items:center;
  gap:9px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-tertiary);
  text-decoration:none;z-index:2}
.hero-cue i{display:block;width:1px;height:30px;background:linear-gradient(to bottom,transparent,var(--accent));
  animation:cueDrop 2.1s var(--ease-brand) infinite}
@keyframes cueDrop{0%{transform:scaleY(.35);transform-origin:top;opacity:.3}
  55%{transform:scaleY(1);transform-origin:top;opacity:1}
  100%{transform:scaleY(.35);transform-origin:top;opacity:.3}}
@media(max-width:900px){.hero-cue{display:none}}
@media (prefers-reduced-motion: reduce){.hero-cue i{animation:none}}

/* strips that replaced whole sections on the home page */
.mini-strip{display:grid;gap:14px;grid-template-columns:1fr;margin-top:40px;
  padding-top:28px;border-top:1px solid rgba(241,234,216,.16)}
@media(min-width:760px){.mini-strip{grid-template-columns:repeat(3,1fr);gap:26px}}
.mini-strip h3{font-family:var(--font-display);font-size:17px;font-weight:600;margin:0 0 5px;color:var(--dk-ink)}
.mini-strip p{font-size:14.5px;line-height:1.55;margin:0;color:var(--dk-ink-secondary)}

/* Home is meant to read in five screens. The section rhythm that suits a
   long inner page makes it six, so the home page runs tighter — only here,
   because the inner pages still want the room. */
.home-tight .sec{padding-block:clamp(44px,5vw,64px)}
.home-tight .angd{margin-top:clamp(22px,3vw,32px)}
.home-tight .duo{margin-top:clamp(22px,3vw,32px)}
.home-tight .mini-strip{margin-top:30px;padding-top:22px}
.home-tight .angd__foot{margin-top:18px}
.home-tight .arcdiv svg{height:clamp(30px,2.8vw,40px)}
.home-tight .sec{padding-block:clamp(32px,3.5vw,44px)}
.home-tight .sec p.lead{margin-bottom:24px}
.home-tight .disclaimer-strip{padding:12px 0}

/* The demo widget is as tall as its column is wide, so narrowing it is the
   only lever on its height. Capped and centred, it still reads at a glance. */
.home-tight .angd{max-width:1010px;margin-inline:auto;margin-top:clamp(20px,2.6vw,28px)}
.home-tight .angd__foot{max-width:1010px;margin-inline:auto}
.home-tight .mini-strip{margin-top:26px;padding-top:20px}

/* The founder video is a real file the build does not ship yet. Until it
   lands, the block says so rather than showing a dead player. */
.vwrap__fallback{display:none}
.vwrap--empty video{display:none}
.vwrap--empty{display:grid;place-items:center;padding:28px;text-align:center}
.vwrap--empty .vwrap__fallback{display:block;margin:0;color:var(--dk-ink-secondary);
  font-size:14.5px;line-height:1.6;max-width:34ch}
.vwrap--empty code{background:rgba(241,234,216,.12);padding:1px 6px;border-radius:5px;
  font-size:13px;color:var(--dk-ink)}
/* the mission strip sits on the deep band, not the dark canvas */
.pull .mini-strip{border-top-color:rgba(241,234,216,.2)}


/* ══ home hero ═══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   Hero v2 — centred, gradient-washed, video-led.

   The old hero put text on the left and a box on the right, which is
   the most templated arrangement there is, and the box was empty.
   This one centres the promise, then hands the whole width to a
   single piece of footage. Depth comes from a warm gradient ground
   and layered shadow, not from line art.
   ═══════════════════════════════════════════════════════════════ */

.heroV{
  position:relative; overflow:hidden;
  min-height:calc(100svh - var(--above,0px)); display:grid; grid-template-rows:1fr auto;
  /* The ground is the design. Cream at the top settles into the brand's
     teal and amber where the footage sits, so the video looks lit rather
     than pasted on. */
  background:
    radial-gradient(88% 60% at 50% 100%, rgba(19,76,88,.42), transparent 66%),
    radial-gradient(52% 46% at 6% 78%, rgba(207,138,78,.40), transparent 68%),
    radial-gradient(50% 44% at 96% 70%, rgba(63,159,134,.38), transparent 70%),
    radial-gradient(60% 40% at 50% 12%, rgba(255,253,247,.9), transparent 70%),
    linear-gradient(180deg,#fdfaf4 0%,#f8f1e5 34%,#ecdfcd 72%,#dfd0bd 100%);
}
@supports not (min-height:100svh){ .heroV{min-height:calc(100vh - var(--above,0px))} }

/* a whisper of texture, so the large flat areas do not read as empty */
.heroV::after{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

.heroV__inner{
  position:relative; z-index:2; align-self:center;
  width:100%; max-width:1120px; margin-inline:auto; text-align:center;
  padding:clamp(56px,6vw,78px) clamp(20px,4vw,48px) clamp(12px,1.6vw,18px);
}

.heroV__eye{
  display:inline-flex; align-items:center; gap:9px; margin:0 0 clamp(16px,2vw,22px);
  font-size:12px; font-weight:600; letter-spacing:.15em; text-transform:uppercase;
  color:var(--accent-ink);
  background:rgba(255,255,255,.6); border:1px solid rgba(255,255,255,.9);
  border-radius:999px; padding:8px 16px 8px 13px;
  box-shadow:0 1px 2px rgba(14,58,68,.05), 0 8px 24px -10px rgba(14,58,68,.20);
}
.heroV__eye i{width:7px;height:7px;border-radius:999px;background:var(--success);display:block;flex:none}

.heroV h1{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(40px,6.6vw,94px); line-height:.94; letter-spacing:-.038em;
  color:var(--ink); margin:0 0 clamp(16px,2vw,24px); text-wrap:balance;
}
.heroV h1 em{font-style:italic; color:var(--primary)}

.heroV__sub{
  font-size:clamp(16.5px,1.75vw,21px); line-height:1.5; color:var(--ink-secondary);
  max-width:60ch; margin:0 auto clamp(22px,2.6vw,30px); text-wrap:pretty;
}

.heroV__cta{display:flex; flex-wrap:wrap; gap:14px; justify-content:center; align-items:center}
.heroV__cta .btn-primary{box-shadow:0 2px 6px rgba(14,58,68,.14), 0 14px 34px -12px rgba(14,58,68,.5)}
.heroV__ghost{
  display:inline-flex; align-items:center; gap:9px; text-decoration:none;
  font-size:15.5px; font-weight:600; color:var(--primary);
  background:rgba(255,255,255,.72); border:1px solid rgba(255,255,255,.95);
  border-radius:999px; padding:14px 22px;
  box-shadow:0 1px 2px rgba(14,58,68,.05), 0 10px 26px -12px rgba(14,58,68,.28);
  transition:transform .24s var(--ease-brand), box-shadow .24s var(--ease-brand);
}
.heroV__ghost:hover{transform:translateY(-1px); box-shadow:0 2px 4px rgba(14,58,68,.07), 0 16px 34px -12px rgba(14,58,68,.34)}

/* ── the footage ─────────────────────────────────────────────── */
.heroV__stage{
  position:relative; z-index:2; align-self:end;
  width:min(1080px,94vw); margin:0 auto; padding-bottom:clamp(14px,1.8vw,22px);
}
.heroV__frame{
  position:relative; border-radius:clamp(18px,2vw,26px); overflow:hidden;
  height:clamp(180px,28svh,340px);
  background:
    radial-gradient(70% 90% at 22% 12%, rgba(63,159,134,.5), transparent 62%),
    radial-gradient(60% 80% at 88% 84%, rgba(207,138,78,.4), transparent 66%),
    linear-gradient(150deg,#17402f,#0c1c15 62%);
  border:1px solid rgba(255,255,255,.75);
  /* three stacked shadows: contact, lift, and a wide soft cast. One shadow
     reads as a sticker; three read as an object sitting on the page. */
  box-shadow:
    0 1px 2px rgba(14,58,68,.06),
    0 14px 32px -8px rgba(14,58,68,.16),
    0 54px 96px -28px rgba(14,58,68,.38);
}
.heroV__frame video{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block}
/* a soft floor under the footage so the white card reads against it */
.heroV__frame::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to top,rgba(6,16,12,.42),rgba(6,16,12,0) 46%);
}
.heroV__chip{
  position:absolute; top:16px; left:16px; z-index:3;
  display:inline-flex; align-items:center; gap:8px;
  font-size:11.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:#f1ead8; background:rgba(12,28,21,.55); backdrop-filter:blur(10px);
  border:1px solid rgba(241,234,216,.24); border-radius:999px; padding:8px 14px 8px 11px;
}
.heroV__chip i{width:7px;height:7px;border-radius:999px;background:var(--lime);display:block;
  box-shadow:0 0 0 4px rgba(174,234,0,.22)}

/* the session view the frame will eventually play */
.sess{position:absolute; z-index:3; right:clamp(18px,2.4vw,34px); bottom:clamp(18px,2.4vw,30px);
  left:auto; width:min(340px,52%); display:grid; gap:11px; text-align:left}
.sess__ex{margin:0; font-family:var(--font-display); font-weight:600; font-size:clamp(16px,1.5vw,20px);
  letter-spacing:-.01em; color:#f1ead8}
.sess__set{margin:3px 0 0; font-size:11.5px; letter-spacing:.12em; text-transform:uppercase;
  color:rgba(241,234,216,.6)}
.sess__bar{height:5px; border-radius:999px; background:rgba(241,234,216,.16); overflow:hidden}
.sess__bar i{display:block; height:100%; width:70%; border-radius:999px;
  background:linear-gradient(90deg,var(--dk-primary),var(--lime))}
.sess__angles{display:flex; align-items:baseline; gap:10px; flex-wrap:wrap}
.sess__now{font-family:var(--font-display); font-weight:600; font-size:clamp(22px,2.2vw,28px);
  color:#f1ead8; letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.sess__now b{font-family:var(--font-body); font-size:10.5px; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:rgba(241,234,216,.55); margin-left:7px}
.sess__tick{font-size:12px; font-weight:600; font-variant-numeric:tabular-nums;
  color:rgba(241,234,216,.55); border:1px solid rgba(241,234,216,.2);
  border-radius:999px; padding:4px 9px}
.sess__tick.is-ok{color:var(--lime); border-color:rgba(174,234,0,.42)}
.sess__label{position:absolute; z-index:3; left:clamp(18px,2vw,26px); bottom:10px; margin:0;
  font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:rgba(241,234,216,.42)}
@media(max-width:760px){ .sess{width:auto; left:16px; right:16px} .sess__label{display:none} }
/* real footage takes the frame over; the mock steps aside */
.heroV__frame.has-video .sess,.heroV__frame.has-video .sess__label{display:none}
/* real footage carries its own live readout, so the drawn chip and rep
   card would only repeat it, with a different count */
.heroV__frame.has-video .heroV__chip,.heroV__frame.has-video ~ .heroV__stat{display:none}

/* the one number, floated over the footage */
.heroV__stat{
  position:absolute; z-index:4; left:clamp(-6px,1.2vw,22px); bottom:clamp(46px,7vw,86px);
  display:flex; align-items:center; gap:16px;
  background:rgba(253,250,244,.9); backdrop-filter:blur(20px) saturate(1.5);
  border:1px solid rgba(255,255,255,.95); border-radius:16px; padding:15px 22px 15px 18px;
  box-shadow:0 1px 2px rgba(14,58,68,.06), 0 24px 56px -16px rgba(14,58,68,.42);
}
.heroV__stat b{
  font-family:var(--font-display); font-weight:600; font-size:clamp(30px,3.4vw,42px);
  line-height:1; letter-spacing:-.03em; color:var(--ink); font-variant-numeric:tabular-nums;
}
.heroV__stat b span{font-size:.5em; color:var(--ink-tertiary); font-weight:400}
.heroV__stat p{
  margin:0; font-size:11.5px; font-weight:600; line-height:1.45;
  letter-spacing:.13em; text-transform:uppercase; color:var(--ink-tertiary); max-width:11ch;
}
@media(max-width:760px){
  .heroV__stat{left:auto; right:14px; bottom:auto; top:64px; padding:11px 15px; gap:11px;
    border-radius:13px}
  .heroV__stat p{max-width:9ch; font-size:10px; letter-spacing:.1em}
  .heroV__stat b{font-size:26px}
}

/* if the file is missing, say so rather than showing a black rectangle */
.heroV__frame.is-empty video{display:none}
.heroV__frame.is-empty{display:grid; place-items:center; padding:24px}
.heroV__missing{display:none; margin:0; text-align:center; max-width:34ch;
  color:var(--dk-ink-secondary); font-size:14px; line-height:1.6}
.heroV__frame.is-empty .heroV__missing{display:block}
.heroV__frame.is-empty::after{display:none}
.heroV__frame.is-empty ~ .heroV__stat{display:none}

@media(max-width:900px){
  .heroV{min-height:auto!important; grid-template-rows:auto auto}
  .heroV__inner{padding-top:clamp(46px,12vw,72px)}
  .heroV__frame{height:clamp(210px,44vw,300px)}
}
@media (prefers-reduced-motion: reduce){ .heroV__ghost{transition:none} }

/* ═══════════════════════════════════════════════════════════════
   Home hero: the type is the picture. Each letter gains weight as
   the knee straightens, rep by rep, and softens under the cursor.
   It needs Fraunces as a variable font (wght, SOFT, WONK axes),
   which index.html loads; hero-kinetic.js drives it.
   ═══════════════════════════════════════════════════════════════ */

.heroK{
  position:relative; overflow:hidden; isolation:isolate;
  min-height:calc(100svh - var(--above,0px));
  display:flex; flex-direction:column; justify-content:center;
  padding:clamp(28px,5vw,72px) clamp(20px,5vw,72px);
  background:var(--canvas);
  /* the two colours of the logo: the A and wordmark, and its arc */
  --logo-teal:#134c58;
}
@supports not (min-height:100svh){ .heroK{min-height:calc(100vh - var(--above,0px))} }
.heroK::after{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}
.heroK__type{
  margin:0; font-family:var(--font-display); font-weight:600; font-optical-sizing:auto;
  font-size:clamp(44px,12.5vw,230px); line-height:.86; letter-spacing:-.045em;
  color:var(--logo-teal); user-select:none;
}
.heroK__type > span[aria-hidden]{display:block; white-space:nowrap}
.heroK__type i{font-style:normal; display:inline-block; will-change:font-variation-settings,transform}
.heroK__type .l2{color:var(--accent)}
.heroK__sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.heroK__foot{
  display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between;
  gap:24px; margin-top:clamp(20px,4vw,48px);
}
.heroK__foot p{margin:0; max-width:40ch; font-size:clamp(17px,1.4vw,19px); line-height:1.55; color:var(--ink-secondary)}
.heroK__ruler{position:relative; flex:1; min-width:260px; max-width:520px; height:64px}
.heroK__ruler svg{display:block; width:100%; height:100%; overflow:visible}
.heroK__ruler b{
  position:absolute; right:0; top:-46px; font:600 54px/1 var(--font-display);
  color:var(--logo-teal); font-variant-numeric:tabular-nums;
  /* a fixed box, so the font arriving or the number changing never moves it */
  display:block; width:2.6em; height:1em; text-align:right; white-space:nowrap; contain:layout paint;
}
.heroK__ruler rect{fill:var(--logo-green)}

/* ═══════════════════════════════════════════════════════════════
   Who we serve: clinics and patients on one page. A switch in the
   hero picks the audience; who-we-serve.js swaps the headline and
   the panel below it.
   ═══════════════════════════════════════════════════════════════ */

.serve-hero{
  min-height:min(700px,calc(88svh - var(--above,0px))); display:grid; place-items:center;
  text-align:center; padding:clamp(56px,8vw,96px) 20px;
  background:linear-gradient(180deg,var(--surface) 0%,#eef1e9 70%,var(--canvas) 100%);
}
.serve-tabs{display:inline-flex; gap:4px; padding:4px; margin-bottom:18px; border-radius:999px; background:var(--surface-sunken)}
.serve-tabs button{
  border:0; background:none; cursor:pointer; min-height:48px; padding:9px 17px; border-radius:999px;
  font:600 14.5px var(--font-body); color:var(--ink-secondary);
  transition:background .3s var(--ease-brand),color .3s var(--ease-brand),box-shadow .3s var(--ease-brand);
}
.serve-tabs button[aria-selected="true"]{background:var(--surface-raised); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,.08)}
.serve-hero h1{
  margin:0 auto; max-width:16ch; font-family:var(--font-display); font-weight:600;
  font-size:clamp(34px,4.3vw,58px); line-height:1.02; letter-spacing:-.025em; color:var(--ink);
}
.serve-hero__sub{margin:14px auto 22px; max-width:44ch; font-size:clamp(15.5px,1.2vw,17px); line-height:1.55; color:var(--ink-secondary)}
.serve-hero h1,.serve-hero__sub{transition:opacity .24s var(--ease-brand),transform .24s var(--ease-brand)}
.serve-hero h1.is-out,.serve-hero__sub.is-out{opacity:0; transform:translateY(8px)}
.serve-search{
  display:flex; gap:8px; max-width:520px; margin:0 auto; padding:6px; border-radius:999px;
  background:var(--surface-raised); box-shadow:inset 0 0 0 1px var(--border-default),0 20px 40px -30px rgba(14,58,68,.5);
}
.serve-search input{flex:1; min-width:0; border:0; background:none; padding:0 14px; font:15px var(--font-body); color:var(--ink)}
.serve-search input:focus{outline:none}
.serve-search:focus-within{box-shadow:inset 0 0 0 2px var(--primary),0 20px 40px -30px rgba(14,58,68,.5)}
.serve-none{margin:16px auto 0;max-width:46ch;font-size:15px;color:var(--accent-ink)}
.serve-chips{display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:16px}
.serve-chips a{
  display:inline-flex; align-items:center; min-height:48px; padding:0 15px; border-radius:12px; background:var(--surface-raised); color:var(--ink);
  text-decoration:none; font-weight:500; font-size:14.5px; box-shadow:inset 0 0 0 1px var(--border-default);
  transition:box-shadow .2s var(--ease-brand),color .2s var(--ease-brand);
}
.serve-chips a:hover{box-shadow:inset 0 0 0 2px var(--primary); color:var(--primary)}
.serve-panel{transition:opacity .38s var(--ease-brand),transform .38s var(--ease-brand)}
.serve-panel.is-out{opacity:0; transform:translateY(14px)}
@media(max-width:560px){
  .serve-tabs button{padding:10px 14px; font-size:14.5px}
  .serve-search{border-radius:22px; flex-direction:column; padding:8px}
  .serve-search input{padding:12px 14px; min-height:48px}
}
@media (prefers-reduced-motion: reduce){
  .serve-panel,.serve-hero h1,.serve-hero__sub,.serve-tabs button{transition:none}
}
@media(max-width:700px){
  /* the longest line, "Straighten.", still fits at full weight */
  .heroK__type{font-size:clamp(32px,15vw,120px)}
  /* the ruler wraps below the paragraph; leave room for the angle above it */
  .heroK__ruler{flex-basis:100%; margin-top:40px; height:56px}
  .heroK__ruler b{font-size:44px; top:-40px}
}
/* the header's Book a demo is on screen from 901px up, so the hero only needs its own on phones and tablets */
@media(min-width:901px){ .heroK__foot>.btn{display:none} }

/* ═══════════════════════════════════════════════════════════════
   "Built for a real week, not an ideal one" — the six accommodations.

   They are a set, not a sequence, so nothing here numbers them. What
   the section claims is that a real week does not line up, so the grid
   does not either: the three columns sit at different heights and drift
   at different rates as you scroll, and each card assembles itself as
   it arrives — panel first, then its diagram wiping across.
   ═══════════════════════════════════════════════════════════════ */
.wkgrid{display:grid;grid-template-columns:1fr;gap:clamp(16px,2.2vw,26px);
  margin-top:clamp(26px,3.6vw,42px);padding-block:clamp(10px,2.4vw,40px)}
@media(min-width:760px){.wkgrid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1060px){
  .wkgrid{grid-template-columns:repeat(3,1fr);column-gap:clamp(20px,2.4vw,32px)}
  /* the deliberate misalignment — this is the section's argument, not decoration */
  .wkcol:nth-child(2){margin-top:clamp(28px,3.6vw,54px)}
  .wkcol:nth-child(3){margin-top:clamp(12px,1.6vw,24px)}
}
/* The column is the plane that moves. Drifting each card independently made
   the lower one lag its neighbour and close the row gap. */
.wkcol{display:flex;flex-direction:column;gap:clamp(16px,2.2vw,26px);will-change:transform}
.wk .card{height:100%}
.wk{display:flex}

/* the panel arrives */
.js .wk .card{opacity:0;transform:translateY(32px);
  transition:opacity .75s var(--ease-brand),transform .75s var(--ease-brand)}
.wk.is-in .card{opacity:1;transform:none}

/* then its diagram draws across — a wipe works whatever stroke-dasharray
   an illustration already uses, which a dashoffset draw would fight */
.js .wk .illus{clip-path:inset(0 100% 0 0);
  transition:clip-path .8s var(--ease-brand) .2s}
.wk.is-in .illus{clip-path:inset(0 0 0 0)}

@media (prefers-reduced-motion: reduce){
  .js .wk .card,.js .wk .illus{opacity:1;transform:none;clip-path:none;transition:none}
  .wkcol{will-change:auto}
}

/* ═══════════════════════════════════════════════════════════════
   The mission rings turn.

   Three concentric rings, each at its own rate and the middle one
   against the others, so the band has a slow orbit rather than a
   static backdrop. Each carries a dash pattern — a solid circle
   rotating is indistinguishable from a still one.
   ═══════════════════════════════════════════════════════════════ */
.orbit__ring{transform-box:view-box;transform-origin:600px 200px;
  animation:orbitTurn 120s linear infinite}
.orbit__ring:nth-child(2){animation-duration:170s;animation-direction:reverse}
.orbit__ring:nth-child(3){animation-duration:240s}
@keyframes orbitTurn{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){ .orbit__ring{animation:none} }

/* ═══════════════════════════════════════════════════════════════
   Proof — figures and voices from partner clinics.
   Every value is a dummy for now: each one sits in a .fill marker
   carrying data-dummy, so `grep data-dummy` finds them all before
   launch. A real number replaces the whole <span>, and then takes
   the display face the marker was overriding.
   ═══════════════════════════════════════════════════════════════ */
.proof__stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:clamp(28px,4vw,44px) 0 clamp(20px,3vw,32px)}
@media(min-width:900px){.proof__stats{grid-template-columns:repeat(4,1fr)}}
.proof__stat{background:var(--surface);border:1px solid var(--border-subtle);border-radius:4px 4px 4px 28px;padding:22px 20px 24px}
.proof__stat b{display:block;font-family:var(--font-display);font-size:clamp(34px,4vw,48px);font-weight:600;
  letter-spacing:-.03em;line-height:1;color:var(--primary);margin-bottom:12px}
.proof__stat p{margin:0;font-size:14.5px;line-height:1.45;color:var(--ink-secondary)}
.proof__quote{margin:0;display:flex;flex-direction:column;gap:22px}
.proof__quote blockquote{margin:0;font-family:var(--font-display);font-size:clamp(17px,1.6vw,19px);line-height:1.5;color:var(--ink)}
.proof__quote figcaption{display:flex;align-items:center;gap:12px;margin-top:auto;font-size:14px;color:var(--ink-secondary)}
.proof__quote figcaption b{display:block;margin-bottom:4px;color:var(--ink);font-weight:600}
.proof__avatar{width:46px;height:46px;flex:none;border-radius:999px;display:grid;place-items:center;
  background:rgba(202,161,47,.16);border:1px dashed var(--warning);font-size:13px;font-weight:600;color:#6b5310}
.proof__src{margin:20px 0 0;font-size:13.5px;color:var(--ink-tertiary)}

/* The aurora's lower glow sits partly below its section, and the section
   clipped it flat — a hard line where the dark band meets the curve under
   it. Fading the layer out at both ends lets the glow dissolve instead. */
.aurora{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 10%,#000 78%,transparent);
        mask-image:linear-gradient(to bottom,transparent,#000 10%,#000 78%,transparent)}

/* ═══════════════════════════════════════════════════════════════
   Content pages — conditions, the science, the case study.
   ═══════════════════════════════════════════════════════════════ */
.cond__review{margin:18px 0 0}
.cond__when{margin:0 0 8px;font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--accent-ink)}
.cond__week h3{margin:0 0 8px}
.cond__ex{margin-top:clamp(24px,3vw,34px);display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.cond__ex ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.cond__ex li{padding:8px 14px;border-radius:999px;background:var(--surface);border:1px solid var(--border-subtle);font-size:14.5px;font-weight:600;color:var(--primary)}
.cond__safety{margin:clamp(22px,3vw,30px) 0 0;max-width:70ch;font-size:14.5px;line-height:1.6;color:var(--ink-secondary);
  padding:14px 18px;border-left:3px solid var(--accent);background:var(--surface-sunken);border-radius:0 10px 10px 0}
.cond__card{text-decoration:none;display:flex;flex-direction:column;gap:8px;color:inherit;
  transition:transform .3s var(--ease-brand),box-shadow .3s var(--ease-brand)}
.cond__card:hover{transform:translateY(-3px);box-shadow:0 18px 40px -22px rgba(14,58,68,.4)}
.cond__card h3{margin:0;font-size:clamp(24px,2.6vw,30px)}
.cond__card p{margin:0;color:var(--ink-secondary)}
.cond__card span{margin-top:auto;padding-top:10px;font-weight:600;color:var(--primary)}

/* the six-week chart outside the journey: no paper ground, no picture */
.jr6--plain{background:var(--surface);border-top:none}
.jr6__knee--plain{display:flex;flex-direction:column;justify-content:space-between;min-height:220px}
.jr6__metric{margin:0;padding:22px 20px 0;font-family:var(--font-display);font-size:clamp(20px,2vw,24px);font-weight:600;color:var(--dk-ink);line-height:1.25}
.jr6__knee--plain figcaption span{font-size:clamp(48px,5vw,64px)}

.sci-refs{margin:16px 0 0;padding-left:22px;display:grid;gap:10px;font-size:14.5px;line-height:1.6;color:var(--ink-secondary);max-width:90ch}
.sci-refs a{color:var(--primary);word-break:break-word}
sup a{color:var(--accent-ink);text-decoration:none;font-weight:700;padding:0 1px}

.cs__split{display:grid;gap:clamp(16px,3vw,48px)}
@media(min-width:900px){.cs__split{grid-template-columns:1fr 1.2fr;align-items:start}}
.cs__prose p{margin:0 0 16px;font-size:clamp(16px,1.5vw,18px);line-height:1.7;color:var(--ink-secondary)}
.cs__steps{list-style:none;margin:clamp(24px,3.4vw,36px) 0 0;padding:0;display:grid;gap:18px}
@media(min-width:900px){.cs__steps{grid-template-columns:repeat(3,1fr)}}
.cs__steps li{padding:24px;border-radius:4px 4px 4px 32px;background:var(--surface);border:1px solid var(--border-subtle)}
.cs__steps b{display:inline-block;margin-bottom:10px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-ink)}
.cs__steps h3{margin:0 0 6px}
.cs__steps p{margin:0;color:var(--ink-secondary)}
.cs__quote{max-width:820px;margin-top:clamp(20px,3vw,32px)}
.cs__quote blockquote{font-size:clamp(19px,2vw,24px)}

/* WhatsApp: a round button in the right-hand column, above the "?" helper tab.
   The page text is left-aligned, so the right edge is where it covers least.
   The words show beside it on hover or keyboard focus. */
.wa{position:fixed;right:clamp(14px,2.4vw,26px);bottom:clamp(14px,2.4vw,26px);z-index:59;
  display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#1f9e57;color:#fff;
  text-decoration:none;font-weight:600;font-size:14px;
  box-shadow:0 10px 30px -10px rgba(6,40,20,.55);transition:transform .25s var(--ease-brand),background .25s var(--ease-brand)}
body:has(.qz__bar) .wa{bottom:calc(clamp(14px,2.4vw,26px) + 60px)}
body:has(.qz.is-open) .wa{visibility:hidden}
.wa:hover{transform:translateY(-2px);background:#178a4a}
.wa svg{width:24px;height:24px;flex:none}
.wa svg path:first-child{fill:none;stroke:#fff;stroke-width:1.8;stroke-linejoin:round}
.wa .wa__ph{fill:#fff}
.wa span{position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);white-space:nowrap;
  padding:7px 13px;border-radius:999px;background:#1f9e57;color:#fff;box-shadow:0 8px 22px -10px rgba(6,40,20,.55);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s var(--ease-brand),visibility 0s .2s}
.wa:hover span,.wa:focus-visible span{opacity:1;visibility:visible;transition:opacity .2s var(--ease-brand)}
.wa:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:640px){.wa span{display:none}}
@media (prefers-reduced-motion: reduce){.wa{transition:none}}

/* the visitor-stats notice (site.js): bottom-centre, between WhatsApp and the
   quiz; on a phone it takes the foot of the screen until answered */
.consent{position:fixed;left:50%;bottom:clamp(14px,2.4vw,26px);transform:translateX(-50%);z-index:70;
  width:min(620px,calc(100% - 2 * clamp(14px,2.4vw,26px)));display:flex;align-items:center;gap:18px;
  padding:16px 16px 16px 20px;border-radius:18px;background:var(--surface-raised);color:var(--ink);
  border:1px solid var(--border-default);box-shadow:0 24px 60px rgba(21,48,58,.2);font-size:14.5px;line-height:1.5}
.consent p{margin:0}
.consent a{color:var(--primary);font-weight:600;text-underline-offset:2px}
.consent__btns{display:flex;flex-direction:column;gap:8px;flex:none}
/* "Privacy first" and the seal lock (ring in India's colours, as in the footer badge):
   plays once as the notice rises in */
.consent{animation:consent-rise .32s var(--ease-brand) both}
@keyframes consent-rise{from{opacity:0;transform:translate(-50%,18px)}to{opacity:1;transform:translate(-50%,0)}}
.consent__txt{flex:1;min-width:0}
.consent__tag{display:flex;align-items:center;gap:8px;margin:0 0 4px!important;font-size:11.5px;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;color:var(--success)}
.consent__q{margin:0 0 2px!important;font-weight:700;font-size:15.5px}
.consent__lock{width:30px;height:30px;flex:none;overflow:visible}
.consent__ring{stroke-dasharray:23.04 46.08;animation:consent-draw .26s .35s linear both}
.consent__ring--b{animation-delay:.61s}
.consent__ring--c{animation-delay:.87s}
.consent__shackle{transform-box:view-box;transform-origin:15.2px 10.6px;animation:consent-shut .45s 1.13s cubic-bezier(.3,1.5,.5,1) both}
.consent__pulse{transform-box:view-box;transform-origin:12px 12px;opacity:0;animation:consent-pulse .9s 1.45s ease-out both}
@keyframes consent-draw{from{stroke-dashoffset:23.04}to{stroke-dashoffset:0}}
@keyframes consent-shut{from{transform:translateY(-2.4px) rotate(-26deg)}to{transform:none}}
@keyframes consent-pulse{0%{opacity:.55;transform:scale(1)}100%{opacity:0;transform:scale(1.7)}}
@media (prefers-reduced-motion:reduce){.consent,.consent *{animation:none!important}}
.consent__btns button{min-height:44px;padding:0 20px;border-radius:999px;font:inherit;font-weight:600;cursor:pointer;
  border:1px solid var(--primary);background:transparent;color:var(--primary)}
.consent__btns button[data-v="yes"]{background:var(--primary);color:var(--on-primary)}
.consent__btns button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:1180px){.consent{bottom:calc(clamp(14px,2.4vw,26px) + 62px)}}   /* sits above the two buttons */
@media(max-width:640px){
  .consent{flex-direction:column;align-items:stretch;gap:12px;bottom:12px;width:calc(100% - 24px)}
  .consent__btns{flex-direction:row}
  .consent__btns button{flex:1}
  .consent-open .wa,.consent-open .qz{visibility:hidden}
}

/* "See what's collected" in the notice opens the privacy card */
.consent__more{background:none;border:0;padding:0;font:inherit;font-weight:600;color:var(--primary);
  text-decoration:underline;text-underline-offset:2px;cursor:pointer}
/* the seal in the pill and card: drawn, no animation */
.consent__lock--still .consent__ring,.consent__lock--still .consent__shackle,.consent__lock--still .consent__pulse{animation:none}
.consent__lock--still .consent__ring{stroke-dashoffset:0}
.consent__lock--still .consent__pulse{opacity:0}

/* Privacy choices, option C (Round 42): a pill bottom-left saying "Stats off" or
   "Stats on" once the visitor has answered; it opens a card with one switch, a
   receipt of one page view and the visitor's answers. WhatsApp and the helper
   stay bottom-right. */
.pc-pill{position:fixed;left:clamp(14px,2.4vw,26px);bottom:clamp(14px,2.4vw,26px);z-index:59;
  display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 8px;border-radius:999px;
  border:1px solid var(--border-default);background:var(--surface-raised);color:var(--ink);cursor:pointer;
  font:600 14px var(--font-body);box-shadow:0 10px 24px rgba(21,48,58,.16);
  transition:transform .25s var(--ease-brand),box-shadow .25s var(--ease-brand)}
.pc-pill:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(21,48,58,.22)}
.pc-pill:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.pc-pill .consent__lock{width:28px;height:28px}
.pc-pill__dot{width:8px;height:8px;border-radius:50%;background:#8d9a98;flex:none}
.pc-pill__dot.is-on{background:var(--success);animation:pc-beat 2.4s ease-out infinite}
@keyframes pc-beat{0%{box-shadow:0 0 0 0 rgba(46,125,91,.5)}70%{box-shadow:0 0 0 7px rgba(46,125,91,0)}100%{box-shadow:0 0 0 0 rgba(46,125,91,0)}}
.pc-pill.is-new{animation:pc-pop .5s cubic-bezier(.3,1.5,.5,1) both}
@keyframes pc-pop{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}
.pc-card-open .pc-pill,.consent-open .pc-pill,.menu-open .pc-pill{visibility:hidden}

.pc-card{position:fixed;left:clamp(14px,2.4vw,26px);bottom:clamp(14px,2.4vw,26px);z-index:75;
  width:min(390px,calc(100vw - 28px));max-height:min(82vh,680px);display:flex;flex-direction:column;
  background:var(--surface-raised);color:var(--ink);border:1px solid var(--border-default);border-radius:20px;
  box-shadow:0 30px 70px rgba(12,28,21,.28);font-size:14.5px;line-height:1.5;overflow:hidden;
  transform-origin:24px calc(100% - 22px);animation:pc-grow .42s var(--ease-brand) both}
.pc-card.is-closing{animation:pc-shrink .24s var(--ease-brand) both}
@keyframes pc-grow{from{opacity:0;transform:scale(.25)}}
@keyframes pc-shrink{to{opacity:0;transform:scale(.25)}}
.pc-card__top{display:flex;align-items:center;gap:10px;padding:14px 12px 10px 18px}
.pc-card__top .consent__lock{width:30px;height:30px}
.pc-card__title{flex:1;margin:0;font:600 19px/1.2 var(--font-display);letter-spacing:-.01em;outline:none}
.pc-card__x{width:44px;height:44px;border-radius:12px;border:0;background:var(--surface-sunken);color:var(--ink);
  cursor:pointer;display:grid;place-items:center;flex:none}
.pc-card__x svg{width:18px;height:18px}
.pc-card__x:focus-visible,.pc-card button:focus-visible,.pc-card a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.pc-card__body{overflow:auto;padding:0 18px 18px;overscroll-behavior:contain}
.pc-card p{margin:0}
.pc-card__switch{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;
  background:var(--surface);border:1px solid var(--border-subtle)}
.pc-card__switch>div{flex:1;min-width:0}
.pc-card__name{font-weight:700}
.pc-card__state{font-size:13.5px;color:var(--ink-secondary)}
.pc-card__gpc{margin-top:10px!important;font-size:13px;color:var(--ink-secondary)}
.pc-sw{position:relative;width:52px;height:30px;flex:none;border-radius:999px;border:0;background:#8d9a98;cursor:pointer;
  transition:background .25s var(--ease-brand)}
.pc-sw::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .3s cubic-bezier(.3,1.5,.5,1)}
.pc-sw[aria-checked="true"]{background:var(--success)}
.pc-sw[aria-checked="true"]::after{transform:translateX(22px)}
.pc-card__see{margin-top:12px;width:100%;min-height:46px;border-radius:12px;border:1px dashed var(--primary);background:none;
  color:var(--primary);font:600 14.5px var(--font-body);cursor:pointer}
.pc-card__see:hover{background:var(--surface-sunken)}
.pc-rec{margin-top:12px;padding:14px 16px 12px;border:1px solid var(--border-default);border-radius:6px;background:#fffef9;font-size:13.5px;
  background-image:radial-gradient(circle at 8px -2px,var(--surface-raised) 6px,transparent 6.5px);background-size:16px 10px;background-repeat:repeat-x}
.pc-rec ul{list-style:none;margin:0;padding:0}
.pc-rec__h{margin:4px 0 8px!important;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;text-align:center;color:var(--ink-secondary)}
.pc-rl{display:flex;justify-content:space-between;gap:10px;padding:3px 0;border-bottom:1px dotted var(--border-default);opacity:0}
.pc-rl.is-in{animation:pc-type .3s var(--ease-brand) both}
@keyframes pc-type{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:none}}
.pc-rl span{color:var(--ink-secondary)}
.pc-rl b{text-align:right;font-variant-numeric:tabular-nums}
.pc-rl--never span{position:relative;color:#8f3524}
.pc-rl--never b{color:#8f3524;font-weight:600}
.pc-rl--never span::after{content:"";position:absolute;left:-2px;right:-2px;top:52%;height:1.6px;background:#8f3524;
  transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease-brand)}
.pc-rl--never.is-struck span::after{transform:scaleX(1)}
.pc-rec__never{margin:10px 0 6px!important;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8f3524;opacity:0}
.pc-rec__fine{margin-top:10px!important;font-size:12.5px;color:var(--ink-secondary);opacity:0}
.pc-rec__never.is-in,.pc-rec__fine.is-in{opacity:1;transition:opacity .35s}
.pc-card a{color:var(--primary);font-weight:600;text-underline-offset:2px}
.pc-card__h{margin:16px 0 6px!important;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-secondary)}
.pc-card__log{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid var(--border-default);font-size:13.5px}
.pc-card__log li{position:relative;padding:2px 0 8px 10px}
.pc-card__log li::before{content:"";position:absolute;left:-21px;top:7px;width:10px;height:10px;border-radius:50%;
  background:var(--surface-raised);border:2px solid var(--primary)}
.pc-yes{color:var(--success)}.pc-no{color:#8f3524}
.pc-card__more{margin-top:12px!important;font-size:13.5px;color:var(--ink-secondary)}
/* phones: the pill is just the seal and its dot, above the action bar or helper tab;
   the card is a sheet along the bottom */
@media(max-width:640px){
  .pc-pill{left:12px;bottom:calc(80px + env(safe-area-inset-bottom));width:48px;height:48px;padding:0;justify-content:center;gap:0}
  .pc-pill .consent__lock{width:30px;height:30px}
  .pc-pill__txt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .pc-pill__dot{position:absolute;right:3px;top:3px;width:11px;height:11px;border:2px solid var(--surface-raised)}
  .pc-card{left:0;right:0;bottom:0;width:100%;max-height:88vh;border-radius:20px 20px 0 0;
    padding-bottom:env(safe-area-inset-bottom);transform-origin:30px 100%}
  body:has(.qz.is-open) .pc-pill{visibility:hidden}
  .pc-card-open .wa,.pc-card-open .qz,.pc-card-open .abar,.pc-card-open .jump{visibility:hidden}
}
@media (prefers-reduced-motion:reduce){
  .pc-pill,.pc-pill.is-new,.pc-card,.pc-card.is-closing,.pc-pill__dot.is-on,.pc-rl.is-in{animation:none}
  .pc-rl{opacity:1}
  .pc-sw,.pc-sw::after,.pc-rl--never span::after{transition:none}
}
@media print{.pc-pill,.pc-card{display:none}}

/* links into the condition guides, from the pages patients read first */
.cond-links{margin-top:clamp(24px,3vw,34px);display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.cond-links p{margin:0;font-weight:600;color:var(--ink)}
.cond-links ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.cond-links a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:999px;
  background:var(--surface);border:1px solid var(--border-default);color:var(--primary);font-weight:600;font-size:15px;
  text-decoration:none;transition:background .2s var(--ease-brand),border-color .2s var(--ease-brand)}
.cond-links a:hover{background:var(--surface-sunken);border-color:var(--primary)}
@media (prefers-reduced-motion: reduce){.cond-links a{transition:none}}

/* ═══════════════════════════════════════════════════════════════
   Body map — patients find their condition guide by pointing.
   Every spot opens a short plain-English tip with its guides; the
   list beside it carries the same links and meanings, so nothing
   depends on tapping a picture. A 3D body replaces the drawing once
   its model file and spot positions exist (see site.js).
   ═══════════════════════════════════════════════════════════════ */
.bmap{display:grid;gap:clamp(24px,4vw,64px);align-items:center;margin-top:clamp(24px,3.4vw,40px)}
@media(min-width:860px){.bmap{grid-template-columns:minmax(280px,400px) 1fr}}
.bmap__fig{position:relative;max-width:250px;margin-inline:auto;width:100%}
.bmap__fig.is-3d{max-width:400px}
@media(max-width:859px){.bmap__fig{max-width:210px}.bmap__fig.is-3d{max-width:340px}}
.bmap__svg{display:block;width:100%;height:auto;overflow:visible}
.bm-body{fill:var(--surface);stroke:var(--border-default);stroke-width:2.5;stroke-linejoin:round}
.bm-floor{fill:rgba(19,76,88,.08)}
.bm-spot{cursor:pointer;outline:none}
.bm-spot .ring{fill:none;stroke:var(--accent);stroke-width:2;transform-box:fill-box;transform-origin:center;animation:bmPulse 2.2s var(--ease-brand) infinite}
.bm-spot .dot{fill:var(--accent);stroke:#fff;stroke-width:3;transition:r .2s var(--ease-brand)}
.bm-spot .tag rect{fill:var(--primary)}
.bm-spot .tag text{font:600 13px var(--font-body);fill:#fff}
.bm-spot:hover .dot,.bm-spot:focus-visible .dot,.bm-spot.is-on .dot{r:13}
.bm-spot:focus-visible .ring{stroke:var(--primary);stroke-width:3;animation:none}
@keyframes bmPulse{0%{transform:scale(.6);opacity:.9}100%{transform:scale(1.9);opacity:0}}

/* the 3D body and its hotspots */
/* model-viewer sets its own 300x150 size, so the height is set outright */
.bmap__3d{display:block;width:100%;height:540px;background:transparent;--poster-color:transparent;--progress-bar-color:var(--accent)}
@media(max-width:859px){.bmap__3d{height:440px}}
.bmap__3d[hidden]{display:none}
/* the dot is the hotspot, centred on its point on the body; the label
   hangs beside it so it never pulls the dot off the skin */
.bm-hot{position:relative;width:22px;height:22px;padding:0;border-radius:999px;border:3px solid #fff;cursor:pointer;
  background:var(--accent);box-shadow:0 4px 14px -4px rgba(14,58,68,.6);animation:bmPulse2 2.2s var(--ease-brand) infinite}
.bm-hot span{position:absolute;left:28px;top:50%;transform:translateY(-50%);white-space:nowrap;pointer-events:none;
  padding:5px 11px;border-radius:999px;background:var(--primary);color:#fff;font:600 13px var(--font-body)}
.bm-hot:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
.bm-hot.is-on{transform:scale(1.15)}
/* while one area is lit, the others step back until they are pointed at */
.bm-hot,.bm-hot span{transition:background .25s var(--ease-brand),color .25s var(--ease-brand),box-shadow .25s var(--ease-brand)}
.bmap.has-on .bm-hot:not(.is-on){background:#cdc3b2;animation:none;box-shadow:0 2px 8px -4px rgba(14,58,68,.4)}
.bmap.has-on .bm-hot:not(.is-on) span{background:var(--surface-raised);color:var(--ink-secondary);box-shadow:inset 0 0 0 1px var(--border-default)}
.bm-spot .dot,.bm-spot .tag rect,.bm-spot .tag text{transition:fill .25s var(--ease-brand),r .2s var(--ease-brand)}
.bmap.has-on .bm-spot:not(.is-on) .dot{fill:#cdc3b2}
.bmap.has-on .bm-spot:not(.is-on) .ring{animation:none;opacity:0}
.bmap.has-on .bm-spot:not(.is-on) .tag rect{fill:var(--surface-raised);stroke:var(--border-default)}
.bmap.has-on .bm-spot:not(.is-on) .tag text{fill:var(--ink-secondary)}
/* model-viewer fades a spot that is behind the body; keep it readable but quiet */
.bmap__3d{--min-hotspot-opacity:.3}
@keyframes bmPulse2{0%,100%{box-shadow:0 0 0 0 rgba(207,138,78,.6)}60%{box-shadow:0 0 0 9px rgba(207,138,78,0)}}
@media (prefers-reduced-motion: reduce){.bm-spot .ring,.bm-hot{animation:none}.bm-spot .ring{opacity:.6}.bm-spot .dot{transition:none}}

/* the tip card a spot opens */
/* it opens centred just below its spot, over the figure and never over the list */
.bmap__pick{position:absolute;z-index:3;left:50%;transform:translateX(-50%);width:min(270px,86vw);padding:16px;border-radius:16px;
  background:var(--surface);border:1px solid var(--border-default);box-shadow:0 22px 50px -20px rgba(14,58,68,.45)}
.bmap__pick[hidden]{display:none}
.bmap__pick[data-for="shoulder"]{top:26%}
.bmap__pick[data-for="back"]{top:50%}
.bmap__pick[data-for="knee"]{top:79%}
/* over a 3D body the card would hide the very joint it explains, so it sits below the figure */
.bmap__fig.is-3d .bmap__pick{position:relative;left:auto;top:auto;transform:none;width:100%;margin-top:10px}
.bmap__pick-t{margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--accent-ink)}
.bmap__pick-tip{margin:0 0 10px;font-size:14px;line-height:1.5;color:var(--ink-secondary)}
.bmap__pick a{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:11px 12px;border-radius:12px;text-decoration:none;
  border:1px solid var(--border-subtle);margin-top:8px}
.bmap__pick a b{color:var(--primary);font-size:15px}
.bmap__pick a span{grid-column:1;font-size:13.5px;line-height:1.45;color:var(--ink-secondary)}
.bmap__pick a i{grid-column:2;grid-row:1 / span 2;align-self:center;font-style:normal;color:var(--primary);font-weight:700}
.bmap__pick a:hover,.bmap__pick a:focus-visible{background:var(--surface-sunken);border-color:var(--primary)}

/* the list: the same guides, each with its meaning */
.bmap__list{display:grid;gap:4px;max-width:560px}
.bmap__row{display:grid;grid-template-columns:100px 1fr;gap:14px;align-items:start;padding:14px 0;border-top:1px solid var(--border-subtle)}
.bmap__row:first-child{border-top:none}
@media(max-width:480px){.bmap__row{grid-template-columns:1fr;gap:8px}}
.bmap__area{font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--accent-ink);padding-top:14px}
@media(max-width:480px){.bmap__area{padding-top:0}}
.bmap__links{display:grid;gap:10px}
.bmap__guide{display:block;padding:12px 16px;border-radius:14px;background:var(--surface);border:1px solid var(--border-default);
  text-decoration:none;transition:background .2s var(--ease-brand),border-color .2s var(--ease-brand)}
.bmap__guide b{display:block;color:var(--primary);font-size:15.5px;margin-bottom:2px}
.bmap__guide span{display:block;font-size:14px;line-height:1.5;color:var(--ink-secondary)}
.bmap__guide:hover,.bmap__row.is-on .bmap__guide{background:var(--surface-sunken);border-color:var(--primary)}
/* on a condition's own page, its guide is the one being read */
.bmap__guide[aria-current="page"]{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}
.bmap__guide[aria-current="page"] b::after{content:"You\2019re here";margin-left:10px;padding:2px 8px;border-radius:999px;
  background:var(--primary);color:var(--on-primary);font-size:11.5px;font-weight:600;vertical-align:2px}
.bmap__pick a[aria-current="page"]{background:var(--surface-sunken)}
@media (prefers-reduced-motion: reduce){.bmap__guide{transition:none}}
.bmap__review{margin:10px 0 0;font-size:13px}
.bmap__hint,.bmap__credit{margin:14px 0 0;font-size:13px;color:var(--ink-tertiary)}
.bmap__credit a{color:var(--ink-secondary)}

/* ═══════════════════════════════════════════════════════════════
   Data journey: a finished session travels from the patient's phone
   to the clinic and the family. live-scenes.js builds the stage at
   1100×700 and scales it to fit (or, with data-journey="cover", to
   fill its box as a background).
   ═══════════════════════════════════════════════════════════════ */

.dj{position:relative;width:100%;aspect-ratio:1100/700}
.dj[data-journey="cover"]{position:absolute;inset:0;aspect-ratio:auto;overflow:hidden;pointer-events:none}
.dj__stage{position:absolute;left:0;top:0;width:1100px;height:700px;transform-origin:0 0}
.dj__stage svg{position:absolute;inset:0;width:1100px;height:700px;overflow:visible}
.dj__flow{fill:none;stroke-width:2.5;stroke-dasharray:3 9;stroke-linecap:round}
.dj__phone{position:absolute;left:30px;top:110px;width:240px;height:480px;border-radius:38px;background:var(--dk-canvas);padding:10px;
  box-shadow:0 40px 70px -40px rgba(12,28,21,.7)}
.dj__phone{transition:box-shadow .3s var(--ease-brand)}
.dj__phone.is-ping{box-shadow:0 0 0 4px var(--lime),0 40px 70px -40px rgba(12,28,21,.7)}
.dj__phone > div{position:relative;height:100%;border-radius:30px;overflow:hidden;background:#10251c;display:flex;flex-direction:column;color:var(--dk-ink)}
/* a reply from the physio arrives as a notification at the top of the screen */
.dj__note{position:absolute;left:10px;right:10px;top:10px;z-index:2;margin:0;padding:12px 14px;border-radius:18px;background:rgba(255,253,247,.97);
  color:var(--ink);font-size:15px;line-height:1.35;box-shadow:0 12px 24px -12px rgba(0,0,0,.6);opacity:0;transform:translateY(-120%);
  transition:transform .45s var(--ease-brand),opacity .45s var(--ease-brand)}
.dj__note.is-on{opacity:1;transform:none}
.dj__note strong{display:block;margin-bottom:2px;font:600 12px var(--font-body);letter-spacing:.04em;text-transform:uppercase;color:#2a7a66}
.dj__phone small{padding:18px 18px 0;font-size:14px;color:var(--dk-ink-secondary)}
.dj__phone img{width:100%;margin-top:auto}
.dj__phone b{padding:6px 18px 20px;font:600 44px/1 var(--font-display);color:var(--lime);font-variant-numeric:tabular-nums}
.dj__dash{position:absolute;right:20px;top:60px;width:330px;border-radius:22px;background:var(--surface-raised);padding:22px;
  box-shadow:0 30px 60px -36px rgba(14,58,68,.6);transition:box-shadow .3s var(--ease-brand)}
.dj__dash.is-ping{box-shadow:0 0 0 4px var(--lime),0 30px 60px -36px rgba(14,58,68,.6)}
.dj__h{margin:0 0 14px;font:600 20px var(--font-display);color:var(--ink)}
.dj__dash dl{margin:0;display:grid;grid-template-columns:1fr auto;gap:10px;font-size:16px}
.dj__dash dt{color:var(--ink-secondary)}
.dj__dash dd{margin:0;font:600 22px var(--font-display);color:var(--ink);font-variant-numeric:tabular-nums}
/* two-way (Who we serve): one card, centred between the two lanes */
.dj--two-way .dj__dash{top:190px}
/* one-way (home): the family hears too */
.dj__fam{position:absolute;right:80px;bottom:30px;width:250px;border-radius:20px;background:var(--primary-deep);color:var(--dk-ink);padding:18px;
  transition:box-shadow .3s var(--ease-brand)}
.dj__fam.is-ping{box-shadow:0 0 0 4px var(--accent)}
.dj__fam small{font-size:13px;color:var(--dk-ink-secondary)}
.dj__fam strong{display:block;margin-top:4px;font:600 18px var(--font-display)}
.dj__sent{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--border-subtle);font-size:14px;color:var(--ink-secondary)}
.dj__sent span{display:block;margin-top:2px;font-weight:600;color:#2a7a66}
.dj__pk{position:absolute;left:0;top:0;padding:8px 14px;border-radius:999px;background:var(--primary-deep);color:var(--dk-ink);
  font:600 14px var(--font-body);white-space:nowrap;box-shadow:0 10px 24px -10px rgba(14,58,68,.6);will-change:transform}
.dj__pk--pain{background:var(--accent);color:#2a1606}
.dj__pk--dr,.dj__pk--fam{background:var(--lime);color:var(--dk-canvas)}
.dj__pk--dr::before{content:"Dr. Rao: ";font-weight:500;opacity:.75}

/* home: words on the left, the journey on the right */
.dj-sec .dj-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(24px,4vw,56px);align-items:center}
.dj-sec .lead{margin-bottom:28px}
@media(max-width:900px){.dj-sec .dj-grid{grid-template-columns:1fr}}

/* Who we serve: the hero's words sit on frosted glass over the journey */
.serve-hero{position:relative;overflow:hidden;isolation:isolate}
.serve-hero .dj{z-index:-1;opacity:.95}
.serve-glass{
  width:min(680px,100%); padding:clamp(24px,3vw,38px) clamp(18px,3vw,40px); border-radius:28px;
  background:rgba(253,250,244,.58); -webkit-backdrop-filter:blur(18px) saturate(1.35); backdrop-filter:blur(18px) saturate(1.35);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),inset 0 1px 0 rgba(255,255,255,.9),0 40px 90px -50px rgba(14,58,68,.55);
}
/* on a laptop, keep room either side for the phone and the cards */
@media(min-width:900px){ .serve-glass{width:min(680px,calc(100% - 400px))} }
/* on a phone the card covers most of the scene, so let more of it through */
@media(max-width:700px){ .serve-glass{background:rgba(253,250,244,.42);-webkit-backdrop-filter:blur(12px) saturate(1.35);backdrop-filter:blur(12px) saturate(1.35)} }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){ .serve-glass{background:rgba(253,250,244,.92)} }

/* ═══════════════════════════════════════════════════════════════
   Live bento: a dashboard where every tile is moving. One for the
   clinic, one for the patient; live-scenes.js runs the tiles.
   ═══════════════════════════════════════════════════════════════ */

.lb{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,minmax(150px,auto));gap:12px}
.lb__t{position:relative;overflow:hidden;border-radius:22px;background:var(--dk-surface);padding:22px;color:var(--dk-ink);
  display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-height:150px}
.lb__t small{font-size:14px;color:var(--dk-ink-secondary)}
.lb__head{grid-column:1/3;grid-row:1/3;background:var(--primary-deep);justify-content:flex-end}
.lb__head h2{margin:0;font:600 clamp(40px,4.8vw,80px)/1 var(--font-display);letter-spacing:-.025em;color:var(--dk-ink)}
.lb__head p{margin:14px 0 22px;max-width:34ch;font-size:18px;color:var(--dk-ink-secondary)}
.lb__head .btn{align-self:flex-start;background:var(--lime);color:var(--dk-canvas)}
.lb__knee{grid-column:3/4;grid-row:1/3;background:#0f2219;padding:0}
.lb__knee img{width:100%;height:100%;object-fit:contain;object-position:50% 30%}
.lb__knee .lb__read{position:absolute;left:20px;right:20px;bottom:18px;display:flex;justify-content:space-between;align-items:flex-end}
.lb__knee b{font:600 56px/1 var(--font-display);color:var(--lime);font-variant-numeric:tabular-nums}
.lb__big{font:600 clamp(40px,4.4vw,64px)/1 var(--font-display);font-variant-numeric:tabular-nums}
.lb__big em{font-style:normal;font-size:.5em;opacity:.7}
.lb__lime{background:var(--lime);color:var(--dk-canvas)}
.lb__lime small{color:#30420a}
.lb__clay{background:var(--accent);color:#2a1606}
.lb__clay small{color:#4a2a10}
.lb__wide{grid-column:span 2}
.lb__bars{display:flex;align-items:flex-end;gap:5px;height:70px}
.lb__bars i{flex:1;background:var(--dk-primary);border-radius:4px 4px 2px 2px;transition:height .8s var(--ease-brand)}
.lb__bars i:last-child{background:var(--lime)}
[data-bento="patient"] .lb__bars i{transition:height .15s linear}
.lb__lock{display:flex;gap:12px;align-items:center}
.lb__lock svg{width:44px;height:44px;flex:none}
.lb__lock b{font:600 20px/1.2 var(--font-display)}
.lb__streak{display:flex;gap:6px}
.lb__streak i{width:14px;height:14px;border-radius:999px;background:rgba(42,22,6,.25)}
.lb__streak i.on{background:#2a1606}
.lb__streak i.today{animation:lbBlink 1.6s var(--ease-brand) infinite}
@keyframes lbBlink{50%{transform:scale(1.35)}}
.lb__toast{position:absolute;left:16px;right:16px;bottom:16px;padding:12px 16px;border-radius:12px;background:var(--dk-canvas);color:var(--dk-ink);
  font-size:15px;transform:translateY(160%);transition:transform .6s var(--ease-brand)}
.lb__toast.is-on{transform:none}
/* The patient's dashboard is warm and light, so it never reads as the
   clinic's: sand ground, terracotta and the logo's green, ink type. */
.lb-sec--patient{background:#f4e7d7}
[data-bento="patient"] .lb__t{background:var(--surface-raised);color:var(--ink);box-shadow:inset 0 0 0 1px #ead7c0}
[data-bento="patient"] .lb__t small{color:var(--ink-secondary)}
[data-bento="patient"] .lb__head{background:#8f4a1f;box-shadow:none}
[data-bento="patient"] .lb__head h2{color:#fff8ef}
[data-bento="patient"] .lb__head p{color:#f6dcc4}
[data-bento="patient"] .lb__head .btn{background:#fff8ef;color:#7a3d16}
[data-bento="patient"] .lb__knee{background:linear-gradient(180deg,#fffaf2,#f6e8d6)}
[data-bento="patient"] .lb__knee b{color:#a65a2a}
[data-bento="patient"] .lb__lime{background:#2a7a66;color:#fff;box-shadow:none}
[data-bento="patient"] .lb__lime small{color:#fff}
[data-bento="patient"] .lb__bars i{background:#ecc49c}
[data-bento="patient"] .lb__bars i:last-child{background:#a65a2a}
[data-bento="patient"] .lb__lock svg rect{fill:#33917a}
[data-bento="patient"] .lb__lock svg path{stroke:#33917a}
[data-bento="patient"] .lb__clay{background:#f2c9a0;color:#4a2410;box-shadow:none}
[data-bento="patient"] .lb__clay small{color:#6b3a1c}
[data-bento="patient"] .lb__streak i{background:rgba(122,61,22,.22)}
[data-bento="patient"] .lb__streak i.on{background:#a65a2a}
[data-bento="patient"] .lb__toast{background:#2a7a66;color:#fff}
@media(max-width:900px){
  .lb{grid-template-columns:1fr 1fr;grid-template-rows:none;grid-auto-rows:minmax(150px,auto)}
  .lb__head{grid-column:1/-1;grid-row:auto;min-height:340px}
  .lb__knee{grid-column:1/-1;grid-row:auto;min-height:320px}
}
@media(max-width:480px){.lb__head h2{font-size:40px}.lb__knee b{font-size:44px}}
@media (prefers-reduced-motion: reduce){.lb__toast,.lb__bars i,.dj__dash,.dj__fam,.dj__phone,.dj__note{transition:none}.lb__streak i.today{animation:none}}

/* ═══════════════════════════════════════════════════════════════
   Demo page: book a time straight into the calendar (Cal.com), with
   the email form one click away. book.js decides which one shows.
   ═══════════════════════════════════════════════════════════════ */

.book{display:grid;gap:14px}
.book__cal{position:relative;padding:8px;border-radius:24px;min-height:620px;overflow:hidden}
.book__frame{width:100%;min-height:600px}
/* Cal.com wraps its frame in a wrapping flex box; pin it to the top so the frame does not jump up as it loads (that jump was the Demo page layout shift). Our own "Loading" line stands in for Cal.com's loader. */
#book-cal>cal-inline{align-content:flex-start;align-items:flex-start}
#book-cal .loader{display:none!important}
.book__loading{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:var(--ink-secondary);font-size:15px}
.book__cal.is-ready .book__loading{display:none}
.book__switch{margin:0;text-align:center}
.book__switch button{border:0;background:none;padding:0 0 4px;cursor:pointer;font:600 15px var(--font-body);color:var(--primary)}
.book__unset{margin:0}
.book__mail{max-width:640px;width:100%;margin-inline:auto}
.book__mail[hidden]{display:none}
.book__form{border-radius:4px 4px 4px 56px;padding:32px}
.book__next-h{font-size:26px;margin:clamp(40px,5vw,56px) 0 20px}
@media(max-width:600px){.book__cal{padding:0;border-radius:18px;min-height:560px}.book__form{padding:24px}}

/* condition pages: the printable six-week sheet (print-plan.js) */
.cond__print{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:clamp(24px,3vw,32px);padding:18px 20px;border-radius:18px;
  background:var(--surface);border:1px dashed var(--border-default)}
.cond__print p{margin:0;max-width:46ch;font-size:15px;color:var(--ink-secondary)}
.plan-layer{position:fixed;inset:0;z-index:200;background:rgba(12,28,21,.55)}
.plan-layer iframe{display:block;width:100%;height:100%;border:0}

/* pilot programme page (/pilot/): what twelve weeks look like */
.cs__note{margin:0;max-width:62ch;font-size:15px;color:var(--ink-secondary);padding-left:14px;border-left:3px solid var(--logo-green)}
.cs__measures{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:clamp(24px,3.4vw,36px)}
@media(max-width:700px){.cs__measures{grid-template-columns:1fr}}
.cs__honest{margin:clamp(20px,2.6vw,28px) 0 0;font:600 clamp(18px,1.6vw,21px)/1.4 var(--font-display);color:var(--primary)}
.logos__open{margin:0;text-align:center;padding:0 20px;font-size:16px;color:var(--ink-secondary)}
.logos__open a{color:var(--primary);font-weight:600;text-decoration:none;white-space:nowrap}
/* business case: the figures are estimates until pilots report */
.money__note{margin:-4px 0 0;max-width:62ch;font-size:15px;color:var(--ink-secondary);padding-left:14px;border-left:3px solid var(--logo-green)}
.money__est{display:inline-block;margin:0 0 6px;padding:3px 10px;border-radius:999px;background:var(--surface-sunken);
  font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-secondary)}
/* the live dashboards show sample data, and say so */
.lb__sample{display:inline-block;align-self:flex-start;padding:2px 9px;border-radius:999px;background:rgba(42,22,6,.14);font-size:12px;font-weight:600}
.lb__note{margin:14px 0 0;font-size:13.5px;color:var(--dk-ink-secondary)}
.lb-sec--patient .lb__note{color:var(--ink-secondary)}
/* family page */
.fam__note{margin-top:18px;font-size:13.5px;color:var(--ink-tertiary)}
/* pricing: the booking calendar on its own row under the text and the quote
   form. Beside the form it was a narrow column, so picking a day stacked the
   times into a long list and left a blank stretch under the form; across the
   full width the times sit beside the month. */
.book--side{margin-top:clamp(28px,3.4vw,40px)}
.book__h{margin:0;font-size:clamp(21px,1.8vw,25px);font-weight:600;color:var(--ink)}
@media(min-width:900px){
  .split--book > .book--side{grid-column:1 / -1;grid-row:2}
  /* the text is shorter than the form: centred beside it, not left hanging at
     the top (sticky would fail here, the smooth scroll transforms the page) */
  .split--book > .split__body{align-self:center}
}

/* Who we serve: one background per side of the switch, cross-faded */
.serve-hero .dj{transition:opacity .4s var(--ease-brand)}
.serve-hero .dj.is-out{opacity:0}

/* forms: the spam trap is off-screen for people, and the thank-you replaces the fields */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-done{padding:8px 0}
.form-done:focus{outline:none}
[data-mail-form].is-sent > :not(.form-done){display:none !important}
.form-done .form-done__h{margin:0 0 8px;font:600 24px/1.2 var(--font-display);color:var(--primary)}
.form-done p{margin:0;color:var(--ink-secondary)}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:var(--ink-secondary);line-height:1.5;cursor:pointer}
.check input{margin-top:3px;width:18px;height:18px;flex:none;accent-color:var(--primary)}

/* "Privacy first": flags every line saying no video or photo is recorded */
.pf-tag{display:inline-flex;align-items:center;gap:5px;padding:3px 9px 3px 7px;border-radius:999px;
  font:700 11px/1.3 var(--font-body);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;vertical-align:.14em;
  color:#1d6b58;background:rgba(51,145,122,.12);box-shadow:inset 0 0 0 1px rgba(51,145,122,.34)}
.pf-tag svg{width:11px;height:11px;flex:none}
.pf-tag--block{display:flex;width:max-content;margin:0 0 12px}
.pf-tag--after{display:flex;width:max-content;margin:12px 0 0}
.pf-hl{color:inherit;font-weight:600;padding:0 .08em;background:linear-gradient(transparent 60%,rgba(51,145,122,.24) 0);
  -webkit-box-decoration-break:clone;box-decoration-break:clone}
.section-dark .pf-tag,.pull .pf-tag,.jr-ch__lane--screen .pf-tag,[data-bento="clinic"] .pf-tag{color:var(--lime);background:rgba(174,234,0,.1);box-shadow:inset 0 0 0 1px rgba(174,234,0,.36)}
.section-dark .pf-hl,.pull .pf-hl,.jr-ch__lane--screen .pf-hl{color:var(--dk-ink);background:linear-gradient(transparent 60%,rgba(174,234,0,.26) 0)}
/* the lock clicks shut when the badge scrolls into view (assets/site.js); with no JS or reduced motion it just sits closed */
.pf-tag{position:relative}
.pf-tag svg{overflow:visible}
.pf-tag svg path{transform-box:view-box;transform-origin:8px 5.2px}
.pf-tag.is-open svg path{transform:translateY(-1.6px) rotate(24deg)}
.pf-tag.is-locking svg{animation:pfLockPop 1.4s .25s cubic-bezier(.3,.7,.3,1) both}
.pf-tag.is-locking svg path{animation:pfShackle 1.4s .25s both}
.pf-tag.is-locking{background-image:linear-gradient(100deg,transparent,color-mix(in srgb,currentColor 38%,transparent),transparent);
  background-repeat:no-repeat;background-size:45% 100%;animation:pfSheen 1.4s .25s both}
.pf-tag.is-locking::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 1.5px currentColor;pointer-events:none;
  animation:pfRing 1.4s .25s ease-out both}
@keyframes pfLockPop{0%{transform:scale(1)}20%,50%{transform:scale(1.8)}56%{transform:scale(1.5)}68%{transform:scale(1.85)}100%{transform:scale(1)}}
@keyframes pfShackle{0%,44%{transform:translateY(-1.6px) rotate(24deg);animation-timing-function:cubic-bezier(.6,0,.9,.5)}54%{transform:translateY(.5px) rotate(0)}62%{transform:translateY(-.25px) rotate(0)}70%,100%{transform:none}}
@keyframes pfSheen{0%,54%{background-position:-100% 0}92%,100%{background-position:200% 0}}
@keyframes pfRing{0%,53%{opacity:0;transform:none}55%{opacity:.85;transform:none}100%{opacity:0;transform:scale(1.14,1.5)}}
/* the same badge drawn inside the dark phone illustrations (journey, trust) */
.pf-svg__bg{fill:rgba(174,234,0,.1);stroke:rgba(174,234,0,.4);stroke-width:1}
.pf-svg__lock{fill:#aeea00}
.pf-svg__t{fill:#aeea00;font-family:var(--font-body);font-weight:700;letter-spacing:.08em}
/* Who we serve: the patient-app band, between the hero and both tabs */
.serve-waitlist{padding-block:clamp(22px,3vw,36px)}
.serve-waitlist .mini-cta{margin-top:0}
/* Who we serve, patients: the phone-on-a-tripod setup illustration above "What a session is like" */
.setup-shot{margin:0 0 28px;border-radius:24px;overflow:hidden;box-shadow:0 30px 60px -36px rgba(14,58,68,.55)}
.setup-shot img{display:block;width:100%;height:auto}
/* Who we serve: the business-case estimates, blurred until a business email is sent */
.gate{position:relative}
.gate__data{filter:blur(14px);opacity:.7;pointer-events:none;user-select:none;transition:filter .6s var(--ease-brand),opacity .6s var(--ease-brand)}
.gate__box{position:absolute;left:50%;top:clamp(40px,12vw,140px);transform:translateX(-50%);width:min(620px,calc(100% - 24px));z-index:2;
  background:var(--surface-raised);border-radius:24px;padding:clamp(24px,4vw,40px);text-align:center;
  box-shadow:inset 0 0 0 1px var(--border-default),0 40px 80px -40px rgba(14,58,68,.55);transition:opacity .4s var(--ease-brand)}
.gate__h{margin:0 0 20px;font:600 clamp(20px,2.4vw,26px)/1.25 var(--font-display);color:var(--ink)}
.gate__form{display:flex;gap:10px;flex-wrap:wrap}
.gate__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gate__form input[type=email]{flex:1 1 220px;min-width:0;height:52px;padding:0 18px;border-radius:14px;border:1px solid var(--border-default);
  background:var(--surface);font:16px var(--font-body);color:var(--ink)}
.gate__form input[type=email]:focus{outline:2px solid var(--primary);outline-offset:1px}
.gate__form .btn{height:52px;padding:0 30px}
.gate__note{margin:16px 0 0;font-size:14px;color:var(--ink-secondary)}
.gate__note a{color:var(--ink);text-decoration:underline}
.gate .form-done{text-align:center;width:100%}
.gate__error{margin:12px 0 0;font-size:14.5px;font-weight:500;color:#b3261e;text-align:left}
.gate__form input[aria-invalid=true]{border-color:#b3261e}
.gate__done:focus{outline:none}
.gate__done .gate__h{margin-bottom:8px}
/* Who we serve: the clinician's console, shown on an unfolded iPhone Duo with all six views */
.cx{display:grid;gap:clamp(24px,3.4vw,48px);margin-top:clamp(28px,3.6vw,44px);align-items:center}
@media(min-width:1000px){ .cx{grid-template-columns:1.55fr 1fr} }
.cx__cap{margin:14px 0 0;font-size:13.5px;color:var(--ink-tertiary);text-align:center}
/* iPhone Duo, unfolded, in landscape: proportions measured from Apple's product shot.
   1.39:1 body, a thin graphite band round a slim black border, wide rounded corners,
   two buttons on the top edge towards the right, and the under-display camera, a faint
   circle you only just see, high on the right half.
   Every size is a share of the device, so it keeps its shape at any width. */
.duofold{position:relative;aspect-ratio:1.39;border-radius:7.4% / 10.3%;padding:1.45%;
  background:#111116;
  box-shadow:inset 0 0 0 1px #8d8b97,inset 0 0 0 3px #3a3944,inset 0 0 0 5px #1d1d24,
    0 50px 90px -46px rgba(14,58,68,.6),0 18px 34px -26px rgba(0,0,0,.5)}
.duofold::before,.duofold::after{content:"";position:absolute;top:-.6%;height:.75%;border-radius:3px 3px 0 0;
  background:linear-gradient(180deg,#a3a1ac,#4a4954)}
.duofold::before{left:72.7%;width:6%}
.duofold::after{left:81%;width:5.7%}
.duofold__screen{position:relative;width:100%;height:100%;border-radius:6.1% / 8.6%;overflow:hidden;background:#f6f2ea;container-type:inline-size}
.duofold__cam{position:absolute;z-index:3;left:69.2%;top:7.6%;width:2.6%;aspect-ratio:1;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(40,48,58,.07) 0 45%,rgba(40,48,58,0) 72%)}

/* the app inside: every size is a share of the screen's width, so it scales with the device */
.cs{position:absolute;inset:0;display:grid;grid-template-columns:27% 1fr;grid-template-rows:auto 1fr;font-family:var(--font-body);color:var(--ink);font-size:1.94cqw}
.cs__top{grid-column:1/-1;display:flex;align-items:center;gap:1.68cqw;padding:2.88cqw 4.08cqw 1.92cqw;border-bottom:1px solid #e7dfd0}
.cs__top b{font:600 2.4cqw var(--font-display);color:var(--primary)}
.cs__top span{color:var(--ink-secondary)}
.cs__top i{margin-left:auto;margin-right:3.6cqw;font-style:normal;font-weight:600}
.cs__rail{display:flex;flex-direction:column;gap:0.6cqw;padding:2.4cqw 1.92cqw;background:#efe8db}
.cs__rail span{display:flex;align-items:center;white-space:nowrap;gap:1.32cqw;padding:1.38cqw 1.56cqw;border-radius:1.44cqw;color:var(--ink-secondary);font-weight:500;transition:background .3s,color .3s}
.cs__rail svg{width:2.52cqw;height:2.52cqw;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cs__rail em{margin-left:auto;font-style:normal;font-size:1.5cqw;font-weight:700;min-width:2.4cqw;text-align:center;padding:0.18cqw 0.72cqw;border-radius:99px;background:var(--error);color:#fff}
.cs__rail span.on{background:var(--primary);color:var(--on-primary)}
.cs__pane{padding:3.12cqw 4.08cqw;overflow:hidden;animation:cs-in .45s var(--ease-brand)}
@keyframes cs-in{from{opacity:0;transform:translateY(1.2cqw)}to{opacity:1;transform:none}}
.cs__h{margin:0 0 2.4cqw;font:600 3cqw/1.2 var(--font-display)}
.cs__h small{display:block;margin-top:0.48cqw;font:400 1.74cqw var(--font-body);color:var(--ink-secondary)}
.cs ul{list-style:none;margin:0;padding:0;display:grid;gap:1.44cqw}
.cs li{display:flex;align-items:center;gap:1.92cqw;padding:1.68cqw 2.16cqw;border-radius:1.92cqw;background:#fffdf7;box-shadow:inset 0 0 0 1px #e7dfd0}
.cs li>div{flex:1;min-width:0}
.cs li b{display:block;font-weight:600}
.cs li small{display:block;margin-top:0.24cqw;color:var(--ink-secondary);font-size:1.62cqw}
.cs time{color:var(--ink-secondary);font-size:1.62cqw}
.cs button,.cs__btn{font:600 1.68cqw var(--font-body);border:0;border-radius:99px;padding:1.2cqw 2.4cqw;background:var(--primary);color:var(--on-primary);white-space:nowrap;font-style:normal}
.cs__n{flex:none;width:3.6cqw;height:3.6cqw;border-radius:50%;display:grid;place-items:center;font-weight:700;background:rgba(200,70,58,.12);color:var(--error)}
.cs__foot{margin:2.16cqw 0 0;color:var(--ink-secondary);font-size:1.62cqw}
.cs__plan img{width:6.72cqw;height:6.72cqw;flex:none;border-radius:1.2cqw;object-fit:cover;background:#1b3027}
.cs__slider{display:block;margin-top:1.2cqw;height:0.6cqw;border-radius:99px;background:#e7dfd0;overflow:hidden}
.cs__slider i{display:block;height:100%;background:var(--logo-green)}
.cs__pill{font-style:normal;font-size:1.56cqw;font-weight:600;padding:0.84cqw 1.68cqw;border-radius:99px;background:#e6efe9;color:var(--success);white-space:nowrap}
.cs__pill--on{background:var(--primary);color:var(--on-primary)}
.cs__row{display:flex;align-items:center;justify-content:space-between;gap:2.4cqw;margin-top:2.4cqw}
.cs__toggle{display:flex;align-items:center;gap:1.2cqw;color:var(--ink-secondary)}
.cs__toggle i{width:4.8cqw;height:2.64cqw;border-radius:99px;background:var(--logo-green);position:relative}
.cs__toggle i::after{content:"";position:absolute;right:0.36cqw;top:0.36cqw;width:1.92cqw;height:1.92cqw;border-radius:50%;background:#fff}
.cs__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.44cqw;margin-bottom:1.92cqw}
.cs__stats div{padding:1.68cqw 2.16cqw;border-radius:1.92cqw;background:#fffdf7;box-shadow:inset 0 0 0 1px #e7dfd0}
.cs__stats b{display:block;font:600 4.08cqw/1 var(--font-display);color:var(--primary)}
.cs__stats small{color:var(--ink-secondary);font-size:1.56cqw}
.cs__chart{width:100%;height:auto;display:block;border-radius:1.92cqw;background:#16261f;padding:1.68cqw}
.cs__grid{stroke:rgba(255,255,255,.08);stroke-width:1}
.cs__target{stroke:var(--lime);stroke-dasharray:4 6;stroke-width:1.4;opacity:.7}
.cs__chart text{fill:var(--lime);font:600 11px var(--font-body)}
.cs__line{fill:none;stroke:var(--lime);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.cs__dots circle{fill:#16261f;stroke:var(--lime);stroke-width:2.4}
.cs__pain{fill:var(--accent);stroke:#16261f;stroke-width:2}
.cs__chat{display:grid;gap:1.56cqw}
.cs__chat p{margin:0;max-width:78%;padding:1.68cqw 2.4cqw;border-radius:2.4cqw;line-height:1.4}
.cs__in{background:#fffdf7;box-shadow:inset 0 0 0 1px #e7dfd0;border-bottom-left-radius:0.72cqw}
.cs__out{justify-self:end;background:var(--primary);color:var(--on-primary);border-bottom-right-radius:0.72cqw}
.cs__att{max-width:62%;padding:1.44cqw 2.16cqw;border-radius:1.92cqw;background:#16261f;color:#eef3ea}
.cs__att b{display:block;color:var(--lime);font-size:1.56cqw;letter-spacing:.04em;text-transform:uppercase}
.cs__att small{color:#c8d5d8;font-size:1.62cqw}
.cs__seg{display:flex;align-items:center;gap:0.72cqw;margin-bottom:1.92cqw}
.cs__seg span{padding:0.96cqw 2.16cqw;border-radius:99px;box-shadow:inset 0 0 0 1px #e0d4b8;color:var(--ink-secondary)}
.cs__seg span.on{background:var(--ink);color:#fff;box-shadow:none}
.cs__seg .cs__btn{margin-left:auto}
.cs__pdf{flex:none;width:5.28cqw;height:6.24cqw;border-radius:0.96cqw;display:grid;place-items:center;background:rgba(200,70,58,.1);color:var(--error);font-weight:700;font-size:1.44cqw}
.cs__files em{font-style:normal;font-size:1.56cqw;color:var(--success);font-weight:600}
.cs__check{display:flex;align-items:center;gap:1.44cqw;margin:0;padding:1.68cqw 2.16cqw;border-radius:1.92cqw;background:#fffdf7;box-shadow:inset 0 0 0 1px #e7dfd0}
.cs__check i{width:2.88cqw;height:2.88cqw;border-radius:0.72cqw;background:var(--primary);position:relative;flex:none}
.cs__check i::after{content:"";position:absolute;left:0.9cqw;top:0.42cqw;width:0.84cqw;height:1.56cqw;border:solid #fff;border-width:0 0.42cqw 0.42cqw 0;transform:rotate(45deg)}
.cs__pw{flex:1;padding:1.44cqw 2.16cqw;border-radius:1.44cqw;box-shadow:inset 0 0 0 1px #e0d4b8;background:#fffdf7;letter-spacing:.3em;color:var(--ink-secondary)}

/* the six features beside the device, each opening its view on the screen */
.cx__list{display:grid;gap:8px}
.cx__list button{display:block;width:100%;text-align:left;border:0;cursor:pointer;padding:14px 18px 14px 20px;border-radius:16px;background:transparent;
  font:inherit;color:inherit;position:relative;transition:background .3s var(--ease-brand),box-shadow .3s var(--ease-brand)}
.cx__list button::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:3px;background:var(--border-default);transition:background .3s}
.cx__list b{display:block;font:600 17px/1.3 var(--font-body);color:var(--ink)}
.cx__list span{display:block;margin-top:3px;font-size:14.5px;line-height:1.5;color:var(--ink-secondary)}
.cx__list button:hover{background:rgba(19,76,88,.04)}
.cx__list button[aria-selected="true"]{background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--border-default),0 14px 30px -24px rgba(14,58,68,.45)}
.cx__list button[aria-selected="true"]::before{background:var(--primary)}
.cx__list button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(max-width:999px){ .cx__list span{display:none} .cx__list{grid-template-columns:1fr 1fr} .cx__list button[aria-selected="true"] span{display:block} }
@media(max-width:560px){ .cx__list{grid-template-columns:1fr} }
@media(prefers-reduced-motion:reduce){ .cs__pane{animation:none} }
/* On a phone: the same console on the folded iPhone Duo, portrait.
   Measured from Apple's product shot: 0.71:1 body, the hinge as a flat, nearly square
   left edge, large rounded corners on the right, slim black border, a visible camera
   hole top right. */
.cx__cap-fold{display:none}
@media(max-width:700px){
  .cx__device{max-width:300px;margin-inline:auto;width:100%}
  .cx__cap-open{display:none}
  .cx__cap-fold{display:inline}
  .duofold{aspect-ratio:.712;border-radius:1.2% 17% 17% 1.2% / .9% 12.1% 12.1% .9%;padding:2.2% 2.2% 2.2% 4.6%}
  .duofold::before{left:0;top:.6%;bottom:.6%;width:2.6%;height:auto;border-radius:2px 0 0 2px;
    background:linear-gradient(90deg,#c9c7cf,#8a8893 55%,#b2b0ba)}
  .duofold::after{display:none}
  .duofold__screen{border-radius:.6% 15% 15% .6% / .4% 10.6% 10.6% .4%}
  .duofold__cam{left:84.3%;top:6.4%;width:7.2%;
    background:radial-gradient(circle at 38% 38%,#34404c 0 13%,#07080b 30%);box-shadow:0 0 0 1px rgba(0,0,0,.35)}
  .cs{font-size:4.17cqw}
  .cs__top{gap:3.61cqw;padding:6.19cqw 8.77cqw 4.13cqw}
  .cs__top b{font:600 5.16cqw var(--font-display)}
  .cs__top i{margin-right:7.74cqw}
  .cs__rail{gap:1.29cqw;padding:5.16cqw 4.13cqw}
  .cs__rail span{gap:2.84cqw;padding:2.97cqw 3.35cqw;border-radius:3.1cqw}
  .cs__rail svg{width:5.42cqw;height:5.42cqw}
  .cs__rail em{font-size:3.22cqw;min-width:5.16cqw;padding:0.39cqw 1.55cqw}
  .cs__pane{padding:6.71cqw 8.77cqw}
  from{transform:translateY(2.58cqw)}
  .cs__h{margin:0 0 5.16cqw;font:600 6.45cqw/1.2 var(--font-display)}
  .cs__h small{margin-top:1.03cqw;font:400 3.74cqw var(--font-body)}
  .cs ul{gap:3.1cqw}
  .cs li{gap:4.13cqw;padding:3.61cqw 4.64cqw;border-radius:4.13cqw}
  .cs li small{margin-top:0.52cqw;font-size:3.48cqw}
  .cs time{font-size:3.48cqw}
  .cs button,.cs__btn{font:600 3.61cqw var(--font-body);padding:2.58cqw 5.16cqw}
  .cs__n{width:7.74cqw;height:7.74cqw}
  .cs__foot{margin:4.64cqw 0 0;font-size:3.48cqw}
  .cs__plan img{width:14.45cqw;height:14.45cqw;border-radius:2.58cqw}
  .cs__slider{margin-top:2.58cqw;height:1.29cqw}
  .cs__pill{font-size:3.35cqw;padding:1.81cqw 3.61cqw}
  .cs__row{gap:5.16cqw;margin-top:5.16cqw}
  .cs__toggle{gap:2.58cqw}
  .cs__toggle i{width:10.32cqw;height:5.68cqw}
  .cs__toggle i::after{right:0.77cqw;top:0.77cqw;width:4.13cqw;height:4.13cqw}
  .cs__stats{gap:3.1cqw;margin-bottom:4.13cqw}
  .cs__stats div{padding:3.61cqw 4.64cqw;border-radius:4.13cqw}
  .cs__stats b{font:600 8.77cqw/1 var(--font-display)}
  .cs__stats small{font-size:3.35cqw}
  .cs__chart{border-radius:4.13cqw;padding:3.61cqw}
  .cs__chat{gap:3.35cqw}
  .cs__chat p{padding:3.61cqw 5.16cqw;border-radius:5.16cqw}
  .cs__in{border-bottom-left-radius:1.55cqw}
  .cs__out{border-bottom-right-radius:1.55cqw}
  .cs__att{padding:3.1cqw 4.64cqw;border-radius:4.13cqw}
  .cs__att b{font-size:3.35cqw}
  .cs__att small{font-size:3.48cqw}
  .cs__seg{gap:1.55cqw;margin-bottom:4.13cqw}
  .cs__seg span{padding:2.06cqw 4.64cqw}
  .cs__pdf{width:11.35cqw;height:13.42cqw;border-radius:2.06cqw;font-size:3.1cqw}
  .cs__files em{font-size:3.35cqw}
  .cs__check{gap:3.1cqw;padding:3.61cqw 4.64cqw;border-radius:4.13cqw}
  .cs__check i{width:6.19cqw;height:6.19cqw;border-radius:1.55cqw}
  .cs__check i::after{left:1.94cqw;top:0.9cqw;width:1.81cqw;height:3.35cqw;border-width:0 0.9cqw 0.9cqw 0}
  .cs__pw{padding:3.1cqw 4.64cqw;border-radius:3.1cqw}
  /* one column: the six views become a row of icons under the header */
  .cs{grid-template-columns:1fr;grid-template-rows:auto auto 1fr}
  .cs__top{padding-right:22cqw}
  .cs__top span{display:none}
  .cs__top i{margin-right:0}
  .cs__rail{flex-direction:row;justify-content:space-between;gap:0;padding:2.4cqw 4cqw;border-bottom:1px solid #e2d9c8}
  .cs__rail span{position:relative;font-size:0;gap:0;padding:2.6cqw;border-radius:3cqw}
  .cs__rail svg{width:5.4cqw;height:5.4cqw}
  .cs__rail em{position:absolute;top:.2cqw;right:.2cqw;margin:0;min-width:0;font-size:2.6cqw;padding:.3cqw 1.1cqw}
  .cs__pane{padding:4.4cqw 5cqw}
  .cs__h{margin-bottom:3.4cqw}
  .cs time,.cs__foot{display:none}
  .cs li{gap:2.6cqw;padding:2.6cqw 3cqw}
  .cs button,.cs__btn{padding:1.8cqw 3.2cqw}
  .cs__stats{gap:2cqw}
  .cs__stats div{padding:2.4cqw 2.6cqw}
  .cs__stats b{font-size:5.4cqw}
  .cs__stats small{font-size:2.6cqw}
  .cs__plan li:last-child,.cs__files li:last-child{display:none}
  .cs__plan img{width:10cqw;height:10cqw}
  .cs__pill{padding:1.2cqw 2.2cqw}
  .cs__seg{flex-wrap:wrap;gap:1.6cqw}
  .cs__seg span{padding:1.4cqw 2.8cqw}
  .cs__seg .cs__btn{margin-left:0}
  .cs__chat p{max-width:88%}
  .cs__att{max-width:80%}
  .cs__row{flex-wrap:wrap}
  .cs__pw{flex:1 1 100%}
  .cs__row .cs__btn{flex:1 1 100%;text-align:center}
  .cs__chart{padding:2.4cqw}
}


/* Footer: "Proudly made in India" and "Privacy first" beside a camera lens. The lens
   stops down like a variable aperture, then opens on a lock, once, as the footer comes
   into view. Without script the words simply show; with reduced motion the lens is shut. */
.fb{margin-top:22px;display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center}
.fb__lens{width:96px;height:96px}
.fb__lens svg{display:block;width:100%;height:100%;overflow:visible}
.fb__h{margin:0;font:600 20px/1.15 var(--font-display);color:var(--dk-ink);letter-spacing:-.01em}
.fb__h em{font-style:italic;font-weight:400;color:var(--dk-accent)}
.fb__h--p{font-size:18px}
.fb__s{margin:3px 0 0;font-size:13px;line-height:1.4;color:var(--dk-ink-secondary)}
.fb__priv{margin-top:12px}
html:not(.js) .fb{display:block}
html:not(.js) .fb__lens{display:none}
.js .fb__made,.js .fb__priv{opacity:0;transform:translateY(6px);transition:opacity .5s var(--ease-brand),transform .5s var(--ease-brand)}
.js .fb.is-made .fb__made,.js .fb.is-priv .fb__priv{opacity:1;transform:none}
.fb-blade{stroke:rgba(241,234,216,.3);stroke-width:1.5}
.fb-hub{opacity:0;transition:opacity .4s}
.fb.is-dark .fb-hub{opacity:1}
.fb-lock{opacity:0;visibility:hidden;transition:opacity .3s}
.fb.is-lock .fb-lock{opacity:1;visibility:visible}
.fb-sh{fill:none;stroke:#5b9dff;stroke-width:2.4;stroke-linecap:round;transform-origin:16px 11px;transform:translateY(-3px) rotate(28deg);transition:transform .3s cubic-bezier(.3,1.7,.5,1)}
.fb-bd{fill:#5b9dff}
.fb-kh{fill:#0c1c15;opacity:0;transition:opacity .2s .1s}
.fb.is-shut .fb-sh{transform:none}
.fb.is-shut .fb-kh{opacity:1}
.fb-key{transform-box:fill-box;transform-origin:center}
.fb.is-shut .fb-key{animation:fb-click .45s .16s var(--ease-brand)}
.fb-ripple{fill:none;stroke:#5b9dff;stroke-width:3;opacity:0}
.fb.is-shut .fb-ripple{animation:fb-pulse .75s .18s ease-out}
@keyframes fb-click{35%{transform:scale(1.2)}100%{transform:scale(1)}}
@keyframes fb-pulse{0%{opacity:.9;transform:scale(.85)}100%{opacity:0;transform:scale(1.85)}}
.fb-ring{fill:none;stroke-width:5;stroke-dasharray:217.8 653.5;stroke-dashoffset:217.8;transition:stroke-dashoffset .3s linear}
.fb.is-ring .fb-ring{stroke-dashoffset:0}
.fb-ring--b{transition-delay:.3s}
.fb-ring--c{transition-delay:.6s}
.fb.is-reset *{transition:none!important}
@media(prefers-reduced-motion:reduce){ .fb *{transition:none!important;animation:none!important} }

/* Phones: one action bar along the bottom (WhatsApp, the "?" helper, the page's main
   action) in place of the floating WhatsApp button and helper tab */
.abar{display:none}
@media(max-width:640px){
  .has-abar .wa{display:none!important}
  .has-abar .qz:not(.is-open) .qz__bar{display:none}
  .abar{display:flex;align-items:center;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:58;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:rgba(253,250,244,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    box-shadow:0 -1px 0 var(--border-default),0 -18px 40px -24px rgba(14,58,68,.45);
    transform:translateY(110%);visibility:hidden;transition:transform .35s var(--ease-brand),visibility 0s .35s}
  .abar.is-on{transform:none;visibility:visible;transition:transform .35s var(--ease-brand)}
  .abar__wa,.abar__q{flex:none;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;border:0;cursor:pointer}
  .abar__wa{background:#1f9d55}
  .abar__wa svg{width:24px;height:24px}
  .abar__wa svg path:first-child{fill:none;stroke:#fff;stroke-width:1.8;stroke-linejoin:round}
  .abar__wa .wa__ph{fill:#fff}
  .abar__q{background:var(--surface-raised);box-shadow:inset 0 0 0 1.5px var(--border-default);color:var(--primary);font:700 20px var(--font-display)}
  .abar__q[hidden]{display:none}
  .abar__cta{flex:1;min-width:0;height:48px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:8px;
    background:var(--primary);color:var(--on-primary);font:600 16px var(--font-body);text-decoration:none;white-space:nowrap}
  .abar__cta small{font-weight:400;font-size:12.5px;opacity:.75}
  .abar__cta--patient{background:var(--accent);color:#2a1a0e}
  .abar a:focus-visible,.abar button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
}
@media(max-width:640px) and (prefers-reduced-motion:reduce){ .abar,.abar.is-on{transition:none} }

/* Who we serve hero: the parts that belong to one side */
[data-serve-only][hidden]{display:none!important}
.serve-cta{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px}
.serve-chips__k{margin:22px 0 0;font-size:14px;color:var(--ink-secondary)}
.serve-chips__k + .serve-chips{margin-top:10px}
@media(max-width:640px){ .serve-cta .btn{flex:1 1 100%} }

/* Phone menu: two actions, and nothing floating over it */
.nav-menu__cta + .nav-menu__cta{margin-top:10px}
.menu-open .wa,.menu-open .qz,.menu-open .abar.is-on,.menu-open .jump.is-on{visibility:hidden}

/* Long pages: Jump to and back to top */
.jump{position:fixed;right:clamp(14px,2.4vw,26px);bottom:calc(clamp(14px,2.4vw,26px) + 120px);z-index:57;
  font-family:var(--font-body);visibility:hidden;opacity:0;transform:translateY(8px);
  transition:opacity .25s var(--ease-brand),transform .25s var(--ease-brand),visibility 0s .25s}
.jump.is-on{visibility:visible;opacity:1;transform:none;transition:opacity .25s var(--ease-brand),transform .25s var(--ease-brand)}
body:not(:has(.qz__bar)) .jump{bottom:calc(clamp(14px,2.4vw,26px) + 60px)}
/* phones with the action bar: no floating WhatsApp, so the old spot */
@media(max-width:640px){
  .has-abar .jump{bottom:calc(clamp(14px,2.4vw,26px) + 60px)}
  .has-abar:not(:has(.qz__bar)) .jump{bottom:clamp(14px,2.4vw,26px)}
}
body:has(.qz.is-open) .jump.is-on,.consent-open .jump.is-on{visibility:hidden}
.jump__bar{display:flex;border-radius:999px;background:rgba(253,250,244,.94);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  box-shadow:inset 0 0 0 1.5px var(--border-default),0 12px 28px -14px rgba(14,58,68,.5)}
.jump__open,.jump__top{min-height:44px;border:0;background:none;cursor:pointer;color:var(--primary);font:600 14.5px var(--font-body)}
.jump__open{padding:0 14px 0 18px}
.jump__top{width:44px;font-size:18px;box-shadow:inset 1.5px 0 0 var(--border-default)}
.jump__list{position:absolute;right:0;bottom:calc(100% + 8px);width:min(270px,calc(100vw - 28px));max-height:60vh;overflow-y:auto;
  margin:0;padding:6px;list-style:none;border-radius:18px;background:var(--surface-raised);
  box-shadow:inset 0 0 0 1.5px var(--border-default),0 22px 44px -18px rgba(14,58,68,.55)}
.jump__list[hidden]{display:none}
.jump__list button{display:block;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:12px;background:none;
  text-align:left;cursor:pointer;color:var(--ink);font:500 15px var(--font-body)}
.jump__list button:hover{background:var(--surface-sunken)}
.jump__list button[aria-current]{color:var(--primary);font-weight:700;background:var(--surface-sunken)}
.jump button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}
@media(max-width:640px){ body.has-abar .jump,body.has-abar:not(:has(.qz__bar)) .jump{bottom:calc(80px + env(safe-area-inset-bottom))} }
@media(prefers-reduced-motion:reduce){ .jump,.jump.is-on{transition:none} }

/* Installed desktop app with the window controls overlay (Round 32, PWA):
   keep the header below the title-bar strip and let that strip move the window. */
@media (display-mode: window-controls-overlay){
  .nav-shell{padding-top:env(titlebar-area-height,0px);-webkit-app-region:drag;app-region:drag}
  .nav-shell a,.nav-shell button,.nav-shell input,.nav-shell select,.nav-shell [role="button"]{-webkit-app-region:no-drag;app-region:no-drag}
}
