:root {
  --paper: #f4f0e9;
  --paper-bright: #fffdf8;
  --ink: #272335;
  --ink-soft: #625d69;
  --plum: #5f214d;
  --plum-dark: #35142d;
  --coral: #ef765e;
  --mint: #80cdb5;
  --sun: #f6d858;
  --line: rgba(39, 35, 53, 0.15);
  --display: "Manrope", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "DM Mono", monospace;
  --page-pad: clamp(1.25rem, 4.5vw, 5rem);
  --radius: 1.5rem;
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
svg { display: block; }
::selection { color: var(--paper-bright); background: var(--plum); }

.page-noise {
  position: fixed;
  z-index: 9999;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.scroll-progress { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left; background: var(--coral); }
.skip-link { position: fixed; z-index: 10000; top: 1rem; left: 1rem; padding: 0.75rem 1rem; transform: translateY(-160%); background: white; border-radius: 999px; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: height 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled { height: 68px; background: rgba(244, 240, 233, 0.88); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; width: max-content; text-decoration: none; font-size: 1.08rem; letter-spacing: -0.035em; }
.brand strong { color: var(--plum); font-weight: 700; }
.brand-mark { width: 34px; height: 34px; fill: none; stroke: var(--plum); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: var(--coral); stroke: none; }
.desktop-nav { display: flex; gap: clamp(1.5rem, 3vw, 3rem); }
.desktop-nav a { position: relative; color: var(--ink-soft); font-size: 0.83rem; font-weight: 600; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; bottom: -0.45rem; left: 0; width: 100%; height: 1px; transform: scaleX(0); transform-origin: right; background: var(--plum); transition: transform 0.25s; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { justify-self: end; display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.72rem 1.1rem; color: var(--paper-bright); background: var(--ink); border-radius: 999px; font-size: 0.78rem; font-weight: 600; text-decoration: none; }
.nav-cta svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.hero { position: relative; min-height: 100svh; padding: clamp(8.5rem, 14vh, 11rem) var(--page-pad) 5rem; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(30rem, 0.9fr); align-items: center; gap: clamp(2rem, 4vw, 6rem); }
.hero-copy { position: relative; z-index: 2; min-width: 0; max-width: 48rem; }
.eyebrow { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 1.5rem; color: var(--plum); font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow.dark { color: var(--sun); }
.eyebrow.light { color: var(--sun); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(239,118,94,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 60% { box-shadow: 0 0 0 8px rgba(239,118,94,0); } 100% { box-shadow: 0 0 0 0 rgba(239,118,94,0); } }
.hero-title { margin: 0; font-size: clamp(3.5rem, 6.7vw, 7.8rem); font-weight: 500; line-height: 0.91; letter-spacing: -0.075em; }
.hero-title em, .display-heading em { color: var(--plum); font-family: var(--serif); font-weight: 400; letter-spacing: -0.045em; }
.title-line { display: block; overflow: hidden; padding: 0 0.07em 0.09em 0; }
.title-line > span { display: block; }
.title-line-small { margin-top: 0.22em; font-size: 0.49em; font-weight: 500; letter-spacing: -0.045em; }
.hero-lead { max-width: 37rem; margin: 2.1rem 0 0.5rem; color: var(--ink-soft); font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.85rem; min-height: 54px; padding: 0.85rem 1.45rem; border-radius: 999px; font-size: 0.83rem; font-weight: 700; text-decoration: none; }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.25s; }
.button:hover svg { transform: translateX(4px); }
.button-primary { color: white; background: var(--plum); box-shadow: 0 12px 30px rgba(95,33,77,.18); }
.text-link { display: inline-flex; gap: 0.75rem; align-items: center; font-size: 0.84rem; font-weight: 700; text-decoration: none; }
.link-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: transform 0.25s, background 0.25s; }
.text-link:hover .link-arrow { transform: translateY(3px); background: var(--paper-bright); }
.trust-line { display: flex; flex-wrap: wrap; gap: 0.9rem 1.7rem; margin-top: 3.2rem; color: var(--ink-soft); font-size: 0.7rem; font-weight: 600; }
.trust-line span { position: relative; padding-left: 1rem; }
.trust-line span::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }

.hero-visual { position: relative; min-width: 0; aspect-ratio: 1 / 1; min-height: 34rem; }
.human-scene { position: absolute; z-index: 2; inset: 3% 2% 1% 3%; width: 95%; height: 95%; }
.scene-blob { fill: #eadfd6; }
.scene-shadow { fill: rgba(39,35,53,.1); }
.visual-orbit { position: absolute; border: 1px solid rgba(95,33,77,.17); border-radius: 50%; }
.orbit-one { inset: 4%; }
.orbit-two { inset: 14%; border-style: dashed; animation: rotate 30s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.float-card { position: absolute; z-index: 3; border: 1px solid rgba(39,35,53,.09); background: rgba(255,253,248,.91); box-shadow: 0 20px 60px rgba(52,32,47,.14); backdrop-filter: blur(14px); }
.note-card { top: 14%; left: -3%; width: min(260px, 44%); padding: 1rem 1.1rem; border-radius: 1.1rem 1.1rem 1.1rem 0.25rem; transform: rotate(-3deg); }
.card-kicker { display: flex; align-items: center; gap: 0.45rem; color: var(--coral); font-family: var(--mono); font-size: 0.59rem; text-transform: uppercase; }
.record-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.note-card p { margin: 0.75rem 0; font-size: clamp(.65rem, .85vw, .8rem); line-height: 1.45; }
.waveform { height: 18px; display: flex; align-items: center; gap: 3px; }
.waveform i, .live-wave i { width: 2px; height: 45%; background: var(--plum); border-radius: 5px; animation: wave 1s ease-in-out infinite alternate; }
.waveform i:nth-child(2n), .live-wave i:nth-child(2n) { height: 90%; animation-delay: -.35s; }
.waveform i:nth-child(3n), .live-wave i:nth-child(3n) { height: 65%; animation-delay: -.65s; }
@keyframes wave { to { transform: scaleY(.35); } }
.done-card { top: 22%; right: -1%; padding: 0.8rem 1rem; display: flex; gap: 0.7rem; align-items: center; border-radius: 0.9rem 0.9rem 0.25rem 0.9rem; transform: rotate(2deg); }
.done-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--plum); background: var(--mint); }
.done-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.done-card div { display: grid; font-size: .61rem; }
.done-card strong { color: var(--plum); font-family: var(--mono); font-size: .75rem; }
.patients-card { left: 8%; bottom: 10%; padding: 0.8rem 1rem; border-radius: 0.9rem; transform: rotate(2deg); }
.mini-label { display: block; color: var(--ink-soft); font-size: 0.55rem; text-transform: uppercase; }
.avatar-stack { display: inline-flex; margin: 0.55rem 0.45rem 0 0; vertical-align: middle; }
.avatar-stack i { width: 27px; height: 27px; margin-left: -6px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--mint); font-size: 0.5rem; font-style: normal; font-weight: 700; }
.avatar-stack i:first-child { margin-left: 0; background: var(--coral); }
.avatar-stack i:last-child { background: var(--sun); }
.patients-card strong { font-size: .63rem; }
.scroll-cue { position: absolute; left: var(--page-pad); bottom: 1.8rem; display: flex; align-items: center; gap: .7rem; color: var(--ink-soft); font-family: var(--mono); font-size: .57rem; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transform: rotate(-90deg) translateY(100%); transform-origin: left bottom; }
.scroll-cue i { display: block; width: 36px; height: 1px; background: var(--ink-soft); animation: scroll-line 1.8s ease-in-out infinite; transform-origin: left; }
@keyframes scroll-line { 50% { transform: scaleX(.35); } }

.section-index { margin-bottom: 4rem; color: var(--ink-soft); font-family: var(--mono); font-size: .63rem; letter-spacing: .09em; text-transform: uppercase; }
.section-index.light { color: rgba(255,255,255,.52); }
.problem-section { padding: 8rem var(--page-pad); color: white; background: var(--plum-dark); }
.problem-grid { display: grid; grid-template-columns: 1.5fr .65fr; gap: 8vw; align-items: end; }
.display-heading { margin: 0; font-size: clamp(2.7rem, 5.3vw, 6.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.065em; }
.problem-section .display-heading em { color: var(--coral); }
.problem-copy { padding-bottom: .5rem; }
.problem-copy > p:first-child { margin: 0; color: rgba(255,255,255,.68); font-size: 1.02rem; line-height: 1.8; }
.hand-note { position: relative; display: inline-block; margin: 2.5rem 0 0; color: var(--sun); font-family: var(--serif); font-size: 1.4rem; font-style: italic; line-height: 1.25; transform: rotate(-3deg); }
.hand-note::after { content: ""; position: absolute; right: -2.5rem; bottom: -1.5rem; width: 52px; height: 35px; border-right: 2px solid var(--sun); border-bottom: 2px solid var(--sun); border-radius: 0 0 100% 0; transform: rotate(20deg); }
.friction-strip { margin-top: 7rem; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.friction-item { position: relative; min-height: 320px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid rgba(255,255,255,.16); transition: background .35s, color .35s; }
.friction-item:first-child { border-left: 0; }
.friction-item > span { color: rgba(255,255,255,.4); font-family: var(--mono); font-size: .65rem; }
.friction-item svg { position: absolute; top: 3.5rem; right: 2.5rem; width: 58px; fill: none; stroke: var(--coral); stroke-width: 1.5; }
.friction-item h3 { margin: 0; max-width: 14rem; font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.25; letter-spacing: -.035em; }
.friction-item:hover, .friction-item.featured { color: var(--ink); background: var(--sun); }
.friction-item.featured svg, .friction-item:hover svg { stroke: var(--plum); }
.friction-item.featured > span, .friction-item:hover > span { color: var(--plum); }

.product-intro { padding: 9rem var(--page-pad) 5rem; }
.product-intro-copy { margin-left: clamp(0rem, 11vw, 11rem); }
.product-intro .eyebrow { color: var(--coral); }
.product-lead { max-width: 38rem; margin: 2.5rem 0 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.product-story { position: relative; padding: 2rem var(--page-pad) 10rem; display: grid; grid-template-columns: minmax(28rem, 1.2fr) minmax(20rem, .72fr); gap: clamp(3rem, 8vw, 9rem); }
.story-stage { position: sticky; top: 11vh; align-self: start; }
.app-shell { position: relative; overflow: hidden; min-height: 590px; border: 1px solid rgba(39,35,53,.1); border-radius: 1.5rem; background: #fcfbf7; box-shadow: 0 35px 80px rgba(60,40,53,.16); }
.app-topbar { height: 62px; padding: 0 1.1rem 0 1.35rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #e8e4de; background: rgba(255,255,255,.7); }
.app-logo { display: flex; align-items: center; gap: .45rem; font-size: .7rem; letter-spacing: -.03em; }
.app-logo i { width: 20px; height: 20px; border: 1px solid var(--plum); border-radius: 50%; }
.app-logo strong { color: var(--plum); }
.app-context { display: flex; align-items: center; gap: .4rem; color: var(--ink-soft); font-size: .58rem; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.app-user { justify-self: end; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: white; background: var(--plum); font-size: .58rem; font-weight: 700; }
.app-body { position: relative; min-height: 528px; padding-left: 64px; }
.app-sidebar { position: absolute; left: 0; top: 0; bottom: 0; width: 64px; padding-top: 1.4rem; display: flex; flex-direction: column; align-items: center; gap: 1.3rem; border-right: 1px solid #e8e4de; background: #f6f3ee; }
.app-sidebar i { width: 18px; height: 18px; border: 1px solid #b9b4bd; border-radius: 5px; }
.app-sidebar i.active { border-color: var(--plum); background: var(--plum); box-shadow: 0 0 0 5px rgba(95,33,77,.08); }
.demo-panel { position: absolute; inset: 0 0 0 64px; padding: 2.3rem; visibility: hidden; opacity: 0; transform: translateY(20px); }
.demo-panel.is-active { visibility: visible; opacity: 1; transform: translateY(0); }
.demo-heading-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.demo-overline { color: var(--ink-soft); font-family: var(--mono); font-size: .55rem; text-transform: uppercase; }
.demo-heading-row h3 { margin: .25rem 0 0; font-size: 1.35rem; letter-spacing: -.04em; }
.secure-chip { padding: .43rem .65rem; color: #366a5c; background: #e0f3ed; border-radius: 999px; font-size: .52rem; font-weight: 700; }
.secure-chip.coral { color: #863b2f; background: #fbe2dc; }
.secure-chip.mint { color: #3b5f56; }
.speech-input { margin-top: 2rem; padding: 1.2rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; border: 1px solid #e4d9df; border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(69,38,57,.06); }
.mic-button { width: 44px; height: 44px; display: grid; place-items: center; color: white; border: 0; border-radius: 50%; background: var(--coral); cursor: pointer; box-shadow: 0 0 0 7px rgba(239,118,94,.13); }
.mic-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.speech-input span { font-size: .68rem; font-weight: 700; }
.speech-input p { overflow: hidden; margin: .22rem 0 0; max-width: 310px; color: var(--ink-soft); font-size: .58rem; white-space: nowrap; text-overflow: ellipsis; }
.live-wave { height: 25px; display: flex; align-items: center; gap: 3px; }
.live-wave i { background: var(--coral); }
.report-preview { margin-top: 1.3rem; padding: 1.4rem; border-radius: 1rem; background: #f2eee8; }
.report-labels { display: flex; gap: .5rem; }
.report-labels span { padding: .38rem .6rem; color: var(--ink-soft); border-radius: .4rem; background: white; font-size: .51rem; }
.report-labels span:first-child { color: white; background: var(--plum); }
.report-lines { margin: 1.5rem 0; display: grid; gap: .65rem; }
.report-lines i { width: 100%; height: 7px; border-radius: 5px; background: #dbd5ce; }
.report-lines i:nth-child(2), .report-lines i:nth-child(5) { width: 84%; }
.report-lines i:nth-child(3) { width: 92%; }
.report-lines i:nth-child(6) { width: 68%; }
.report-success { padding-top: 1rem; color: #427065; border-top: 1px solid #ddd6ce; font-size: .57rem; font-weight: 700; }
.report-success span { margin-right: .4rem; }
.training-columns { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.training-columns article { min-width: 0; padding: 1rem; border: 1px solid #e7e1db; border-radius: .9rem; background: white; }
.patient-row { display: grid; grid-template-columns: auto 1fr auto; gap: .55rem; align-items: center; }
.patient-row > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #f4d4cc; font-size: .5rem; font-weight: 700; }
.training-columns article:nth-child(2) .patient-row > span { background: #d5ece5; }
.training-columns article:nth-child(3) .patient-row > span { background: #faeaa6; }
.patient-row div { display: grid; min-width: 0; }
.patient-row strong { overflow: hidden; font-size: .57rem; white-space: nowrap; text-overflow: ellipsis; }
.patient-row small { color: var(--ink-soft); font-size: .45rem; }
.patient-row b { color: var(--ink-soft); font-family: var(--mono); font-size: .48rem; }
.set-value { margin-top: 2rem; }
.set-value span { display: block; margin-bottom: .7rem; font-size: 1.2rem; font-weight: 600; letter-spacing: -.05em; }
.set-value button { width: 100%; padding: .55rem; color: var(--plum); border: 1px solid #e3d8df; border-radius: .45rem; background: #f9f2f6; font-size: .5rem; font-weight: 700; }
.set-progress { margin-top: 1.3rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.set-progress i { height: 4px; border-radius: 5px; background: #e6e0da; }
.set-progress i:first-child, .training-columns article:first-child .set-progress i:nth-child(2) { background: var(--coral); }
.set-progress.complete i { background: var(--mint); }
.patient-search { margin-top: 1.6rem; padding: .85rem 1rem; display: flex; align-items: center; gap: .7rem; color: var(--ink-soft); border: 1px solid #e4ded8; border-radius: .7rem; background: white; font-size: .58rem; }
.patient-search svg { width: 17px; fill: none; stroke: currentColor; }
.patient-search kbd { margin-left: auto; padding: .2rem .4rem; border: 1px solid #ded8d1; border-radius: .3rem; background: #f5f2ed; font-size: .48rem; }
.patient-detail { margin-top: 1rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: .8rem; }
.person-card, .timeline { padding: 1.2rem; border: 1px solid #e7e1db; border-radius: .8rem; background: white; }
.person-card { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .7rem; }
.person-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); font-size: .7rem; font-weight: 700; }
.person-card h4 { margin: .2rem 0 0; font-size: .72rem; }
.person-card p { margin: .2rem 0; color: var(--ink-soft); font-size: .48rem; }
.person-card button { margin-left: auto; align-self: flex-start; border: 0; background: none; color: var(--ink-soft); }
.timeline { display: grid; gap: 1rem; }
.timeline div { position: relative; padding-left: 1.2rem; display: grid; }
.timeline i { position: absolute; left: 0; top: .25rem; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(239,118,94,.1); }
.timeline div:nth-child(2) i { background: var(--mint); }
.timeline div:nth-child(3) i { background: var(--sun); }
.timeline span, .timeline small { color: var(--ink-soft); font-size: .45rem; }
.timeline strong { margin: .15rem 0; font-size: .57rem; }
.stage-caption { margin-top: 1.1rem; display: flex; align-items: center; gap: 1rem; color: var(--ink-soft); font-family: var(--mono); font-size: .58rem; }
.stage-caption span { display: grid; place-items: center; width: 30px; height: 30px; color: white; border-radius: 50%; background: var(--plum); }
.story-steps { padding-bottom: 10vh; }
.story-step { min-height: 84vh; padding: 10vh 0; display: grid; grid-template-columns: auto 1fr; gap: 1.7rem; align-content: center; opacity: .32; transition: opacity .35s; }
.story-step.is-active { opacity: 1; }
.story-number { margin-top: .35rem; color: var(--coral); font-family: var(--mono); font-size: .62rem; }
.story-kicker { margin: 0 0 1.5rem; color: var(--plum); font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.story-step h3 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.3rem); font-weight: 500; line-height: 1.05; letter-spacing: -.06em; }
.story-step > div > p:not(.story-kicker) { margin: 1.8rem 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.75; }
.story-step ul { margin: 0; padding: 0; list-style: none; }
.story-step li { position: relative; padding: .72rem 0 .72rem 1.5rem; border-top: 1px solid var(--line); font-size: .76rem; font-weight: 600; }
.story-step li::before { content: "↗"; position: absolute; left: 0; color: var(--coral); }

.difference-section { padding: 9rem var(--page-pad); color: white; background: var(--ink); }
.difference-heading { max-width: 73rem; }
.difference-heading .display-heading em { color: var(--mint); }
.comparison { margin-top: 6rem; border-top: 1px solid rgba(255,255,255,.18); }
.comparison-head, .comparison-row { display: grid; grid-template-columns: 1.4fr .8fr .8fr; }
.comparison-head > span, .comparison-row > * { padding: 1.35rem clamp(.7rem, 2vw, 2rem); border-right: 1px solid rgba(255,255,255,.14); }
.comparison-head > span:first-child, .comparison-row > *:first-child { padding-left: 0; }
.comparison-head { color: rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.18); font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.comparison-row { border-bottom: 1px solid rgba(255,255,255,.14); font-size: .76rem; }
.comparison-row strong { font-weight: 600; }
.comparison-row > span { color: rgba(255,255,255,.5); }
.comparison .pilot-column { color: white; background: rgba(128,205,181,.08); border-right: 0; }
.comparison-head .pilot-column { display: flex; align-items: center; gap: .5rem; color: var(--mint); }
.comparison-head svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.comparison-row i { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: .55rem; color: var(--ink); border-radius: 50%; background: var(--mint); font-style: normal; }
.comparison-note { margin: 1rem 0 0; color: rgba(255,255,255,.32); font-size: .6rem; }

.security-section { padding: 10rem var(--page-pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(4rem, 10vw, 10rem); align-items: center; }
.security-visual { position: relative; min-height: 490px; display: grid; place-items: center; border-radius: 50%; background: #e5ded5; }
.privacy-card { position: relative; z-index: 2; width: min(80%, 430px); padding: 1.6rem; border-radius: 1.2rem; background: var(--paper-bright); box-shadow: 0 28px 70px rgba(44,31,41,.16); transform: rotate(-3deg); }
.privacy-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: .65rem; font-weight: 700; }
.privacy-top i { padding: .3rem .5rem; color: #386a5d; border-radius: 999px; background: #dff2ec; font-family: var(--mono); font-size: .48rem; font-style: normal; }
.privacy-content { padding: 2rem 0; display: flex; align-items: center; gap: 1rem; }
.lock-mark { display: grid; place-items: center; width: 64px; height: 64px; color: var(--plum); border-radius: 50%; background: var(--sun); }
.lock-mark svg { width: 33px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.privacy-content strong { font-size: .9rem; }
.privacy-content p { margin: .25rem 0; color: var(--ink-soft); font-size: .6rem; }
.privacy-path { display: flex; align-items: center; gap: .4rem; color: var(--ink-soft); font-family: var(--mono); font-size: .45rem; text-transform: uppercase; }
.privacy-path i { flex: 1; height: 1px; background: var(--mint); }
.privacy-stamp { position: absolute; z-index: 3; right: 3%; bottom: 5%; width: 100px; height: 100px; display: grid; place-items: center; color: white; border: 1px dashed white; border-radius: 50%; background: var(--coral); font-family: var(--serif); font-size: 1rem; font-style: italic; line-height: 1.05; text-align: center; transform: rotate(12deg); }
.security-copy .eyebrow { color: var(--coral); }
.security-copy > p:not(.eyebrow) { max-width: 34rem; margin: 2.2rem 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.8; }
.security-points { display: grid; }
.security-points span { padding: 1rem 0; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 700; }
.security-points i { display: inline-block; width: 2.6rem; color: var(--coral); font-family: var(--mono); font-size: .55rem; font-style: normal; }

.testimonial-section { position: relative; overflow: hidden; padding: 8rem var(--page-pad); color: var(--ink); background: var(--sun); }
.quote-mark { position: absolute; right: 3vw; top: -8rem; color: rgba(95,33,77,.12); font-family: var(--serif); font-size: 34rem; line-height: 1; }
.testimonial-section blockquote { position: relative; z-index: 2; max-width: 76rem; margin: 0 auto; }
.testimonial-section blockquote p { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6.4vw, 7.2rem); font-style: italic; line-height: .98; letter-spacing: -.045em; }
.testimonial-section footer { margin-top: 3rem; display: flex; align-items: center; gap: 1rem; font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.testimonial-section footer i { width: 38px; height: 1px; background: var(--plum); }

.faq-section { padding: 9rem var(--page-pad); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(4rem, 10vw, 10rem); }
.faq-heading { align-self: start; position: sticky; top: 7rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.7rem 3rem 1.7rem 0; cursor: pointer; list-style: none; font-size: 1rem; font-weight: 650; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; right: .5rem; top: 50%; width: 14px; height: 1px; background: var(--ink); transition: transform .25s; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { margin: -.3rem 0 1.8rem; max-width: 44rem; color: var(--ink-soft); font-size: .87rem; line-height: 1.75; }

.cta-section { position: relative; overflow: hidden; min-height: 750px; padding: 9rem var(--page-pad); display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; background: var(--plum); text-align: center; }
.cta-section .eyebrow { position: relative; z-index: 2; }
.cta-section h2 { position: relative; z-index: 2; margin: 0; font-size: clamp(3rem, 6.5vw, 7.4rem); font-weight: 500; line-height: .98; letter-spacing: -.07em; }
.cta-section h2 em { color: var(--sun); font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; }
.cta-copy { position: relative; z-index: 2; max-width: 37rem; margin: 2rem 0; color: rgba(255,255,255,.68); font-size: .95rem; line-height: 1.7; }
.button-sun { position: relative; z-index: 2; color: var(--ink); background: var(--sun); box-shadow: 0 18px 40px rgba(0,0,0,.17); }
.cta-note { position: relative; z-index: 2; margin-top: 1.5rem; display: flex; gap: .7rem; color: rgba(255,255,255,.5); font-size: .65rem; }
.cta-note a { color: white; text-underline-offset: 3px; }
.cta-orbit { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.orbit-a { width: 780px; height: 780px; }
.orbit-b { width: 1050px; height: 1050px; border-style: dashed; animation: rotate 35s linear infinite reverse; }

.site-footer { padding: 5rem var(--page-pad) 2rem; color: white; background: #1d1927; }
.footer-top { padding-bottom: 4rem; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-mark { stroke: var(--mint); }
.footer-brand strong { color: var(--mint); }
.footer-top p { margin: .3rem 0 0; color: rgba(255,255,255,.5); font-size: .72rem; line-height: 1.7; }
.footer-top nav { justify-self: end; display: grid; grid-template-columns: repeat(2, auto); gap: .7rem 2.5rem; }
.footer-top nav a, .footer-bottom a { color: rgba(255,255,255,.66); font-size: .67rem; text-decoration: none; }
.footer-top nav a:hover, .footer-bottom a:hover { color: white; }
.footer-bottom { padding-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr 1fr; color: rgba(255,255,255,.32); font-family: var(--mono); font-size: .5rem; }
.footer-bottom div { justify-self: center; display: flex; gap: 1.2rem; }
.footer-bottom > span:last-child { justify-self: end; }

.reveal-up, .reveal-scale { will-change: transform, opacity; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(3.4rem, 7vw, 5.3rem); }
  .hero-visual { min-height: 28rem; }
  .product-story { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .app-shell { min-height: 530px; }
  .app-body { min-height: 468px; }
  .training-columns { grid-template-columns: 1fr; }
  .training-columns article { padding: .75rem; }
  .set-value { margin-top: .7rem; display: flex; align-items: center; justify-content: space-between; }
  .set-value span { margin: 0; font-size: .9rem; }
  .set-value button { width: auto; }
  .set-progress { margin-top: .7rem; }
}

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { padding-top: 8rem; grid-template-columns: 1fr; }
  .hero-copy { max-width: 42rem; }
  .hero-title { font-size: clamp(3.4rem, 12.5vw, 6rem); }
  .hero-visual { width: min(100%, 620px); min-height: 32rem; margin: -2rem auto 0; }
  .scroll-cue { display: none; }
  .problem-grid { grid-template-columns: 1fr; gap: 3rem; }
  .problem-copy { max-width: 35rem; }
  .friction-item { min-height: 260px; }
  .product-intro-copy { margin-left: 0; }
  .product-story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-stage, .story-steps { grid-column: 1; grid-row: 1; }
  .story-stage { z-index: 4; top: 5.5rem; }
  .app-shell { min-height: 460px; }
  .app-body { min-height: 398px; }
  .demo-panel { padding: 1.5rem; }
  .story-steps { padding-top: 34rem; }
  .story-step { min-height: 100vh; max-width: 36rem; margin-left: auto; padding: 9rem 0 4rem; align-content: end; }
  .security-section { grid-template-columns: 1fr; }
  .security-visual { min-height: 450px; order: 2; }
  .faq-section { grid-template-columns: 1fr; }
  .faq-heading { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-top nav { grid-column: 2; grid-row: 1 / span 2; }
  .footer-bottom { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-bottom > span:last-child { display: none; }
  .footer-bottom div { justify-self: end; }
}

@media (max-width: 600px) {
  :root { --page-pad: 1.15rem; }
  .site-header { height: 68px; }
  .nav-cta { padding: .65rem .85rem; }
  .nav-cta span { display: none; }
  .hero { min-height: auto; padding-top: 7rem; }
  .hero-title { font-size: clamp(3.25rem, 17vw, 5rem); }
  .title-line-small { font-size: .45em; }
  .hero-lead { font-size: .94rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .trust-line { display: grid; }
  .hero-visual { min-height: 26rem; margin-top: 0; }
  .note-card { top: 8%; left: 0; width: 49%; }
  .done-card { top: 18%; right: -1%; }
  .done-card div span { display: none; }
  .patients-card { left: 2%; bottom: 5%; }
  .section-index { margin-bottom: 2.5rem; }
  .problem-section, .product-intro, .difference-section, .security-section, .faq-section { padding-top: 6rem; padding-bottom: 6rem; }
  .display-heading { font-size: clamp(2.55rem, 13vw, 4rem); }
  .friction-strip { grid-template-columns: 1fr; }
  .friction-item { min-height: 190px; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .friction-item:first-child { border-top: 0; }
  .friction-item svg { top: 2rem; }
  .product-story { padding-left: 0; padding-right: 0; }
  .story-stage { top: 4.5rem; }
  .app-shell { min-height: 275px; border-radius: 0; }
  .app-topbar { height: 52px; }
  .app-body { min-height: 223px; padding-left: 44px; }
  .app-sidebar { width: 44px; }
  .demo-panel { left: 44px; padding: 1rem; }
  .demo-heading-row h3 { font-size: 1rem; }
  .secure-chip { display: none; }
  .speech-input { grid-template-columns: auto 1fr; padding: .8rem; }
  .live-wave { display: none; }
  .report-preview { padding: 1rem; }
  .report-lines { margin: 1rem 0; }
  .training-columns { margin-top: 1rem; gap: .4rem; }
  .training-columns article { display: grid; grid-template-columns: 1fr .7fr; }
  .set-value { margin: 0; }
  .set-progress { grid-column: 1 / -1; }
  .patient-detail { grid-template-columns: 1fr; }
  .person-card { padding: .8rem; }
  .timeline { padding: .8rem; gap: .5rem; }
  .timeline div:nth-child(3) { display: none; }
  .stage-caption { padding: 0 1rem; }
  .story-steps { padding: 30rem 1.15rem 0; }
  .story-step { min-height: 100vh; padding: 8rem 0 4rem; }
  .comparison { overflow-x: auto; margin-right: calc(var(--page-pad) * -1); padding-right: var(--page-pad); }
  .comparison-head, .comparison-row { min-width: 690px; }
  .security-visual { min-height: 350px; }
  .privacy-card { width: 88%; }
  .privacy-stamp { width: 80px; height: 80px; right: 0; }
  .testimonial-section { padding-top: 6rem; padding-bottom: 6rem; }
  .testimonial-section blockquote p { font-size: 3.2rem; }
  .cta-section { min-height: 650px; }
  .cta-note { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top nav { grid-column: auto; grid-row: auto; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal-up, .reveal-scale { opacity: 1 !important; transform: none !important; }
}
