/* Styles for the /cpale/ exam-facts pages. Self-contained on purpose:
   assets/tailwind.css is a compiled build and lacks most arbitrary values. */
:root {
  --ink: #1d1d1f;
  --muted: #5c5c61;
  --line: rgba(0, 0, 0, 0.12);
  --brand: #0E75CC;
  --wash: #f5f5f7;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

.bar { border-bottom: 1px solid var(--line); background: #fff; }
.bar__in { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.bar__logo img { display: block; height: 26px; width: auto; }
.bar__link { font-size: 13px; font-weight: 500; }

main { padding-top: 28px; padding-bottom: 56px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--ink); }

h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 20px; }
h2 { font-size: 20px; letter-spacing: -0.015em; margin: 36px 0 8px; }
p { margin: 0 0 14px; max-width: 68ch; }

.answer {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  padding: 16px 18px;
  background: var(--wash);
  border-left: 4px solid var(--brand);
  border-radius: 0 8px 8px 0;
  margin-bottom: 28px;
}

.tablewrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--wash); font-size: 13px; font-weight: 600; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.nw { white-space: nowrap; }
td.lbl { width: 3.2em; color: var(--muted); }
tr.top td { font-weight: 600; }
tr.sub td { font-weight: 400; background: #fcfcfd; }
tr.sub td:nth-child(2) { padding-left: 28px; }
tr.tot td { font-weight: 700; background: var(--wash); }

blockquote {
  margin: 0 0 16px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--line);
  color: #333;
}
blockquote p { margin-bottom: 6px; }

.sources-block { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); }
.sources-block h2 { margin-top: 0; font-size: 16px; }
.sources { margin: 0 0 12px; padding-left: 20px; font-size: 14.5px; }
.sources li { margin-bottom: 6px; }
.verified { font-size: 13.5px; color: var(--muted); }

.pointer { margin-top: 28px; font-size: 14.5px; color: var(--muted); }

.hub { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hub li { padding: 14px 2px; border-bottom: 1px solid var(--line); }
.hub a { font-weight: 600; font-size: 17px; display: block; }
.hub span { display: block; color: var(--muted); font-size: 15px; }

.foot { background: #1d1d1f; color: rgba(255, 255, 255, 0.7); font-size: 13px; padding: 28px 0; }
.foot__in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot p { margin: 0; max-width: none; }
.foot a { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 520px) {
  th, td { padding: 9px 10px; font-size: 14px; }
  tr.sub td:nth-child(2) { padding-left: 18px; }
  .answer { font-size: 17px; }
}
