:root {
  --ink: #112d4e;
  --accent: #3f72af;
  --line: #dbe2ef;
  --bg: #f9f7f7;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  letter-spacing: -0.01em;
}
header {
  border-bottom: 1px solid var(--line);
  background: rgba(249, 247, 247, 0.9);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
header img { height: 26px; display: block; }
header a.back { color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
main { padding: 48px 0 80px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { font-size: 34px; line-height: 1.2; margin: 10px 0 6px; letter-spacing: -0.02em; }
.meta { color: rgba(17, 45, 78, 0.55); font-size: 14px; margin: 0 0 32px; }
h2 { font-size: 19px; margin: 34px 0 8px; }
p, li { font-size: 15.5px; color: rgba(17, 45, 78, 0.82); }
ul { padding-left: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 18px 0;
}
a { color: var(--accent); }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 13px; color: rgba(17, 45, 78, 0.5); }
footer a { margin-right: 16px; }
html[data-theme='dark'] { color-scheme: dark; --ink: #e6edf7; --line: #22344d; --bg: #0b1727; }
html[data-theme='dark'] header { background: rgba(11, 23, 39, 0.9); }
html[data-theme='dark'] .card { background: #102238; }
html[data-theme='dark'] p, html[data-theme='dark'] li { color: rgba(230, 237, 247, 0.82); }
html[data-theme='dark'] .meta, html[data-theme='dark'] footer { color: rgba(230, 237, 247, 0.55); }

:root { --bg: #f4f1ea; --accent: #285587; --panel: #faf8f2; color-scheme: light; }
:root[data-theme='dark'] { --bg: #050d1a; --accent: #9cc3ff; --panel: #102238; }
body { background: radial-gradient(ellipse at 8% 0, #6ea8ff26, transparent 68%), var(--bg); min-height: 100vh; }
header { background: var(--panel); }
header .wrap { gap: 12px; flex-wrap: wrap; }
.legal-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.legal-logo-dark, .label-light { display: none; }
[data-theme='dark'] :is(.legal-logo-dark, .label-light) { display: block; }
[data-theme='dark'] :is(.legal-logo-light, .label-dark) { display: none; }
.card { background: var(--panel); }
.legal-theme { font: inherit; font-size: 14px; color: var(--ink); border: 1px solid var(--line); background: var(--panel); padding: 6px 10px; border-radius: 10px; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
