/* Pharma Lectures — components added in the 2026-10 redesign: stacked hero, company-size tabs, law quotes, custom CTA */

/* hero: headline, then the player right under it, then four short lines of copy */
.hero-stack{background:linear-gradient(180deg,var(--sand) 0%,#fff 100%);padding:44px 0 40px}
.hero-stack .hero-head{max-width:900px;margin:0 auto 26px;text-align:center}
.hero-stack .hero-head .kicker{justify-content:center}
.hero-stack .hero-head h1{margin:8px auto 0;max-width:none;font-size:clamp(32px,4.2vw,52px)}
.hero-stack .hero-player{max-width:960px;margin:0 auto}
.hero-stack .hero-body{max-width:760px;margin:30px auto 0;text-align:center}
.hero-stack .hero-body .lead{margin-left:auto;margin-right:auto}
.hero-stack .hero-body .lead-2{margin-bottom:10px}
@media(min-width:960px){.hero-stack{padding:60px 0 56px}.hero-stack .hero-head{margin-bottom:32px}.hero-stack .hero-body{margin-top:36px}}

/* law section: three records from the ledger */
.law{background:repeating-linear-gradient(180deg,transparent 0 31px,rgba(184,116,26,.10) 31px 32px),#fff}
.law .sub{background:#fff;padding:6px 0}
.quotes{display:grid;gap:16px;margin:24px 0 26px}
@media(min-width:860px){.quotes{grid-template-columns:repeat(3,1fr)}}
.law-q{margin:0;padding:22px 22px 18px;background:var(--seal-bg);border:1px solid #ecd9bd;border-radius:var(--r);display:flex;flex-direction:column;gap:12px;position:relative}
.law-q::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;background:var(--seal);border-radius:0 3px 3px 0}
.law-q p{font-family:var(--display);font-size:17px;line-height:1.45;color:var(--navy);margin:0;font-weight:500}
.law-q cite{font-style:normal;font-size:14px;color:var(--muted);line-height:1.4}
.law-q cite b{display:block;color:var(--seal);font-weight:700;margin-bottom:2px}

/* company-size tabs: one click re-prices the page */
.ptabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:6px;background:var(--sand);border:1px solid var(--line);border-radius:14px;width:fit-content;max-width:100%}
.ptab{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:140px;padding:10px 16px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ink);font:inherit;cursor:pointer;text-align:left;transition:background .15s,border-color .15s,box-shadow .15s,transform .1s}
.ptab b{font-weight:700;font-size:16px;color:var(--navy)}
.ptab small{font-size:13px;color:var(--muted)}
.ptab:hover{background:#fff;border-color:var(--line)}
.ptab.on{background:var(--navy);border-color:var(--navy);box-shadow:0 6px 18px rgba(16,33,58,.18)}
.ptab.on b{color:#fff}.ptab.on small{color:var(--sky2)}
.ptab:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
@media(max-width:520px){.ptabs{width:100%;gap:6px}.ptab{flex:1 1 100%;flex-direction:row;justify-content:space-between;align-items:center;min-width:0;padding:12px 14px}.ptab b{font-size:15px}}
.ptable.tabbed th[data-size],.ptable.tabbed td[data-size],.pm-v[data-size],.ptable.tabbed .colspan[data-size]{display:none}
.ptable.tabbed th[data-size].on,.ptable.tabbed td[data-size].on,.pm-v[data-size].on{display:table-cell}
.pm-v[data-size].on{display:block}
@media(max-width:760px){.ptable.wide.tabbed td[data-size].on{display:flex}}
.ptable.tabbed th[data-size].on{background:var(--navy);color:#fff}
.ptable.tabbed th[data-size].on small{opacity:.85}
.ptable.tabbed td[data-size].on{font-family:var(--display);font-size:18px;background:#fff}

/* the single big price on a course page */
.price-big{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 16px;margin:6px 0 10px}
.price-big .pm-v{font-size:clamp(34px,5vw,52px);font-weight:900}
.price-big .pm-s{font-size:16px}

/* custom course / custom pricing CTA under every price table */
.custom-cta{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;margin:8px 0 0;padding:22px 24px;background:var(--navy);color:#dbe6ff;border-radius:var(--r)}
.custom-cta p{margin:0;max-width:64ch;font-size:16px;line-height:1.5}
.custom-cta b{color:#fff;font-family:var(--display);font-size:20px;display:block;margin-bottom:4px}
.custom-cta .btn{flex:none;max-width:100%;text-align:center}
.custom-cta .btn span{white-space:normal}
@media(max-width:600px){.custom-cta .btn{width:100%;min-height:58px;padding:10px 18px;line-height:1.25}}

/* catalog: topic groups of line rows */
.cgroup{background:#fff;border:1px solid var(--line);border-radius:var(--r);margin:0 0 12px;overflow:hidden}
.cgroup summary{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:16px 20px;cursor:pointer;list-style:none}
.cgroup summary::-webkit-details-marker{display:none}
.cgroup summary::after{content:"+";font-family:var(--display);font-size:22px;color:var(--blue);line-height:1}
.cgroup[open] summary::after{content:"\2212"}
.cgroup summary b{font-family:var(--display);font-size:19px;color:var(--navy)}
.cgroup summary span{font-size:14px;color:var(--muted);margin-left:auto}
.cgroup summary:hover b{color:var(--blue)}
.cgroup ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.crow{display:flex;align-items:center;gap:14px;padding:12px 20px;border-bottom:1px solid var(--line)}
.crow:last-child{border-bottom:0}
.crow:hover{background:var(--sand)}
.crow a{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-decoration:none}
.crow a b{font-size:15.5px;font-weight:600;color:var(--navy);line-height:1.3}
.crow a:hover b{color:var(--blue);text-decoration:underline}
.crow a span{font-size:13px;color:var(--muted);line-height:1.35}
.cprice{font-family:var(--display);font-weight:700;font-size:15px;color:var(--navy);white-space:nowrap}
button.add{flex:none;border:1.5px solid var(--blue);background:#fff;color:var(--blue);border-radius:999px;padding:7px 16px;font:inherit;font-size:14px;font-weight:700;cursor:pointer;min-height:38px;transition:all .12s}
button.add:hover{background:var(--blue);color:#fff}
button.add.on{background:var(--green);border-color:var(--green);color:#fff}
button.add.btn{border-radius:12px}
@media(max-width:600px){.crow{flex-wrap:wrap;padding:14px 16px}.crow a{flex:1 1 100%}.cprice{margin-left:2px}button.add{margin-left:auto;padding:9px 20px;min-height:44px}}

/* cart link + checkout */
.cart-link{display:inline-flex;align-items:center;gap:7px;margin-left:auto;padding:8px 14px;border-radius:999px;background:var(--navy);color:#fff;text-decoration:none;font-weight:700;font-size:14px}
.cart-link b{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:var(--seal);color:#fff;font-size:13px;padding:0 5px}
.cart-link:hover{background:var(--blue)}
.nav~.cart-link{margin-left:12px}
.checkout{max-width:720px}
.cart-list{list-style:none;margin:0 0 14px;padding:0;border:1px solid var(--line);border-radius:var(--r);background:#fff;overflow:hidden}
.cart-list li{display:flex;align-items:center;gap:14px;padding:13px 18px;border-bottom:1px solid var(--line)}
.cart-list li:last-child{border-bottom:0}
.cart-list b{flex:1;font-weight:600;color:var(--navy);font-size:15.5px;line-height:1.35}
.cart-list span{font-family:var(--display);font-weight:700;white-space:nowrap}
.cart-list .rm{border:0;background:none;font:inherit;font-size:13px;color:var(--muted);text-decoration:underline;cursor:pointer}
.cart-list .rm:hover{color:var(--blue)}
.cart-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;font-size:16px;margin:0 0 26px}
.cart-total b{font-family:var(--display);font-size:24px;color:var(--navy)}
.checkout-form{grid-template-columns:1fr;max-width:460px;margin:0 0 22px}
.checkout-form select{min-height:52px;border:1px solid var(--line);border-radius:12px;padding:0 14px;font:inherit;font-size:16px;background:#fff;color:var(--ink)}
.checkout-form h3{margin:18px 0 0;font-size:17px;color:var(--navy)}
.checkout-form h3:first-child{margin-top:0}
.checkout-form .ptabs{margin:4px 0 6px}
.checkout-form input:disabled{background:var(--sand);color:var(--muted)}
#cart-empty{font-size:17px}
.cprice .pm-v{font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit}
.catalog-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;margin:0 0 18px}
.catalog-note{margin:0;font-size:14px;color:var(--muted);max-width:420px}
.catalog-head .ptabs{margin:0}
.done{background:var(--sky);border:1px solid var(--line);border-radius:var(--r);padding:26px 28px;margin:0 0 26px}
.done h2{margin:0 0 10px;font-size:24px;color:var(--navy)}
.done p{margin:0 0 10px;font-size:16px}
.cart-list .sample{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--navy);white-space:nowrap;cursor:pointer}
.order-actions{display:flex;flex-wrap:wrap;gap:10px}
.orders{list-style:none;margin:18px 0;padding:0;display:grid;gap:14px}
.orders>li{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px 20px}
.order-head{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0 0 8px;font-size:15px}
.order-head b{color:var(--navy)}.order-head span{font-family:var(--display);font-weight:700}
.orders ul{margin:0 0 12px;padding-left:18px;font-size:15px;color:var(--ink)}
@media(max-width:600px){.cart-list li{flex-wrap:wrap}.cart-list li b{flex:1 1 100%}.done{padding:20px 18px}}

/* pSEO: /learn/ landing pages + related-courses widget */
.cgroup-list{list-style:none;margin:0;padding:0;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.learn-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px 40px}
.learn-grid h2{font-size:22px;margin:0 0 12px}
.learn-links{list-style:none;margin:0;padding:0}
.learn-links li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15.5px}
.learn-links li:last-child{border-bottom:0}
.learn-links a{color:var(--navy);text-decoration:none;font-weight:600;line-height:1.35}
.learn-links a:hover{color:var(--blue);text-decoration:underline}
.learn-links span{font-size:13px;color:var(--muted);white-space:nowrap}
.related{background:var(--sand);padding:56px 0;border-top:1px solid var(--line)}
.related h2{font-size:24px;margin:0 0 22px}
.related h3{font-size:17px;color:var(--navy);margin:0 0 10px}
.rel-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px 48px}
.rel-grid ul{list-style:none;margin:0;padding:0}
.rel-grid li{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-bottom:1px solid var(--line)}
.rel-grid li:last-child{border-bottom:0}
.rel-grid a{color:var(--navy);font-weight:600;text-decoration:none;line-height:1.35;font-size:15.5px}
.rel-grid a:hover{color:var(--blue);text-decoration:underline}
.rel-grid span{font-size:13px;color:var(--muted)}
@media(max-width:760px){.rel-grid{grid-template-columns:1fr}.related{padding:40px 0}}

/* breathing room: generous vertical rhythm on desktop */
.section{padding:60px 0}
.sub{margin-bottom:26px}
@media(min-width:960px){.section{padding:88px 0}.browse .wrap,.checkout{scroll-margin-top:90px}.two{gap:56px}.cta-band{padding:80px 0}.proof-row{padding:26px 20px}}

/* scroll progress */
.progress{position:fixed;left:0;top:0;height:3px;width:100%;transform:scaleX(0);transform-origin:0 50%;background:linear-gradient(90deg,var(--blue),var(--seal));z-index:70;pointer-events:none}
.top.scrolled{box-shadow:0 6px 24px rgba(16,33,58,.08)}
