/* DiseaseSignal — shared stylesheet */
:root {
  --bg: #0b1020;
  --bg-soft: #121a30;
  --card: #131c33;
  --line: rgba(255, 255, 255, 0.10);
  --ink: #e6ebf5;
  --muted: #9aa6be;
  --accent: #22d3ee;
  --accent-2: #38bdf8;
  --danger: #f4a3a3;
  --maxw: 1080px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Header / nav */
.ds-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--maxw); margin: 0 auto; padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.ds-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.ds-brand:hover { text-decoration: none; }
.ds-mark {
  width: 22px; height: 14px; display: inline-block;
  background:
    linear-gradient(var(--accent), var(--accent)) left 6px/4px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 6px 2px/4px 10px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 12px 0/4px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 18px 5px/4px 4px no-repeat;
}
.ds-nav { display: flex; flex-wrap: wrap; gap: .35rem .9rem; align-items: center; }
.ds-nav a { color: var(--muted); font-size: .95rem; font-weight: 600; }
.ds-nav a:hover, .ds-nav a[aria-current="page"] { color: var(--accent); text-decoration: none; }

/* Page container */
.ds-page { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.ds-kicker { color: var(--accent); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .6rem; }
.ds-crumbs { color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.ds-crumbs a { color: var(--muted); }

/* Hero (homepage) */
.ds-hero { max-width: var(--maxw); margin: 0 auto; padding: 3.25rem 1.25rem 1.5rem; }
.ds-hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.5rem); line-height: 1.05; margin: 0 0 1rem; letter-spacing: -.02em; }
.ds-hero .ds-tagline { color: var(--accent); font-weight: 700; }
.ds-hero p.ds-sub { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin: 0; }

/* Section intro */
.ds-section-top { padding: .5rem 0 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.ds-section-top h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.06; margin: 0 0 .7rem; letter-spacing: -.02em; }
.ds-section-top p { color: var(--muted); margin: 0; max-width: 65ch; }

/* Card grids */
.ds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.ds-card {
  display: block; padding: 1.1rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: inherit; transition: border-color .2s, transform .2s;
}
.ds-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.ds-card-meta { display: block; color: var(--muted); font-size: .72rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.ds-card strong { display: block; color: #fff; font-size: 1.05rem; line-height: 1.35; margin-bottom: .55rem; }
.ds-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.ds-card .ds-tag { color: var(--accent); font-weight: 700; font-size: .85rem; }

.ds-empty { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 1.25rem; }
.ds-empty p { color: var(--muted); margin: 0; }

/* Article */
.ds-article { max-width: 760px; }
.ds-article h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); line-height: 1.12; margin: 0 0 .6rem; letter-spacing: -.01em; }
.ds-meta { color: var(--muted); font-size: .8rem; font-family: var(--mono); margin: 0 0 1.1rem; }
.ds-lede { font-size: 1.18rem; color: var(--ink); margin: 0 0 1.4rem; }
.ds-body p { color: #cbd3e6; margin: 0 0 1.15rem; }
.ds-body p:first-child { margin-top: 0; }
.ds-body h2 { font-size: 1.28rem; line-height: 1.25; margin: 1.9rem 0 .6rem; color: #fff; letter-spacing: -.01em; }
.ds-body h3 { font-size: 1.06rem; margin: 1.4rem 0 .45rem; color: #fff; }
.ds-body h2:first-child, .ds-body h3:first-child { margin-top: 0; }
.ds-sources { margin: 2rem 0 0; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.ds-sources h2 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .5rem; }
.ds-sources h2 + * { margin-top: 0; }
.ds-sources ol, .ds-sources ul { padding-left: 1.25rem; margin: 0 0 .5rem; }
.ds-sources li { margin: .4rem 0; color: #cbd3e6; word-break: break-word; }
.ds-cites { list-style: none; padding-left: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.ds-cites li { margin: 0; }
.ds-cites a { display: inline-block; padding: .25rem .6rem; border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); font-size: .78rem; }

/* Ad slots */
.ad-slot { min-height: 0; }
.adsterra-unit { max-width: 100%; overflow: hidden; }

/* Footer + disclaimer */
.ds-footer { max-width: var(--maxw); margin: 2.5rem auto 0; padding: 1.5rem 1.25rem 3rem; border-top: 1px solid var(--line); }
.ds-disclaimer { color: var(--muted); font-size: .86rem; line-height: 1.6; margin: 0 0 .75rem; }
.ds-disclaimer strong { color: var(--danger); }
.ds-footlinks { color: var(--muted); font-size: .86rem; margin: 0; }
.ds-footlinks a { color: var(--muted); }

/* Prose (about) */
.ds-prose { max-width: 720px; }
.ds-prose h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin: 0 0 1rem; }
.ds-prose h2 { margin: 2rem 0 .6rem; font-size: 1.3rem; }
.ds-prose p, .ds-prose li { color: #cbd3e6; }
.ds-prose .ds-callout { border: 1px solid var(--line); border-left: 3px solid var(--danger); border-radius: 8px; background: var(--bg-soft); padding: 1rem 1.15rem; }
.ds-prose .ds-callout strong { color: var(--danger); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .ds-header { flex-direction: column; align-items: flex-start; gap: .6rem; }
}

/* Related-briefings internal-linking rail */
.ds-related { margin: 2rem 0 0; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.ds-related h2 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .6rem; }
.ds-related ul { margin: 0; padding-left: 1.1rem; }
.ds-related li { margin: .4rem 0; }
.ds-related a { color: var(--accent); }
