/* Ukevotum website. Values from design/tokens.json (A2 «Stempelet»).
   Fonts are served from this site, not from Google, so a visit sends nothing to third parties. */

@font-face {
  font-family: "Newsreader";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/Newsreader_500Medium.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/IBMPlexSans_400Regular.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/IBMPlexSans_500Medium.ttf") format("truetype");
}

:root {
  --paper: #FAFAF7;
  --ink: #121212;
  --ink-muted: #45453F;
  --stamp: #4B2BD6;
  --line: #E2E0D8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 32px;
}

.logo {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 42px;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  margin: 40px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

p, ul { margin: 0 0 16px; }
ul { padding-left: 20px; }
li { margin-bottom: 8px; }

.lead {
  font-size: 18px;
  line-height: 28px;
}

.muted { color: var(--ink-muted); }

a {
  color: var(--stamp);
  font-weight: 500;
  text-underline-offset: 3px;
}

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

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 20px;
}
