/* Stylesheet of the legal pages (/privacy, /delete-account). Like 404.css it cannot link to the main site's
   hashed CSS, so the colour tokens below are a copy of src/styles/tokens.css (a test keeps them equal). */
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/albert-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/familjen-grotesk-latin.woff2') format('woff2');
}
:root {
  --bg: #e9e9e5;
  --panel: #f6f6f3;
  --ink: #0f1411;
  --muted: #5b625d;
  --accent: #0b6b5b;
  --on-accent: #f6f6f3;
  --accent-hover: #0a5e50;
  --line: #cbccc6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0f1412;
    --panel: #171d1a;
    --ink: #edf1ee;
    --muted: #97a19b;
    --accent: #58cdb4;
    --on-accent: #0f1411;
    --accent-hover: #6fd8c1;
    --line: #27302c;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0f1412;
  --panel: #171d1a;
  --ink: #edf1ee;
  --muted: #97a19b;
  --accent: #58cdb4;
  --on-accent: #0f1411;
  --accent-hover: #6fd8c1;
  --line: #27302c;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--panel);
  color: var(--ink);
  font-family: 'Albert Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.top,
.doc,
.end {
  max-width: 44em;
  margin-inline: auto;
  padding-inline: 16px;
}
.top {
  padding-block: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #0f1411;
  color: #58cdb4;
  box-shadow: 0 0 0 1px var(--line);
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}
.doc {
  padding-block: 24px 40px;
}
.doc h1,
.doc h2 {
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.doc h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 6vw, 52px);
}
.doc h2 {
  margin: 40px 0 8px;
  font-size: 24px;
}
.doc .meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15.5px;
}
.doc p,
.doc li {
  max-width: 40em;
}
.doc ul,
.doc ol {
  padding-left: 1.3em;
}
.doc li + li {
  margin-top: 6px;
}
.doc a,
.end a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.end {
  border-top: 1px solid var(--line);
  padding-block: 24px 48px;
  color: var(--muted);
  font-size: 15.5px;
}
.end p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}
