/* Regulamin and privacy information: ordinary scrolling pages in the colours of the site (the main page is a closed single screen, these are not). */
:root { --bg: #0b0405; --panel: #170a0c; --line: #3a2220; --text: #f5e9e4; --muted: #b8a39c; --gold: #f3b45a; --red: #8c0f14; color-scheme: dark; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); font: 17px/1.65 "Raleway", system-ui, sans-serif; background: radial-gradient(120% 60% at 50% 0, #2a120e 0, var(--bg) 60%) no-repeat, var(--bg); }
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(1.2rem, 4vw, 2.5rem) 16px 4rem; }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.legal-brand { font: 700 .8rem/1 "Syncopate", sans-serif; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.legal a { color: var(--gold); text-underline-offset: 3px; }
.legal a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1 { margin: 0 0 .4rem; font: 400 clamp(1.6rem, 5vw, 2.3rem)/1.2 "Dela Gothic One", Impact, sans-serif; color: var(--gold); }
.legal-meta { margin: 0 0 2rem; color: var(--muted); font-size: .9rem; }
h2 { margin: 2.2rem 0 .6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font: 600 1.05rem/1.4 "Raleway", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
p, li { margin: 0 0 .7rem; overflow-wrap: anywhere; }
ol, ul { padding-left: 1.4rem; margin: 0 0 1rem; }
dl { margin: 0 0 1rem; } dt { color: var(--muted); font-size: .85rem; margin-top: .6rem; } dd { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .95rem; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.box { padding: 1rem 1.1rem; margin: 0 0 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
/* Placeholder for data the owner still has to supply: impossible to miss, and tools/check-legal.js lists every one. */
.todo { padding: 0 .35em; background: #5a1a1f; color: #ffd9d4; border-radius: 3px; font-weight: 600; }
@media (max-width: 480px) {
  body { font-size: 16px; } th, td { padding: .45rem .3rem; }
  /* three-column tables become one block per row on phones */
  table.stack tr:first-child { display: none; }
  table.stack tr { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); }
  table.stack td { display: block; padding: .15rem 0; border: 0; }
  table.stack td:nth-child(2)::before { content: "Cel: "; color: var(--muted); }
  table.stack td:nth-child(3)::before { content: "Podstawa: "; color: var(--muted); }
}
