:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #60697a;
  --line: #dfe4dc;
  --paper: #fffef9;
  --wash: #f4f6ef;
  --accent: #426b58;
}
* { box-sizing: border-box; }
html { background: var(--wash); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 17px/1.68 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #8db8a1; outline-offset: 4px; border-radius: 4px; }
.legal-nav { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(23,32,51,.08); background: rgba(244,246,239,.9); backdrop-filter: blur(18px); }
.legal-nav-inner { max-width: 860px; min-height: 64px; margin: auto; padding: 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-brand { color: var(--ink); display: inline-flex; align-items: center; gap: 10px; font-weight: 720; text-decoration: none; }
.legal-brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 4px 14px rgba(23,32,51,.14); }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.legal-links a { color: var(--muted); text-decoration: none; }
.legal-shell { max-width: 860px; margin: 28px auto 64px; padding: clamp(28px, 5vw, 64px); background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 18px 55px rgba(30,42,35,.08); }
h1, h2 { line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(2.15rem, 6vw, 3.6rem); margin: 0 0 .6rem; }
h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.muted { color: var(--muted); }
code { background: #eef1eb; padding: .15rem .4rem; border-radius: .35rem; overflow-wrap: anywhere; }
hr { border: 0; border-top: 1px solid var(--line); margin: 4rem 0; }
li + li { margin-top: .5rem; }
.legal-footer { max-width: 860px; margin: 0 auto 52px; padding: 0 24px; color: var(--muted); font-size: 14px; text-align: center; }
.download-primary { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 14px; background: var(--ink); color: white; font-weight: 720; text-decoration: none; box-shadow: 0 14px 32px rgba(23,32,51,.18); }
.download-primary:hover { background: #2b3548; }
@media (max-width: 640px) {
  .legal-nav-inner { align-items: flex-start; flex-direction: column; padding-block: 12px; }
  .legal-shell { margin: 12px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
