:root {
  --bg: #f5f1e8;
  --surface: rgba(255, 252, 245, 0.9);
  --surface-strong: #fffdf8;
  --surface-dark: rgba(28, 25, 22, 0.92);
  --text: #1f1f1b;
  --muted: #5f6058;
  --accent: #8c1515;
  --accent-strong: #6d1111;
  --heading: #8c1515;
  --link: #8c1515;
  --line: rgba(31, 31, 27, 0.12);
  --line-strong: rgba(31, 31, 27, 0.18);
  --shadow: 0 24px 70px rgba(31, 31, 27, 0.08);
  --bg-radial-1: rgba(15, 118, 110, 0.16);
  --bg-radial-2: rgba(180, 83, 9, 0.12);
  --bg-gradient-start: #f8f5ee;
  --bg-gradient-end: #f5f1e8;
  --lede: #2f302a;
  --dark-text: #f3eee6;
  --dark-muted: rgba(243, 238, 230, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--bg-radial-1), transparent 26%),
    radial-gradient(circle at top right, var(--bg-radial-2), transparent 24%),
    linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
}

a {
  color: var(--link);
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.08;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 16ch;
  margin: 0 auto 1.1rem;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

p {
  margin-bottom: 1rem;
}

main {
  padding-bottom: 5rem;
}

.hero__inner,
.content {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  padding: 4.75rem 0 3.4rem;
}

.hero__inner {
  text-align: center;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lede {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  color: var(--lede);
  font-size: 1.12rem;
  text-align: left;
}

.hero__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 0.85rem;
  color: var(--text);
  font-size: 1.03rem;
}

.hero__meta span {
  white-space: nowrap;
}

.hero__meta sup,
.hero__note sup {
  font-size: 0.72em;
  vertical-align: super;
}

.hero__affiliation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  margin-bottom: 1.8rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.8rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--accent-strong);
  font-size: 0.95rem;
}

.hero__badge svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.hero__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__actions a,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--accent-strong);
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.hero__actions a:hover,
.hero__actions a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(140, 21, 21, 0.32);
  background: var(--surface-strong);
  outline: none;
}

.band {
  padding: 3rem 0;
}

.band--tint {
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.45), rgba(255, 255, 255, 0.18));
}

.band--dark {
  background: var(--surface-dark);
  color: var(--dark-text);
}

.band--dark h2,
.band--dark h3 {
  color: #f3c3c3;
}

.intro-grid,
.two-up {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.stat-grid,
.pillar-grid,
.insight-grid,
.question-list {
  display: grid;
  gap: 1rem;
}

.stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillar-grid,
.insight-grid,
.question-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.pillar,
.insight,
.table-card,
.embed-card,
.question-list > div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-card,
.pillar,
.insight,
.question-list > div {
  padding: 1.2rem 1.15rem;
}

.stat-card__label,
.question-list__label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.12rem;
  color: var(--text);
}

.stat-card__sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.table-card {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
}

th,
td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.pillar ul {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.pillar li + li {
  margin-top: 0.45rem;
}

.embed-card {
  overflow: hidden;
  min-height: 32rem;
}

.embed-card object {
  display: block;
  width: 100%;
  min-height: 32rem;
  border: 0;
}

.band--dark .question-list > div {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.band--dark .question-list__label {
  color: #f3c3c3;
}

.band--dark p {
  color: var(--dark-muted);
}

@media (max-width: 920px) {
  .intro-grid,
  .two-up,
  .pillar-grid,
  .insight-grid,
  .question-list {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .band {
    padding: 2.35rem 0;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 34rem;
  }

  .embed-card,
  .embed-card object {
    min-height: 24rem;
  }
}
