/* Shared page structure: page header, ruled sections, lists, links.
   Dark sections are transparent so the starfield shows through.
   Add class="on-light" for a solid white section. */

.page-header { padding-top: 176px; padding-bottom: 96px; text-align: left; }
.page-header.container h1 {
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 18ch;
  margin: 0 0 32px;
  text-align: left;
}
.page-header.container p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: 0;
  text-align: left;
}

.section { padding: 96px 0; border-top: 1px solid var(--border-soft); color: var(--text-primary); }
.section-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 32px 48px;
}
.section-inner > h2 { font-size: 15px; font-weight: 600; }

.lede {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 30ch;
  margin-bottom: 64px;
}

/* Definition list: term left, text right, hairline between */
.defs > div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border-soft);
}
.defs dt { font-size: 18px; font-weight: 600; }
.defs dd { font-size: 17px; color: var(--text-secondary); max-width: 56ch; }

/* Row list: works on div rows or full-row links */
.row-list > .row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
}
.row-list > .row:last-child { border-bottom: 1px solid var(--border-soft); }
.row-title { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.row-desc { color: var(--text-secondary); max-width: 46ch; }
.row-go { font-weight: 500; color: var(--text-muted); transition: color 0.15s ease; }
a.row:hover .row-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
a.row:hover .row-go { color: var(--text-primary); }

/* Plain ruled list for short facts */
.rule-list li {
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 17px;
  color: var(--text-secondary);
}
.rule-list li:last-child { border-bottom: 1px solid var(--border-soft); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .page-header { padding-top: 128px; padding-bottom: 64px; }
  .section { padding: 64px 0; }
  .section-inner { grid-template-columns: 1fr; gap: 24px; }
  .defs > div { grid-template-columns: 1fr; gap: 8px; }
  .row-list > .row { grid-template-columns: 1fr; gap: 8px; }
}

.prose p { font-size: 18px; line-height: 1.55; color: var(--text-secondary); max-width: 56ch; margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.fine-print { font-size: 14px; color: var(--text-muted); max-width: 56ch; margin-top: 32px; }
.fine-print a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }