:root {
  --brand: #3a97d4;
  --navy: #1b5f92;
  --ink: #0f1b2d;
  --muted: #55657a;
  --line: #dfe5ee;
  --accent: #ff9800;
  --accent-ink: #1a1000;
  --mono: ui-monospace, "Cascadia Code", "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --sans: Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header.site { background: #fff; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--brand); }
.brand-logo { display: block; width: 40px; height: auto; }
.login { text-decoration: none; padding: 8px 14px; border-radius: 6px; background: var(--brand); color: #fff; font-weight: 500; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.login:hover { background: #2479b5; }

main.legal { max-width: 760px; padding-top: 32px; padding-bottom: 80px; }
.back { margin: 0 0 24px; font-size: .92rem; }
.back a { text-decoration: none; color: var(--muted); }
.back a:hover { color: var(--navy); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 6px; letter-spacing: -.015em; }
.legal .updated { color: var(--muted); font-family: var(--mono); font-size: .88rem; margin: 0 0 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 1.2rem; line-height: 1.35; margin: 36px 0 10px; color: var(--navy); }
.legal p, .legal li { color: #2b3a4f; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }

footer.site { background: #123f62; color: rgba(255,255,255,.65); padding: 36px 0; font-size: .9rem; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { text-decoration: none; color: inherit; }
footer.site a:hover { color: #fff; }

@media (max-width: 560px) { .wrap { padding: 0 16px; } }
