/* privacy.html / terms.html only — plain content pages, no app shell.
   Reuses css/tokens.css's palette exactly (no new colours introduced);
   this file is just the reading-column layout neither base.css nor
   components.css has any reason to define. */

.legal-header {
  background: var(--dark-grad);
  padding: 28px 32px;
  display: flex; align-items: center; gap: 14px;
}
.legal-header-inner {
  width: 100%; max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
}
.legal-header-logo {
  width: 44px; height: 44px; border-radius: 11px; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.legal-header-logo img {
  width: 100%; height: 100%; object-fit: contain; display: block; transform: scale(1.65);
}
.legal-header-name { color: #f1f5f9; font-size: .95rem; font-weight: 600; letter-spacing: -.02em; }
.legal-header-back { color: #b5a6a2; font-size: .82rem; text-decoration: none; margin-left: auto; flex-shrink: 0; }
.legal-header-back:hover { color: #f1f5f9; }

.legal-doc { max-width: 760px; margin: 0 auto; padding: 56px 32px 100px; }

.legal-title { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.legal-updated { color: var(--text3); font-size: .85rem; margin-top: 8px; }

.legal-lede {
  font-size: 1.05rem; color: var(--text2); line-height: 1.65;
  margin-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border);
}

.legal-section { margin-top: 40px; }
.legal-h2 {
  font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em;
  display: flex; align-items: baseline; gap: 10px;
}
.legal-h2 .num { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.legal-h3 { font-size: 1rem; font-weight: 700; margin-top: 22px; margin-bottom: 4px; }

.legal-section p, .legal-section li { line-height: 1.65; color: var(--text); }
.legal-section p { margin-top: 14px; }
.legal-section ul, .legal-section ol { margin-top: 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-section a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--border2); }
.legal-section a:hover { text-decoration-color: var(--accent); }
.legal-section strong { font-weight: 700; }

.legal-table-wrap { overflow-x: auto; margin-top: 16px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text3); font-weight: 700; }

/* A placeholder still needing a real value before this can be published —
   deliberately loud so it can't accidentally ship unnoticed. */
.legal-fill {
  background: var(--amber-dim); color: var(--amber);
  padding: 1px 7px; border-radius: 6px; font-weight: 600; font-size: .92em;
  white-space: normal;
}

.legal-callout {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--r);
  background: var(--accent-dim); border: 1px solid var(--border2);
  font-size: .92rem; color: var(--text2); line-height: 1.55;
}

.legal-footer {
  max-width: 760px; margin: 0 auto; padding: 0 32px 60px;
  color: var(--text3); font-size: .82rem; border-top: 1px solid var(--border); padding-top: 24px;
}

@media (max-width: 600px) {
  .legal-doc { padding: 40px 20px 80px; }
  .legal-title { font-size: 1.6rem; }
  .legal-footer { padding: 0 20px 48px; padding-top: 24px; }
}
