/* Shared style for the legal pages (zasebnost.html, pogoji.html). Tokens as in index.html (docs/brand.md). */
:root {
  --bg: #ffffff;
  --text: #181b1c;
  --muted: #6a6f78;
  --hairline: #e7e8ea;
  --tile: #f7b58a;
  --on-tile: #181b1c;
  --accent-text: #9a5218;
  --note-bg: #fdf0e7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111314;
    --text: #e7e8ea;
    --muted: #a3a7ae;
    --hairline: #2a2f31;
    --accent-text: #f9c9a8;
    --note-bg: #2a211b;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
header, main, footer { max-width: 44rem; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
header { padding-top: 24px; padding-bottom: 24px; }
.home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.home b { color: var(--text); font-weight: 700; }
.home .tile {
  width: 32px;
  height: 32px;
  border-radius: 28%;
  background: var(--tile);
  color: var(--on-tile);
  display: grid;
  place-items: center;
}
.home .tile svg { width: 70%; }
main { padding-bottom: 48px; }
h1 { font-size: clamp(28px, 6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; margin: 16px 0 8px; }
h2 { font-size: 18px; font-weight: 600; margin: 32px 0 8px; }
p, li { color: var(--muted); }
.updated { font-size: 14px; }
.note {
  margin: 24px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--note-bg);
  color: var(--text);
}
a { color: var(--accent-text); }
footer {
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
footer a { color: inherit; }
