/* Shared styles for the standalone legal pages (privacy-policy, terms-of-use).
   Brand tokens mirror index.html / loadlogger PROJECT_BRIEF.md. */

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

:root {
  --navy: #1A2B3C;
  --navy-dark: #12202E;
  --gold: #C8973A;
  --gold-light: #E0B15C;
  --off-white: #F9FAFB;
  --text-dark: #111111;
  --text-mid: #374151;
  --text-muted: #6B7280;
  --border: #D1D5DB;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--navy); text-decoration: underline; }
a:hover { color: var(--gold); }

/* NAV */
nav {
  background: var(--navy);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 38px; border-radius: 8px; margin-right: 10px; }
.nav-logo span { color: #fff; font-size: 20px; font-weight: 700; }
.nav-logo span em { font-style: normal; color: var(--gold-light); }

.nav-back { color: rgba(255,255,255,0.8); font-size: 15px; text-decoration: none; }
.nav-back:hover { color: #fff; }

/* CONTENT */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }

h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: 8px;
}

.legal-meta { color: var(--text-muted); font-size: 15px; margin-bottom: 40px; }

h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 12px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 8px;
}

p { margin-bottom: 16px; color: var(--text-mid); }
ul, ol { margin: 0 0 16px 24px; color: var(--text-mid); }
li { margin-bottom: 8px; }

.legal-wrap strong { color: var(--text-dark); }

/* FOOTER */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.5);
  padding: 32px 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}
footer a { color: rgba(255,255,255,0.6); }
footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .legal-wrap { padding: 40px 20px 60px; }
}
