/* =========================================================
   DIGITAL INTEGRITY — OFFICIAL BRAND STYLESHEET
   SCHEMA 3 PALETTE — Institute Cyan
   ─────────────────────────────────────────────────────────
   PRIMARY:    Institute Cyan  #14B0C8  — brand identity
   HIGHLIGHT:  Electric Cyan   #1EDAE8  — interactive states
   ACCENT:     Gold Connector  #E8A820  — ecosystem link
   DEPTH:      Depth           #0C6878  — panels & dark surfaces
   NEUTRAL:    Slate Gray      #4F5D75
   BG:         Light Gray      #E5E5E5 / #F4F7FA / #FFFFFF
   ─────────────────────────────────────────────────────────
   This palette is the source of truth for the Digital
   Integrity Institute. Truevence uses a SEPARATE palette
   (Verdant Jade #1EAA80) defined in its own stylesheet.
   ─────────────────────────────────────────────────────────
   Typography: Inter (primary) · Source Sans Pro (secondary)
   ========================================================= */

:root {
  /* Brand palette */
  --deep-blue:  #0C6878;
  --teal:       #14B0C8;
  --gold:       #E8A820;
  --slate:      #4F5D75;
  --light-gray: #E5E5E5;

  /* Semantic tokens */
  --bg:         #ffffff;
  --bg-alt:     #F4F7FA;
  --text:       #0F1E2E;
  --text-muted: #4F5D75;
  --border:     #D6DDE5;

  /* Layout */
  --max:    1180px;
  --radius: 6px;
  --shadow: 0 2px 16px rgba(12,104,120,.09);
}

/* ── Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, 'Helvetica Neue', Helvetica, 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--deep-blue); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 12px; color: var(--deep-blue); }
h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); letter-spacing: -.02em; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
p.lead { font-size: 1.13rem; color: var(--text-muted); max-width: 68ch; }

/* ── Layout ───────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.section { padding: 60px 0; }
.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Navigation ───────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--deep-blue);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 10px rgba(0,0,0,.20);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 18px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-weight: 800; font-size: 1.02rem;
  letter-spacing: .01em; text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--gold); }
.brand img { border-radius: 4px; }
.nav-links { display: flex; gap: 0; flex-wrap: nowrap; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.80); font-size: .83rem; font-weight: 600;
  padding: 6px 8px; border-radius: var(--radius);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: #fff; background: rgba(255,255,255,.12); text-decoration: none;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: var(--radius);
  font-weight: 700; font-size: .94rem; text-decoration: none;
  border: 2px solid var(--teal); color: var(--teal);
  background: transparent; cursor: pointer; transition: all .15s;
}
.btn:hover { background: var(--teal); color: #fff; text-decoration: none; }
.btn.primary {
  background: var(--gold); color: var(--deep-blue);
  border-color: var(--gold);
}
.btn.primary:hover {
  background: #D09018; border-color: #D09018; color: var(--deep-blue);
}
.btn.white { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn.white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ── Hero (homepage) ──────────────────────────────────── */
.hero {
  background: linear-gradient(155deg, #0C6878 55%, #0A8898 100%);
  color: #fff; padding: 80px 0 64px;
}
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,.80); }
.hero-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.15fr .85fr; align-items: center;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.eyebrow {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
  color: var(--gold); border: 1px solid rgba(232,168,32,.40);
  background: rgba(232,168,32,.10);
  font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}

/* ── KPI strip ────────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.kpi {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 18px;
}
.kpi strong { display: block; font-size: 1.9rem; color: var(--gold); line-height: 1.1; margin-bottom: 4px; }
.kpi span { color: rgba(255,255,255,.70); font-size: .87rem; }

/* ── Cards & panels ───────────────────────────────────── */
.card, .panel, .feature, .stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.panel { padding: 26px; }

/* Series color accent strips */
.card.s-000 { border-top: 3px solid var(--slate); }
.card.s-100 { border-top: 3px solid #C0392B; }
.card.s-200 { border-top: 3px solid var(--deep-blue); }
.card.s-300 { border-top: 3px solid #C8900A; }
.card.s-400 { border-top: 3px solid #5B4FBF; }
.card.s-500 { border-top: 3px solid #27AE60; }
.card.s-600 { border-top: 3px solid var(--teal); }
.card.s-700 { border-top: 3px solid #2C3E50; }
.card.s-800 { border-top: 3px solid #1A6B7C; }

/* ── Diagram / flow ───────────────────────────────────── */
.diagram {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; text-align: center;
}
.flow { display: grid; gap: 8px; }
.flow .step {
  padding: 12px 16px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  font-weight: 700; font-size: .92rem; color: var(--deep-blue);
}
.flow .arrow { font-size: 1rem; color: var(--teal); }

/* ── Timeline ─────────────────────────────────────────── */
.timeline { display: grid; gap: 14px; }
.timeline-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; background: var(--bg); box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
}
.timeline-item h3 {
  display: flex; justify-content: space-between; gap: 10px;
  align-items: flex-start; margin-bottom: 8px;
}
.timeline-item .when { font-size: .88rem; color: var(--teal); font-weight: 600; white-space: nowrap; }

/* ── Quote & callout ──────────────────────────────────── */
.quote {
  border-left: 4px solid var(--gold);
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.quote p { margin: 0; font-size: 1.05rem; color: var(--deep-blue); font-style: italic; }
.quote .by { margin-top: 12px; color: var(--text-muted); font-size: .87rem; font-style: normal; }

.callout {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 32px 36px; border-radius: var(--radius);
  background: var(--deep-blue); color: #fff;
}
.callout h2 { color: #fff; margin-bottom: 6px; font-size: 1.6rem; }
.callout p { color: rgba(255,255,255,.80); margin: 0; }
.callout .hero-actions { margin-top: 0; }

/* ── Lists ────────────────────────────────────────────── */
.list { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.list li { padding-left: 22px; position: relative; font-size: .94rem; }
.list li::before {
  content: "›"; position: absolute; left: 0; top: -1px;
  color: var(--teal); font-weight: 900; font-size: 1.1rem;
}

/* ── Badges ───────────────────────────────────────────── */
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.badge {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-muted);
  font-size: .80rem; font-weight: 700; background: var(--bg-alt);
}

/* ── Table ────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: .93rem; }
thead tr { background: var(--deep-blue); }
th { color: #fff; font-weight: 700; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-alt); }
td:first-child { font-weight: 700; color: var(--deep-blue); }

/* ── Page hero (inner pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(155deg, #0C6878 55%, #0A8898 100%);
  color: #fff; padding: 56px 0 40px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.page-hero p.lead { color: rgba(255,255,255,.80); }
.page-hero .eyebrow { margin-bottom: 14px; }

/* ── Table of contents ────────────────────────────────── */
.toc {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.toc h3 { color: var(--deep-blue); margin-bottom: 10px; }
.toc ul { padding-left: 0; list-style: none; display: grid; gap: 6px; }
.toc ul li { padding-left: 16px; position: relative; font-size: .91rem; }
.toc ul li::before { content: "›"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.toc a { color: var(--teal); font-weight: 600; }

/* ── Inline code ──────────────────────────────────────── */
code.inline {
  padding: 2px 8px; border-radius: 4px;
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--deep-blue); font-size: .86rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--deep-blue);
  color: rgba(255,255,255,.72);
  padding: 52px 0 36px;
  border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr; }
.footer h3 {
  color: var(--gold); font-size: .82rem; letter-spacing: .09em;
  text-transform: uppercase; margin-bottom: 14px;
}
.footer .brand { color: #fff; font-size: .98rem; }
.footer .brand:hover { color: var(--gold); }
.footer .small { color: rgba(255,255,255,.48); font-size: .84rem; margin: 0; }
.footer .list li { color: rgba(255,255,255,.70); }
.footer .list li::before { color: var(--gold); }
.footer a { color: rgba(255,255,255,.80); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer hr { border: none; border-top: 1px solid rgba(255,255,255,.12); margin: 28px 0 18px; }

/* ── Utility ──────────────────────────────────────────── */
.small { font-size: .92rem; color: var(--text-muted); }
.mt-sm { margin-top: 14px; }
.mt-md { margin-top: 22px; }
.mt-lg { margin-top: 32px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .callout { flex-direction: column; align-items: flex-start; }
  .timeline-item h3 { flex-direction: column; gap: 4px; }
}
@media (max-width: 600px) {
  .kpis { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 40px 0; }
  .page-hero { padding: 40px 0 30px; }
  .nav-links a { padding: 6px 8px; font-size: .84rem; }
}

/* ── Nav CTA button ────────────────────────────────────── */
.btn-nav-cta {
  background: var(--gold);
  color: var(--deep-blue);
  border: none;
  border-radius: var(--radius);
  padding: 6px 13px;
  font-size: .82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: .01em;
  transition: background .15s, transform .1s;
  white-space: nowrap;
  margin-left: 4px;
  line-height: 1;
}
.btn-nav-cta:hover { background: #B88018; transform: translateY(-1px); }
.btn-nav-cta:active { transform: translateY(0); }

/* ── Modal overlay ─────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,104,120,.6);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--bg);
  border-radius: 10px;
  padding: 36px 40px 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 16px 56px rgba(12,104,120,.22);
  position: relative;
}
.modal-box h2 { margin: 0 0 6px; font-size: 1.3rem; color: var(--deep-blue); }
.modal-box .modal-sub { margin: 0 0 24px; color: var(--text-muted); font-size: .95rem; }
.modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none; border: none;
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  color: var(--slate);
  padding: 4px 8px;
  border-radius: 4px;
  transition: background .15s;
}
.modal-close:hover { background: var(--bg-alt); }

/* ── Form elements ─────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--deep-blue);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,176,200,.12);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234F5D75' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }
.form-submit {
  width: 100%;
  padding: 12px;
  background: var(--deep-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
  margin-top: 6px;
}
.form-submit:hover { background: #0A5868; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }

/* ── Form success state ────────────────────────────────── */
.form-success {
  display: none;
  text-align: center;
  padding: 16px 0 8px;
}
.form-success .success-icon { font-size: 2.6rem; margin-bottom: 12px; }
.form-success h3 { color: var(--deep-blue); margin: 0 0 8px; font-size: 1.2rem; }
.form-success p { color: var(--text-muted); font-size: .95rem; }

/* ── Inline stay-informed strip ────────────────────────── */
.stay-informed {
  background: var(--deep-blue);
  padding: 56px 0;
  color: #fff;
}
.stay-informed h2 { color: #fff; margin: 0 0 8px; }
.stay-informed p { color: rgba(255,255,255,.78); margin: 0 0 28px; }
.stay-informed-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.inline-form input[type="text"],
.inline-form input[type="email"] {
  flex: 1 1 200px;
  padding: 11px 16px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.inline-form input::placeholder { color: rgba(255,255,255,.5); }
.inline-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.18);
}
.inline-form-success {
  display: none;
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 0;
}

@media (max-width: 600px) {
  .modal-box { padding: 28px 20px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .btn-nav-cta { padding: 6px 12px; font-size: .8rem; margin-left: 2px; }
}

/* ── Print ────────────────────────────────────────────── */
@media print {

  /* ── Hide non-content elements ─────────────────────── */
  .modal-overlay,
  #di-modal,
  .stay-informed,
  .nav-links,
  .btn-nav-cta,
  .hero-actions,
  .btn,
  button,
  form,
  .inline-form,
  .inline-form-success { display: none !important; }

  /* ── Topbar — show brand lockup, strip nav chrome ───── */
  .topbar {
    position: static !important;
    background: #fff !important;
    border-bottom: 2px solid #ccc !important;
    box-shadow: none !important;
    padding: 12px 0 !important;
  }
  .topbar .nav { min-height: auto !important; }
  .topbar .brand { color: #000 !important; }
  .topbar svg text { fill: #000 !important; }
  .topbar svg circle { stroke: #333 !important; fill: #333 !important; }
  .topbar svg circle:first-of-type { fill: none !important; }
  .topbar svg line { stroke: #666 !important; stroke-opacity: 1 !important; }

  /* ── Reset page & body ─────────────────────────────── */
  * { box-shadow: none !important; text-shadow: none !important; }
  html, body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  /* ── Typography ────────────────────────────────────── */
  h1, h2, h3, h4 { color: #000 !important; page-break-after: avoid; }
  h1 { font-size: 22pt !important; }
  h2 { font-size: 16pt !important; }
  h3 { font-size: 12pt !important; }
  p, li, td, th { orphans: 3; widows: 3; }

  /* ── Layout — single column ────────────────────────── */
  .container { max-width: 100% !important; padding: 0 !important; }
  .grid-2, .grid-3, .grid-4, .footer-grid,
  .hero-grid, .kpis { grid-template-columns: 1fr !important; }

  /* ── Collapse sections ─────────────────────────────── */
  .section, .section.alt { padding: 20px 0 !important; }

  /* ── Hero & page-hero — remove dark backgrounds ────── */
  .hero, .page-hero {
    background: #fff !important;
    color: #000 !important;
    padding: 10px 0 !important;
  }
  .hero h1, .page-hero h1 { color: #000 !important; }
  .hero p.lead, .page-hero p.lead { color: #333 !important; }

  /* ── Eyebrow badges ────────────────────────────────── */
  .eyebrow {
    color: #333 !important;
    border-color: #999 !important;
    background: transparent !important;
  }

  /* ── KPIs ──────────────────────────────────────────── */
  .kpi {
    background: transparent !important;
    border: 1px solid #ccc !important;
    padding: 10px !important;
  }
  .kpi strong { color: #000 !important; }
  .kpi span { color: #333 !important; }

  /* ── Cards, panels, features ───────────────────────── */
  .card, .panel, .feature, .stat {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
    margin-bottom: 10px;
  }

  /* ── Callout blocks — remove dark bg ───────────────── */
  .callout {
    background: #f4f4f4 !important;
    color: #000 !important;
    padding: 16px !important;
    border: 1px solid #ccc !important;
    flex-direction: column !important;
  }
  .callout h2 { color: #000 !important; }
  .callout p { color: #333 !important; }

  /* ── DIRM stage boxes (inline styled) ──────────────── */
  .callout [style*="border-radius:4px"] {
    border: 1px solid #999 !important;
    background: transparent !important;
  }
  .callout [style*="border-radius:4px"] div {
    color: #000 !important;
  }

  /* ── Diagram & flow ────────────────────────────────── */
  .diagram {
    background: #fff !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }
  .flow .step { border: 1px solid #999 !important; color: #000 !important; }
  .flow .arrow { color: #666 !important; }

  /* ── Timeline ──────────────────────────────────────── */
  .timeline-item {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    border-left: 3px solid #666 !important;
    page-break-inside: avoid;
  }
  .timeline-item .when { color: #333 !important; }

  /* ── Quotes ────────────────────────────────────────── */
  .quote {
    background: transparent !important;
    box-shadow: none !important;
    border-left: 3px solid #999 !important;
    page-break-inside: avoid;
  }
  .quote p { color: #000 !important; }
  .quote .by { color: #555 !important; }

  /* ── Table ─────────────────────────────────────────── */
  .table-wrap { overflow: visible !important; }
  table { min-width: 0 !important; }
  thead tr { background: #eee !important; }
  th { color: #000 !important; }

  /* ── TOC ────────────────────────────────────────────── */
  .toc { background: transparent !important; border: 1px solid #ccc !important; }
  .toc a { color: #000 !important; }

  /* ── Footer — simplified for print ─────────────────── */
  .footer {
    background: #fff !important;
    color: #000 !important;
    border-top: 2px solid #ccc !important;
    padding: 20px 0 !important;
  }
  .footer h3 { color: #333 !important; }
  .footer a, .footer .small, .footer .list li { color: #333 !important; }
  .footer .list li::before { color: #666 !important; }
  .footer hr { border-top-color: #ccc !important; }
  .footer svg text { fill: #000 !important; }
  .footer svg circle { stroke: #666 !important; fill: #666 !important; }
  .footer svg circle:first-of-type { fill: none !important; }
  .footer svg line { stroke: #666 !important; stroke-opacity: 1 !important; }

  /* ── Links — show URL after text ───────────────────── */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    font-weight: 400;
    color: #555;
    word-break: break-all;
  }
  /* Don't add URL to nav or button links */
  .nav-links a::after,
  .brand a::after,
  .btn::after,
  .footer a::after { content: none !important; }

  /* ── Badges ────────────────────────────────────────── */
  .badge { border-color: #ccc !important; background: transparent !important; color: #333 !important; }

  /* ── Section alt background ────────────────────────── */
  .section.alt {
    background: transparent !important;
    border-color: #ddd !important;
  }

  /* ── Misc ──────────────────────────────────────────── */
  .list li::before { color: #666 !important; }
  img { max-width: 100% !important; }
  a { color: #000 !important; text-decoration: underline !important; }

  /* ── Page breaks ───────────────────────────────────── */
  .section { page-break-inside: avoid; }
  .card, .panel, .quote, .timeline-item, .diagram { page-break-inside: avoid; }
}
