@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/SchibstedGrotesk-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #111914;
  --field: #143c2e;
  --clear: #fafaf7;
  --trace: #ecede8;
  --line: #aeb5aa;
  --soft: #5b675f;
  --signal: #d7ff4f;
  --font: "Schibsted Grotesk", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--clear); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--clear);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.home { display: grid; grid-template-rows: 1fr auto; }

.home-main {
  display: flex;
  min-height: calc(100vh - 74px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.home-logo { display: block; width: min(520px, 78vw); }

.status,
.effective {
  width: max-content;
  margin: 34px 0 0;
  padding: 9px 14px 8px;
  background: var(--signal);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-footer,
.site-footer,
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 22px clamp(18px, 4vw, 64px);
  color: var(--soft);
  font-size: .8rem;
}

.home-footer { justify-content: center; }
.home-footer a + a { margin-left: 24px; }

.site-header {
  border-top: 0;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}

.site-header img { display: block; width: 210px; }
.site-header nav { display: flex; gap: 24px; }
.site-header [aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }

.legal-page {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto;
  padding: 76px 0 92px;
}

.legal-title {
  display: grid;
  grid-template-columns: 7fr 3fr;
  align-items: end;
  gap: 32px;
  padding-bottom: 46px;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 5.2rem);
  letter-spacing: -.045em;
  line-height: .95;
}

.effective { margin: 0; justify-self: end; }

section {
  display: grid;
  grid-template-columns: 2fr 7fr;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding: 31px 0 34px;
}

h2 {
  margin: 0;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.35;
  text-transform: uppercase;
}

section p { grid-column: 2; margin: 0; max-width: 68ch; }
section p + p { margin-top: 18px; }

@media (max-width: 650px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-header img { width: 180px; }
  .legal-page { padding-top: 52px; }
  .legal-title, section { grid-template-columns: 1fr; }
  .effective { justify-self: start; }
  section { gap: 16px; }
  section p { grid-column: 1; }
}
