/* Clinical Edge product pages (/library/, /app/, /ai-agents/): the summary at the top, the closing band, the header's
   product-page links, and the few overrides the moved homepage sections need when they are not on the long homepage.
   Loaded after the flagship CSS; every override is scoped to html.pp (set by product.js) or to a pp- class. */

/* ---------- Header: the product pages keep the gold launch-call button in the phone bar ---------- */
.nav--pp .nav__links a.is-active::after{transform:scaleX(1)}
.nav__sheet .sheet__login{margin-top:10px}

/* ---------- The summary ---------- */
.pp-hero{position:relative;padding:calc(var(--nav-h) + 72px) 0 96px}
.pp-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);align-items:center;gap:40px 72px}
.pp-hero__copy{max-width:640px}
.pp-hero__kicker{display:inline-flex;align-items:center;gap:12px;margin:0 0 22px;font:600 var(--fs-hud)/1.2 var(--f-mono);letter-spacing:var(--ls-hud);text-transform:uppercase;color:var(--champ)}
.pp-hero__kicker::before{content:"";flex:none;width:2px;height:16px;background:var(--gold);transform:rotate(32deg)}
.pp-hero__h1{font-size:clamp(44px,5.2vw,76px);line-height:1.02;margin:0}
.pp-hero__lead{color:var(--pain-navy);max-width:54ch}
.pp-hero__lead + .pp-hero__lead{margin-top:14px}
.pp-cred{margin-top:24px}
.pp-plans{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:26px 0 0;padding:12px 16px;border-radius:10px;border:1px solid var(--line-navy);background:rgba(10,30,58,.45);font-size:15.5px;line-height:1.45;color:var(--body-navy);max-width:60ch}
.pp-plans b{font-weight:600;color:var(--champ)}
.pp-hero .cta-row{margin-top:26px}
.pp-art{width:100%;max-width:420px;height:auto;justify-self:center;overflow:visible}
.pp-art__halo{fill:url(#pp-glow)}
.pp-art__ring{fill:none;stroke:rgba(216,190,126,.34);stroke-width:1;vector-effect:non-scaling-stroke}
.pp-art__ring--in{stroke:rgba(216,190,126,.16);stroke-dasharray:2 6}
.pp-art__shape *{fill:none;stroke:var(--champ);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.pp-art__shape .f{fill:var(--champ);stroke:none}

/* ---------- The closing band ---------- */
.pp-close{padding:104px 0 112px;border-top:1px solid rgba(216,190,126,.14)}
.pp-close__in{display:flex;flex-direction:column;align-items:center;text-align:center}
.pp-close .h2{max-width:20ch}
.pp-close .pp-plans{justify-content:center}
.pp-close .cta-row{justify-content:center}
.pp-more{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 32px;margin-top:34px}
.pp-more a{display:inline-flex;align-items:center;gap:10px;padding:10px 0;font-size:15px;font-weight:500;color:var(--on-navy-hi);text-decoration:underline;text-decoration-color:rgba(216,190,126,.5);text-decoration-thickness:1px;text-underline-offset:5px}
.pp-more a::after{content:"";width:7px;height:7px;border:solid var(--champ);border-width:1.5px 1.5px 0 0;transform:rotate(45deg)}
@media (hover:hover){.pp-more a:hover{color:#fff;text-decoration-color:var(--champ)}}

/* ---------- Moved sections ---------- */
/* #launch: the question slide is not on this page, so the paper starts right under the summary */
html.pp #launch{padding-top:40px}
/* decision 10: the wall's single Clinician-set label sits beside Illustrative, so the cards keep only their Open button */
.pp-chips{display:flex;align-items:center;gap:8px}
.pp-chips .cset{border-style:dashed;border-color:rgba(216,190,126,.5);color:var(--champ);background:rgba(216,190,126,.07);font-size:12.5px;letter-spacing:.08em;padding:6px 9px}
html.pp .stk__foot{justify-content:flex-end}
/* #app and #agents: without the question slide above them they start with a normal band gap */
html.pp #app{padding-top:16px}
html.pp #agents{padding-top:0}

/* ---------- Phones and tablets ---------- */
@media (max-width:1080px){
  .pp-hero__grid{grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:32px 40px}
}
@media (max-width:960px){
  /* the product pages' phone bar: logo, the gold Launch call button, Menu */
  .nav--pp .nav__cta{margin-left:auto}
}
@media (max-width:760px){
  .pp-hero{padding:calc(var(--nav-h) + 32px) 0 56px}
  .pp-hero__grid{grid-template-columns:1fr}
  .pp-art{display:none}
  .pp-hero__kicker{margin-bottom:16px}
  .pp-hero__h1{font-size:clamp(38px,11vw,48px)}
  .pp-plans{display:block;margin-top:20px;font-size:15px}
  .pp-close{padding:72px 0 80px}
  .pp-more{flex-direction:column;align-items:center;gap:2px;margin-top:24px}
  html.pp #launch{padding-top:24px}
  html.pp #app{padding-top:0}
  .pp-chips{flex-direction:column;align-items:flex-end;gap:6px}
  .pp-chips .cset{font-size:11.5px;padding:5px 7px}
}
