@charset "utf-8";
/* Layout: navy masthead band like the videos' palette; reference-book monograph below
   (meta header, sticky contents rail, main column, brand sidebar). Amber marks the drug, teal marks links. */
:root {
  --paper: #f5f7f9;
  --card: #ffffff;
  --ink: #142033;
  --muted: #586579;
  --line: #dbe2ea;
  --band: #12213b;
  --band-fg: #eef2f8;
  --band-muted: #a9b6ca;
  --amber: #a8650a;
  --amber-soft: #fbf0dc;
  --amber-bright: #f0b140;
  --link: #0b6b63;
  --warn: #a3261b;
  --warn-soft: #fdecea;
  --otc: #1d6b3a;
  --otc-soft: #e5f4ea;
  --rx: #34449b;
  --rx-soft: #e9ecfa;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1422; --card: #121d30; --ink: #e5eaf2; --muted: #9daabd; --line: #23324a;
    --band: #0a1220; --band-fg: #eef2f8; --band-muted: #8e9cb2;
    --amber: #f0b140; --amber-soft: #2c2412; --amber-bright: #f0b140; --link: #5fd0c3;
    --warn: #ff8a7a; --warn-soft: #2e1714; --otc: #7fd69c; --otc-soft: #14291c; --rx: #a8b4ff; --rx-soft: #1b2141;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1422; --card: #121d30; --ink: #e5eaf2; --muted: #9daabd; --line: #23324a;
  --band: #0a1220; --band-fg: #eef2f8; --band-muted: #8e9cb2;
  --amber: #f0b140; --amber-soft: #2c2412; --amber-bright: #f0b140; --link: #5fd0c3;
  --warn: #ff8a7a; --warn-soft: #2e1714; --otc: #7fd69c; --otc-soft: #14291c; --rx: #a8b4ff; --rx-soft: #1b2141;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--f-body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--band); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber-bright); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; }
h1 { font: 600 clamp(2rem, 4.5vw, 2.9rem)/1.1 var(--f-display); letter-spacing: -0.01em; margin: 0 0 .4rem; }
h2 { font: 600 1.45rem/1.25 var(--f-display); margin: 0 0 .75rem; }
h3 { font: 700 .95rem/1.3 var(--f-body); margin: 1rem 0 .4rem; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 16px; }
.muted { color: var(--muted); }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap-narrow { max-width: 860px; }

/* masthead */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--band); color: var(--band-fg); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-in { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--band-fg); text-decoration: none; font: 600 1.3rem var(--f-display); }
.logo-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--amber-bright); color: #12213b; display: grid; place-items: center; font: 600 1rem var(--f-display); }
.topnav { display: flex; gap: 18px; flex-wrap: wrap; }
.topnav a { color: var(--band-muted); text-decoration: none; font-size: .92rem; font-weight: 600; }
.topnav a:hover { color: var(--band-fg); }
.search { position: relative; margin-left: auto; flex: 0 1 300px; min-width: 0; }
.search input, .hero-search input { width: 100%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: var(--band-fg); border-radius: 999px; padding: 9px 16px; font: 400 .95rem var(--f-body); }
.search input::placeholder { color: var(--band-muted); }
.results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(10, 20, 40, .18); z-index: 40; min-width: 260px; }
.results a { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.results a:hover, .results a.on { background: var(--amber-soft); }
.r-n { font-weight: 700; }
.r-k { font-size: .8rem; color: var(--muted); }
.r-empty { padding: 10px; font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .topbar { position: static; }
  .search { flex-basis: 100%; margin-left: 0; }
  .topnav { gap: 14px; }
}

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 20px 0 16px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.chip { display: inline-flex; align-items: center; font: 600 .74rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.chip-rx { background: var(--rx-soft); color: var(--rx); }
.chip-otc { background: var(--otc-soft); color: var(--otc); }
.chip-both { background: var(--amber-soft); color: var(--amber); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-plain { border: 1px solid var(--line); color: var(--muted); }

/* monograph */
.mono-head { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 32px); }
.eyebrow { margin: 0 0 6px; font: 500 .78rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.aka { margin: 0; color: var(--muted); }
.lede { font-size: 1.08rem; max-width: 68ch; margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 28px; margin: 0 0 14px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.facts dt { font: 500 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; min-width: 0; }
.forms { margin: 0; padding: 0; list-style: none; }
.forms li { font-variant-numeric: tabular-nums; }
.meta { font-size: .85rem; color: var(--muted); margin: 0; }
.pending { color: var(--amber); font-weight: 600; }

.mono-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr) 260px; gap: 28px; margin: 28px 0 48px; align-items: start; }
.mono-grid-brand { grid-template-columns: minmax(0, 1fr) 280px; }
.toc { position: sticky; top: 88px; font-size: .9rem; }
.toc-h, .side-h { font: 500 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 4px 0 4px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; }
.toc a:hover { border-left-color: var(--amber-bright); color: var(--amber); }
.mono-main { min-width: 0; display: flex; flex-direction: column; gap: 0; }
.mono-main > section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.mono-main > section:first-child { padding-top: 0; }
.mono-main ul { padding-left: 1.2em; margin: 0; max-width: 72ch; }
.mono-main li + li { margin-top: 6px; }
.mono-main p { max-width: 72ch; }
.note { font-size: .87rem; color: var(--muted); margin: 10px 0 0; }

.howitworks { border-bottom: 0 !important; }
.hiw-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dur { font: 500 .8rem var(--f-mono); color: var(--muted); }
.player { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #0b1424; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.player video { width: 100%; height: 100%; display: block; }
.transcript { margin-top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; }
.transcript summary, .faq summary { cursor: pointer; font-weight: 700; }
.transcript p { margin: 8px 0 2px; color: var(--ink); }
.watch-link { margin: 10px 0 0; font-size: .9rem; }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font: 500 .74rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
tbody th { font-weight: 600; width: 38%; }
table.brands tbody th { width: auto; }
td { font-variant-numeric: tabular-nums; }

.boxed { background: var(--warn-soft); border: 2px solid var(--warn); border-radius: var(--r); padding: 18px 20px !important; margin: 22px 0; }
.boxed h2 { color: var(--warn); font-family: var(--f-body); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.boxed p { margin: 0; }
.boxed-inline { margin: 0 0 14px; }

.se-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.se-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px 16px; min-width: 0; }
.se-serious h3 { color: var(--warn); }

.faq { border-top: 1px solid var(--line); padding: 12px 0; }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq p { margin: 8px 0 0; }
.refs ol { padding-left: 1.2em; font-size: .9rem; color: var(--muted); }

.mono-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; min-width: 0; }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { display: flex; flex-direction: column; padding: 7px 0; border-top: 1px solid var(--line); }
.side-list li:first-child { border-top: 0; padding-top: 0; }
.side-list a { font-weight: 700; text-decoration: none; }
.side-list span { font-size: .82rem; color: var(--muted); }
.side-help p { margin: 0; line-height: 1.9; }
.btn { display: inline-block; background: var(--band); color: var(--band-fg); text-decoration: none; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.btn:hover { background: var(--amber); color: var(--card); }

@media (max-width: 1080px) {
  .mono-grid { grid-template-columns: minmax(0, 1fr) 260px; }
  .toc { display: none; }
}
@media (max-width: 800px) {
  .mono-grid, .mono-grid-brand { grid-template-columns: minmax(0, 1fr); }
  .mono-side { position: static; }
}

/* home */
.hero { background: var(--band); color: var(--band-fg); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 48px 56px; }
.hero .eyebrow { color: var(--amber-bright); }
.hero h1 { color: var(--band-fg); }
.hero .lede { color: var(--band-muted); }
.hero-search { position: relative; max-width: 520px; }
.hero-search input { padding: 14px 20px; font-size: 1.05rem; }
.hero-search input::placeholder { color: var(--band-muted); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; font-size: .9rem; color: var(--band-muted); }
.hero-stats b { color: var(--amber-bright); font-size: 1.05rem; margin-right: 4px; }
.hero-video { position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); text-decoration: none; }
.hero-video img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.play { position: absolute; right: 18px; bottom: 18px; width: 64px; height: 64px; border-radius: 50%; background: var(--amber-bright); box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .2s; }
.play::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 20px solid #12213b; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.hero-video:hover .play { transform: scale(1.06); }
.hv-cap { position: absolute; left: 12px; top: 12px; background: rgba(8,14,26,.75); color: #eef2f8; font: 500 .8rem var(--f-mono); padding: 6px 10px; border-radius: 6px; }
@media (max-width: 860px) { .hero-in { grid-template-columns: minmax(0, 1fr); padding-block: 32px 40px; } }
@media (prefers-reduced-motion: reduce) { .play { transition: none; } }

.azbar { display: flex; flex-wrap: wrap; gap: 4px; margin: 24px 0; }
.azbar a, .azbar span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; font: 500 .9rem var(--f-mono); }
.azbar a { background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.azbar a:hover { border-color: var(--amber); color: var(--amber); }
.azbar span { color: var(--line); }

.home-sec { margin: 40px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.sec-head a { font-size: .9rem; font-weight: 600; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.card a:hover { border-color: var(--amber); }
.card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.card-class { font: 500 .7rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.card-name { font: 600 1.15rem var(--f-display); }
.card-brands { font-size: .85rem; color: var(--muted); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.plainlist { list-style: none; padding: 0; margin: 0; }
.plainlist li { padding: 5px 0; }
.plainlist a { font-weight: 600; }
.cols2 { columns: 2 180px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: 500 .8rem var(--f-mono); color: var(--amber); margin-bottom: 6px; }
.steps b { display: block; }

/* index lists */
.azgroup h2 { font-family: var(--f-mono); font-weight: 500; font-size: 1.1rem; color: var(--amber); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.azgroup { margin-bottom: 26px; }
.rowlist { list-style: none; padding: 0; margin: 0 0 40px; }
.rowlist li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rowlist > li > a { font-weight: 700; }
.rl-class, .rl-brands { font-size: .9rem; color: var(--muted); min-width: 0; }
@media (max-width: 700px) { .rowlist li { grid-template-columns: minmax(0, 1fr) auto; } .rl-class, .rl-brands { grid-column: 1 / -1; } }
.classgrid { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.classgrid a { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink); }
.classgrid a:hover { border-color: var(--amber); }
.cg-name { font: 600 1.1rem var(--f-display); }
.cg-blurb { font-size: .9rem; color: var(--muted); }
.cg-count { font: 500 .78rem var(--f-mono); color: var(--amber); margin-top: auto; }

.watch { margin-bottom: 48px; }
.watch .howitworks { margin: 8px 0 12px; }
.watch .hiw-head h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prose { margin-bottom: 56px; max-width: 70ch; }
.prose h2 { margin-top: 28px; }

/* footer */
.foot { background: var(--band); color: var(--band-muted); padding-block: 28px 36px; font-size: .88rem; }
.foot a { color: var(--band-fg); }
.disclaimer { max-width: 90ch; margin: 0 0 12px; }
.disclaimer strong { color: var(--band-fg); }
.foot-links, .fine { margin: 6px 0 0; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* video placeholder (preview only) + guide-coming note */
.player-off { display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #1b3156 0%, #0b1424 70%); }
.po-in { display: flex; flex-direction: column; gap: 6px; padding: 24px; max-width: 46ch; color: #e8edf5; text-align: center; align-items: center; }
.po-num { font: 500 .78rem var(--f-mono); color: #f0b140; letter-spacing: .08em; }
.po-t { font: 600 clamp(1.2rem, 3vw, 1.7rem)/1.2 var(--f-display); }
.po-n { font-size: .88rem; color: #a9b6ca; }
.coming { background: var(--amber-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px; margin: 18px 0; }
.card-ph { display: grid; place-items: center; aspect-ratio: 16/9; width: 100%; background: radial-gradient(120% 90% at 30% 20%, #1b3156 0%, #0b1424 70%); color: #e8edf5; font: 600 1.05rem var(--f-display); padding: 12px; text-align: center; }
.hero-ph { font-size: 1.6rem; }
.combo-list { padding-left: 1.2em; }
.yt-link { position: absolute; inset: 0; display: block; }
.yt-link img { width: 100%; height: 100%; object-fit: cover; }
.yt-link .play { right: auto; bottom: auto; left: 50%; top: 50%; margin: -32px 0 0 -32px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
