
body{margin:0;background:#0B0D12}
a{color:#C9B9F0;text-decoration:none}a:hover{color:#ffffff}
.hq *{box-sizing:border-box}
.hq button{font-family:inherit;cursor:pointer}
.hq button:focus-visible,.hq a:focus-visible{outline:2px solid #9B82D4;outline-offset:3px}
.serif{font-family:'Instrument Serif',Georgia,serif;font-weight:400;letter-spacing:-0.015em}
.mono{font-family:'IBM Plex Mono',ui-monospace,monospace}
.glass{background:rgba(11,13,18,.5);-webkit-backdrop-filter:blur(20px) saturate(150%);backdrop-filter:blur(20px) saturate(150%);border:1px solid rgba(255,255,255,.16);box-shadow:0 30px 80px -24px rgba(8,4,24,.7),inset 0 1px 0 rgba(255,255,255,.12)}
.glass-light{background:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);border:1px solid rgba(255,255,255,.8);box-shadow:0 30px 70px -26px rgba(30,18,64,.55)}
.btn-primary{transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.btn-primary:hover{transform:translateY(-1px);background:#AE98E0;box-shadow:0 14px 40px -10px rgba(155,130,212,.75);color:#0B0D12}
.btn-ghost{transition:background .25s ease,border-color .25s ease}
.btn-ghost:hover{background:rgba(255,255,255,.14);color:#fff}
.press{transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease}
.press:hover{transform:translateY(-2px)}
.press:active{transform:scale(.97)}
.navlink{color:rgba(255,255,255,.8);transition:color .2s ease}
.navlink:hover{color:#fff}
.rail{scrollbar-width:none;scroll-snap-type:x mandatory}
.rail::-webkit-scrollbar{display:none}
@media (max-width:900px){.hide-sm{display:none !important}}

@keyframes portal{0%{clip-path:inset(16% 24% 16% 24% round 48px);transform:scale(1.12)}100%{clip-path:inset(0 0 0 0 round 0);transform:scale(1)}}
.portal{animation:portal 1.6s cubic-bezier(.7,0,.2,1) both}
@keyframes rise{from{opacity:0;transform:translateY(18px);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
.rise{animation:rise .7s cubic-bezier(.2,.7,.2,1) both}
.d1{animation-delay:.5s}.d2{animation-delay:.7s}.d3{animation-delay:.9s}.d4{animation-delay:1.1s}
.s1{animation-delay:.08s}.s2{animation-delay:.2s}.s3{animation-delay:.34s}.s4{animation-delay:.5s}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.floaty{animation:floaty 7s ease-in-out infinite}
@keyframes wave{0%,100%{transform:scaleY(.2)}50%{transform:scaleY(1)}}
.bar{transform-origin:center;animation:wave 1s ease-in-out infinite}
.paused .bar{animation-play-state:paused;opacity:.45}
@keyframes ring{0%{box-shadow:0 0 0 0 rgba(155,130,212,.6)}100%{box-shadow:0 0 0 26px rgba(155,130,212,0)}}
.ring{animation:ring 1.8s ease-out infinite}
@keyframes dotpulse{0%{box-shadow:0 0 0 0 rgba(118,196,161,.6)}100%{box-shadow:0 0 0 10px rgba(118,196,161,0)}}
.dotpulse{animation:dotpulse 1.6s ease-out infinite}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.marquee{animation:marquee 40s linear infinite}
@keyframes prog{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.prog{transform-origin:left;animation:prog 5s linear both}
@keyframes shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
.shimmer{background-image:linear-gradient(90deg,rgba(91,65,185,0) 25%,rgba(91,65,185,.3) 50%,rgba(91,65,185,0) 75%);background-size:200% 100%;animation:shimmer 1.3s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.spin{animation:spin 2.4s linear infinite}
@supports (animation-timeline: view()){
  .reveal{animation:rise linear both;animation-timeline:view();animation-range:entry 0% cover 26%}
}
@media (prefers-reduced-motion:reduce){
  .portal,.rise,.floaty,.bar,.ring,.dotpulse,.marquee,.prog,.shimmer,.spin,.reveal{animation:none !important}
}
.navitem{color:rgba(255,255,255,.84);padding:0 14px;min-height:44px;display:inline-flex;align-items:center;border-radius:12px;transition:background .2s ease,color .2s ease}
.navitem:hover{background:rgba(255,255,255,.1);color:#fff}
.megaitem{transition:background .2s ease}
.megaitem:hover{background:rgba(255,255,255,.08);color:#fff}
.show-sm{display:none}
@media (max-width:900px){.show-sm{display:grid !important}}
.flabel{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;margin-bottom:10px}
.fld{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:rgba(255,255,255,.8)}
.fld input{font:inherit;font-size:16px;font-weight:500;min-height:54px;padding:0 16px;border-radius:14px;border:1px solid rgba(255,255,255,.22);background:#0B0D12;color:#fff;outline:none;width:100%;transition:border-color .2s ease,box-shadow .2s ease}
.fld input::placeholder{color:rgba(255,255,255,.45)}
.fld input:focus{border-color:#9B82D4;box-shadow:0 0 0 4px rgba(155,130,212,.25)}
.fhead{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.wrap{max-width:1280px;margin:0 auto}
.sec{padding:110px clamp(20px,4vw,48px)}
.h2{margin:0;font-size:clamp(40px,5vw,68px);line-height:1}
.ivory{background:#F7F3EE;color:#212131}
.tile{background:#12151C;border:1px solid #1C2130;border-radius:22px;padding:24px}
.ico{width:48px;height:48px;border-radius:14px;background:rgba(201,185,240,.12);color:#C9B9F0;display:grid;place-items:center;flex:none}
.ico-l{width:48px;height:48px;border-radius:14px;background:rgba(91,65,185,.1);color:#5B41B9;display:grid;place-items:center;flex:none}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;font-size:12px;font-weight:700;background:rgba(201,185,240,.14);color:#C9B9F0;border:1px solid rgba(201,185,240,.25)}
@keyframes evcycle{0%,30%{opacity:1;transform:translateX(0) scale(1);border-color:rgba(201,185,240,.7)}36%,100%{opacity:.5;transform:translateX(22px) scale(.95);border-color:rgba(255,255,255,.16)}}
.ev{animation:evcycle 9s cubic-bezier(.6,0,.3,1) infinite both}
.ev2{animation-delay:-6s}.ev3{animation-delay:-3s}
@keyframes readbar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.readbar{transform:scaleX(0);transform-origin:left}
@supports (animation-timeline: scroll()){.readbar{animation:readbar linear both;animation-timeline:scroll(root)}}
.prose p{margin:0 0 16px;line-height:1.7;color:rgba(33,33,49,.86);font-size:17px}
.prose h2{margin:44px 0 14px;font-size:28px;letter-spacing:-0.02em;line-height:1.15;scroll-margin-top:110px}
.prose li{margin:0 0 8px;line-height:1.6;color:rgba(33,33,49,.86);font-size:17px}
@media (prefers-reduced-motion:reduce){.ev,.readbar{animation:none !important}}
@keyframes ovlin{from{opacity:0}to{opacity:1}}
.ovl{animation:ovlin .3s ease both}
@keyframes pop{from{opacity:0;transform:translateY(28px) scale(.96)}to{opacity:1;transform:none}}
.modal{animation:pop .5s cubic-bezier(.2,.8,.2,1) both}
@media (prefers-reduced-motion:reduce){.ovl,.modal{animation:none !important}}
@keyframes tdot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.tdot{animation:tdot 1.1s infinite}
@media (prefers-reduced-motion:reduce){.tdot{animation:none !important}}
.modal .fld input{min-height:48px}
.modal .flabel{margin-bottom:8px;font-size:14px}
.stick{position:sticky;top:100px;align-self:flex-start;max-height:calc(100vh - 120px);overflow:auto}
@media (max-width:900px){.stick{position:static;max-height:none}}
@keyframes bub{0%{max-height:0;margin-top:0;padding-top:0;padding-bottom:0;opacity:0;transform:translateY(10px) scale(.98)}45%{opacity:0}100%{max-height:120px;opacity:1;transform:none}}
.bub{overflow:hidden;transform-origin:left bottom;animation:bub 1.4s cubic-bezier(.22,.8,.24,1) both}
@media (prefers-reduced-motion:reduce){.bub{animation:none !important}}
@keyframes dashflow{to{stroke-dashoffset:-18}}
.flowln{animation:dashflow 1.1s linear infinite}
@media (prefers-reduced-motion:reduce){.flowln{animation:none !important}}
@keyframes bob{0%,100%{translate:0 0}50%{translate:6px -4px}}
.bob{animation:bob 6s ease-in-out infinite}
@keyframes spinslow{to{rotate:360deg}}
.spinslow{animation:spinslow 140s linear infinite}
@media (prefers-reduced-motion:reduce){.bob,.spinslow{animation:none !important}}
@keyframes opn{from{max-height:0;opacity:0;padding-top:0;padding-bottom:0}to{max-height:260px;opacity:1}}
.opn{overflow:hidden;animation:opn .7s cubic-bezier(.22,.8,.24,1) both}
/* Keep animation running inside reserved stages, without moving the page below. */
@media (max-width:900px){
  .demo-chat-stage{min-height:540px !important}
  .demo-recorder-stage{min-height:460px !important}
  .demo-note-stage{min-height:1040px}
  .demo-assistant-stage{min-height:500px !important}
  .demo-routine-card{min-height:360px}
}
@media (max-width:380px){
  .demo-chat-stage{min-height:600px !important}
  .demo-note-stage{min-height:1280px}
  .demo-assistant-stage{min-height:620px !important}
  .demo-routine-card{min-height:400px}
}
@media (prefers-reduced-motion:reduce){.opn{animation:none !important}}
@keyframes gdrift{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-2.5%,2%) scale(1.06)}}
.gdrift{animation:gdrift 26s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.gdrift{animation:none !important}}

.grano{position:absolute;inset:0;pointer-events:none;background-image:url(/assets/marketing/grano-1024-1297978614fc.webp);background-repeat:repeat;background-size:1024px 1024px;mix-blend-mode:overlay;opacity:.6}
@media (min-resolution:2dppx){.grano{background-size:512px 512px}}

@keyframes hvcycle{0%,14%{opacity:1;transform:scale(1);border-color:rgba(201,185,240,.75);background-color:rgba(91,65,185,.42)}19%,95%{opacity:.72;transform:scale(.97);border-color:rgba(255,255,255,.16);background-color:rgba(11,13,18,.5)}100%{opacity:1;transform:scale(1);border-color:rgba(201,185,240,.75);background-color:rgba(91,65,185,.42)}}
.hv{animation:hvcycle 15s cubic-bezier(.6,0,.3,1) infinite both}
@media (prefers-reduced-motion:reduce){.hv{animation:none !important}}

.cstage img{-webkit-user-drag:none;user-select:none}
.cstage:active{cursor:grabbing}

.h1fit{font-size:clamp(38px,9.5vw,56px)}
@media (min-width:760px){.h1fit{font-size:min(4.8vw,76px)}.h1fit .ln{white-space:nowrap}}

.cc{position:absolute;left:50%;top:34px;width:min(300px,62vw);aspect-ratio:1/1.35;margin-left:calc(min(300px,62vw) / -2);border-radius:28px;transform-origin:50% calc(min(300px,62vw) * 4.675);will-change:transform;transition:opacity .4s}

/* Opt-in marketing titles: mobile-only wrap correction, without touching clinical demos. */
@media (max-width:600px){
  .mobile-title{
    max-width:100% !important;
    text-wrap:balance;
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:manual;
  }
  .mobile-title--hero{
    font-size:clamp(34px,9.2vw,42px) !important;
    line-height:1.06 !important;
  }
  .mobile-title--section{
    font-size:clamp(30px,8.6vw,38px) !important;
    line-height:1.08 !important;
  }
  .mobile-title--article{
    font-size:clamp(29px,8vw,35px) !important;
    line-height:1.1 !important;
  }
  .mobile-title-phrase{
    display:inline-block;
    max-width:100%;
    text-wrap:balance;
  }
}
