@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #edeff1;
  --ink: #17233a;
  --graphite: #5a6372;
  --rule: #c9ced6;
  --cobalt: #1f5bd6;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10151e;
    --ink: #e4e8ee;
    --graphite: #96a0b0;
    --rule: #2c3442;
    --cobalt: #8eacff;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  font-kerning: normal;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  max-width: 76rem;
  margin: 0 auto;
  padding: var(--gutter);
}

h1 {
  margin: 0 0 0 -0.04em;
  font-size: clamp(2.75rem, 8.5vw, 6.25rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.role {
  margin: 1rem 0 0;
  max-width: 34ch;
  color: var(--graphite);
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.35;
}

dl {
  margin: clamp(2.5rem, 7vh, 4.5rem) 0 0;
  max-width: 40rem;
}

dl div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule);
}

dl div:last-child {
  border-bottom: 1px solid var(--rule);
}

dt {
  color: var(--graphite);
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--cobalt);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--cobalt);
}

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

footer {
  margin-top: 2rem;
  color: var(--graphite);
  font-size: 0.9375rem;
}

footer p {
  margin: 0;
}
