/* Subpage layout — imported alongside shared.css on privacy, terms, faq pages. */

/* Reduce grain intensity on content-heavy pages */
:root { --grain-opacity: 0.022; }

/* ── Links ───────────────────────────────────────────────────── */
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header layout (subpages put brand/nav/btn directly in header) */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  padding: 24px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
}

.footer-links { display: flex; flex-wrap: wrap; gap: 2px; }

/* ── Page content ────────────────────────────────────────────── */
.page-content {
  padding: 72px 0 112px;
  max-width: 720px;
}

.page-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}

.page-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--text);
  margin-bottom: 14px;
}

.page-meta {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 56px;
}

.rule {
  height: 1px;
  background: var(--border);
  margin: 0 0 56px;
}

.page-content h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 52px 0 16px;
}

.page-content h2:first-of-type { margin-top: 0; }

.page-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}

.page-content p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.78;
  margin-bottom: 14px;
}

.page-content ul {
  margin: 8px 0 14px 0;
  padding: 0;
  list-style: none;
}

.page-content ul li {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  padding: 3px 0 3px 20px;
  position: relative;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.5;
}

.page-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 760px) {
  .header-nav { display: none; }
  .page-content { padding: 48px 0 80px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
