:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #eef5ff;
  --text: #172033;
  --muted: #5a667a;
  --line: #d7dee8;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --warning: #b45309;
  --ink: #0f172a;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

a {
  color: var(--accent-strong);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px max(18px, calc((100vw - 1040px) / 2));
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-strong);
  outline: none;
}

.article {
  margin: 0 auto;
  width: min(960px, calc(100% - 32px));
}

.hero {
  padding: 78px 0 34px;
}

.eyebrow {
  color: var(--warning);
  font-size: 0.84rem;
  font-weight: 900;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.7rem;
  max-width: 880px;
}

.lead {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 820px;
  margin: 24px 0 0;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.meta span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 7px 12px;
}

.content-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0 0 22px;
  padding: 34px;
}

.content-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  margin-bottom: 18px;
}

.content-section p {
  color: var(--text);
  font-size: 1.06rem;
  margin: 0 0 22px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.summary-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.summary-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(150px, 220px) 1fr;
  padding-bottom: 14px;
}

.summary-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-list dt {
  color: var(--muted);
  font-weight: 900;
}

.summary-list dd {
  color: var(--text);
  margin: 0;
}

.section-heading {
  margin-bottom: 24px;
}

code {
  background: rgba(15, 118, 110, 0.1);
  border-radius: 4px;
  color: var(--accent-strong);
  font-size: 0.92em;
  padding: 2px 5px;
}

.evidence-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.image-card a {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: var(--surface-soft);
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.image-card img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.image-card.missing-image a::before {
  color: var(--muted);
  content: "Add image: " attr(href);
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  padding: 24px;
  text-align: center;
}

.image-card figcaption {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
  padding: 12px 14px 14px;
}

.faq-section details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq-section details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.faq-section details p {
  color: var(--muted);
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 42px;
  padding: 28px 16px 42px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .content-section {
    padding: 24px 20px;
  }

  .summary-list div {
    grid-template-columns: 1fr;
  }

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