/* Terms, refunds and privacy (SK-82): plain pages in the game's type and colours (Jost 500/600, ink on paper). The
   build (vite.config.ts `site`) fills in the game's own Jost files and links this as a file: the site's CSP allows no
   inline style. */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/Jost-500-BHXJjAGI.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/Jost-600-Bx6cvq_J.woff2') format('woff2');
}

:root {
  --paper: #f4efe6;
  --ink: #252934;
  --secondary: #736b62;
  --border: #d8cfc1;
}

html {
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/1.55 Jost, system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 20px calc(env(safe-area-inset-bottom, 0px) + 32px);
}

.page-back {
  margin: 0 0 24px;
}

.page-back a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

h2 {
  margin: 32px 0 8px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
}

b {
  font-weight: 600;
}

p,
ul {
  margin: 0 0 12px;
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.page-date {
  margin-top: 4px;
  color: var(--secondary);
  font-size: 14px;
}

.page-foot {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-size: 14px;
}
