/* Shared styles for the legal pages (privacy, imprint, licence terms, vulnerability reporting).
   Same tokens as index.html. Fonts are self-hosted in fonts/: no external requests. */
@font-face { font-family: "Fraunces"; font-weight: 300 900; font-display: swap; src: url(fonts/fraunces-latin.v100.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Fraunces"; font-weight: 300 900; font-display: swap; src: url(fonts/fraunces-latin-ext.v100.woff2) format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin.v100.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-21FF; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-ext.v100.woff2) format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F; }
:root {
  --bg-dark: #20233a;
  --bg-light: #f5f6fa;
  --bg-white: #ffffff;
  --text: #1b1e2b;
  --text-muted: #5a6072;
  --text-on-dark-muted: #9aa1b8;
  --primary: #4f5bd5;
  --primary-hover: #3b46b0;
  --border: #d6d9e4;
  --ink: #1b1e2b;
  --radius: 10px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); color: var(--text); background-color: var(--bg-light); background-image: linear-gradient(rgba(79, 91, 213, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 91, 213, 0.06) 1px, transparent 1px); background-size: 28px 28px; line-height: 1.65; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* Header */
.site-header { background: var(--bg-dark); border-bottom: 2px solid var(--ink); padding: 0.75rem 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.45rem; color: #8794e8; font-weight: 700; font-size: 1.35rem; line-height: 1; letter-spacing: -0.01em; }
.brand-mark { width: 2.5rem; height: 2.5rem; flex: none; }
.brand-words { display: flex; flex-direction: column; gap: 0.2rem; }
.brand-name span { color: #f8fafc; }
.brand:hover { text-decoration: none; }
.brand small { font-size: 0.72rem; font-weight: 500; color: var(--text-on-dark-muted); letter-spacing: 0; }
.back { color: #cbd5e1; font-size: 0.92rem; font-weight: 500; white-space: nowrap; }
.back:hover { color: #fff; }
@media (max-width: 420px) { .brand small { display: none; } }

/* Document */
.doc { max-width: 760px; margin: 0 auto; padding: 3rem 16px 4rem; }
.doc h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.doc .updated { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 2rem; }
.doc h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.3; margin: 2.25rem 0 0.7rem; }
.doc p { margin-bottom: 0.9rem; }
.doc ul { padding-left: 1.25rem; margin-bottom: 0.9rem; }
.doc li { margin-bottom: 0.45rem; }
.doc li strong:first-child { color: var(--text); }
.summary-box { background: #fef3e2; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.summary-box p:last-child { margin-bottom: 0; }

/* Key–value facts (imprint) */
.facts { display: grid; grid-template-columns: minmax(0, 13rem) 1fr; gap: 0.6rem 1.25rem; background: var(--bg-white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.facts dt { font-weight: 600; }
.facts dd { color: var(--text); }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 0.15rem; }
  .facts dd { margin-bottom: 0.65rem; }
}

/* Values that must be filled in before publishing. Deliberately loud. */
.todo { background: #fef3c7; color: #92400e; font-weight: 600; padding: 0 0.3rem; border-radius: 4px; }

/* Footer */
.site-footer { background: #151729; color: var(--text-on-dark-muted); padding: 2.25rem 0; font-size: 0.88rem; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.site-footer a { color: #cbd5e1; }
