/* pharmacompetitiveintelligence.com — single stylesheet, no build step.
   Palette and type are deliberately restrained: the audience is pharma
   commercial and CI teams, so this reads as an analyst publication rather
   than a SaaS landing page. */

:root {
  --ink:        #16191d;
  --ink-2:      #454c55;
  --ink-3:      #6b7480;
  --rule:       #d9dde2;
  --hair:       #eaedf0;
  --page:       #ffffff;
  --tint:       #f5f7f8;
  --tint-warm:  #f8f7f4;
  --accent:     #0f5c58;   /* deep teal — used sparingly */
  --accent-ink: #0b4a47;
  --accent-tint:#e7f0ef;
  --measure:    68ch;
  --wrap:       1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ── layout ─────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── header ─────────────────────────────────────────────── */
.site-head {
  border-bottom: 1px solid var(--rule);
  background: var(--page);
  position: sticky; top: 0; z-index: 20;
}
.site-head .wrap {
  display: flex; align-items: center; gap: 28px;
  min-height: 68px; flex-wrap: wrap;
}
.brand {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600; font-size: 19px; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; line-height: 1.2;
}
.brand span { color: var(--accent); }
.site-nav { margin-left: auto; display: flex; gap: 24px; flex-wrap: wrap; }
.site-nav a {
  font-size: 15px; color: var(--ink-2); text-decoration: none;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--ink); border-bottom-color: var(--accent);
}

/* ── typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600; letter-spacing: -.015em; line-height: 1.18;
  color: var(--ink); text-wrap: balance;
}
h1 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 18px; }
h2 { font-size: clamp(23px, 2.8vw, 30px); margin: 44px 0 14px; }
h3 { font-size: 20px; margin: 30px 0 10px; }
p  { margin: 0 0 18px; max-width: var(--measure); }
a  { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}
strong { font-weight: 600; }
ul, ol { max-width: var(--measure); padding-left: 24px; margin: 0 0 18px; }
li { margin-bottom: 9px; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 12px;
}
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 64ch; }
.byline {
  font-size: 14px; color: var(--ink-3); margin: 0 0 0;
  padding-top: 14px; border-top: 1px solid var(--hair);
}
.byline a { color: var(--ink-2); }

/* ── hero ───────────────────────────────────────────────── */
.hero { padding: 68px 0 56px; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.8vw, 52px); }
.hero-art img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--rule); border-radius: 3px;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 44px 0 40px; }
}

@media (max-width: 620px) {
  .brand { font-size: 17px; }
}

/* ── buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block; font-family: inherit; font-size: 15.5px; font-weight: 500;
  padding: 12px 22px; border-radius: 3px; text-decoration: none;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-quiet { background: transparent; color: var(--accent-ink); }
.btn-quiet:hover { background: var(--accent-tint); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ── sections ───────────────────────────────────────────── */
section.band { padding: 60px 0; border-bottom: 1px solid var(--rule); }
section.band.tint { background: var(--tint); }
.section-head { max-width: 68ch; margin-bottom: 34px; }
.section-head h2 { margin-top: 0; }

/* ── cards ──────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card {
  border: 1px solid var(--rule); border-radius: 3px; background: var(--page);
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
}
.card img { width: 100%; height: 168px; object-fit: cover; display: block; border-bottom: 1px solid var(--rule); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0 0 9px; font-size: 19px; line-height: 1.25; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--accent-ink); text-decoration: underline; }
.card p { font-size: 15.5px; color: var(--ink-2); margin: 0 0 14px; max-width: none; }
.card .meta {
  margin-top: auto; font-family: "IBM Plex Mono", monospace; font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}

/* ── article ────────────────────────────────────────────── */
.article-head { padding: 54px 0 30px; }
.article-body { padding-bottom: 20px; }
.article-body img {
  width: 100%; height: auto; display: block; margin: 30px 0;
  border: 1px solid var(--rule); border-radius: 3px;
}
figure { margin: 30px 0; }
figcaption { font-size: 14px; color: var(--ink-3); margin-top: 9px; }

.callout {
  border-left: 3px solid var(--accent); background: var(--accent-tint);
  padding: 18px 22px; margin: 28px 0; border-radius: 0 3px 3px 0;
}
.callout p { margin: 0; max-width: none; }
.callout p + p { margin-top: 12px; }

.keytake {
  border: 1px solid var(--rule); background: var(--tint-warm);
  padding: 22px 24px; margin: 32px 0; border-radius: 3px;
}
.keytake h2, .keytake h3 { margin-top: 0; font-size: 17px; font-family: "Public Sans", sans-serif;
  font-weight: 600; letter-spacing: 0; text-transform: uppercase; font-size: 13px;
  letter-spacing: .09em; color: var(--ink-3); }
.keytake ul { margin-bottom: 0; }

/* ── author card ────────────────────────────────────────── */
.author-card {
  display: flex; align-items: center; gap: 20px;
  border: 1px solid var(--rule); background: var(--tint-warm);
  padding: 20px 22px; margin: 24px 0 32px; border-radius: 3px;
}
.author-card img {
  width: 96px; height: 96px; flex: 0 0 96px;
  margin: 0; border-radius: 50%; object-fit: cover;
}
.author-card p { margin: 0; max-width: none; font-size: 16px; color: var(--ink-2); }
.author-card .author-name {
  font-family: "Source Serif 4", Georgia, serif; font-weight: 600;
  font-size: 18px; color: var(--ink); margin-bottom: 4px;
}
@media (max-width: 560px) {
  .author-card { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ── tables ─────────────────────────────────────────────── */
.tw { overflow-x: auto; margin: 28px 0; border: 1px solid var(--rule); border-radius: 3px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.5px; }
th {
  text-align: left; font-family: "IBM Plex Mono", monospace; font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  font-weight: 400; padding: 12px 16px; border-bottom: 1px solid var(--rule);
  background: var(--tint);
}
td { padding: 13px 16px; border-bottom: 1px solid var(--hair); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }

/* ── footer ─────────────────────────────────────────────── */
.site-foot {
  padding: 46px 0 56px; background: var(--tint); border-top: 1px solid var(--rule);
  font-size: 15px; color: var(--ink-2);
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.site-foot h4 {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin: 0 0 12px;
}
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: var(--ink-2); }
.foot-legal {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--rule);
  font-size: 13.5px; color: var(--ink-3); max-width: 78ch;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }
