/* VitalCensus landing — implemented from "Clarity Landing v5" (Claude Design handoff) */

:root {
  --ink: #0B0F12;
  --ink-2: #2E3D43;
  --ink-3: #40525A;
  --body: #46565C;
  --muted: #6B7B80;
  --muted-2: #8A989C;
  --muted-3: #9AA7AB;
  --line: #E2EAEC;
  --line-2: #E7EDEE;
  --line-3: #DFE8EA;
  --line-4: #EDF2F3;
  --tint: #F7FAFB;
  --blue: #3E9FD1;
  --blue-dk: #1F7FB2;
  --grad-vital: linear-gradient(135deg, #6FD3C7 0%, #3E9FD1 100%);
  --grad-calm: linear-gradient(135deg, #9BB8F7 0%, #A99BF0 100%);
  --grad-good: linear-gradient(135deg, #8BDCA8 0%, #43B79A 100%);
  --grad-warm: linear-gradient(135deg, #FFC07A 0%, #F2896B 100%);
  --ease-out: cubic-bezier(.2, .8, .3, 1);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; }
[hidden] { display: none !important; }
* { box-sizing: border-box; }
img, video { max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(11,15,18,0.25); }
a:hover { color: var(--blue); border-bottom-color: var(--blue); }
button { font: inherit; }

.page { width: 100%; overflow-x: clip; background: #FFFFFF; font-family: var(--sans); color: var(--ink); }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; color: var(--blue); }
.kicker.grey { color: var(--muted-3); }
.brand { letter-spacing: -0.02em; white-space: nowrap; }
.brand .a { font-weight: 500; }
.brand .b { font-weight: 800; }
.dot { border-radius: 50%; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Motion primitives ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1100ms cubic-bezier(.2,.8,.3,1), transform 1100ms cubic-bezier(.2,.8,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
@keyframes caretBlink { 0%,45% { opacity: 1; } 55%,100% { opacity: 0; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(0.35em); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes armRise { from { opacity: 0; transform: translateY(30%); } to { opacity: 1; transform: none; } }
[data-arm] { animation: armRise 1500ms cubic-bezier(.16,.84,.28,1) 350ms both; }
[data-origin] { opacity: 0; transition: opacity 500ms ease; }
[data-thread] { transform-origin: top; transform: scaleY(0); opacity: 0; transition: opacity 700ms ease; will-change: transform, opacity; }
@keyframes floatY { 0%,100% { transform: translateY(-11px); } 50% { transform: translateY(11px); } }
.floaty { animation: floatY 7.5s ease-in-out infinite; }
.floaty2 { animation: floatY 9s ease-in-out infinite; animation-delay: -3.4s; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.track { animation: marquee 46s linear infinite; }
.track.rev { animation-duration: 56s; animation-direction: reverse; }
.track:hover { animation-play-state: paused; }
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.82); } }
[data-alert] { opacity: 0; transform: translateX(30px) scale(0.97); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: 350ms; }
[data-alert].in { opacity: 1; transform: none; }
[data-ray] { transform: scaleX(0); transition: transform 1300ms cubic-bezier(.16,.84,.28,1); }
[data-ray].in { transform: scaleX(1); }
[data-ray-l] { transform-origin: right; }
[data-ray-r] { transform-origin: left; }
[data-fade] { opacity: 0; transition: opacity 900ms ease; }
[data-fade].in { opacity: 1; }
@keyframes swipeNudge { 0%,100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-fade], [data-alert] { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-ray] { transform: none !important; transition: none !important; }
  [data-arm], .floaty, .floaty2, .track { animation: none !important; }
}

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 22px 40px; padding-top: calc(22px + env(safe-area-inset-top, 0px)); background: rgba(255,255,255,0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav .brand { font-size: 17px; }
.nav-sub { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted-3); }
.nav-btn { font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: 10px; white-space: nowrap; cursor: pointer; }
.nav-pilot { margin-left: auto; border: 1px solid var(--line); color: var(--ink-3); }
.nav-pilot:hover { border-color: var(--line); }
.nav-req { background: var(--ink); color: #FFFFFF; border: 0; }
.nav-req:hover { color: #FFFFFF; background: #23303A; border: 0; }

/* ---------- Hero ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; position: relative; }
.hero-outer { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.armzone { position: relative; width: 100%; min-height: 100vh; display: flex; flex-direction: column; }
.hero { position: relative; z-index: 2; flex: 1; padding-top: max(100px, 13vh); padding-bottom: 40px; max-width: min(620px, 58vw); display: flex; flex-direction: column; justify-content: safe center; align-items: flex-start; text-align: left; }
.h1 { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: 1.04; max-width: 600px; text-wrap: balance; margin: 0; transition-duration: 1600ms; }
.h1 .word-line { display: block; white-space: nowrap; }
.tw { display: inline-flex; align-items: baseline; }
.grad-text { background: var(--grad-vital); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 0.04em 0.16em 0.04em; margin: 0 -0.04em -0.16em -0.04em; }
.caret { display: inline-block; width: 0.06em; height: 0.82em; margin-left: 0.06em; background: var(--blue); border-radius: 2px; align-self: center; animation: caretBlink 1s steps(1) infinite; }
.hero-lede { margin-top: 16px; transition-delay: 200ms; }
.hero-claim { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.hero-claim + .hero-claim { margin-top: 8px; }
.hero-body { font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--body); margin-top: 8px; max-width: 520px; text-wrap: pretty; }
.hero-cta { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 34px; letter-spacing: -0.01em; color: var(--blue); border-bottom: 1px solid rgba(62,159,209,0.35); padding-bottom: 2px; transition-delay: 350ms; }
.hero-cta:hover { color: var(--blue-dk); border-bottom-color: var(--blue-dk); }
.hero-cta .arr { font-family: var(--sans); font-style: normal; font-size: 22px; }
.bstrip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line-4); width: 100%; transition-delay: 500ms; }
.bstrip > div { min-width: 0; }
.bstrip .t { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.bstrip .s { font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.hero-foot { font-size: 11.5px; font-weight: 500; color: var(--muted-2); line-height: 1.5; margin-top: 16px; transition-delay: 600ms; }

.arm { position: absolute; left: 0; right: 0; top: 0; height: 100vh; z-index: 1; pointer-events: none; }
.arm img { position: absolute; left: 75%; bottom: 0; height: 126vh; width: auto; max-width: none; transform: translate(-50%, 36%); display: block; visibility: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,0.5) 64%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,0.5) 64%, transparent 70%); }
.arm img.on { visibility: visible; }
.swipe { display: none; }

/* ---------- How it works ---------- */
/* Top padding grows with viewport height: the hero arm image is sized in vh and fades out ~8vh below the hero. */
.how { padding: calc(170px + 8vh) 0 120px; scroll-margin-top: 90px; }
.how-grid { display: grid; grid-template-columns: minmax(0,0.78fr) minmax(0,1.62fr); gap: 56px; align-items: center; }
.how-grid > * { min-width: 0; }
.h3 { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; margin: 14px 0 0; text-wrap: pretty; }
.tabs-v { display: flex; flex-direction: column; gap: 8px; margin-top: 30px; }
.tab-v { all: unset; display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; cursor: pointer; background: transparent; border: 1px solid transparent; box-shadow: none; transition: background 200ms ease, border-color 200ms ease; }
.tab-v:hover { border-color: #D5E3E8; }
.tab-v:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.tab-v .n { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; color: var(--muted-3); padding-top: 4px; flex-shrink: 0; }
.tab-v .l { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-3); }
.tab-v .s { font-size: 13.5px; font-weight: 500; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.tab-v[aria-selected="true"] { background: #FFFFFF; border-color: var(--line); box-shadow: 0 10px 30px rgba(9,16,20,0.07); }
.tab-v[aria-selected="true"] .n { color: var(--blue); }
.tab-v[aria-selected="true"] .l { color: var(--ink); }

.stage { display: grid; min-height: 640px; }
.panel { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: opacity 320ms ease, visibility 0s linear 320ms; }
.panel.on { visibility: visible; opacity: 1; transition: opacity 320ms ease; }

.window { width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 34px 80px rgba(9,16,20,0.16); }
.window-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 15px; background: #F6F9FA; border-bottom: 1px solid #E9EFF0; }
.window-bar .dot { width: 10px; height: 10px; }
.window-bar .title { flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted-2); }
.window-body { position: relative; }
.window-body > img { width: 100%; display: block; }

.alert { position: absolute; top: 10%; right: 2%; width: 31%; border-radius: 14px; overflow: hidden; background: #12181C; color: #FFFFFF; box-shadow: 0 18px 44px rgba(9,16,20,0.4); }
.alert .bar { height: 3px; background: linear-gradient(90deg, #FF9A76, #EE6A63); }
.alert .in-pad { padding: 12px 14px 13px; }
.alert .row { display: flex; align-items: center; gap: 7px; }
.alert .pulse { width: 7px; height: 7px; background: #FF7A66; animation: pulseDot 1.1s ease-in-out infinite; }
.alert .tag { font-size: 9px; font-weight: 800; letter-spacing: 0.11em; color: #FFB4A2; }
.alert .time { margin-left: auto; font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.55); }
.alert .head { font-size: 13.5px; font-weight: 800; letter-spacing: -0.025em; margin-top: 7px; }
.alert .desc { font-size: 10.5px; line-height: 1.5; color: rgba(255,255,255,0.72); margin-top: 4px; font-weight: 500; }
.alert .vitals { display: flex; gap: 13px; margin-top: 9px; }
.alert .vk { font-size: 7.5px; font-weight: 800; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.alert .vv { font-size: 12px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.alert .foot { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,0.12); }
.alert .foot .dot { width: 5px; height: 5px; background: #FF7A66; }
.alert .foot div:last-child { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.7); }

.phone-box { width: 288px; height: 626px; display: flex; justify-content: center; }
.phone-scale { transform: scale(0.72); transform-origin: top center; }
.phone { width: 400px; flex-shrink: 0; }
.phone-inner { position: relative; }
.phone-inner > img { width: 100%; display: block; border-radius: 44px; box-shadow: 0 40px 90px rgba(9,16,20,0.3); }

.flipshot { position: absolute; left: 4.48%; top: 44.31%; width: 44.15%; height: 21.28%; border-radius: 20px; background: #0F3B47; color: #FFFFFF; padding: 14px 15px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transition: opacity 420ms ease; }
.flipshot .k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; color: #8FD8E0; }
.flipshot .nums { display: flex; gap: 12px; }
.flipshot .v { font-size: 15px; font-weight: 800; letter-spacing: -0.03em; }
.flipshot .lbl { font-size: 8.5px; font-weight: 800; letter-spacing: 0.07em; color: rgba(255,255,255,0.6); margin-top: 2px; }
.flipshot .txt { font-size: 10.5px; line-height: 1.4; color: rgba(255,255,255,0.82); font-weight: 500; }

.notif { position: absolute; left: 4.48%; top: 57.21%; bottom: 35.35%; width: 91.04%; border-radius: 18px; background: rgba(10,24,38,0.55); border: 1px solid rgba(255,255,255,0.22); padding: 13px 15px; display: flex; align-items: center; gap: 12px; color: #FFFFFF; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px) scale(0.985); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
.notif .dot { width: 8px; height: 8px; background: #9BF5C6; }
.notif .body { flex: 1; min-width: 0; }
.notif .t { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.notif .s { font-size: 12px; opacity: 0.88; font-weight: 500; margin-top: 2px; line-height: 1.35; }
.notif .chev { font-size: 17px; opacity: 0.8; }

/* ---------- Thread + device ---------- */
.thread-wrap { display: flex; flex-direction: column; align-items: center; }
.thread-origin { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.thread { width: 1px; height: 300px; background: linear-gradient(180deg, rgba(11,15,18,0) 0%, rgba(11,15,18,0.5) 40%, #0B0F12 100%); }
.thread-end { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }

.device { display: flex; flex-direction: column; align-items: center; padding: 0 0 40px; position: relative; z-index: 1; }
.device .num { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; color: var(--muted-3); margin-top: 20px; }
.device .h { font-size: 38px; font-weight: 800; letter-spacing: -0.04em; margin: 12px 0 0; text-align: center; }
.device .by { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; color: var(--muted); margin-top: 10px; }
.dev-grid { display: grid; grid-template-columns: 1fr minmax(280px, 540px) 1fr; align-items: center; gap: 0; margin-top: 52px; width: 100%; }
.kcol { display: flex; flex-direction: column; gap: 26px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.krow { display: flex; align-items: center; gap: 0; }
.krow .txt { flex: 1; }
.kcol.left .txt { text-align: right; }
.krow .k { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.krow .v { font-size: 12px; font-weight: 500; color: var(--muted-2); margin-top: 2px; }
.ray { width: 84px; height: 1px; }
.kcol.left .ray { background: linear-gradient(90deg, rgba(11,15,18,0.06), rgba(11,15,18,0.35)); }
.kcol.right .ray { background: linear-gradient(90deg, rgba(11,15,18,0.35), rgba(11,15,18,0.06)); }
.ray-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.kcol.left .ray-dot { margin-left: -3px; }
.kcol.right .ray-dot { margin-right: -3px; }
.vid { display: flex; align-items: center; justify-content: center; }
.vid video { width: 100%; max-width: 540px; display: block;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, #000 55%, rgba(0,0,0,0.65) 74%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, #000 55%, rgba(0,0,0,0.65) 74%, transparent 100%); }
.roadmap { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; max-width: 560px; transition-delay: 1100ms; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); }
.pill .dot { width: 6px; height: 6px; background: var(--blue); }
.pill span { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted); }
.roadmap .t { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.roadmap .s { font-size: 13px; font-weight: 500; color: var(--muted-2); line-height: 1.55; text-wrap: pretty; }
.more { font-size: 16px; font-weight: 600; color: var(--muted-2); letter-spacing: -0.01em; margin-top: 30px; transition-delay: 1300ms; }

/* ---------- Sections ---------- */
.sec { padding: 110px 40px; }
.sec.tint { background: var(--tint); }
.sec.dark { background: var(--ink); color: #FFFFFF; }
.inner { max-width: 1240px; margin: 0 auto; }
.h2 { font-size: 52px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.06; margin: 14px 0 0; }

/* Platform */
.sec.platform { padding: 50px 40px 110px; }
.mq-label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; }
.mq { overflow: hidden; margin-top: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 14px; width: max-content; }
.logo { padding: 15px 24px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink-3); white-space: nowrap; }
.platform-note { font-size: 14px; font-weight: 500; color: var(--muted-2); margin-top: 18px; max-width: 760px; line-height: 1.6; }
.evidence { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 52px; }
.ev { border-top: 2px solid var(--ink); padding-top: 18px; }
.ev .v { font-size: 42px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.ev .k { font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em; margin-top: 10px; }
.ev .s { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* Senior living */
.sl-head { max-width: 920px; }
.sl-h { font-size: 62px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; margin: 16px 0 0; text-wrap: pretty; }
.sl-body { font-size: 19px; font-weight: 500; line-height: 1.55; color: var(--body); margin-top: 20px; max-width: 720px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.photos figure { margin: 0; min-width: 0; overflow: hidden; }
.sphoto { width: 100%; height: 400px; background-size: cover; background-position: center; border-radius: 18px; }
.sp1 { background-image: url(assets/senior-1.webp); }
.sp2 { background-image: url(assets/senior-2.jpg); }
.sp3 { background-image: url(assets/senior-3.jpg); background-position: 62% center; }
.photos figcaption { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 11px; }
.split { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 56px; align-items: start; }
.wear { margin-top: 80px; }
.prose { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.prose p { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }

/* Why (dark) */
.why-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.why-head > div:first-child { max-width: 700px; }
.sec.dark .kicker { color: #8FD8E0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 44px; }
.card { border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 26px 28px; display: flex; gap: 20px; align-items: flex-start; }
.card .stripe { width: 3px; align-self: stretch; border-radius: 99px; flex-shrink: 0; }
.card .t { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.card .s { font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.7); margin-top: 9px; line-height: 1.6; }
.why-foot { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.55); margin-top: 18px; line-height: 1.6; }

/* Compare */
.cmp-lede { font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--body); margin-top: 16px; max-width: 700px; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.chip { font-size: 13.5px; font-weight: 700; padding: 10px 16px; border-radius: 99px; cursor: pointer; background: #FFFFFF; color: var(--ink-3); border: 1px solid var(--line); }
.chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip[aria-selected="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.cmp-panel { margin-top: 26px; display: grid; padding: 36px 40px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line-2); }
.cmp { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: start; visibility: hidden; opacity: 0; transition: opacity 320ms ease, visibility 0s linear 320ms; }
.cmp.on { visibility: visible; opacity: 1; transition: opacity 320ms ease; }
.cmp > div { min-width: 0; }
.cmp .eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; color: var(--muted-3); }
.cmp .h { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: 12px 0 0; text-wrap: balance; }
.cmp .body { font-size: 16px; font-weight: 500; line-height: 1.65; color: var(--ink-2); margin-top: 16px; text-wrap: pretty; }
.cmp .note { font-size: 13px; font-weight: 600; line-height: 1.55; color: var(--muted); margin-top: 14px; }
.btn-dark { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 800; padding: 11px 18px; border-radius: 11px; background: var(--ink); color: #FFFFFF; border-bottom: none; }
.btn-dark:hover { background: #23303A; color: #FFFFFF; }
.points { display: flex; flex-direction: column; }
.pt { padding: 16px 0; border-top: 1px solid var(--line-3); }
.pt .t { font-size: 16.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.pt .b { font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--body); margin-top: 4px; }

/* FAQ */
.faq-h { font-size: 38px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: 12px 0 0; }
.faqs { display: flex; flex-direction: column; }
.faq { border-top: 1px solid var(--line-3); }
.faq-q { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; }
.faq-q:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.faq-q .q { flex: 1; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); }
.faq-q .sign { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-3); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--ink-3); flex-shrink: 0; }
.faq-a { font-size: 15px; font-weight: 500; line-height: 1.65; color: var(--ink-2); padding: 0 8px 20px 0; text-wrap: pretty; margin: 0; }

/* Pilot */
.sec.pilot { padding: 110px 40px 130px; text-align: center; scroll-margin-top: 80px; }
.pilot .inner { max-width: 760px; }
.pilot .h2 { margin: 0; }
.pilot-body { font-size: 17px; font-weight: 500; color: var(--body); margin-top: 16px; line-height: 1.55; text-wrap: pretty; }
.pilot-note { font-size: 14px; font-weight: 500; color: var(--muted-2); margin-top: 14px; line-height: 1.6; text-wrap: pretty; }
.btns { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.btn { padding: 16px 26px; border-radius: 13px; font-size: 15px; font-weight: 700; color: var(--ink-3); border: 1px solid var(--line); cursor: pointer; background: transparent; }
.btn:hover { border-color: var(--line); }
.btn.primary { background: var(--ink); color: #FFFFFF; font-weight: 800; border-color: var(--ink); }
.btn.primary:hover { background: #23303A; color: #FFFFFF; }
.chip-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 9px 15px; border-radius: 99px; background: var(--tint); border: 1px solid var(--line-2); }
.chip-note .dot { width: 6px; height: 6px; background: var(--blue); }
.chip-note span { font-size: 12.5px; font-weight: 600; color: var(--body); }
.hipaa { font-size: 13px; font-weight: 500; color: var(--muted-2); margin-top: 18px; line-height: 1.6; }

/* Footer */
.foot { border-top: 1px solid var(--line-4); padding: 26px 20px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
.foot-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.foot .brand { font-size: 15px; }
.foot .legal { font-size: 12.5px; font-weight: 500; color: var(--muted-2); }
.foot .site { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--muted-2); }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .bstrip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  /* Phones: only room for one nav button; the pilot apps stay reachable from the pilot section. */
  .nav-pilot { display: none; }
  .nav-req { margin-left: auto; }
}
@media (max-width: 900px) {
  .nav { padding: 14px 18px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); gap: 10px; }
  .nav-sub { display: none; }
  .nav-btn { padding: 9px 13px; font-size: 12.5px; }
  .wrap { padding: 0 20px; }
  .hero { max-width: 100%; padding-top: 104px; padding-bottom: 0; justify-content: flex-start; }
  .h1 { font-size: 42px; }
  .hero-cta { font-size: 27px; }
  .arm { position: relative; height: 72vh; top: auto; margin-top: 8px; overflow: hidden; pointer-events: auto; touch-action: pan-y; }
  .arm img { left: 50%; height: 108vh; }
  .swipe { display: flex; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 99px; background: rgba(255,255,255,0.92); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(9,16,20,0.12); font-size: 12.5px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; transition: opacity 500ms ease; }
  .swipe .ico { display: inline-block; animation: swipeNudge 1.6s ease-in-out infinite; font-size: 15px; color: var(--blue); }
  .swipe.gone { opacity: 0; }
  .how { padding: 48px 0 40px; }
  .how-grid, .evidence, .photos, .split, .cards, .cmp { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .stage { min-height: 0; }
  .stage > .panel:not(.on) { display: none; }
  .alert { position: relative; top: auto; right: auto; width: auto; margin: 12px; }
  .dev-grid { grid-template-columns: minmax(0,1fr); gap: 22px; margin-top: 28px; }
  .vid { order: -1; }
  .kcol { gap: 16px; align-items: center; }
  .kcol .txt, .kcol.left .txt { text-align: center; }
  .ray, .ray-dot { display: none; }
  .thread { height: 150px; }
  .sec, .sec.platform, .sec.pilot { padding: 72px 20px; }
  .h2, .sl-h { font-size: 34px; }
  .h3, .device .h, .cmp .h { font-size: 30px; }
  .sphoto { height: 300px; }
  .cmp-panel { padding: 24px 20px; }
  .btns { flex-direction: column; align-items: stretch; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot .site { margin-left: 0; }
}

/* ======================================================================
   Compare page (compare.html)
   ====================================================================== */
.subnav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 20px clamp(20px, 4vw, 40px); padding-top: calc(20px + env(safe-area-inset-top, 0px)); background: rgba(255,255,255,0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-4); }
.subnav .brand { font-size: 17px; }
.back-btn { font-size: 13px; font-weight: 800; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
.back-btn:hover { border-color: var(--line); }
.subnav .nav-req { margin-left: auto; }
@media (max-width: 700px) { .subnav .nav-req { display: none; } }

.cp-intro { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 9vw, 110px) clamp(20px, 4vw, 40px) 60px; }
.cp-h1 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.03; margin: 16px 0 0; max-width: 960px; text-wrap: balance; }
.cp-lede { font-size: clamp(16px, 1.6vw, 19px); font-weight: 500; line-height: 1.55; color: var(--body); margin: 20px 0 0; max-width: 720px; text-wrap: pretty; }
.cp-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.cp-jump a { font-size: 13px; font-weight: 700; padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-3); }
.cp-jump a:hover { border-color: var(--blue); }

.cp-block { padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 40px); scroll-margin-top: 70px; }
.cp-block.tint { background: var(--tint); }
.cp-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cp-grid > div { min-width: 0; }
.cp-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; color: var(--muted-3); }
.cp-h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; margin: 14px 0 0; text-wrap: balance; }
.cp-body { font-size: 16.5px; font-weight: 500; line-height: 1.65; color: var(--ink-2); margin: 18px 0 0; text-wrap: pretty; }
.cp-note { font-size: 13px; font-weight: 600; line-height: 1.55; color: var(--muted); margin: 16px 0 0; }
.cp-points .pt { padding: 18px 0; }
.cp-points .pt .t { font-size: 17px; }
.cp-points .pt .b { font-size: 14.5px; margin-top: 5px; }

.mini { margin-top: 20px; border: 1px solid var(--line-3); border-radius: 12px; overflow: hidden; background: #FFFFFF; width: 100%; border-collapse: collapse; }
.mini th, .mini td { padding: 9px 12px; text-align: left; vertical-align: top; }
.mini thead th { background: #F1F5F6; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--muted); }
.mini thead th.us { background: var(--ink); color: #FFFFFF; }
.mini tbody tr { border-top: 1px solid #EEF3F4; }
.mini tbody th { font-size: 12px; font-weight: 700; color: var(--muted); width: 30%; }
.mini tbody td { font-size: 12.5px; font-weight: 600; color: var(--body); }
.mini tbody td.us { font-weight: 800; color: var(--ink); background: #F1F8FC; }

.cp-sec { padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 40px); }
.cp-sec.tint { background: var(--tint); }
.cp-sub { font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--body); margin: 14px 0 0; max-width: 640px; }
.matrix-wrap { overflow-x: auto; margin-top: 34px; border: 1px solid var(--line-2); border-radius: 16px; }
.matrix { min-width: 880px; width: 100%; border-collapse: collapse; table-layout: fixed; }
.matrix col.k { width: 30%; }
.matrix thead th { background: var(--tint); border-bottom: 1px solid var(--line-2); padding: 16px 12px; font-size: 12.5px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; text-align: center; color: var(--ink-3); }
.matrix thead th.us { background: var(--ink); color: #FFFFFF; }
.matrix tbody tr { border-bottom: 1px solid #EEF3F4; }
.matrix tbody tr:last-child { border-bottom: 0; }
.matrix tbody th { padding: 15px 18px; font-size: 14px; font-weight: 700; line-height: 1.35; text-align: left; }
.matrix td { padding: 15px 12px; font-size: 13.5px; font-weight: 600; text-align: center; color: var(--body); }
.matrix td.us { font-weight: 800; color: var(--ink); background: #F1F8FC; }
.matrix td span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.matrix td span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: var(--tone, #F2C46B); }
.matrix td.yes { --tone: #43B79A; }
.matrix td.no { --tone: #D5DDDF; }
.matrix td.road { --tone: #3E9FD1; }
.fnotes { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; max-width: 820px; }
.fnotes p { margin: 0; font-size: 12.5px; font-weight: 500; line-height: 1.6; color: var(--muted-2); }

.cp-faq-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cp-faq-grid .faq-q { padding: 20px 0; }
.cp-faq-grid .faq-q .q { font-size: 17.5px; }
.cp-faq-grid .faq-a { padding: 0 44px 22px 0; }

.cp-cta { padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 40px); text-align: center; }
.cp-cta .h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 0; }
.cp-cta p { font-size: 16px; font-weight: 500; color: var(--body); margin: 14px auto 0; line-height: 1.55; max-width: 560px; }
.cp-cta .btns { flex-wrap: wrap; margin-top: 28px; }

.sources { border-top: 1px solid var(--line-4); padding: 26px clamp(20px, 4vw, 40px) 34px; padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px)); }
.sources ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 10px 0 0; padding: 0; list-style: none; }
.sources a { font-size: 12.5px; font-weight: 600; color: var(--muted); border-bottom-color: rgba(107,123,128,0.3); }
.sources .legal { font-size: 12px; font-weight: 500; color: var(--muted-2); margin: 18px 0 0; line-height: 1.6; }
@media (max-width: 900px) { .cp-cta .btns { flex-direction: row; align-items: center; } }

/* ======================================================================
   Pilot request form (built by site.js, opened from any [data-request-pilot])
   ====================================================================== */
html.pr-lock { overflow: hidden; }
.pr-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line-2); border-radius: 20px; background: #FFFFFF; color: var(--ink); font-family: var(--sans); box-shadow: 0 40px 100px rgba(9,16,20,0.28); overflow: auto; overscroll-behavior: contain; }
.pr-dialog::backdrop { background: rgba(11,15,18,0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pr-dialog[open] { animation: prIn 320ms var(--ease-out); }
@keyframes prIn { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
.pr-form, .pr-done { padding: 34px 36px 30px; }
.pr-x { all: unset; position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; color: var(--ink-3); background: var(--tint); border: 1px solid var(--line-2); cursor: pointer; }
.pr-x:hover { background: #EEF3F4; }
.pr-x:focus-visible, .pr-dialog button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pr-head { padding-right: 40px; }
.pr-title { font-size: 32px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: 10px 0 0; outline: none; }
.pr-sub { font-size: 15px; font-weight: 500; line-height: 1.55; color: var(--body); margin: 10px 0 0; text-wrap: pretty; }
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 24px; }
.pr-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pr-wide { grid-column: 1 / -1; }
.pr-field label { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.pr-opt { font-weight: 600; color: var(--muted-3); margin-left: 4px; }
.pr-field input, .pr-field textarea { font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: #FFFFFF; border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; width: 100%; box-sizing: border-box; transition: border-color 150ms ease, box-shadow 150ms ease; }
.pr-field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.pr-field input::placeholder, .pr-field textarea::placeholder { color: #A9B5B9; }
.pr-field input:focus, .pr-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(62,159,209,0.18); }
.pr-field .pr-invalid { border-color: #D9674F; box-shadow: 0 0 0 3px rgba(217,103,79,0.14); }
.pr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pr-error { margin: 16px 0 0; padding: 11px 14px; border-radius: 11px; background: #FFF4F1; border: 1px solid #F3D3CA; color: #9B3B26; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.pr-error a { color: inherit; border-bottom-color: currentColor; }
.pr-actions { display: flex; gap: 10px; margin-top: 22px; }
.pr-actions .btn { font-family: inherit; font-size: 15px; }
.pr-submit[disabled] { opacity: 0.6; cursor: progress; }
.pr-done { text-align: center; padding-top: 48px; padding-bottom: 40px; }
.pr-check { width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 50%; background: var(--grad-good); color: #FFFFFF; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pr-done .pr-actions { justify-content: center; }
.pr-done-email { color: var(--ink); font-weight: 700; word-break: break-all; }

@media (max-width: 560px) {
  .pr-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; border: 0; }
  .pr-form, .pr-done { padding: calc(28px + env(safe-area-inset-top, 0px)) 20px calc(28px + env(safe-area-inset-bottom, 0px)); }
  .pr-x { top: calc(14px + env(safe-area-inset-top, 0px)); }
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-title { font-size: 28px; }
  .pr-actions { flex-direction: column-reverse; }
  .pr-actions .btn { text-align: center; }
}

/* ======================================================================
   404 page (404.html)
   ====================================================================== */
.nf-home, .nf-home:hover { border-bottom: 0; color: var(--ink); }
.nf { max-width: 1240px; margin: 0 auto; min-height: 100vh; padding: 120px 40px 60px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; overflow: hidden; }
.nf-h1 { font-size: 60px; font-weight: 800; letter-spacing: -0.05em; line-height: 1.04; margin: 16px 0 0; text-wrap: balance; }
.nf-body { font-size: 18px; font-weight: 500; line-height: 1.55; color: var(--body); margin: 18px 0 0; max-width: 520px; }
.nf-links { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; max-width: 520px; }
.nf-link { display: flex; flex-direction: column; gap: 3px; padding: 16px 44px 16px 18px; border: 1px solid var(--line); border-radius: 14px; position: relative; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.nf-link::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--muted-3); transition: color 160ms ease, right 160ms ease; }
.nf-link:hover { border-color: #CFE4F0; color: var(--ink); box-shadow: 0 10px 30px rgba(9,16,20,0.07); }
.nf-link:hover::after { color: var(--blue); right: 14px; }
.nf-link .t { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.nf-link .s { font-size: 13.5px; font-weight: 500; color: var(--muted); line-height: 1.45; }
.nf-foot { font-size: 14px; font-weight: 500; color: var(--muted-2); margin: 24px 0 0; }
.nf-art { align-self: stretch; position: relative; min-height: 520px; }
.nf-art img { position: absolute; left: 50%; top: 50%; height: 118%; width: auto; max-width: none; transform: translate(-50%, -44%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, rgba(0,0,0,0.5) 66%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, rgba(0,0,0,0.5) 66%, transparent 72%); }
@media (max-width: 900px) {
  .nf { grid-template-columns: minmax(0, 1fr); padding: 104px 20px 48px; min-height: 0; }
  .nf-h1 { font-size: 40px; }
  .nf-art { display: none; }
}
