/* Public pages (privacy notice, opt-out, bot info): same brand as the app, no login needed. */
:root {
  --obsidian: #000000;
  --red: #86262b;
  --red-deep: #5e191d;
  --stone: #f4f1ee;
  --surface: #ffffff;
  --surface-2: #efebe7;
  --border: #e2dbd4;
  --muted: #615a54;
  --ok: #2f7a50;
  --bad: #b42333;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--obsidian);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--stone); }
a { color: var(--red); }
header.top {
  background: var(--obsidian); color: var(--stone); padding: 14px 16px;
}
header.top .inner, main, footer.bottom { max-width: 760px; margin: 0 auto; }
header.top .inner { display: flex; align-items: center; gap: 12px; }
header.top a.brand { display: block; line-height: 0; }
header.top img { width: 180px; height: auto; } /* compact logo: 180 px or wider */
header.top .grow { flex: 1; }
.langs { display: flex; gap: 4px; }
.langs button {
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; cursor: pointer;
  background: transparent; color: #9a928b; border: 1px solid #2a2a2a; border-radius: 6px; padding: 4px 8px;
}
.langs button.on { color: var(--stone); border-color: var(--stone); }
main { padding: 32px 16px 48px; }
h1 { font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 32px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 21px; margin: 32px 0 8px; }
.lead { color: var(--muted); margin: 0 0 24px; }
.updated { color: var(--muted); font-size: 13px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); font-weight: 600; }
.table-wrap { overflow-x: auto; }
code, pre { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 13px; }
pre { background: var(--surface-2); padding: 12px 14px; border-radius: 8px; overflow-x: auto; }
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
label .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
input, textarea {
  font: inherit; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; background: #fff; width: 100%;
}
textarea { min-height: 90px; resize: vertical; }
.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; }
.choice input { width: auto; }
button.primary {
  font: inherit; font-weight: 600; cursor: pointer; align-self: flex-start;
  background: var(--red); color: var(--stone); border: 1px solid var(--red); border-radius: 8px; padding: 10px 18px;
}
button.primary:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msg { padding: 12px 14px; border-radius: 8px; }
.msg.ok { background: #e8f4ec; color: #1d5a39; }
.msg.err { background: #fbe9eb; color: var(--bad); }
footer.bottom { padding: 0 16px 32px; color: var(--muted); font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; }
/* Bilingual page: hide the language not chosen (html lang is set by legal.js; Estonian without JS). */
html[lang="et"] [data-lang="en"], html[lang="en"] [data-lang="et"] { display: none !important; }
[hidden] { display: none !important; }

/* were inline styles (the Content-Security-Policy allows none) */
.kind-choice { border: 0; padding: 0; margin: 0; }
.kind-choice legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
