:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #b34a9c;
  --border: #e6e6e6;
  --draft-bg: #fff2cc;
  --draft-border: #d9a441;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

.site-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.site-header__brand { font-weight: 700; text-decoration: none; color: var(--ink); font-size: 1.1rem; }
.site-header__parent { margin: 0; font-size: 0.85rem; color: var(--muted); }
.site-header__parent a { color: var(--muted); }

/* aspect-ratio matches the source image's content band (rows 117-520 of
   640), cropping the black letterboxing top/bottom via centered object-fit
   rather than a re-exported image. */
.site-banner { width: 100%; aspect-ratio: 1600 / 403; overflow: hidden; }
.site-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

main.page { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
main.page--index { max-width: 1100px; }

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs__sep { margin: 0 0.4rem; color: var(--border); }
.breadcrumbs__current { color: var(--muted); }

.index__intro {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 2.5rem;
}

.index__section { margin-bottom: 3rem; }
.index__section-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 860px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.card__title { font-size: 1.1rem; margin: 0 0 0.5rem; line-height: 1.3; }
.card__summary { font-size: 0.9rem; color: var(--muted); margin: 0; }

.card-grid--pillars .card--pillar {
  background: linear-gradient(180deg, rgba(179, 74, 156, 0.06), transparent 60%);
  border-color: var(--accent);
}
.card-grid--pillars .card--pillar .card__title { font-size: 1.25rem; }

.draft-notice {
  background: var(--draft-bg);
  border: 1px solid var(--draft-border);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.related-questions {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.related-questions ul { padding-left: 1.1rem; }
.related-questions__planned { color: var(--muted); cursor: help; text-decoration: underline dotted; }

.site-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-bottom: 0.75rem;
}
.site-footer__links a { color: var(--muted); }
.site-footer__links a:hover { color: var(--accent); }

.utility-page h2 { margin-top: 2rem; }
