:root {
  --bg: #1b1148;
  --ink: #f4f0fa;
  --card: #2a1b66;
  --line: #a78bfa;
  --yellow: #f5c518;
  --on-yellow: #1a1030;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: var(--ink); }
a:focus-visible { outline: 3px solid #f4f0fa; outline-offset: 2px; }
header, main, footer { max-width: 44rem; margin: 0 auto; padding: 1rem 1.25rem; }
nav, footer { display: flex; flex-wrap: wrap; gap: 0.75rem; }
nav a, footer a {
  color: var(--on-yellow);
  background: var(--yellow);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.mark { font-weight: 700; }
.note {
  background: var(--card);
  border-radius: 16px;
  padding: 0.8rem 1rem;
}
article { display: none; }
#de { display: block; }
#en:target { display: block; }
#en:target ~ #de { display: none; }
code { font-family: ui-monospace, Consolas, monospace; }

/* A server-projected single language remains readable without JavaScript. */
html[data-legal-projected] article { display: block; }
