/* ---------------------------------------------------------------------------
   Shared styling for the static legal pages (/privacy, /terms).

   These are deliberately plain HTML + CSS, NOT part of the Flutter app:
   Apple requires a privacy policy URL that is publicly reachable without
   signing in, and a 3MB app bundle that has to boot before it can render a
   legal page is the wrong tool. These load instantly, work with JavaScript
   off, and stay up even if the app bundle ever fails to start.

   Palette matches lib/ui/config/olive_web_theme.dart.
--------------------------------------------------------------------------- */

:root {
  --deep-teal: #123A4B;
  --gold: #C9A24B;
  --ivory: #FAF7F2;
  --cream: #F3EDE3;
  --charcoal: #2A2A2A;
  --muted: #6B6B6B;
  --hairline: #E6DFD4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

header {
  background: var(--deep-teal);
  padding: 26px 24px;
}

header .inner,
main,
footer .inner {
  max-width: 760px;
  margin: 0 auto;
}

header a.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

header .wordmark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  letter-spacing: .28em;
  color: #F5EFE3;
}

main {
  padding: 44px 24px 64px;
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--deep-teal);
  font-weight: 400;
}

.rule {
  width: 72px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 20px;
}

.intro {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 12px;
}

.updated {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 40px;
}

h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  font-weight: 400;
  color: var(--deep-teal);
  margin: 40px 0 6px;
}

h2 + .rule { width: 46px; margin-bottom: 14px; }

p, li { color: #3A3A3A; }

ul { padding-left: 20px; }
li { margin-bottom: 7px; }

strong { color: var(--deep-teal); }

.callout {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 18px 22px;
  margin: 26px 0;
}

.callout p { margin: 0; }

a { color: var(--deep-teal); }

footer {
  background: var(--deep-teal);
  color: rgba(245, 239, 227, .72);
  padding: 30px 24px 40px;
  font-size: 14px;
}

footer a { color: #F5EFE3; }

footer .links {
  margin-bottom: 12px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  h1 { font-size: 27px; }
  main { padding: 32px 20px 48px; }
}
