/* Legal pages stylesheet — Privacy, Terms, Cookies.
   Brand-consistent: pure black, restrained palette, gold accent. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-400-italic.woff2') format('woff2'); }

:root {
  --bg: #0a0a0a;
  --bg-card: #131313;
  --text: rgba(255,255,255,0.94);
  --text-muted: rgba(255,255,255,0.68);
  --text-faint: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.10);
  --accent-warm: #d4a24c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}

.nav { position: sticky; top: 0; background: rgba(10,10,10,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; z-index: 100; }
.nav__inner { max-width: 880px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand { text-decoration: none; color: var(--text); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.brand__mark { background: var(--text); color: var(--bg); padding: 0.25rem 0.45rem; border-radius: 4px; font-size: 0.7rem; font-weight: 700; }
.brand__text em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.nav a.back { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; }
.nav a.back:hover { color: var(--text); }

main { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.legal__kicker { color: var(--accent-warm); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.6rem; }
.legal__title { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.5rem; }
.legal__title em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--text-muted); }
.legal__updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2.5rem; }

main h2 { font-size: 1.25rem; font-weight: 600; margin: 2.5rem 0 0.85rem; letter-spacing: -0.01em; }
main h2:first-of-type { margin-top: 0; }
main h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--text); }
main p { color: var(--text-muted); margin-bottom: 0.85rem; }
main p strong { color: var(--text); font-weight: 600; }
main ul, main ol { margin: 0.5rem 0 1rem 1.3rem; color: var(--text-muted); }
main li { margin-bottom: 0.4rem; }
main a { color: var(--accent-warm); text-decoration: underline; text-underline-offset: 3px; }
main a:hover { color: var(--text); }
main table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
main th, main td { border-bottom: 1px solid var(--border); padding: 0.7rem 0.5rem; text-align: left; vertical-align: top; }
main th { color: var(--text); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
main td { color: var(--text-muted); }

.legal__contact { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; margin-top: 2rem; }
.legal__contact h3 { margin-top: 0; }
.legal__contact a { color: var(--accent-warm); }

footer { border-top: 1px solid var(--border); padding: 2rem 1.5rem; margin-top: 4rem; text-align: center; color: var(--text-faint); font-size: 0.82rem; }
footer a { color: var(--text-muted); text-decoration: none; margin: 0 0.5rem; }
footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  main { padding: 2rem 1.25rem 4rem; }
  .legal__title { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
