/*
 * Layout for index.html, methodology.html, privacy.html.
 * Tokens come from tokens.css; this file only adds composition rules.
 */

.page {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 760px) {
  .page { padding-top: 40px; padding-bottom: 40px; }
}

.hero { padding-bottom: 16px; }

.hero .wordmark-xl {
  display: block;
  margin: 0 0 32px;
}

.tagline {
  margin: 0 0 24px;
  max-width: 18em;
}

.lede {
  font-size: 16px;
  line-height: 1.65;
  max-width: 36em;
  margin: 0 0 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.steps li { margin: 0; }
.steps .label { margin: 0 0 6px; }
.steps h3 { margin: 0 0 6px; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

.bullets {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.bullets li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding: 8px 0;
  border-top: 1px solid var(--divider);
}
.bullets li:first-child { border-top: none; }

.footer-page {
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid var(--divider);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-link {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.footer-link:hover { color: var(--ink); text-decoration: underline; }

/* Methodology / privacy: long-form editorial layout */
.doc-header {
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.doc-header .wordmark { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.doc-header .ast { color: var(--accent); }
.doc-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  margin-left: 20px;
}
.doc-header nav a:hover { color: var(--ink); }

.doc h1 { margin-bottom: 8px; }
.doc .updated {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 40px;
}
.doc h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.doc h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}
.doc p {
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.doc ul {
  margin: 12px 0;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}
.doc li {
  font-size: 14px;
  line-height: 1.7;
  margin: 6px 0;
}
.doc code {
  background: var(--paper);
  border: 1px solid var(--divider);
  padding: 1px 6px;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.doc strong { color: var(--ink); font-weight: 600; }
