/* Shared styles for the legal pages; tokens and components copied from index.html (light theme only, owner's choice). */
:root {
  color-scheme: light;
  --navy: #102a58;
  --navy-deep: #0b1f44;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-raised: #f3f5f9;
  --text: #1a1f2b;
  --muted: #4a5672;
  --rule: #c5cbd8;
  --border-strong: #6b7690;
  --accent: #0e7484;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 4px;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--text); font: 400 17px/1.6 var(--serif); }
h1, h2, p { margin: 0; }
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); }
.nav > .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: var(--white); }
@media (max-width: 420px) { .brand { font-size: 15px; gap: 8px; } }
@media (max-width: 374px) { .brand span { display: none; } }
.btn { display: inline-flex; align-items: center; white-space: nowrap; font: 600 15px/24px var(--serif); padding: 8px 16px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: transparent; color: var(--navy); text-decoration: none; }
.btn:hover { background: var(--surface-raised); }

.doc { max-width: calc(72ch + 48px); padding-block: 56px 72px; }
.eyebrow { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.doc h1 { margin-top: 12px; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; font-weight: 400; letter-spacing: -0.02em; }
.doc .meta { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc h2 { margin-top: 40px; font-size: 22px; line-height: 1.3; font-weight: 600; }
.doc p, .doc ul, .doc ol { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc blockquote { margin: 16px 0 0; padding: 12px 16px; background: var(--surface-raised); border-left: 3px solid var(--border-strong); }
.doc blockquote p { margin-top: 0; }
.doc hr { margin-top: 32px; border: 0; border-top: 1px solid var(--rule); }
.doc code { font-size: .9em; overflow-wrap: anywhere; }
.doc li + li { margin-top: 6px; }

footer { border-top: 1px solid var(--rule); font-size: 15px; color: var(--muted); }
.legal { padding-block: 24px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 20px; }
.legal a { color: var(--muted); }
.legal a[aria-current="page"] { color: var(--text); }
