/* docs.css — shared styles for Help, Terms, Privacy pages */

/* ── Page layout ───────────────────────────────────────────── */
.docs-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

/* ── Page header ───────────────────────────────────────────── */
.docs-header {
  text-align: center;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

/* H1 — New York Regular (Main Title) */
.docs-header h1 {
  font-family:
    "New York",
    -apple-system-ui-serif,
    "Times New Roman",
    serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.docs-header .docs-meta {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

.docs-header .docs-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}

/* ── Content typography ────────────────────────────────────── */

/* H2 — SF Pro 18 Semibold (Sub Headline) */
.docs-content h2 {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial,
    sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.docs-content h2:first-child {
  margin-top: 0;
}

/* H3 — SF Pro 16 Semibold */
.docs-content h3 {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial,
    sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.005em;
  margin-top: 28px;
  margin-bottom: 8px;
}

/* Body — SF Pro 14 Regular */
.docs-content p {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.docs-content ul,
.docs-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.docs-content li {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.docs-content strong {
  font-weight: 600;
  color: var(--text-primary);
}

.docs-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.docs-content a:hover {
  opacity: 0.75;
}

/* ── Footer ────────────────────────────────────────────────── */
.docs-footer {
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.docs-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* SF Pro 13 Regular */
.docs-footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 400;
  transition: color 0.2s;
}

.docs-footer-links a:hover {
  color: var(--text-primary);
}

.docs-footer-copy {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .docs-container {
    padding: 48px 20px 72px;
  }

  .docs-header {
    margin-bottom: 44px;
    padding-bottom: 36px;
  }

  .docs-content h2 {
    margin-top: 36px;
  }
}
