/* Shared stylesheet for /privacy and /terms — keeps the brand consistent
   without duplicating the full landing-page CSS on every legal page. */

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

:root {
  --bg: #0E0C0A;
  --fg: #F5EFE5;
  --card: #1A1612;
  --primary: #E08230;
  --primary-light: #F5C088;
  --primary-dark: #B8651C;
  --muted-fg: #9A8E80;
  --border: rgba(224,130,48,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.legal-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,12,10,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.legal-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1152px;
}
.legal-nav .nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--fg); }
.legal-nav .logo-mark {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(245,192,136,0.15), rgba(184,101,28,0.05));
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.legal-nav .logo-mark img { width: 28px; height: 28px; object-fit: contain; }
.legal-nav .nav-back { font-size: 0.85rem; color: var(--muted-fg); font-weight: 500; }
.legal-nav .nav-back:hover { color: var(--fg); }

main { padding: 64px 0 96px; }

h1 {
  font-size: 2.5rem; font-weight: 800; line-height: 1.2;
  letter-spacing: -0.03em; margin-bottom: 8px;
  background: linear-gradient(135deg, #F5C088 0%, #E08230 50%, #B8651C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.1em;
  margin-bottom: calc(8px - 0.1em);
}

.last-updated {
  font-size: 0.82rem; color: var(--muted-fg); font-style: italic;
  margin-bottom: 32px;
}

h2 {
  font-size: 1.35rem; font-weight: 700;
  margin-top: 40px; margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--fg);
}

h3 {
  font-size: 1.05rem; font-weight: 700;
  margin-top: 24px; margin-bottom: 8px;
  color: var(--primary-light);
}

p {
  font-size: 0.95rem; color: var(--fg);
  margin-bottom: 14px;
}

ul, ol { margin: 12px 0 18px 24px; }
li { font-size: 0.95rem; color: var(--fg); margin-bottom: 8px; line-height: 1.65; }
li strong { color: var(--primary-light); font-weight: 700; }

strong { color: var(--primary-light); font-weight: 700; }

code {
  background: var(--card);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--primary-light);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

hr {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,130,48,0.2), transparent);
  margin: 40px 0;
}

.draft-note {
  background: rgba(224,130,48,0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--muted-fg);
  margin-bottom: 32px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(154,142,128,0.6);
}
footer a { color: var(--muted-fg); margin: 0 12px; }
footer a:hover { color: var(--primary-light); }

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  main { padding: 40px 0 64px; }
}
