/* Shared styles for the legal pages; tokens match index.html */
:root {
  --bg: #f7f9fc; --line: #0b1220; --text: #1b2333; --muted: #566079; --faint: #8a93a6; --accent: #2563eb;
  --rule: rgba(11, 18, 32, .09); --rule-strong: rgba(11, 18, 32, .18);
  --display: "Manrope", "Inter", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; --gutter: clamp(20px, 4vw, 40px);
  color-scheme: light;
}
/* Midnight navy header and footer, matching the home page */
header, footer {
  --bg: #05070d; --line: #dbe7ff; --text: #e6ecf8; --muted: #8791a8; --faint: #5c6680; --accent: #3b82f6;
  --rule: rgba(219, 231, 255, .09); --rule-strong: rgba(219, 231, 255, .18);
  background: var(--bg); color: var(--text);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-weight: 300; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
header { border-bottom: 1px solid var(--rule); }
nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.wordmark { font-family: var(--display); font-weight: 400; font-size: .86rem; letter-spacing: .34em; color: var(--line); white-space: nowrap; }
.wordmark span { color: var(--accent); }
.back { font-size: .9rem; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--line); }
.doc { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; padding-block: clamp(56px, 9vw, 110px); }
.doc > * { min-width: 0; }
.meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta b { color: var(--accent); font-weight: 400; }
h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.04em; line-height: 1.05; color: var(--line); }
.intro { color: var(--muted); font-size: 1.1rem; margin: 22px 0 8px; max-width: 62ch; }
article { max-width: 68ch; }
article section { border-top: 1px solid var(--rule); padding-top: 28px; margin-top: 40px; }
article h2 { font-family: var(--display); font-weight: 300; font-size: 1.45rem; letter-spacing: -0.015em; color: var(--line); margin-bottom: 12px; display: flex; gap: 16px; align-items: baseline; }
article h2 span { font-family: var(--mono); font-size: .75rem; color: var(--faint); letter-spacing: .08em; }
article p, article li { color: #2f3a4f; font-size: 1rem; }
article p + p, article p + ul, article ul + p { margin-top: 12px; }
article ul { padding-left: 20px; display: grid; gap: 6px; }
article a { color: var(--line); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
article a:hover { border-color: var(--accent); }
article strong { font-weight: 500; color: var(--text); }
footer { border-top: 1px solid var(--rule); }
.base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; }
.base, .base a { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--faint); text-decoration: none; }
.base nav { height: auto; gap: 24px; }
.base a:hover { color: var(--line); }
@media (max-width: 760px) { .doc { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 440px) { .wordmark { font-size: .74rem; letter-spacing: .26em; } .brand { gap: 10px; } .brand img { width: 30px; height: 30px; } }
