/* =====================================================================
   PHARMABOT / CASE STUDY TEMPLATE v2
   =====================================================================
   Imported from the new HTML template
   (PharmaBot_Case_Study_Webpage_Demo). All selectors scoped under
   `.pharmabot-page` so they cannot leak onto the persistent Header,
   Footer, or other routes when the stylesheet is mounted via
   React 19's <link precedence="default">. The template's `:root`
   variables are scoped to `.pharmabot-page` so they don't pollute
   the global `:root`.
   ===================================================================== */

.pharmabot-page {
  --bg:           #faf8f4;
  --bg-2:         #f3efe6;
  --surface:      #ffffff;
  --primary:      #f58a22;
  --primary-2:    #5B21B6;
  --accent:       #f58a22;
  --accent-soft:  #fde6cf;
  --accent-tint:  #fef3e7;
  --ink:          #14102a;
  --ink-soft:     #4a4459;
  --ink-mute:     #78758a;
  --line:         #e8e2d4;
  --line-soft:    #f0ebde;
  --code-bg:      #1a1432;
  --code-text:    #d8d0ee;

  --serif:   'Fraunces', Georgia, serif;
  --sans:    'Inter', -apple-system, system-ui, sans-serif;
  --mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --radius:    4px;
  --radius-lg: 12px;

  --content-max: 720px;
  --layout-max:  1280px;

  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
.pharmabot-page * { box-sizing: border-box; }
.pharmabot-page img { max-width: 100%; height: auto; display: block; }
.pharmabot-page a { color: var(--primary); }
.pharmabot-page a:hover { color: var(--accent); }

/* Override the global `body { overflow-x: hidden }` in public/styles.css.
   `overflow-x: hidden` turns body into a scroll container, which silently
   kills `position: sticky` on descendants like the TOC. `overflow-x: clip`
   clips horizontal overflow the same way visually but does NOT create a
   scroll container, so the sticky TOC works as expected.
   BodyClass mounts `.pharmabot-page` directly on the body element. */
body.pharmabot-page { overflow-x: clip !important; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.pharmabot-page .breadcrumb {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 56px) 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.pharmabot-page .breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.pharmabot-page .breadcrumb a:hover { color: var(--primary); }
.pharmabot-page .breadcrumb .sep { margin: 0 10px; opacity: 0.4; }

/* ============================================================
   HERO
   ============================================================ */
.pharmabot-page .hero {
  max-width: var(--layout-max);
  margin: 50px auto;
  padding: 32px clamp(20px, 4vw, 56px) 56px;
}
.pharmabot-page .hero__eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.pharmabot-page .hero__eyebrow .dot { color: var(--ink-mute); }
.pharmabot-page .hero__eyebrow .pill {
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-tint);
}
.pharmabot-page .hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 66px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 1000px;
  margin-bottom: 28px;
}
.pharmabot-page .hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}
.pharmabot-page .hero__lede {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 760px;
  margin-bottom: 36px;
}
.pharmabot-page .hero__lede strong { color: var(--ink); font-weight: 600; }

.pharmabot-page .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.pharmabot-page .hero__meta dl { display: flex; gap: 8px; align-items: baseline; }
.pharmabot-page .hero__meta dt {
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
}
.pharmabot-page .hero__meta dd { color: var(--ink); font-weight: 500; }

/* ============================================================
   AT A GLANCE / TL;DR
   ============================================================ */
.pharmabot-page .glance {
  max-width: var(--layout-max);
  margin: 0 auto 56px;
  padding: 0 clamp(20px, 4vw, 56px);
}
.pharmabot-page .glance__box {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-top: 6px solid var(--accent);
  padding: 36px clamp(28px, 4vw, 48px);
  position: relative;
}
.pharmabot-page .glance__box::before {
  content: 'AT A GLANCE';
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--bg);
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.pharmabot-page .glance__lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.pharmabot-page .glance__lede em { font-style: italic; color: var(--primary); }
.pharmabot-page .glance__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(124, 58, 237, 0.2);
}
.pharmabot-page .glance__row dl dt {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.pharmabot-page .glance__row dl dd {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

/* ============================================================
   KPI ROW
   ============================================================ */
.pharmabot-page .kpis {
  max-width: var(--layout-max);
  margin: 0 auto 80px;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pharmabot-page .kpi { padding: 32px 24px; border-right: 1px solid var(--line); }
.pharmabot-page .kpi:last-child { border-right: 0; }
.pharmabot-page .kpi__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin-bottom: 10px;
}
.pharmabot-page .kpi__num em,
.pharmabot-page .kpi__num span {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.pharmabot-page .kpi__lbl {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.4;
}
@media (max-width: 720px) {
  .pharmabot-page .kpi { border-right: 0; border-bottom: 1px solid var(--line); }
  .pharmabot-page .kpi:last-child { border-bottom: 0; }
}

/* ============================================================
   MAIN LAYOUT — sidebar + article
   ============================================================ */
.pharmabot-page .layout {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 6vw, 80px);
  position: relative;
}
@media (max-width: 960px) {
  .pharmabot-page .layout { grid-template-columns: 1fr; gap: 32px; }
}

.pharmabot-page .toc {
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-right: 8px;
}
@media (max-width: 960px) {
  .pharmabot-page .toc {
    position: relative;
    top: 0;
    max-height: none;
    padding: 24px;
    background: var(--bg-2);
    border-radius: var(--radius-lg);
  }
}
.pharmabot-page .toc__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
  font-weight: 500;
}
.pharmabot-page .toc__list { list-style: none; padding: 0; margin: 0; }
.pharmabot-page .toc__list li { margin-bottom: 4px; }
.pharmabot-page .toc__list a {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 1px solid var(--line);
  transition: color 200ms ease, border-color 200ms ease;
}
.pharmabot-page .toc__list a:hover {
  color: var(--primary);
  border-left-color: var(--accent);
}
.pharmabot-page .toc__list a.is-active {
  color: var(--primary);
  font-weight: 500;
  border-left-color: var(--primary);
}

/* ============================================================
   ARTICLE BODY
   ============================================================ */
.pharmabot-page .article {
  max-width: var(--content-max);
  min-width: 0;
}
.pharmabot-page .article section { margin-bottom: 80px; }
.pharmabot-page .article h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  scroll-margin-top: 90px;
}
.pharmabot-page .article h2 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}
.pharmabot-page .article h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.pharmabot-page .article p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.pharmabot-page .article p strong { color: var(--ink); font-weight: 600; }
.pharmabot-page .article ul { list-style: none; padding: 0; margin-bottom: 18px; }
.pharmabot-page .article ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.pharmabot-page .article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
.pharmabot-page .article ul li strong { color: var(--ink); font-weight: 600; }

/* section eyebrow — supports both .section-label and .section__label */
.pharmabot-page .section-label,
.pharmabot-page .section__label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ============================================================
   KEY FACTS TABLE — supports both .keyfacts and .key-facts__list
   ============================================================ */
.pharmabot-page .keyfacts,
.pharmabot-page .key-facts__list {
  background: var(--accent-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
  margin-top: 8px;
}
.pharmabot-page .keyfacts dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}
@media (max-width: 540px) {
  .pharmabot-page .keyfacts dl { grid-template-columns: 1fr; }
}
.pharmabot-page .keyfacts dt,
.pharmabot-page .keyfacts dd,
.pharmabot-page .key-facts__row dt,
.pharmabot-page .key-facts__row dd {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.12);
  font-size: 14px;
  line-height: 1.45;
}
.pharmabot-page .keyfacts dt,
.pharmabot-page .key-facts__row dt {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
}
.pharmabot-page .keyfacts dd,
.pharmabot-page .key-facts__row dd { color: var(--ink); font-weight: 400; }
.pharmabot-page .keyfacts dl > :nth-last-child(1),
.pharmabot-page .keyfacts dl > :nth-last-child(2) { border-bottom: 0; }
.pharmabot-page .key-facts__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}
@media (max-width: 540px) {
  .pharmabot-page .key-facts__row { grid-template-columns: 1fr; }
}

/* ============================================================
   FIGURE / ARCHITECTURE DIAGRAM
   ============================================================ */
.pharmabot-page .figure,
.pharmabot-page .article figure {
  margin: 32px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.pharmabot-page .figure img,
.pharmabot-page .article figure img {
  width: 100%;
  border-radius: var(--radius);
}
.pharmabot-page .figure figcaption,
.pharmabot-page .article figure figcaption {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
  font-style: italic;
}
.pharmabot-page .figure figcaption strong,
.pharmabot-page .article figure figcaption strong {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* ============================================================
   VIDEO DEMO
   ============================================================ */
.pharmabot-page .figure.demo { padding: 0; overflow: hidden; }
.pharmabot-page .figure.demo > figcaption {
  margin-top: 0;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}
.pharmabot-page .demo__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(124, 58, 237, 0.28) 0%, transparent 60%),
    linear-gradient(135deg, #1a1432 0%, #2a1860 55%, #4C1D95 100%);
  overflow: hidden;
}
.pharmabot-page .demo__placeholder,
.pharmabot-page .demo__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.pharmabot-page .demo__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  cursor: pointer;
  color: #f4f0ff;
  transition: filter 200ms ease;
}
.pharmabot-page .demo__placeholder:hover { filter: brightness(1.08); }
.pharmabot-page .demo__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 233, 254, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 233, 254, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.pharmabot-page .demo__play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  box-shadow: 0 12px 36px rgba(76, 29, 149, 0.45);
  z-index: 1;
  animation: pharmabotDemoPulse 2.6s ease-in-out infinite;
}
.pharmabot-page .demo__play svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-left: 4px;
}
@keyframes pharmabotDemoPulse {
  0%, 100% { box-shadow: 0 12px 36px rgba(76, 29, 149, 0.45), 0 0 0 0 rgba(237, 233, 254, 0.55); }
  50%      { box-shadow: 0 12px 36px rgba(76, 29, 149, 0.45), 0 0 0 18px rgba(237, 233, 254, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pharmabot-page .demo__play { animation: none; }
}
.pharmabot-page .demo__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c4b5fd;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.pharmabot-page .demo__video {
  position: relative;
  z-index: 1;
  margin: 24px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 40px rgba(20, 16, 42, 0.18);
}
.pharmabot-page .demo__video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  background: #000;
}
.pharmabot-page .demo__headline {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  font-weight: 500;
  color: #ffffff;
  max-width: 560px;
  position: relative;
  z-index: 1;
}
.pharmabot-page .demo__sub {
  font-size: 13px;
  color: #d8d0ee;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FAQ — supports both <details> and div-based markup
   ============================================================ */
.pharmabot-page .faq__intro {
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.pharmabot-page .faq__intro p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.pharmabot-page .faq__list {
  border-top: 1px solid var(--line);
  padding: 0;
  margin: 0;
}

/* <details>-based markup */
.pharmabot-page .faq-item { border-bottom: 1px solid var(--line); }
.pharmabot-page .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  transition: background 200ms ease;
  position: relative;
}
.pharmabot-page .faq-item summary::-webkit-details-marker { display: none; }
.pharmabot-page .faq-item summary:hover { background: var(--accent-tint); }
.pharmabot-page .faq-item__q {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex: 1;
}
.pharmabot-page .faq-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 280ms cubic-bezier(.4, 0, .2, 1), background 200ms ease, border-color 200ms ease;
  margin-top: 4px;
}
.pharmabot-page .faq-item summary:hover .faq-item__icon { background: var(--accent); border-color: var(--accent); }
.pharmabot-page .faq-item summary:hover .faq-item__icon svg { stroke: var(--bg); }
.pharmabot-page .faq-item__icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink-soft);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 200ms ease;
}
.pharmabot-page .faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.pharmabot-page .faq-item[open] summary { background: var(--accent-tint); }
.pharmabot-page .faq-item__a {
  padding: 0 8px 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 660px;
}
.pharmabot-page .faq-item__a strong { color: var(--ink); font-weight: 600; }

/* dl-based fallback markup (current React FaqBlock) */
.pharmabot-page .faq__list .faq__item {
  border-bottom: 1px solid var(--line);
  padding: 22px 8px;
}
.pharmabot-page .faq__list .faq__item dt {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.pharmabot-page .faq__list .faq__item dd {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 660px;
}
.pharmabot-page .faq__list .faq__item dd strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   CTA — supports both .cta and .cta-final markup
   ============================================================ */
.pharmabot-page .cta,
.pharmabot-page .cta-final {
  max-width: 720px;
  margin: 50px auto 70px;
  padding: 64px clamp(28px, 5vw, 80px);
  background: var(--accent-tint);
  color: var(--ink);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pharmabot-page .cta::before,
.pharmabot-page .cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4), transparent 60%);
  pointer-events: none;
}
.pharmabot-page .cta__h,
.pharmabot-page .cta-final h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
  color: var(--ink);
}
.pharmabot-page .cta__h em,
.pharmabot-page .cta-final h2 em { font-style: italic; color: var(--primary); font-weight: 400; }
.pharmabot-page .cta__p,
.pharmabot-page .cta-final p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}
.pharmabot-page .cta__btns,
.pharmabot-page .cta-final__row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.pharmabot-page .cta .btn,
.pharmabot-page .cta-final .btn-primary,
.pharmabot-page .cta-final .btn-secondary {
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 200ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
}
.pharmabot-page .cta .btn--primary,
.pharmabot-page .cta-final .btn-primary {
  background: #fde6cf;
  color: var(--ink);
}
.pharmabot-page .cta .btn--primary:hover,
.pharmabot-page .cta-final .btn-primary:hover {
  background: #f58a22;
  transform: translateY(-2px);
  color: #ffffff;
}
.pharmabot-page .cta .btn--ghost,
.pharmabot-page .cta-final .btn-secondary {
  background: #fde6cf;
  color: var(--ink);
  border: 1px solid #f58a22;
}
.pharmabot-page .cta .btn--ghost:hover,
.pharmabot-page .cta-final .btn-secondary:hover {
  background: #f58a22;
  color: #ffffff;
}

/* ============================================================
   ARTICLE TOP META (Published / Updated / By)
   ============================================================ */
.pharmabot-page .article__top-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.pharmabot-page .article__top-meta strong {
  color: var(--ink);
  font-weight: 500;
}

/* ============================================================
   ENTRANCE ANIMATION
   ============================================================ */
@keyframes pharmabotRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pharmabot-page .hero__eyebrow,
.pharmabot-page .hero__title,
.pharmabot-page .hero__lede,
.pharmabot-page .hero__meta { animation: pharmabotRise 700ms cubic-bezier(.2, .7, .2, 1) both; }
.pharmabot-page .hero__eyebrow { animation-delay: 0ms; }
.pharmabot-page .hero__title   { animation-delay: 100ms; }
.pharmabot-page .hero__lede    { animation-delay: 220ms; }
.pharmabot-page .hero__meta    { animation-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .pharmabot-page *, .pharmabot-page *::before, .pharmabot-page *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
