
/* ── Chapter card ────────────────────────────────── */
.chapter-card {
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-5);
}
.chapter-era {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.chapter-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-1);
  margin-bottom: var(--space-4);
}
.chapter-body {
  font-size: var(--text-base);
  color: var(--color-text-2);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}
.chapter-body:last-child { margin-bottom: 0; }

/* ── Section divider ─────────────────────────────── */
.ai-section-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-12) 0 var(--space-6);
}
.ai-section-divider .line { flex: 1; height: 1px; background: var(--color-rule); }
.ai-section-divider .label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── ZTMM foundation callout ───────────────────────── */
.ztmm-foundation {
  margin-bottom: var(--space-12);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-xl);
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}
.ztmm-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ztmm-badge img { width: 64px; height: 64px; object-fit: contain; }
.ztmm-content { flex: 1; }
.ztmm-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: var(--space-2);
}
.ztmm-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-1);
  margin-bottom: var(--space-3);
}
.ztmm-body {
  font-size: var(--text-base);
  color: var(--color-text-2);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}
.ztmm-body:last-child { margin-bottom: 0; }
.ztmm-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.15s;
}
.ztmm-link:hover { color: var(--color-sky); }
.ztmm-link svg { width: 14px; height: 14px; }

@media (max-width: 640px) {
  .ztmm-foundation { flex-direction: column; padding: var(--space-6); }
  .ztmm-badge { width: 48px; height: 48px; }
  .ztmm-badge img { width: 48px; height: 48px; }
}

/* ── Throughline callout ─────────────────────────── */
.throughline {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-xl);
  border-left: 4px solid #A78BFA;
}
.throughline p {
  font-size: var(--text-base);
  color: var(--color-text-2);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}
.throughline p:last-child { margin-bottom: 0; }
.throughline strong { color: var(--color-text-1); }

@media (max-width: 640px) {
  .chapter-card { padding: var(--space-6); }
  .throughline { padding: var(--space-6); }
}

/* ── Regulatory content styles ───────────────────── */
.reg-quote {
  border-left: 3px solid var(--color-blue);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-4) 0;
  background: var(--color-blue-bg-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-base);
  color: var(--color-text-2);
  line-height: var(--leading-relaxed);
  font-style: italic;
}
.reg-quote cite {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: var(--weight-semibold);
  color: var(--color-text-3);
}
.reg-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.15s;
  margin-top: var(--space-3);
}
.reg-source:hover { color: var(--color-sky); }
.reg-source svg { width: 14px; height: 14px; }
.reg-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}
.reg-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-weight: var(--weight-semibold);
  color: var(--color-text-1);
  border-bottom: 2px solid var(--color-rule);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.reg-table td {
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-2);
  border-bottom: 1px solid var(--color-rule);
  vertical-align: top;
}
.reg-table a { color: var(--color-blue); text-decoration: none; font-weight: var(--weight-medium); }
.reg-table a:hover { color: var(--color-sky); }
.reg-date {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-sky);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.reg-takeaway {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-emerald-bg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-2);
  line-height: var(--leading-relaxed);
}
.reg-takeaway strong { color: var(--color-emerald); font-weight: var(--weight-semibold); }

@media (max-width: 768px) {
  .reg-table { font-size: var(--text-xs); }
  .reg-table th, .reg-table td { padding: var(--space-2) var(--space-3); }
}
