/* Shared styling for standalone legal pages (privacy.html, terms.html).
   Kept separate and minimal — these pages don't load the app bundle, so
   they need their own lightweight stylesheet matching the brand. */
:root {
  --forest: #2f5d3a;
  --ember: #c4622d;
  --cream: #f6f2e9;
  --ink: #2b2b26;
  --muted: #5a5a52;
  --border: #e7e2d6;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}
.legal-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5vw; background: #fff; border-bottom: 1px solid var(--border);
}
.legal-nav a.brand {
  font-family: Georgia, 'DM Serif Display', serif; font-weight: 700;
  font-size: 1.2rem; color: var(--forest); text-decoration: none;
}
.legal-nav a.back { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.legal-nav a.back:hover { color: var(--forest); }
.legal-wrap { max-width: 46rem; margin: 0 auto; padding: 3rem 5vw 6rem; }
.legal-wrap h1 {
  font-family: Georgia, 'DM Serif Display', serif; color: var(--forest);
  font-size: 2.1rem; margin-bottom: 0.25rem;
}
.legal-updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 2.5rem; }
.legal-wrap h2 {
  font-family: Georgia, 'DM Serif Display', serif; color: var(--forest);
  font-size: 1.3rem; margin-top: 2.5rem; margin-bottom: 0.75rem;
}
.legal-wrap h3 { font-size: 1.05rem; margin-top: 1.5rem; color: var(--ink); }
.legal-wrap p, .legal-wrap li { color: #3a3a34; font-size: 0.97rem; }
.legal-wrap ul { padding-left: 1.3rem; }
.legal-wrap li { margin-bottom: 0.4rem; }
.legal-wrap a { color: var(--ember); }
.legal-callout {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--ember);
  border-radius: 8px; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: 0.92rem;
}
.legal-callout strong { color: var(--ember); }
.legal-toc { background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 1rem 1.5rem; margin-bottom: 2rem; }
.legal-toc a { display: block; padding: 0.25rem 0; text-decoration: none; color: var(--forest); font-size: 0.9rem; }
.legal-footer { text-align: center; padding: 2rem; color: var(--muted); font-size: 0.8rem; }
