/* Litari - paleta z aplikacji (BreederColors.kt) */
:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #636366;
  --separator: #d1d1d6;
  --accent: #0a84ff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --text: #f2f2f7;
    --muted: #98989f;
    --separator: #38383a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--separator);
  background: var(--card);
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.langs a {
  margin-left: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
}

.langs a.active { color: var(--accent); }

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.05rem;
  margin: 2rem 0 0.35rem;
}

p { margin: 0 0 0.75rem; }

.updated,
.lead {
  color: var(--muted);
}

.policy section:first-of-type h2 { margin-top: 1.5rem; }

.links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links li {
  border-bottom: 1px solid var(--separator);
}

.links li:last-child { border-bottom: 0; }

.links a {
  display: inline-block;
  padding: 0.85rem 0;
  font-weight: 600;
  text-decoration: none;
}

.links span { color: var(--muted); }

.back { margin-top: 2.5rem; }

footer {
  border-top: 1px solid var(--separator);
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer p { margin: 0; }
