/* Shared stylesheet for the static /terms and /privacy pages. Same
   self-contained convention as public/blog/blog.css — these are plain
   static HTML files served straight from public/ (no Vite build step
   touches them), and exist so there's a real, stable, out-of-app URL to
   hand to Google/Stripe/etc.'s own config (the in-app Terms/Privacy
   views, LegalPage.tsx, are a React state swap with no URL of their
   own). Content here must be kept in sync BY HAND with LegalPage.tsx —
   same tradeoff already accepted for the blog's duplication with
   theme.css, not worth a shared build pipeline for two documents. */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg: #f2f3ee;
  --bg-raised: #ffffff;
  --ink: #1e2a32;
  --ink-soft: #4c5a61;
  --brass: #8b6b3d;
  --brass-soft: #c9ad82;
  --sage: #4b7062;
  --sage-soft: #cfe0d6;
  --border: #dad5c8;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171b1d;
    --bg-raised: #1f2427;
    --ink: #ece9e1;
    --ink-soft: #a9afae;
    --brass: #d3b27c;
    --brass-soft: #6e5a38;
    --sage: #8fbba6;
    --sage-soft: #2c3d35;
    --border: #34393b;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

nav.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .runway-mark { width: 22px; height: 22px; }
.brand .runway-mark .rm-glow { fill: var(--brass-soft); opacity: 0.35; }
.brand .runway-mark .rm-sun { fill: var(--brass); }
.brand .runway-mark .rm-ray { stroke: var(--brass-soft); stroke-width: 3.4; stroke-linecap: round; }
.brand .runway-mark .rm-hill { fill: var(--sage); }
.brand .runway-mark .rm-path { fill: none; stroke: var(--bg-raised); stroke-width: 3; stroke-linecap: round; opacity: 0.9; }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); }
.legal-nav-actions a { color: var(--ink-soft); text-decoration: none; font-size: 14px; margin-left: 18px; }
.legal-nav-actions a:hover { color: var(--ink); }

main { padding: 8px 0 60px; }

h1 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 5vw, 36px);
  line-height: 1.18; margin: 0 0 8px;
}
h2 {
  font-family: var(--font-display); font-weight: 500; font-size: 19px;
  margin: 0 0 10px;
}
.effective-date { color: var(--ink-soft); margin: 0 0 28px; }
p { margin: 0 0 16px; font-size: 16px; }
ul { padding-left: 22px; margin: 0; }
li { margin-bottom: 10px; font-size: 16px; }
li:last-child { margin-bottom: 0; }
a { color: var(--brass); }

.legal-card {
  background: var(--bg-raised); border: 1px solid var(--border); border-radius: 12px;
  padding: 22px 26px; margin: 0 0 16px;
}
.legal-card p:last-child { margin-bottom: 0; }

footer.legal-footer {
  max-width: 720px; margin: 0 auto; padding: 24px 20px 60px;
  color: var(--ink-soft); font-size: 13px; border-top: 1px solid var(--border);
}
footer.legal-footer a { color: var(--ink-soft); }
