/* Shared styles for the legal pages (/privacy, /terms).
   Long-form reading, so this is plain dark type on the brand's near-black
   rather than the landing page's full-bleed placeholder art.
   Colors and font stacks come from tokens.css — do not hardcode them here. */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background-color: var(--bg);
}

body {
  background-color: var(--bg);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  padding: 20px 32px;
}

.back-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.back-link:hover {
  color: var(--text);
}

.content {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--text);
  margin-bottom: 8px;
}

.updated {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 48px;
}

section {
  margin-bottom: 40px;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}

p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}
p:last-child {
  margin-bottom: 0;
}

.footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 0.5px solid var(--border);
}

.footer p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 1px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .header { padding: 16px 20px; }
  .content { padding: 24px 20px 60px; }
}
