body{margin:0}
a{color:#1652d8}a:hover{color:#0f43b8}
.pg{font-family:'DM Sans',system-ui,sans-serif;color:#0d1b46;background:#ffffff}
.pg h1,.pg h2,.pg h3,.pg h4{font-family:Poppins,system-ui,sans-serif;margin:0;text-wrap:balance}
.pg p{margin:0}
.wrap{max-width:1240px;margin:0 auto;padding-inline:24px;box-sizing:border-box}
.eb{font-family:'DM Sans',system-ui,sans-serif;font-size:12px;line-height:16px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#1652d8}
.ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
.btn{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 26px;border-radius:999px;font:600 16px/1 Poppins,system-ui,sans-serif;text-decoration:none;box-sizing:border-box;border:1.5px solid transparent;transition:background .15s,border-color .15s}
.btn-p{background:#1652d8;color:#ffffff}.btn-p:hover{background:#0f43b8;color:#ffffff}
.btn-o{background:#c4521a;color:#ffffff}.btn-o:hover{background:#a8440f;color:#ffffff}
.btn-l{background:#ffffff;color:#1652d8;border-color:#cfdaf3}.btn-l:hover{border-color:#1652d8;color:#1652d8}
.btn:focus-visible,.lnk:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:none;box-shadow:0 0 0 3px #7ea3ff}
.lnk{font-weight:500;font-size:15px;text-decoration:none;display:inline-flex;gap:6px;align-items:center}
.ph{background:#dfe7f6;color:#4f5b78;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;font-size:13px;line-height:18px;padding:12px;box-sizing:border-box}
.card{background:#ffffff;border:1px solid #e2e8f5;border-radius:20px;overflow:hidden;display:flex;flex-direction:column}
.fld{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500;color:#0d1b46;min-width:0}
.fld input,.fld select,.fld textarea{font:400 16px 'DM Sans',system-ui,sans-serif;color:#0d1b46;border:1px solid #cfd8ea;border-radius:8px;padding:12px 14px;background:#ffffff;min-height:48px;box-sizing:border-box;width:100%}

/* ---------- Motion: calm, slow, one ease everywhere ---------- */
:root{--ease:cubic-bezier(.2,.8,.2,1)}
html{scroll-behavior:smooth}
@keyframes ldUp{from{opacity:0;translate:0 28px}to{opacity:1;translate:0 0}}
@keyframes heroPh{from{opacity:0;scale:.94}to{opacity:1;scale:1}}
@keyframes chatIn{from{opacity:0;translate:40px 24px}to{opacity:1;translate:0 0}}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes bubIn{from{opacity:0;translate:0 12px;scale:.96}to{opacity:1;translate:0 0;scale:1}}
@keyframes ring{0%{box-shadow:0 0 0 0 rgba(22,82,216,.35)}70%,100%{box-shadow:0 0 0 14px rgba(22,82,216,0)}}
@keyframes bar{0%,100%{scale:1 1}50%{scale:1 .6}}
@keyframes drift{0%,100%{transform:translate(0,0)}50%{transform:translate(22px,-16px)}}

/* hero load sequence */
.ld{animation:ldUp .9s var(--ease) both;animation-delay:calc(var(--i,0) * 110ms + 120ms)}
.hero-ph{animation:heroPh 1.2s var(--ease) .2s both}
.chat{animation:chatIn 1s var(--ease) .55s both,bob 7s ease-in-out 1.8s infinite}
.bub{animation:bubIn .55s var(--ease) both;animation-delay:calc(var(--i,0) * 500ms + 1100ms)}
.mic{animation:ring 2.6s ease-out 3.2s infinite}
.pulse-bars rect{transform-box:fill-box;transform-origin:center;animation:bar 1.6s ease-in-out infinite}
.pulse-bars rect:nth-child(2){animation-delay:.08s}
.pulse-bars rect:nth-child(3){animation-delay:.16s}
.pulse-bars rect:nth-child(4){animation-delay:.24s}
.pulse-bars rect:nth-child(5){animation-delay:.32s}
.blob{border-radius:50%;width:100%;height:100%;animation:drift 16s ease-in-out infinite}

/* live MIDAS demo */
@keyframes dot{0%,80%,100%{opacity:.25;translate:0 0}40%{opacity:1;translate:0 -3px}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes popIn{from{opacity:0;translate:0 16px;scale:.97}to{opacity:1;translate:0 0;scale:1}}
.msg{animation:bubIn .45s var(--ease) both}
.dots{display:inline-flex;gap:5px;align-items:center;height:24px}
.dots i{width:7px;height:7px;border-radius:50%;background:#4f5b78;animation:dot 1.2s ease-in-out infinite}
.dots i:nth-child(2){animation-delay:.15s}
.dots i:nth-child(3){animation-delay:.3s}
.ask-chip{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;min-height:52px;padding:12px 18px;border-radius:14px;border:1px solid #d7e1f4;background:#ffffff;color:#0d1b46;font:500 16px/22px 'DM Sans',system-ui,sans-serif;cursor:pointer;transition:border-color .2s var(--ease),transform .3s var(--ease),box-shadow .3s var(--ease)}
.ask-chip:hover{border-color:#1652d8;transform:translateX(4px);box-shadow:0 8px 20px rgba(13,27,70,.08)}
.ask-chip:disabled{opacity:.55;cursor:default;transform:none}
.ask-chip .ico{color:#1652d8}
.sugg{scrollbar-width:thin}
.sugg-pill{flex:none;white-space:nowrap;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid #d7e1f4;background:#f4f7fd;color:#0d1b46;font:500 14px/20px 'DM Sans',system-ui,sans-serif;cursor:pointer;transition:border-color .2s var(--ease),background .2s var(--ease)}
.sugg-pill:hover{border-color:#1652d8;background:#e8effd}
.sugg-pill:disabled{opacity:.55;cursor:default}
.modal-bg{animation:fadeIn .25s ease both}
.modal-card{animation:popIn .4s var(--ease) both}
button.btn{cursor:pointer}

/* hover micro-interactions */
.btn .ico{transition:transform .2s var(--ease)}
.btn:hover .ico{transform:translateX(4px)}
.lnk .ico{transition:transform .2s var(--ease)}
.lnk:hover .ico{transform:translateX(3px)}
.card,[style*="auto-fit"] > *,[style*="auto-fit"] > sc-for > *{transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
.card:hover,[style*="auto-fit"] > *:hover,[style*="auto-fit"] > sc-for > *:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(13,27,70,.10)}

/* scroll progress */
.prog{position:fixed;top:0;left:0;right:0;height:3px;background:#1652d8;transform-origin:0 50%;scale:0 1;z-index:60;pointer-events:none}

/* scroll-driven parallax and reveals; browsers without support simply show everything */
@supports (animation-timeline: view()){
  @keyframes plx{from{translate:0 calc(var(--d,40px) * -1)}to{translate:0 var(--d,40px)}}
  @keyframes rv{from{opacity:0;translate:0 48px}to{opacity:1;translate:0 0}}
  @keyframes phz{from{scale:1.14;translate:0 -14px}to{scale:1.14;translate:0 14px}}
  @keyframes hdr{to{box-shadow:0 8px 24px rgba(13,27,70,.08)}}
  @keyframes prog{from{scale:0 1}to{scale:1 1}}
  .plx{animation:plx linear both;animation-timeline:view();animation-range:cover}
  section:not(#top) .wrap > *:not([style*="auto-fit"]),
  [style*="auto-fit"] > *,[style*="auto-fit"] > sc-for > *{animation:rv linear both;animation-timeline:view();animation-range:entry 0% cover 28%}
  [style*="auto-fit"] > :nth-child(2),[style*="auto-fit"] > sc-for > :nth-child(2){animation-range:entry 5% cover 32%}
  [style*="auto-fit"] > :nth-child(3),[style*="auto-fit"] > sc-for > :nth-child(3){animation-range:entry 10% cover 36%}
  [style*="auto-fit"] > :nth-child(4),[style*="auto-fit"] > sc-for > :nth-child(4){animation-range:entry 15% cover 40%}
  [style*="auto-fit"] > :nth-child(5),[style*="auto-fit"] > sc-for > :nth-child(5){animation-range:entry 20% cover 44%}
  [style*="auto-fit"] > :nth-child(6),[style*="auto-fit"] > sc-for > :nth-child(6){animation-range:entry 25% cover 48%}
  .card .ph,.card .ph-img,#how .ph,#how .ph-img{animation:phz linear both;animation-timeline:view();animation-range:cover}
  header{animation:hdr linear both;animation-timeline:scroll(root);animation-range:0 160px}
  .prog{animation:prog linear both;animation-timeline:scroll(root)}
}

/* second opinion: sticky scroll story, steps light up one after another */
.op-steps{list-style:none;margin:0;padding:0;position:relative;display:flex;flex-direction:column;gap:10px}
.op-rail{position:absolute;left:39px;top:44px;bottom:44px;width:3px;border-radius:3px;background:#f1e2d7}
.op-fill{position:absolute;inset:0;border-radius:3px;background:#c4521a;transform-origin:50% 0}
.op-step{position:relative;display:flex;gap:18px;align-items:flex-start;padding:12px 16px;border-radius:18px;background:#ffffff;border:1px solid #f1e2d7;box-shadow:0 10px 28px rgba(196,82,26,.10)}
.op-dot{position:relative;width:48px;height:48px;border-radius:50%;flex:none;display:grid;place-items:center;background:#1652d8;color:#ffffff;box-shadow:0 0 0 6px #fdf6f1}
.op-txt{display:flex;flex-direction:column;gap:4px;min-width:0;padding-top:2px}
@media (min-width: 900px) and (min-height: 820px){ @supports (animation-timeline: view()){
  @keyframes opCard{from{background:rgba(255,255,255,0);border-color:rgba(241,226,215,0);box-shadow:0 0 0 rgba(0,0,0,0);opacity:.42;translate:0 0}to{opacity:1;translate:6px 0}}
  @keyframes opDot{from{background:#f3e7de;color:#b59a8a;scale:.86}to{background:#1652d8;color:#ffffff;scale:1}}
  @keyframes opFill{from{scale:1 0}to{scale:1 1}}
  .op-sec{height:300vh;view-timeline:--op block}
  .op-stick{position:sticky;top:80px;min-height:calc(100vh - 80px);display:flex;align-items:center}
  .op-stick > .wrap{width:100%;padding-block:40px!important}
  .op-step{animation:opCard ease-out both;animation-timeline:--op;animation-range:contain var(--a) contain var(--b)}
  .op-dot{animation:opDot ease-out both;animation-timeline:--op;animation-range:contain var(--a) contain var(--b)}
  .op-fill{animation:opFill linear both;animation-timeline:--op;animation-range:contain 3% contain 50%}
}}

/* specialties: track slides sideways once the four steps are lit */
.sp-box{background:#ffffff;border:1px solid #f1e2d7;border-radius:20px;padding:18px 16px 16px}
.sp-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sp-card{border-radius:16px;padding:14px;min-width:0}
.sp-now{grid-column:1/-1;display:flex;gap:14px;align-items:center;background:#fdeee6}
.sp-soon{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;row-gap:4px;align-items:center;background:#f7f9fd;border:1px dashed #cfd8ea}
.sp-soon .sp-ico{grid-row:1 / 3}
.sp-soon h3{font-size:16px!important;line-height:22px!important}
.sp-soon p{display:none}
.sp-ico{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#e8effd;color:#1652d8}
.sp-ribbon{width:56px;height:56px;flex:none;background:#ffffff;color:#c4521a}
.sp-ribbon .ico{width:28px;height:28px}
.sp-chip{justify-self:start;align-self:flex-start;font-size:12px;line-height:16px;font-weight:500;color:#c4521a;background:#fdeee6;border-radius:999px;padding:3px 10px}
@media (min-width: 900px) and (min-height: 820px){ @supports (animation-timeline: view()){
  @keyframes spIn{from{opacity:.35;scale:.94}to{opacity:1;scale:1}}
  .sp-soon{animation:spIn ease-out both;animation-timeline:--op;animation-range:contain calc(50% + var(--k) * 9%) contain calc(56% + var(--k) * 9%)}
  .op-sec{height:340vh!important}
  .op-feats{display:none!important}
  .sp-soon{padding:10px 12px}
  .op-stick > .wrap{padding-block:24px!important}
}}

/* phones and browsers without scroll timelines: steps light up as they reach the middle of the screen (script adds .io and .on) */
.io .op-step{transition:opacity .6s var(--ease),background-color .6s var(--ease),border-color .6s var(--ease),box-shadow .6s var(--ease),translate .6s var(--ease);opacity:.42;background-color:rgba(255,255,255,0);border-color:rgba(241,226,215,0);box-shadow:none}
.io .op-step.on{opacity:1;background-color:#ffffff;border-color:#f1e2d7;box-shadow:0 10px 28px rgba(196,82,26,.10);translate:4px 0}
.io .op-dot{transition:background-color .6s var(--ease),color .6s var(--ease),scale .6s var(--ease);background:#f3e7de;color:#b59a8a;scale:.86}
.io .op-step.on .op-dot{background:#1652d8;color:#ffffff;scale:1}
.io .op-fill{transition:scale .7s var(--ease);scale:1 var(--p,0)}
.io .sp-soon{transition:opacity .5s var(--ease),scale .5s var(--ease);opacity:.45;scale:.95}
.io .sp-soon.on{opacity:1;scale:1}
@media (max-width: 899px){
  .sp-ribbon{width:48px;height:48px}
  .op-step{padding:12px}
  .op-rail{left:35px}
}

@media (max-width: 480px){
  .sp-soon{grid-template-columns:1fr;row-gap:8px}
  .sp-soon .sp-ico{grid-row:auto}
  .sp-now{align-items:flex-start}
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
  .op-sec{height:auto!important}
  .op-stick{position:static!important;min-height:0!important}
}

/* ===== Static-site additions: menu, popup, toast, fallbacks and phone layout ===== */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px;-webkit-text-size-adjust:100%}
body{background:#ffffff;overflow-x:hidden}
img{max-width:100%}
[hidden]{display:none!important}
body.modal-open{overflow:hidden}
:focus-visible{outline:3px solid #3a6ff2;outline-offset:2px}

/* phone menu button (hidden on wide screens) */
.menu-btn{display:none;width:44px;height:44px;border:0;border-radius:12px;background:#f4f7fd;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0}
.menu-btn span{display:block;width:20px;height:2px;border-radius:2px;background:#0d1b46;transition:transform .3s var(--ease,ease),opacity .2s}
body.menu-open .menu-btn span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.menu-open .menu-btn span:nth-child(2){opacity:0}
body.menu-open .menu-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* form feedback */
#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:120;max-width:min(92vw,520px);background:#0d1b46;color:#ffffff;border-radius:14px;padding:14px 18px;font:500 15px/22px 'DM Sans',system-ui,sans-serif;box-shadow:0 18px 40px rgba(13,27,70,.25)}
#toast.bad{background:#8a2d0c}
button:disabled{cursor:default}

/* reveal fallback for browsers without CSS scroll timelines */
.js-rv{opacity:0;translate:0 32px;transition:opacity .8s cubic-bezier(.22,.61,.36,1),translate .8s cubic-bezier(.22,.61,.36,1)}
.js-rv.in{opacity:1;translate:0 0}

/* ----- tablets and phones ----- */
@media (max-width: 899px){
  .site-hdr .wrap{flex-wrap:nowrap!important;padding-block:12px!important}
  .site-hdr a[aria-label="Prana Healthcare home"]{gap:10px!important;min-width:0}
  .site-hdr a[aria-label="Prana Healthcare home"] img:first-child{height:38px!important}
  .site-hdr a[aria-label="Prana Healthcare home"] img:last-child{height:26px!important}
  .menu-btn{display:flex;flex:none}
  .main-nav{position:absolute;top:100%;left:0;right:0;display:none!important;flex-direction:column;gap:0!important;background:#ffffff;border-bottom:1px solid #e2e8f5;box-shadow:0 18px 30px rgba(13,27,70,.10);padding:8px 24px 16px}
  .main-nav a{padding:14px 0;border-bottom:1px solid #eef2fa;font-size:17px!important}
  .main-nav a:last-child{border-bottom:0}
  body.menu-open .main-nav{display:flex!important}

  section .wrap{padding-block:56px!important}
  #top .wrap{padding-block:36px 48px!important;gap:32px!important}
  #top h1{font-size:44px!important;line-height:48px!important}
  #top h1 img{width:min(290px,100%)!important;margin-bottom:-12px!important}
  #top .ld[style*="font: 500 26px"]{font-size:21px!important;line-height:29px!important}
  #top [style*="min-height: 560px"]{min-height:380px!important}
  h2[style*="font-size: 40px"]{font-size:30px!important;line-height:38px!important}

  #try .wrap > div[style*="height: 720px"]{height:min(680px,82vh)!important;border-radius:20px!important}
  #chat-log{padding:18px 16px!important}
  .chips-wrap .msg{padding-left:0!important;grid-template-columns:1fr!important}
  #chat-form{padding:10px 12px!important}

  #opinion .wrap{gap:32px!important}
  #how [style*="auto-fit"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width: 560px){
  .wrap{padding-inline:16px!important}
  #top h1{font-size:38px!important;line-height:42px!important}
  #top h1 img{width:min(240px,100%)!important;margin-bottom:-10px!important}
  #top [style*="min-height: 560px"]{min-height:300px!important}
  #opinion [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"]{grid-template-columns:1fr!important}
  #contact form[style*="grid-template-columns: repeat(2"]{grid-template-columns:1fr!important;padding:22px!important}
  .ask-chip{font-size:15px!important}
}


/* ----- blog ----- */
.post-cover{height:180px;display:flex;align-items:center;justify-content:center;gap:22px}
.post .post-cover{border-radius:24px;margin-top:8px}
.post-wrap{max-width:820px!important;display:flex;flex-direction:column;gap:24px;padding-block:40px 64px}
.crumbs{display:flex;gap:10px;align-items:center;font-size:14px;color:#4f5b78}
.crumbs a{color:#4f5b78;text-decoration:none}.crumbs a:hover{color:#1652d8}
.post-head{display:flex;flex-direction:column;gap:12px}
.post-head h1{font-size:44px;line-height:52px;font-weight:600;letter-spacing:-.01em}
.post-meta{font-size:15px;color:#4f5b78}
.post-body{font-size:18px;line-height:30px;color:#26324f;display:flex;flex-direction:column;gap:18px}
.post-body .lead{font:500 22px/32px Poppins,system-ui,sans-serif;color:#0d1b46}
.post-body ol,.post-body ul{margin:0;padding-left:24px;display:flex;flex-direction:column;gap:12px}
.post-body li::marker{color:#c4521a;font-weight:600}
.post-body strong{color:#0d1b46}
.post-cta{margin-top:16px;background:#f4f7fd;border:1px solid #e2e8f5;border-radius:20px;padding:24px;display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;justify-content:space-between}
.post-cta h2{font-size:22px;line-height:30px;font-weight:600}
.post-cta p{color:#4f5b78;margin-top:4px}
.post-cta-btns{display:flex;flex-wrap:wrap;gap:10px}
.post-more{background:#f4f7fd}
@media (max-width: 560px){
  .post-head h1,.blog-list h1{font-size:32px!important;line-height:40px!important}
  .post .post-cover{height:180px!important;gap:16px}
  .post-body{font-size:17px;line-height:28px}
}
