/* Shared styles for /regulamin and /polityka-prywatnosci on dziub.io */
:root {
  --navy: #1b2d4b;
  --teal: #2a7b6f;
  --amber: #d4802e;
  --bg: #f4f5f7;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.back-link:hover {
  text-decoration: underline;
}
h1 {
  font-family: Nunito, Inter, sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
h2 {
  font-family: Nunito, Inter, sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}
p,
li {
  color: var(--ink);
  margin: 0.5rem 0;
}
ul {
  padding-left: 1.25rem;
}
a {
  color: var(--teal);
}
.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.draft-banner {
  margin: 1.25rem 0 1.75rem;
  padding: 0.9rem 1rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  color: #9a3412;
  font-size: 0.92rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1.75rem;
}

/* Tabela cookies w §8 polityki. Przewija się poziomo zamiast rozpychać stronę
   - pięć kolumn nie mieści się na telefonie. */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
}
.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
.cookie-table th {
  background: var(--surface);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.cookie-table code {
  font-size: 0.85em;
  color: var(--navy);
}
