:root {
  --bg: #fdfdfc;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #e6e4df;
  --link: #1a1a1a;
  --link-rule: #c9c6bf;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: Charter, "Iowan Old Style", Georgia, Cambria, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  font-size: 19px;
  line-height: 1.65;
}

/* ---- Header ---- */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 1.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.subtitle {
  color: var(--muted);
  margin-top: 0.85rem;
  font-size: 1.05rem;
}

.updated {
  color: var(--muted);
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-style: italic;
}

/* ---- List ---- */
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 5rem;
}

.reasons {
  list-style: none;
  counter-reset: reason;
  border-top: 1px solid var(--rule);
}

.reasons > li {
  counter-increment: reason;
  border-bottom: 1px solid var(--rule);
}

/* The clickable title row */
.reason summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 0;
  font-weight: 600;
  font-size: 1.12rem;
  display: flex;
  gap: 0.7rem;
  transition: color 0.15s ease;
}

.reason summary::-webkit-details-marker {
  display: none;
}

/* Clear "expandable" affordance: + that becomes − when open */
.reason summary::after {
  content: "+";
  margin-left: auto;
  color: var(--muted);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  transition: color 0.15s ease;
}

.reason[open] summary::after {
  content: "\2212";
}

.reason summary:hover {
  color: #000;
}

.reason summary:hover::after {
  color: #000;
}

.reason-title::before {
  content: counter(reason) ".";
  color: var(--muted);
  font-weight: 400;
  margin-right: 0.1rem;
}

/* ---- Expanded body ---- */
.reason-body {
  padding: 0 0 1.4rem 1.6rem;
}

.reason-body p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0.85rem;
}

.reason-body p:last-child {
  margin-bottom: 0;
}

.reason-body a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--link-rule);
  text-underline-offset: 2px;
}

.reason-body a:hover {
  text-decoration-color: var(--text);
}

.sources {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}

.sources a {
  color: var(--muted);
}

/* ---- Footer ---- */
footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--rule);
}

footer a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--link-rule);
  text-underline-offset: 2px;
}

footer a:hover {
  text-decoration-color: var(--text);
}
