@font-face {
  font-family: "Work Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/worksans-var-latin.woff2") format("woff2");
}
:root {
 color-scheme:light; --ink:#172132; --body:#5c6878; --cta-blue:#087e91; --accent:#087e91; --tint:#f0f9f9;
 --glass-surface:linear-gradient(115deg,rgba(255,255,255,.72),rgba(255,255,255,.32) 55%,rgba(244,250,251,.55));
 /* At least 96% opaque so dark screenshots cannot undermine menu contrast. */
 --menu-surface:linear-gradient(115deg,rgba(255,255,255,.98),rgba(244,250,251,.96));
 --glass-border:1px solid rgba(215,228,233,.65);
 --glass-shadow:0 10px 35px rgba(32,68,82,.06),inset 0 1px 0 #fff,inset 0 -1px 0 rgba(255,255,255,.7);
}
* { box-sizing:border-box; }
html { scroll-behavior:auto; }
body { margin:0; color:var(--ink); background:#fff; font-family:"Work Sans",sans-serif; line-height:1.55; }
button,a { -webkit-tap-highlight-color:transparent; }
a { color:inherit; }
button { font:inherit; cursor:pointer; }
:focus-visible { outline:3px solid #069cb4; outline-offset:5px; }
:root { scroll-padding-top:110px; }
.skip-link { position:fixed; top:-100px; left:24px; z-index:200; padding:12px; background:white; }
.skip-link:focus { top:90px; }
.tour-nav {
  position:fixed; inset:16px 22px auto; z-index:100;
  display:flex; align-items:center; gap:30px; min-height:68px; padding:12px 16px 12px 22px;
  border-radius:18px;
}
/* Keep the blur on a sibling paint layer so dropdowns can blur the page too. */
.tour-nav::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  border:var(--glass-border); border-top-color:rgba(255,255,255,.95); border-radius:inherit;
  background:var(--glass-surface);
  backdrop-filter:blur(26px) saturate(170%); -webkit-backdrop-filter:blur(26px) saturate(170%);
  box-shadow:var(--glass-shadow);
}
.brand { flex:none; width:138px; display:flex; }
.brand img { width:100%; height:auto; }
.chapter-nav { flex:1; display:flex; justify-content:flex-end; gap:clamp(14px,2vw,32px); padding:7px 0; }
.chapter-nav a { flex:none; font-size:12px; font-weight:550; text-decoration:none; color:#647082; white-space:nowrap; position:relative; }
.chapter-nav a[aria-current] { color:var(--cta-blue); }
.chapter-nav a[aria-current]::after { content:""; position:absolute; height:2px; background:var(--cta-blue); bottom:-8px; left:0; right:0; }
.download { flex:none; display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:42px; padding:10px 18px; border-radius:11px; background:#087e91; color:#fff; text-decoration:none; font-size:12px; font-weight:550; }
.download:hover { background:#076575; }

/* Static fallback until the timeline is ready. */
.scene { min-height:100vh; padding:110px 7vw 70px; display:flex; align-items:center; gap:9vw; }
.scene-visual { position:relative; width:33vw; flex:none; }
.phone-image { display:block; width:100%; height:auto; filter:drop-shadow(0 18px 25px rgba(22,36,53,.12)); }
.scene-copy { width:40vw; }
h1,h2 { font-size:clamp(36px,4.35vw,76px); font-weight:500; line-height:1.055; letter-spacing:-.054em; margin:0; }
.scene-copy p { font-size:clamp(15px,1.16vw,19px); color:var(--body); line-height:1.7; margin:26px 0 0; max-width:510px; }
.scene-copy .detail { color:var(--accent); font-size:14px; }
.scene-copy .fine-print { font-size:11px; line-height:1.5; }
.final-download { margin-top:25px; font-size:14px; }

/* Scroll distance is only a timeline. Every visual lives in this fixed viewport;
   no text position is derived from a scrolling element's bounding rectangle. */
.motion-ready .viewport { position:fixed; inset:0; overflow:hidden; background:#f7f9fc; isolation:isolate; }
/* Same pink, lavender, blue, and peach palette as the current homepage.
   Oversized, feathered color fields drift without any rings or circle pattern. */
.ambient-gradient { display:none; }
.motion-ready .ambient-gradient { display:block; position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.ambient-gradient::before {
  content:""; position:absolute; inset:-25%; will-change:transform;
  background:
    radial-gradient(ellipse 30% 38% at 22% 28%,rgba(251,207,232,.34),transparent 75%),
    radial-gradient(ellipse 32% 38% at 76% 32%,rgba(221,214,254,.43),transparent 75%),
    radial-gradient(ellipse 34% 36% at 28% 74%,rgba(191,219,254,.48),transparent 75%),
    radial-gradient(ellipse 30% 36% at 74% 72%,rgba(254,215,170,.42),transparent 75%);
  animation:ambient-drift 9s ease-in-out infinite alternate;
}
.ambient-gradient::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,.42) 48%,rgba(255,255,255,.06));
}
@keyframes ambient-drift {
  0% { transform:translate3d(-14%,-10%,0) rotate(-12deg) scale(1); }
  50% { transform:translate3d(12%,10%,0) rotate(10deg) scale(1.08); }
  100% { transform:translate3d(-8%,14%,0) rotate(-8deg) scale(1.02); }
}
.motion-ready .scene { position:absolute; inset:0; padding:0; min-height:0; display:block; visibility:hidden; pointer-events:none; }
.motion-ready .scene.active { pointer-events:auto; }
.motion-ready .scene-visual,
.motion-ready .scene-copy { position:absolute; top:48%; transform-origin:50% 50%; }
.motion-ready .scene.active .scene-copy,.motion-ready .scene.active .scene-visual { will-change:transform,opacity; }
.motion-ready .scene-visual { left:28%; width:min(34vw,calc((100svh - 290px) * .5063),455px); }
.motion-ready .scene-copy { left:73%; width:min(39vw,630px); transform-origin:0% 50%; }
.motion-ready .scene[data-side="left"] .scene-visual { left:73%; }
.motion-ready .scene[data-side="left"] .scene-copy { left:27%; transform-origin:100% 50%; }
.tap { position:absolute; width:29px; height:29px; border:2px solid white; border-radius:50%; background:var(--accent); transform:translate(-50%,-50%); box-shadow:0 0 0 7px color-mix(in srgb,var(--accent) 22%,transparent); }
.tap::after { content:""; position:absolute; inset:-14px; border:2px solid var(--accent); border-radius:50%; animation:tap 1.7s ease-out infinite; }
@keyframes tap { from { opacity:.75; transform:scale(.5); } to { opacity:0; transform:scale(1.4); } }
.fall-section-focus { position:absolute; left:11.7%; top:37.7%; width:76.6%; height:10.9%; pointer-events:none; }
/* An outward ripple points to the feature without adding a permanent app border.
   Three gentle pulses finish within five seconds, leaving the screenshot untouched. */
.fall-section-focus::after { content:""; position:absolute; inset:0; border:2px solid #148166; border-radius:clamp(6px,1vw,16px); opacity:0; }
.scene.active .fall-section-focus::after { animation:fall-section-pulse 1.6s ease-out 3; }
@keyframes fall-section-pulse { 0% { opacity:0; transform:scale(1); } 12% { opacity:.85; transform:scale(1.01,1.03); } 80%,100% { opacity:0; transform:scale(1.08,1.28); } }

.tour-controls { display:none; }
.motion-ready .tour-controls { position:fixed; inset:auto 365px 36px 35px; z-index:40; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px 22px; color:#596779; font-size:11px; }
#scene-status { min-width:135px; font-weight:550; }
.journey { display:flex; align-items:center; gap:14px; }
.progress-track { width:140px; height:2px; background:#dce5e8; }
#progress-fill { display:block; height:100%; background:var(--cta-blue); transform-origin:left; transform:scaleX(0); }
#scene-count { font-variant-numeric:tabular-nums; }
.transport { display:flex; align-items:center; gap:13px; }
.transport button { width:30px; height:30px; border:1px solid #dce5e8; border-radius:50%; color:#536775; background:rgba(255,255,255,.6); }
.transport button:disabled { opacity:.25; cursor:default; }

/* A single, unmodified Apple badge stays outside the animated stage.
   QR quiet zone and badge clear space are preserved at every breakpoint. */
.download-dock {
  position:fixed; right:22px; bottom:20px; z-index:60;
  display:flex; align-items:center; gap:14px; padding:12px 16px 12px 12px;
  background:rgba(255,255,255,.84); border:1px solid rgba(255,255,255,.9);
  border-radius:17px; backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px);
  box-shadow:0 8px 28px rgba(41,58,84,.08);
}
.qr-link { display:block; flex:none; border-radius:4px; overflow:hidden; }
.qr-link img { display:block; width:123px; height:123px; }
.download-message { display:flex; flex-direction:column; align-items:flex-start; }
.download-message p { margin:0 0 12px; font-size:12px; font-weight:500; }
.download-message span { margin-top:12px; font-size:9px; color:#5c6878; }
.store-badge { display:block; line-height:0; }
.store-badge img { display:block; width:135px; height:auto; }
.download-message .badge-prompt { display:none; }
.header-login { flex:none; display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 17px; border:1px solid rgba(8,126,145,.3); border-radius:10px; background:rgba(255,255,255,.48); color:#076b7c; font-size:13px; font-weight:550; text-decoration:none; white-space:nowrap; }
.header-login:hover,.header-login:active { background:#e4f4f7; border-color:#087e91; }

.primary-nav { margin-left:auto; display:flex; align-items:center; gap:clamp(16px,2vw,32px); }
.primary-nav > a,.caregiver-menu > summary { font-size:13px; font-weight:500; color:#526175; text-decoration:none; white-space:nowrap; cursor:pointer; }
.primary-nav > a { padding:12px 0; }
.primary-nav a[aria-current] { color:var(--cta-blue); }
/* One active-state treatment for page links and both feature dropdowns. */
.primary-nav > a[aria-current],
.caregiver-menu.is-current > summary,
.caregiver-menu:has(a[aria-current]) > summary {
  color:var(--cta-blue); text-decoration-line:underline; text-decoration-color:var(--cta-blue);
  text-underline-offset:7px; text-decoration-thickness:2px;
}
.caregiver-menu > summary { display:flex; align-items:center; gap:9px; padding:12px 0; list-style:none; }
.caregiver-menu > summary::-webkit-details-marker { display:none; }
.chevron { width:7px; height:7px; border-right:1.5px solid; border-bottom:1.5px solid; transform:rotate(45deg) translateY(-2px); transition:transform .2s; }
.caregiver-menu[open] .chevron { transform:rotate(225deg) translate(-2px,-1px); }
.caregiver-panel {
 position:absolute; right:0; top:calc(100% + 10px); width:min(620px,calc(100vw - 44px));
 max-height:calc(100svh - 120px); overflow-y:auto; padding:24px;
 border:var(--glass-border); border-top-color:rgba(255,255,255,.95); border-radius:17px; background:var(--menu-surface);
 box-shadow:var(--glass-shadow); backdrop-filter:blur(26px) saturate(170%); -webkit-backdrop-filter:blur(26px) saturate(170%);
}
.caregiver-panel > p { margin:0 0 15px; font-size:15px; font-weight:500; color:var(--ink); }
.caregiver-links { display:grid; grid-template-columns:1fr 1fr; gap:6px 18px; }
.caregiver-links a { display:block; padding:13px 12px; border-radius:8px; text-decoration:none; }
.caregiver-links a:hover,.caregiver-links a[aria-current] { background:#edf6f8; }
.primary-nav :focus-visible { outline:3px solid #076b7c; outline-offset:2px; }
.caregiver-links strong { display:block; color:var(--ink); font-size:15px; font-weight:500; }
.caregiver-links span { display:block; margin-top:4px; font-size:12px; color:var(--body); line-height:1.5; }
.menu-toggle { display:none; }

[data-theme="teal"] { --accent:#087e91; --tint:#f1f9f9; }
[data-theme="heart"] { --accent:#c42453; --tint:#fff4f6; }
[data-theme="oxygen"] { --accent:#0c98af; --tint:#effaff; }
[data-theme="movement"] { --accent:#5f51d9; --tint:#f4f2ff; }
[data-theme="urgent"] { --accent:#e6374c; --tint:#fff3f1; }
[data-theme="profile"] { --accent:#6350b4; --tint:#f8f5ff; }
[data-theme="fall"] { --accent:#148166; --tint:#effaf5; }
[data-theme="amber"] { --accent:#b36b15; --tint:#fffaef; }

@media(max-width:1050px) {
 .tour-nav { flex-wrap:wrap; gap:10px 20px; min-height:62px; }
 .brand { width:118px; }
 .chapter-nav { order:3; flex-basis:100%; justify-content:center; gap:25px; overflow:auto; scrollbar-width:none; padding:7px 0 11px; }
 .download { margin-left:auto; }
 .motion-ready .scene-visual,.motion-ready .scene-copy { top:48%; }
 .motion-ready .scene-visual { width:min(35vw,calc((100svh - 330px) * .5063)); }
 .progress-track { width:50px; }
 #scene-status { min-width:0; }
 .motion-ready .tour-controls { gap:12px; }
 .transport span { display:none; }
 h1,h2 { font-size:clamp(32px,4.7vw,55px); }
}
/* Keep the composition together on wide desktop displays instead of
   separating the phone and copy by a percentage of the entire screen. */
@media(min-width:1200px) {
 .motion-ready .scene-visual { left:calc(50% - clamp(250px,17vw,320px)); }
 .motion-ready .scene-copy { left:calc(50% + min(19vw,280px) + 8px); width:min(38vw,560px); }
 .motion-ready .scene[data-side="left"] .scene-visual { left:calc(50% + clamp(250px,17vw,320px)); }
 .motion-ready .scene[data-side="left"] .scene-copy { left:calc(50% - min(19vw,280px) - 8px); }
}
@media(max-width:650px) {
 .tour-nav { inset:9px 10px auto; padding:10px 12px 3px; gap:2px 10px; border-radius:15px; }
 .brand { width:112px; }
 .download { min-height:34px; padding:7px 12px; font-size:11px; }
 .chapter-nav { gap:21px; justify-content:flex-start; padding:10px 0 12px; }
 .chapter-nav a { font-size:11px; }
 .motion-ready .scene-visual,.motion-ready .scene[data-side="left"] .scene-visual { top:33%; left:50%; width:min(46vw,calc((100svh - 210px) * .265)); }
 .motion-ready .scene-copy,.motion-ready .scene[data-side="left"] .scene-copy { top:68%; left:50%; width:85vw; text-align:center; transform-origin:50% 50%; }
 h1,h2 { font-size:clamp(27px,7.5vw,37px); line-height:1.05; }
 .scene-copy p { font-size:13px; line-height:1.55; margin:14px auto 0; max-width:340px; }
 .scene-copy .detail { font-size:11px; margin-top:10px; }
 .final-download { margin:15px auto 0; }
 .motion-ready .tour-controls { inset:auto 16px 125px; font-size:10px; gap:10px; }
 .download-dock { right:50%; bottom:8px; transform:translateX(50%); padding:0; border:0; border-radius:16px; background:transparent; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
 .qr-link,.download-message p,.download-message span { display:none; }
 /* An interactive frame around, not a modification of, Apple's badge. */
 .store-badge { display:flex; flex-direction:column; align-items:center; padding:12px 14px; border:2px solid transparent; border-radius:16px; background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#7dd3fc,#0891b2 52%,#a5f3fc) border-box; box-shadow:0 5px 20px rgba(8,145,178,.16); cursor:pointer; }
 .download-message .badge-prompt { display:block; margin:0 0 12px; color:#076b7c; font-size:12px; line-height:1.2; font-weight:550; }
 .store-badge:hover,.store-badge:active { box-shadow:0 3px 16px rgba(8,145,178,.28); background:linear-gradient(#f1fbfd,#f1fbfd) padding-box,linear-gradient(135deg,#38bdf8,#087e91 52%,#67e8f9) border-box; }
 #scene-status { min-width:0; }
 .progress-track { width:50px; }
 .journey { gap:8px; }
 .transport { gap:5px; }
 .transport span { display:none; }
 .transport button { width:27px; height:27px; }
}
@media(max-height:650px) and (min-width:651px) {
 .motion-ready .scene-visual { width:calc((100svh - 260px) * .5063); }
 .motion-ready .scene-visual,.motion-ready .scene-copy { top:45%; }
 h1,h2 { font-size:clamp(30px,4vw,51px); }
 .scene-copy p { font-size:13px; margin-top:14px; }
 .qr-link img { width:100px; height:100px; }
}
@media(max-width:650px) and (max-height:740px) {
 .motion-ready .scene-copy,.motion-ready .scene[data-side="left"] .scene-copy { top:65.5%; }
 h1,h2 { font-size:26px; }
 .scene-copy p { font-size:12px; line-height:1.45; margin-top:10px; }
 .scene-copy .detail,.scene-copy .fine-print { font-size:10px; }
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none!important; transition:none!important; }
}
@media(min-width:1025px) {
 .tour-nav { flex-wrap:nowrap; }
 .primary-nav { gap:clamp(16px,1.7vw,32px); }
}
@media(max-width:1024px) {
 .tour-nav { flex-wrap:nowrap; min-height:62px; padding:10px 16px; }
 .header-login { margin-left:auto; padding-inline:14px; }
 .menu-toggle { display:grid; place-items:center; flex:none; width:44px; height:44px; margin:0; padding:0; border:0; border-radius:8px; background:transparent; color:var(--ink); }
 .menu-toggle:hover,.menu-toggle:active { background:rgba(8,126,145,.08); }
 .primary-nav { display:none; position:absolute; top:calc(100% + 8px); left:0; right:0; margin:0; padding:16px; max-height:calc(100svh - 100px); overflow:auto; border:var(--glass-border); border-radius:15px; background:var(--menu-surface); box-shadow:var(--glass-shadow); backdrop-filter:blur(26px) saturate(170%); -webkit-backdrop-filter:blur(26px) saturate(170%); }
 .nav-open .primary-nav { display:flex; flex-direction:column; align-items:stretch; gap:0; }
 .primary-nav > a,.caregiver-menu > summary { font-size:15px; padding:14px 8px; }
 .caregiver-panel { position:static; width:auto; max-height:none; padding:5px 0 12px; border:0; box-shadow:none; background:transparent; backdrop-filter:none; -webkit-backdrop-filter:none; }
 .caregiver-panel > p { display:none; }
 .caregiver-links { grid-template-columns:1fr; gap:0; }
 .caregiver-links a { padding:11px 18px; }
}
@media(max-width:370px) {
 .tour-nav { gap:8px; padding-inline:12px; }
 .brand { width:90px; }
 .header-login { font-size:12px; padding-inline:12px; }
}

/* A distinct role transition, followed by devices at their natural proportions. */
.scene-divider { justify-content:center; text-align:center; }
.scene-divider .scene-copy { width:min(82vw,800px); }
.scene-divider .scene-copy p { margin-inline:auto; max-width:560px; }
.motion-ready .scene-divider .scene-copy {
  left:50%; top:46%; width:min(82vw,800px); text-align:center; transform-origin:50% 50%;
}
.scene-watch .scene-visual { width:min(33vw,430px); }
.motion-ready .scene.scene-watch .scene-visual { width:min(34vw,calc((100svh - 300px) * .68),430px); }
@media(max-width:650px) {
  .motion-ready .scene.scene-watch .scene-visual { width:min(62vw,calc((100svh - 210px) * .37)); }
  .motion-ready .scene-divider .scene-copy { top:45%; }
}

/* The tour gives way to a regular document section: answers never animate away. */
.tour-faq { position:relative; z-index:3; background:#f7f9fc; padding:112px 390px 220px 28px; }
.faq-content { max-width:800px; margin:auto; }
.tour-faq h2 { font-size:clamp(32px,4vw,56px); }
.faq-intro { margin:20px 0 40px; color:var(--body); font-size:17px; }
.faq-list { border-top:1px solid #cdd9df; }
.faq-list details { border-bottom:1px solid #cdd9df; }
.faq-list summary { position:relative; padding:24px 44px 24px 0; font-size:18px; line-height:1.45; font-weight:500; cursor:pointer; list-style:none; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:"+"; position:absolute; right:8px; top:22px; color:#076b7c; font-size:24px; font-weight:400; }
.faq-list details[open] summary::after { content:"−"; }
.faq-list p { margin:0; padding:0 36px 26px 0; color:var(--body); font-size:16px; line-height:1.75; }
.tour-faq a { color:#076b7c; text-underline-offset:4px; }
.tour-faq :focus-visible { outline:3px solid #076b7c; outline-offset:4px; }
.scene h1:focus,.scene h2:focus,.tour-faq h2:focus { outline:none; }
/* Only constrained/zoomed views use document flow. Normal tour motion is unchanged. */
.reading-layout .viewport { position:relative!important; overflow:visible!important; inset:auto!important; height:auto!important; }
.reading-layout .tour-nav { position:relative; inset:auto; margin:16px 22px; }
.reading-layout .scene { position:relative!important; inset:auto!important; min-height:0!important; display:flex!important; flex-direction:column!important; gap:28px!important; padding:125px 24px 55px!important; visibility:visible!important; pointer-events:auto!important; scroll-margin-top:0; }
.reading-layout .scene .scene-copy,.reading-layout .scene .scene-visual { position:relative!important; inset:auto!important; width:min(100%,680px)!important; transform:none!important; opacity:1!important; text-align:center!important; }
.reading-layout .scene .scene-visual { max-width:280px!important; }
.reading-layout .scene .scene-copy { overflow-wrap:anywhere; }
.reading-layout .scene .scene-copy p { max-width:none; }
.reading-layout .scene-actions,.reading-layout .scene-interactions { justify-content:center; }
.reading-layout .chapter-rail,.reading-layout .tour-controls { display:none!important; }
.reading-layout .download-dock { position:relative!important; inset:auto!important; transform:none!important; width:fit-content; max-width:100%; margin:24px auto; }
.reading-layout .tour-faq { padding:60px 24px; }
.reading-layout .ambient-gradient { display:none!important; }
.reading-layout .scene-conclusion .scene-visual,.reading-layout .scene-founder .scene-visual { max-width:100%!important; }
.reading-layout .scene-interactions { flex-direction:column; }
.reading-layout .shared-care { flex-direction:column; gap:24px; }
.reading-layout .shared-care-line { width:90px; height:1px; margin:0; }
.reading-layout .shared-care > div { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.faq-ending { display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; margin-top:44px; font-size:14px; }
.faq-ending nav { display:flex; flex-wrap:wrap; gap:24px; }
.motion-ready body.faq-view .tour-controls { display:none; }
@media(max-width:650px) {
  .tour-faq { padding:102px 24px 160px; }
  .faq-intro { font-size:15px; margin-bottom:28px; }
  .faq-list summary { font-size:17px; padding-block:22px; }
  .faq-list p { font-size:15px; padding-right:0; }
  .faq-view .download-dock { right:0; bottom:0; width:100%; transform:none; justify-content:center; padding:8px 0 max(8px,env(safe-area-inset-bottom)); border-radius:0; border-top:1px solid #dce5e8; background:#f7f9fc; }
}

/* Guided story: purposeful interaction and pauses, using the existing light brand. */
.scene-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px 22px; margin-top:24px; }
.tour-button { display:inline-flex; justify-content:center; align-items:center; min-height:46px; padding:11px 18px; border-radius:12px; background:var(--cta-blue); color:#fff; text-decoration:none; font-size:14px; font-weight:500; }
.tour-button:hover { background:#076b7c; }
.tour-button-secondary { border:1px solid rgba(8,126,145,.3); background:rgba(255,255,255,.48); color:#076b7c; }
.tour-button-secondary:hover,.tour-button-secondary:active { background:#e4f4f7; border-color:#087e91; }
.tour-button:focus-visible,.compare-devices:focus-visible { outline:3px solid #076b7c; outline-offset:4px; }
.tour-link { display:inline-block; border:0; padding:0; background:none; color:#076b7c; font:inherit; font-size:14px; text-decoration:underline; text-underline-offset:5px; cursor:pointer; }
.scene-copy > .tour-link { margin-top:24px; }
.explore-screen { display:inline-flex; gap:14px; align-items:center; min-height:44px; margin-top:20px; padding:8px 0; background:none; border:0; border-bottom:1px solid #087e91; color:#076b7c; font-size:14px; font-weight:500; }
.explore-screen span { font-size:21px; }
.chapter-rail { display:none; }
.motion-ready .chapter-rail { position:fixed; z-index:45; left:35px; right:365px; bottom:83px; display:flex; gap:22px; align-items:center; }
.chapter-rail a { display:block; flex:1; padding:9px 0; border-top:2px solid #d8e3e8; text-decoration:none; font-size:11px; line-height:1.3; color:#526175; }
.chapter-rail span { display:inline-block; margin-right:6px; font-variant-numeric:tabular-nums; }
.chapter-rail a[aria-current] { color:#076b7c; border-color:var(--cta-blue); font-weight:550; }
.motion-ready .faq-view .chapter-rail { display:none; }
.motion-ready .scene.scene-paired .scene-visual { width:min(40vw,calc((100svh - 310px) * .79),560px); }
.scene-paired .phone-image { width:64%; }
.paired-watch { position:absolute; right:0; bottom:5%; width:43%; height:auto; filter:drop-shadow(0 12px 20px rgba(22,36,53,.16)); }
.paired-focus { position:absolute; opacity:0; pointer-events:none; border:2px solid #087e91; border-radius:9px; box-shadow:0 0 0 3px #fff; background:rgba(8,126,145,.05); }
.compare-active .paired-focus { opacity:1; }
.phone-focus { left:8%; top:31.2%; width:50%; height:6%; }
.watch-focus { left:60%; top:85%; width:34%; height:6%; }
#recipient-phone-help .phone-focus { top:61.5%; height:12%; }
#recipient-phone-help .watch-focus { top:69%; height:13%; }
.scene-interactions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; margin-top:20px; }
.scene-interactions .explore-screen { margin-top:0; }
.compare-devices { display:inline-flex; align-items:center; gap:10px; border:1px solid #d5e4e8; border-radius:10px; background:#f3f7f9; color:#344456; padding:9px 12px; min-height:44px; font-size:12px; text-align:left; cursor:pointer; }
.compare-devices:hover { background:#e9f2f5; border-color:#8aabb5; }
.highlight-toggle { position:relative; display:block; flex:none; width:32px; height:20px; border:1px solid #657687; border-radius:12px; background:#fff; }
.highlight-toggle::after { content:""; position:absolute; top:3px; left:3px; width:12px; height:12px; border-radius:50%; background:#657687; }
.compare-devices[aria-pressed="true"] { background:#e4f4f7; border-color:#087e91; color:#076b7c; }
.compare-devices[aria-pressed="true"] .highlight-toggle { background:#087e91; border-color:#087e91; }
.compare-devices[aria-pressed="true"] .highlight-toggle::after { left:auto; right:3px; background:#fff; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip-path:inset(50%)!important; white-space:nowrap!important; }
.motion-ready .scene-demo .scene-visual,
.motion-ready .scene-founder .scene-visual,
.motion-ready .scene-conclusion .scene-visual { width:min(36vw,480px); }
.demo-caption { margin:0 0 20px; color:#526175; font-size:12px; }
.demo-person { padding:23px 25px; border:1px solid #d5e4e8; border-radius:16px; background:rgba(255,255,255,.93); }
.demo-person > span,.shared-care span { display:block; margin-bottom:12px; font-size:13px; color:#076b7c; }
.demo-person strong { display:block; font-size:clamp(21px,2vw,30px); font-weight:500; line-height:1.2; letter-spacing:-.035em; }
.demo-person p { margin:12px 0 0; font-size:14px; color:#526175; line-height:1.6; }
.demo-connection { height:48px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; }
.demo-connection span { width:3px; height:5px; background:#a8c6cf; }
.response-demo[data-step="1"] .caregiver-response,.response-demo[data-step="2"] .caregiver-response { border-color:#087e91; background:#eff9fa; }
.demo-steps { display:flex; flex-direction:column; margin-top:22px; border-top:1px solid #cdd9df; }
.demo-steps button { min-height:44px; padding:12px 0; text-align:left; border:0; border-bottom:1px solid #cdd9df; background:transparent; color:#526175; font-size:15px; }
.demo-steps button[aria-pressed="true"] { color:#076b7c; font-weight:550; box-shadow:inset 3px 0 #087e91; padding-left:14px; }
.founder-quote { padding-left:25px; border-left:2px solid #87c6d1; }
.founder-quote blockquote { margin:0; font-size:clamp(25px,2.7vw,43px); font-weight:400; line-height:1.27; letter-spacing:-.04em; }
.founder-quote p { font-size:14px; line-height:1.6; margin:28px 0 0; }
.founder-quote p span { color:#526175; font-size:12px; }
.shared-care { padding:25px 0; }
.shared-care strong { font-size:clamp(27px,2.6vw,43px); line-height:1.15; font-weight:500; letter-spacing:-.045em; }
.shared-care-line { height:65px; width:2px; margin:25px 0; background:linear-gradient(#087e91,#b7dce4); }

/* Native dialog supplies focus containment and Escape handling. */
body.inspecting { overflow:hidden; }
.inspecting .ambient-gradient::before { animation-play-state:paused; }
.screen-inspector { width:min(960px,calc(100vw - 32px)); max-height:calc(100svh - 32px); overflow:auto; padding:24px; border:1px solid #d5e4e8; border-radius:20px; color:var(--ink); background:#f7f9fc; }
.screen-inspector::backdrop { background:rgba(23,33,50,.55); }
.inspector-header { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.inspector-header p { margin:0; color:#526175; font-size:13px; }
.inspector-header button { min-height:44px; padding:8px 16px; border:1px solid #a8c6cf; border-radius:10px; background:#fff; color:#076b7c; }
.inspector-layout { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center; }
.inspector-art { height:min(65svh,550px); overflow:hidden; position:relative; background:#eaf0f5; border-radius:14px; }
.inspector-device { position:relative; width:fit-content; height:100%; margin:auto; }
.inspector-device > img { display:block; height:100%; width:auto; }
.inspector-hotspot { position:absolute; transform:translate(-50%,-50%); width:44px; height:44px; border:2px solid #fff; border-radius:50%; background:#076b7c; color:white; font-size:16px; box-shadow:0 0 0 3px rgba(7,107,124,.2); }
.inspector-art.is-closeup .inspector-device { width:100%; height:100%; }
.inspector-art.is-closeup img { position:absolute; width:100%; height:auto; top:50%; transform:translateY(calc(-1 * var(--detail-y))); }
.inspector-art.is-closeup #inspector-hotspots { display:none; }
.inspector-copy h2 { font-size:clamp(28px,3vw,42px); }
.inspector-copy > p { color:#526175; font-size:16px; line-height:1.65; }
.inspector-options { display:grid; gap:8px; margin:24px 0; }
.inspector-options button { min-height:44px; text-align:left; padding:11px 14px; border:1px solid #cdd9df; border-radius:10px; background:white; color:#172132; font-size:14px; }
.inspector-options button[aria-pressed="true"] { background:#e8f5f8; border-color:#087e91; color:#076b7c; }
.inspector-copy .inspector-note { margin-top:24px; font-size:12px; }
.screen-inspector :focus-visible { outline:3px solid #076b7c; outline-offset:4px; }

@media(max-width:1100px) and (min-width:651px) {
  .chapter-rail { gap:12px!important; }
  .chapter-rail a { font-size:10px; }
  .chapter-rail span { display:block; margin-bottom:4px; }
  .scene-actions { gap:12px; }
  .tour-button,.tour-link,.explore-screen { font-size:12px; }
}
@media(max-width:650px) {
  .motion-ready .chapter-rail { left:16px; right:16px; bottom:165px; gap:10px; }
  .chapter-rail a { font-size:0; padding:7px 0 0; min-height:26px; }
  .chapter-rail span { font-size:10px; margin:0; }
  .chapter-rail a[aria-current] { flex:3; font-size:10px; }
  .chapter-rail a[aria-current] span { display:none; }
  .motion-ready #overview .scene-visual { top:27%; width:min(36vw,calc((100svh - 210px) * .20)); }
  .motion-ready #overview .scene-copy { top:61%; }
  .motion-ready .scene:not(.scene-paired):has(.explore-screen) .scene-visual { top:27%; width:min(42vw,calc((100svh - 210px) * .24)); }
  .motion-ready .scene:has(.explore-screen) .scene-copy { top:60%; }
  .scene-actions { justify-content:center; gap:10px 14px; margin-top:16px; }
  .tour-button { min-height:42px; padding:9px 13px; font-size:12px; }
  .tour-link { font-size:12px; }
  .explore-screen { margin-top:10px; min-height:36px; font-size:12px; padding:4px 0; }
  .motion-ready .scene.scene-paired .scene-visual { width:min(60vw,calc((100svh - 210px) * .36)); top:28%; }
  body:has(#overview.active) .chapter-rail { display:none; }
  .motion-ready .scene-paired .scene-copy { top:60%; }
  .scene-paired .scene-copy .fine-print { font-size:10px; }
  .compare-devices { font-size:12px; }
  .scene-interactions { justify-content:center; margin-top:10px; gap:8px 14px; }
  .motion-ready .scene-demo .scene-visual { top:29%; width:78vw; }
  .demo-caption { font-size:10px; margin-bottom:8px; }
  .demo-person { padding:12px 15px; border-radius:12px; }
  .demo-person > span { margin-bottom:4px; font-size:10px; }
  .demo-person strong { font-size:19px; }
  .demo-person p { font-size:11px; line-height:1.4; margin-top:6px; }
  .demo-connection { height:22px; gap:2px; }
  .demo-connection span { height:3px; }
  .motion-ready .scene-demo .scene-copy { top:61%; }
  .scene-demo .scene-copy h2 { font-size:26px; }
  .demo-steps { margin-top:12px; flex-direction:row; border:0; gap:8px; }
  .demo-steps button { flex:1; font-size:11px; text-align:center; border:1px solid #cdd9df; border-radius:8px; padding:8px 4px; }
  .demo-steps button[aria-pressed="true"] { padding-left:4px; box-shadow:none; background:#e8f5f8; border-color:#087e91; }
  .motion-ready .scene.scene-founder .scene-visual { width:78vw; top:28%; }
  .founder-quote { padding-left:18px; }
  .founder-quote blockquote { font-size:25px; }
  .founder-quote p { margin-top:14px; font-size:12px; }
  .motion-ready .scene.scene-founder .scene-copy { top:60%; }
  .motion-ready .scene-conclusion .scene-visual { top:29%; width:78vw; display:flex; gap:20px; align-items:center; padding:0; }
  .shared-care strong { font-size:23px; }
  .shared-care span { font-size:11px; margin-bottom:7px; }
  .shared-care-line { width:1px; height:125px; margin:0; flex:none; }
  .motion-ready .scene-conclusion .scene-copy { top:58%; }
  .screen-inspector { padding:18px; }
  .inspector-layout { grid-template-columns:1fr; gap:22px; }
  .inspector-header p { font-size:11px; }
  .inspector-art { height:330px; }
  .inspector-copy h2 { font-size:28px; }
  .inspector-copy > p { font-size:14px; }
  .inspector-options { margin-block:16px; }
}
@media(max-height:740px) and (max-width:650px) {
  .motion-ready .chapter-rail { display:none; }
  .motion-ready #overview .scene-copy { top:59%; }
  .motion-ready #overview .scene-visual { width:min(38vw,calc((100svh - 210px) * .20)); }
  .scene-copy p { font-size:12px; }
  .scene-actions { margin-top:10px; gap:8px; }
  .tour-button { min-height:36px; }
  .explore-screen { margin-top:5px; }
  .motion-ready .scene.scene-founder .scene-visual { top:27%; }
  .founder-quote blockquote { font-size:21px; }
  .motion-ready .scene-demo .scene-copy { top:59%; }
}

/* Mobile: use the saved footer space for the product, not smaller copy. */
@media(max-width:650px) {
  .motion-ready .chapter-rail { display:none; }
  .motion-ready .tour-controls { inset:auto 12px max(8px,env(safe-area-inset-bottom)); height:44px; gap:0; pointer-events:none; }
  .tour-controls #scene-status,.tour-controls .journey { display:none; }
  .tour-controls .transport { width:100%; justify-content:space-between; }
  .tour-controls .transport button { pointer-events:auto; }
  .transport button { width:44px; height:44px; }
  .download-dock { bottom:max(8px,env(safe-area-inset-bottom)); }
  .store-badge { flex-direction:row; gap:8px; min-height:44px; padding:1px; border:1px solid #56b9d7; border-radius:10px; background:#fff; box-shadow:0 0 12px rgba(14,165,210,.22),0 3px 10px rgba(8,126,145,.10); }
  .store-badge:hover,.store-badge:active { background:#f1fbfd; box-shadow:0 0 14px rgba(14,165,210,.30); }
  .store-badge img { flex:none; width:auto; height:40px; }
  .download-message .badge-prompt { margin:0; padding-left:10px; font-size:10px; white-space:nowrap; }
  .motion-ready:not(.reading-layout) .viewport { top:var(--visible-top,0px); bottom:auto; height:var(--visible-height,100dvh); }
  .motion-ready:not(.reading-layout) .tour-nav { top:calc(var(--visible-top,0px) + 9px); }
  .motion-ready:not(.reading-layout) body:not(.faq-view) .tour-controls,
  .motion-ready:not(.reading-layout) body:not(.faq-view) .download-dock { top:calc(var(--visible-top,0px) + var(--visible-height,100dvh) - 44px - max(8px,env(safe-area-inset-bottom))); bottom:auto; }
  .motion-ready:not(.reading-layout) .scene:has(.phone-image) .scene-visual { top:var(--mobile-image-top); width:var(--mobile-image-width); }
  .motion-ready:not(.reading-layout) .scene:has(.phone-image) .scene-copy { top:var(--mobile-copy-top); }
  .motion-ready:not(.reading-layout) #overview .scene-visual { top:var(--mobile-image-top); width:var(--mobile-image-width); }
  .motion-ready:not(.reading-layout) #overview .scene-copy { top:var(--mobile-copy-top); }
}
@media(max-width:370px) {
  .download-message .badge-prompt { display:none; }
}
/* These two text-based illustrations need their own mobile composition, not
   the desktop illustration width or the phone screenshot's aspect ratio. */
@media(max-width:650px) {
  .motion-ready:not(.reading-layout) #care-in-action .scene-visual,
  .motion-ready:not(.reading-layout) #closer-together .scene-visual {
    left:50%; width:86vw; top:var(--mobile-image-top,29%);
  }
  .motion-ready:not(.reading-layout) #care-in-action .scene-copy,
  .motion-ready:not(.reading-layout) #closer-together .scene-copy {
    left:50%; top:var(--mobile-copy-top,61%);
  }
  #care-in-action .demo-person { min-width:0; }
  #closer-together .shared-care {
    display:grid; grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);
    gap:16px; padding:0; align-items:start;
  }
  #closer-together .shared-care > div { min-width:0; }
  #closer-together .shared-care strong { font-size:clamp(18px,4.8vw,21px); overflow-wrap:anywhere; }
  #closer-together .shared-care span { white-space:normal; }
  #closer-together .shared-care-line { width:1px; height:100%; min-height:90px; }
}
@media(max-width:650px) and (max-height:650px) {
  #care-in-action .demo-person { padding:8px 12px; }
  #care-in-action .demo-person strong { font-size:17px; }
  #care-in-action .demo-person > span { margin-bottom:2px; }
  #care-in-action .demo-person p { margin-top:4px; }
  #care-in-action .demo-connection { height:14px; }
  #care-in-action .scene-copy p { margin-top:10px; }
}
