/* Level1 Rx catalog + PDP. Preview only. Static — no Ken Burns, no jittering grain. */
.cat-section .sec-head{margin-bottom:1.6rem}
.cat-section .sec-head.row{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;flex-wrap:wrap}
.cat-kicker-row{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.cat-all{font-size:.93rem;font-weight:600;color:var(--navy);letter-spacing:.02em}
.cat-all:hover{color:var(--abyss)}
.cat-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.05rem}
.cat-chip{appearance:none;border:1px solid var(--line);background:var(--white);color:var(--ink2);font-family:var(--sans);font-size:.82rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.55rem 1rem;border-radius:99px;cursor:pointer;min-height:40px;transition:background .25s,color .25s,border-color .25s}
.cat-chip:hover{border-color:color-mix(in srgb,var(--navy) 30%,transparent)}
.cat-chip.is-on{background:var(--abyss);color:var(--white);border-color:var(--abyss)}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.cat-card{border-radius:var(--r);padding:.65rem .65rem 1.05rem;background:var(--bg);display:flex;flex-direction:column;transition:box-shadow .45s var(--ease),background .4s}
.cat-card:hover{background:var(--white);box-shadow:0 24px 50px -28px #032d4c44}
.cat-card.is-hidden{display:none}
.vial-well{position:relative;aspect-ratio:1;border-radius:22px;overflow:hidden;margin-bottom:.85rem;background:var(--mist);border:1px solid var(--line)}
.vial-well picture,.vial-well img{display:block;width:100%;height:100%;object-fit:cover}
.vial-well .p-tag{position:absolute;top:.8rem;left:.8rem;padding:.35rem .75rem;border-radius:99px;background:#fcfdfde6;font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);z-index:1}
.cat-card h3,.cat-card h2{padding:0 .7rem;margin-bottom:.4rem;font-size:1.15rem;letter-spacing:-.02em}
.cat-card h3 a,.cat-card h2 a{color:inherit}
.cat-card>p{padding:0 .7rem;color:var(--muted);font-size:.93rem;line-height:1.45;flex:1;min-height:2.4em}
.cat-foot{display:flex;justify-content:space-between;align-items:center;padding:.7rem .7rem 0;font-weight:600;font-size:.95rem}
.cat-foot a{display:inline-flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem;border-radius:99px;background:var(--abyss);color:var(--white);text-decoration:none;font-size:1rem}
.cat-foot a:hover{background:var(--navy)}
.cat-fine{margin-top:1.4rem;max-width:62rem}
.cat-empty{display:none;padding:2rem .5rem;color:var(--muted)}

/* Formulary page */
.form-page{padding-top:clamp(3.2rem,5.2vw,4.15rem);padding-bottom:4rem}
.form-intro{max-width:40rem;margin-bottom:1rem}
.form-intro h1{margin:.2rem 0 .7rem}
.form-intro .sub{font-size:1.12rem;color:var(--ink2);max-width:36rem}

/* PDP */
.pdp{padding-top:clamp(3.5rem,6.2vw,5.2rem);padding-bottom:5.5rem}
.pdp-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(1.3rem,3.5vw,2.8rem);align-items:start;margin-bottom:3.5rem}
.pdp-gallery{position:relative}
.pdp-gallery .vial-well{aspect-ratio:1;margin-bottom:0;border-radius:28px;background:var(--mist)}
.pdp-gallery .vial-well img{object-fit:cover}
.pdp-buy,.buy-box{position:sticky;top:6.2rem}
.pdp-cat{font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:color-mix(in srgb,var(--navy) 70%,var(--cyan) 30%);margin-bottom:.55rem}
.pdp-buy h1,.buy-box h1{font-size:clamp(2.1rem,4vw,3.15rem);letter-spacing:-.035em;line-height:1;margin-bottom:1rem}
.pdp-lead{font-size:1.02rem;line-height:1.6;color:var(--ink2);margin-bottom:.7rem;max-width:38rem}
.pdp-trust{list-style:none;padding:0;margin:0 0 1.05rem}
.pdp-trust li{position:relative;padding:.22rem 0 .22rem 1.35rem;font-size:.9rem;color:var(--ink2)}
.pdp-trust li::before{content:"";position:absolute;left:0;top:.62rem;width:.55rem;height:.55rem;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 3px color-mix(in srgb,var(--cyan) 28%,transparent)}
.dose-label,.plan-label{font-size:.82rem;font-weight:600;letter-spacing:.04em;margin:0 0 .55rem;color:var(--ink)}
.dose-pills{display:flex;gap:.4rem;background:var(--mist);border-radius:99px;padding:.28rem;margin-bottom:1.1rem;width:fit-content;max-width:100%}
.dose-pills button{appearance:none;border:0;background:transparent;font-family:var(--sans);font-size:.8rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;padding:.65rem 1.05rem;border-radius:99px;cursor:pointer;color:var(--muted);min-height:42px;transition:background .25s,color .25s}
.dose-pills button[aria-checked="true"]{background:var(--abyss);color:var(--white)}
.pdp-price{margin:0 0 1.15rem;display:flex;align-items:baseline;gap:.35rem}
.pdp-price .amt{font-family:var(--display);font-size:2.15rem;font-weight:600;letter-spacing:-.03em;color:var(--ink)}
.pdp-price .per{font-size:1rem;color:var(--muted);font-weight:500}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;margin-bottom:1.15rem}
.plan{appearance:none;border:1px solid var(--line);background:var(--white);border-radius:18px;padding:1rem .85rem .9rem;text-align:left;cursor:pointer;font-family:var(--sans);color:var(--ink);position:relative;min-height:96px;transition:border-color .25s,background .25s,box-shadow .25s}
.plan[aria-checked="true"]{border-color:var(--abyss);background:var(--abyss);color:var(--white);box-shadow:0 10px 28px -18px #032d4c88}
.plan .pl-badge{display:inline-block;font-size:.62rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;padding:.22rem .5rem;border-radius:99px;background:color-mix(in srgb,var(--sand) 80%,#fff);color:var(--abyss);margin-bottom:.45rem}
.plan[aria-checked="true"] .pl-badge{background:color-mix(in srgb,var(--cyan) 55%,#fff);color:var(--abyss)}
.plan .pl-name{display:block;font-weight:650;font-size:1rem;margin-bottom:.15rem}
.plan .pl-price{font-size:.95rem;opacity:.85}
.plan .pl-save{display:inline-block;margin-top:.35rem;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:color-mix(in srgb,#1a6b3a 80%,#0a0);background:color-mix(in srgb,#c8f0d4 70%,#fff);padding:.15rem .45rem;border-radius:99px}
.plan[aria-checked="true"] .pl-save{background:color-mix(in srgb,var(--cyan) 40%,#fff);color:var(--abyss)}
.pdp-cta{display:block;text-align:center;width:100%;margin:.3rem 0 .55rem}
.pdp-note{font-size:.82rem;color:var(--muted);text-align:center;margin-bottom:1.2rem}
.pdp-acc{border-top:1px solid var(--line)}
.pdp-acc details{border-bottom:1px solid var(--line)}
.pdp-acc summary{cursor:pointer;font-weight:600;font-size:1rem;padding:1rem 0;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.pdp-acc summary::-webkit-details-marker{display:none}
.pdp-acc summary::after{content:"+";font-weight:500;color:var(--muted);font-size:1.2rem}
.pdp-acc details[open] summary::after{content:"–"}
.pdp-acc .acc-body{padding:0 0 1.15rem;color:var(--ink2);font-size:.98rem;line-height:1.65}
.pdp-acc .acc-body p+p{margin-top:.75rem}
.pdp-acc .acc-body ul{margin:.5rem 0 0 1.1rem}
.pdp-acc .acc-body li{margin:.25rem 0}

.pdp-block{margin:3.8rem 0}
.pdp-block h2{margin-bottom:1.4rem}
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.why-card{background:var(--bg);border-radius:22px;padding:1.4rem 1.35rem 1.5rem}
.why-card h3{font-size:1.15rem;margin-bottom:.45rem;letter-spacing:-.02em}
.why-card p{color:var(--ink2);font-size:.98rem;line-height:1.6}
.pdp-faq{max-width:46rem}
.pdp-faq details{border-bottom:1px solid var(--line);padding:0}
.pdp-faq summary{cursor:pointer;font-weight:600;padding:1.05rem 0;list-style:none;font-size:1.02rem}
.pdp-faq summary::-webkit-details-marker{display:none}
.pdp-faq details p{padding:0 0 1.1rem;color:var(--ink2);line-height:1.65}

.pdp-more h2{margin-bottom:1.4rem}
.pdp-sticky{display:none;position:fixed;left:0;right:0;bottom:0;z-index:80;background:#fcfdfdf5;backdrop-filter:blur(16px) saturate(1.4);border-top:1px solid var(--line);padding:.65rem 1rem calc(.65rem + env(safe-area-inset-bottom));align-items:center;justify-content:space-between;gap:.65rem}
.pdp-sticky .st-name{font-weight:650;font-size:.95rem}
.pdp-sticky .st-price{font-size:.88rem;color:var(--muted)}
.pdp-sticky .btn{flex-shrink:0}

.page-pad{padding-bottom:2rem}

@media (max-width:1100px){
  .cat-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  .pdp-hero{grid-template-columns:1fr;gap:1.4rem}
  .pdp-buy,.buy-box{position:static}
  .pdp-sticky.is-on{display:flex}
  .pdp{padding-bottom:2rem}
  .pdp.has-sticky{padding-bottom:7.2rem}
  .plans{grid-template-columns:repeat(3,1fr);gap:.35rem}
  .plan{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:.15rem;min-height:0;padding:.55rem .5rem .5rem;text-align:left}
  .plan .pl-badge{margin-bottom:.1rem;font-size:.55rem;padding:.14rem .35rem}
  .plan .pl-name{margin-bottom:0;font-size:.88rem}
  .plan .pl-price{font-size:.78rem}
  .plan .pl-save{margin-top:.15rem;font-size:.58rem}
  .why-grid{grid-template-columns:1fr}
  .cat-grid{grid-template-columns:repeat(2,1fr);gap:.8rem}
  .form-page,.pdp{padding-top:clamp(3.4rem,11vw,4.8rem)}
  /* Lift Lev above the sticky CTA so they don't collide */
  body:has(.pdp-sticky.is-on) .lev{
    bottom:calc(7.8rem + env(safe-area-inset-bottom,0px));
  }
  /* On mobile the avatar is .lev-launch {position:fixed}, not the .lev wrapper */
  body:has(.pdp-sticky.is-on) .lev-launch{
    bottom:calc(7.8rem + env(safe-area-inset-bottom,0px));
  }
}
@media (max-width:560px){
  .cat-grid{grid-template-columns:1fr}
  .dose-pills{width:100%}
  .dose-pills button{flex:1}
}


/* —— Audit fixes (preview): conversion + mobile —— */
.buy-box,.pdp-buy{display:flex;flex-direction:column}
.pdp-dek{font-size:1.05rem;line-height:1.5;color:var(--ink2);margin:0 0 .95rem;max-width:38rem}
.pdp-copy{margin:1.15rem 0 0;max-width:38rem}
.pdp-copy .pdp-lead{margin-bottom:.7rem}
.hero-trust{margin:.85rem 0 0;font-size:.78rem;font-weight:500;letter-spacing:.03em;line-height:1.45;color:inherit;opacity:.88;max-width:32rem}
.cat-chip{min-height:44px}
.cat-all{display:inline-flex;align-items:center;min-height:44px}
.cat-card h3 a,.cat-card h2 a{display:inline-flex;align-items:center;min-height:44px}
.cat-foot a{width:2.75rem;height:2.75rem;min-width:44px;min-height:44px}
.fine.cat-fine,.cat-fine{color:var(--ink2);font-size:.84rem;line-height:1.5}
.dose-pills button{min-height:44px}
.bcell h3{font-size:1.35rem;margin:.9rem 0 .5rem;letter-spacing:-.02em}
.f-cols .fh{font-size:.74rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin-bottom:1.1rem;font-family:inherit}

@media (max-width:1100px){
  .bcell h3{font-size:1.15rem}
}
@media (max-width:900px){
  .pdp-gallery .vial-well{max-width:min(250px,66vw);margin-inline:auto}
  .pdp-hero{gap:1rem;margin-bottom:2.4rem}
  .pdp-buy h1,.buy-box h1{font-size:clamp(1.75rem,7.2vw,2.4rem);margin-bottom:.4rem}
  .pdp-dek{font-size:.98rem;margin-bottom:.7rem}
  .pdp-cat{margin-bottom:.3rem}
  .pdp-price{margin:.2rem 0 .7rem}
  .pdp-price .amt{font-size:1.9rem}
  .dose-label,.plan-label{margin:0 0 .4rem}
  .dose-pills{margin-bottom:.75rem}
  .plans{margin-bottom:.65rem}
  /* padding/min-height already set above for compact 3-col */
  .pdp-cta{margin:.15rem 0 .4rem}
  .pdp-note{margin-bottom:.85rem}
  .pdp-trust{display:grid;grid-template-columns:1fr 1fr;gap:.1rem .7rem;margin:0 0 .2rem}
  .pdp-trust li{font-size:.8rem;padding:.12rem 0 .12rem 1.15rem}
  .pdp-trust li::before{top:.5rem;width:.45rem;height:.45rem}
  .pdp-copy{margin-top:1.3rem}
  .pdp{padding-bottom:2.4rem}
}
@media (max-width:667px){
  .pdp-gallery .vial-well{max-width:min(190px,58vw)}
}

/* Small phones / short viewports: keep price + plans + CTA on screen */
@media (max-width:400px), (max-height:700px){
  .pdp-gallery .vial-well{max-width:min(168px,54vw)}
  .pdp-buy h1,.buy-box h1{font-size:clamp(1.5rem,6.4vw,1.85rem);margin-bottom:.28rem}
  .pdp-dek{font-size:.9rem;margin-bottom:.45rem;line-height:1.4}
  .pdp-cat{margin-bottom:.18rem}
  .pdp-price{margin:.05rem 0 .45rem}
  .pdp-price .amt{font-size:1.7rem}
  .dose-label,.plan-label{margin:0 0 .28rem;font-size:.75rem}
  .dose-pills{margin-bottom:.45rem}
  .plans{margin-bottom:.45rem;gap:.28rem}
  .plan{padding:.42rem .32rem .4rem}
  .plan .pl-name{font-size:.82rem}
  .plan .pl-price{font-size:.74rem}
  .pdp-cta{margin:.1rem 0 .3rem}
  .pdp-hero{gap:.75rem;margin-bottom:1.8rem}
  .pdp{padding-top:clamp(2.6rem,9vw,3.6rem)}
}

/* iPhone SE / short screens: get the CTA onto the first screen even with dose pills */
@media (max-height:680px) and (max-width:430px){
  .pdp-gallery .vial-well{max-width:min(148px,50vw)}
  .pdp-buy h1,.buy-box h1{font-size:1.48rem;margin-bottom:.18rem}
  .pdp-dek{font-size:.86rem;margin-bottom:.32rem;line-height:1.35}
  .pdp-cat{margin-bottom:.12rem;font-size:.68rem}
  .pdp-price{margin:0 0 .32rem}
  .pdp-price .amt{font-size:1.55rem}
  .dose-label,.plan-label{margin:0 0 .18rem;font-size:.7rem}
  .dose-pills{margin-bottom:.32rem}
  /* keep 44px tap */
  .plans{margin-bottom:.32rem;gap:.22rem}
  .plan{padding:.32rem .28rem .28rem}
  .plan .pl-badge{font-size:.5rem;padding:.08rem .28rem}
  .plan .pl-name{font-size:.78rem}
  .plan .pl-price{font-size:.7rem;line-height:1.25}
  .plan .pl-save{margin-top:.08rem;font-size:.52rem}
  .pdp-cta{margin:0 0 .2rem;min-height:48px}
  .pdp-hero{gap:.55rem;margin-bottom:1.5rem}
  .pdp{padding-top:2.4rem}
}

/* PDP mobile: hide Lev until the sticky bar is on, so it never covers the
   first-screen plan cards or CTA. Once sticky, existing 7.8rem lift applies. */
@media (max-width:640px){
  body:has(.buy-box):not(:has(.pdp-sticky.is-on)) .lev-launch{
    opacity:0;
    pointer-events:none;
    visibility:hidden;
  }
}
