/* ── /privacy and /terms — the two public legal pages (2026-09-15) ─────────────────────────
   Palette is theme.css tokens only; the templates carry no hex. The header treatment mirrors
   /about (navy bar, brand font) so a reader arriving from there sees the same site. */
.legal { font-family: var(--remedi-font-brand); color: var(--remedi-text); background: var(--remedi-surface); line-height: 1.65; margin: 0; }
.legal a { color: inherit; }

.legal-header {
  background: var(--remedi-navy); color: var(--remedi-surface); padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.legal-header .logo { font-size: 21px; font-weight: 700; letter-spacing: -0.5px; text-decoration: none; }
.legal-header .logo span { font-size: 11px; opacity: 0.45; font-weight: 400; margin-left: 8px; letter-spacing: 0; }
.legal-header .header-nav { display: flex; align-items: center; gap: 18px; }
.legal-header a.plain { font-size: 13px; font-weight: 500; opacity: 0.7; text-decoration: none; }
.legal-header a.plain:hover { opacity: 1; }
.legal-header .header-cta {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--remedi-radius-sm); padding: 7px 16px; font-size: 13px; font-weight: 600; text-decoration: none;
}
.legal-header .header-cta:hover { background: rgba(255,255,255,0.18); }

.legal-main { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
.legal-article h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; margin: 0 0 6px; color: var(--remedi-text-strong); }
.legal-article .legal-date { font-size: 14px; color: var(--remedi-gray-700); margin: 0 0 32px; }
.legal-article h2 { font-size: 19px; font-weight: 700; margin: 34px 0 10px; color: var(--remedi-text-strong); }
.legal-article p { font-size: 16px; margin: 0 0 14px; }
.legal-article strong { font-weight: 600; color: var(--remedi-text-strong); }
.legal-article a { color: var(--remedi-info-text); }

.legal-footer { padding: 24px 32px 40px; text-align: center; font-size: 12px; color: var(--remedi-gray-500); border-top: 1px solid var(--remedi-gray-100); }
.legal-footer a { text-decoration: none; }
.legal-footer a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .legal-header { padding: 0 16px; height: auto; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .legal-header .logo span { display: none; }
  .legal-main { padding: 32px 16px 48px; }
  .legal-article h1 { font-size: 26px; }
}
