/* ============================================================================
   IREX Changelog — layout chrome.
   Fonts, colors, type scale, lists: docs-site.css
   ========================================================================== */

@import url("../../assets/docs-site.css");

:root {
  --maxw: 800px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.cl {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-6) var(--space-5) var(--space-9);
}

.cl-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-7);
}
.cl-topbar img { height: 34px; width: auto; }
.cl-topbar-tag {
  font-family: var(--font-head);
  font-weight: var(--w-semibold);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.cl-eyebrow {
  font-family: var(--font-head);
  font-weight: var(--w-semibold);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-3);
}

.cl-title {
  font-family: var(--font-head);
  font-weight: var(--w-bold);
  font-size: var(--docs-title);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-7);
  color: var(--fg);
}

.cl-section {
  margin: 0 0 var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.cl-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.cl-section-title {
  font-family: var(--font-head);
  font-weight: var(--w-bold);
  font-size: var(--docs-h2);
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-5);
  color: var(--fg);
}

.cl-version {
  font-family: var(--font-head);
  font-weight: var(--w-semibold);
  font-size: var(--docs-h3);
  color: var(--link);
  margin: 0 0 var(--space-3);
}

/* Ordered lists: shared brand markers via docs-site.css (ol.cl-list) */
.cl-list:last-child { margin-bottom: 0; }

@media print {
  .cl { padding: 0; max-width: none; }
  .cl-topbar { margin-bottom: var(--space-5); }
}
