/* skuls.app: the Paper + Play look of the app (D-044), with its own fonts; nothing loads from other sites. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }

:root {
  --paper: #F7F2E8; --ink: #2A2824; --graphite: #6B655A; --rule: #E6DECF; --accent: #2E8B5C;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #1E1C19; --ink: #EFE7D6; --graphite: #A69F90; --rule: #3A352E; --accent: #5BB98B; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 500 17px/1.6 "Manrope", system-ui, sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 48px 20px 80px; }
h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: 44px; margin: 0 0 8px; }
h2 { font-size: 24px; margin: 40px 0 8px; padding-top: 16px; border-top: 1px solid var(--rule); }
p, li { color: var(--ink); }
.lead { font-size: 19px; color: var(--graphite); margin: 0 0 24px; }
.meta { font-size: 14px; color: var(--graphite); }
a { color: var(--accent); font-weight: 700; }
ul { padding-left: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--rule); }
th { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--graphite); }
.table-wrap { overflow-x: auto; }
.box { border: 1px solid var(--rule); border-radius: 16px; padding: 16px 20px; margin: 16px 0; }
nav { font-size: 14px; margin-bottom: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
footer { margin-top: 56px; font-size: 14px; color: var(--graphite); }
@media (max-width: 480px) { h1 { font-size: 36px; } body { font-size: 16px; } }
/* On a phone the three-column table becomes one block per row: what, why, then the legal basis. */
@media (max-width: 560px) {
  table, tbody, tr, td { display: block; width: 100%; }
  tr:first-child { display: none; }
  tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  td { border: 0; padding: 2px 0; }
  td:first-child { font-weight: 700; }
  td:nth-child(3) { font-size: 14px; color: var(--graphite); }
  :lang(nb) td:nth-child(3)::before { content: "Grunnlag: "; }
  :lang(en) td:nth-child(3)::before { content: "Legal basis: "; }
}
