/* Reading pages (privacy and cookie notices): the brand of index.html,
   one column, real tables that stay readable on a phone. */
:root {
  --surface: #f6f7f4;
  --raised: #ffffff;
  --sunken: #ecefea;
  --line: #d3d9d4;
  --line-strong: #7e8a84;
  --ink: #142420;
  --muted: #4e5d57;
  --heath: #17463f;
  --on-heath-muted: #c4dad3;
  --waymark: #f2c230;
  --radius: 10px;
  --wide: 1120px;
  --display: "Schibsted Grotesk", system-ui, sans-serif;
  --text: "Atkinson Hyperlegible Next", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
}
a {
  color: var(--heath);
}
a:focus-visible {
  outline: 3px solid var(--waymark);
  outline-offset: 3px;
}
.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 24px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--raised);
  padding: 10px 14px;
  border-radius: var(--radius);
}

/* Header */
.site-header {
  background: var(--heath);
  color: #fff;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.nav-links a {
  color: var(--on-heath-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a.sign-in {
  color: #fff;
  border: 2px solid var(--on-heath-muted);
  border-radius: var(--radius);
  padding: 6px 14px;
}

/* The notice */
.notice {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
h1,
h2 {
  font-family: var(--display);
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
}
h2 {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 44px 0 12px;
}
p,
ul {
  margin: 0 0 14px;
}
li {
  margin-bottom: 6px;
}
.updated {
  color: var(--muted);
  margin-bottom: 32px;
}

/* Tables: a card per row on narrow screens, so nothing scrolls sideways. */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 16px;
}
/* Each table's caption repeats the heading or sentence just above it, so it
   is kept for screen readers and hidden on screen. */
caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
thead th {
  background: var(--sunken);
  border-top: 0;
  font-weight: 700;
}
code {
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

/* Footer */
footer {
  background: var(--ink);
  color: var(--on-heath-muted);
  padding: 40px 0;
  font-size: 15px;
}
footer a {
  color: #fff;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

@media (max-width: 860px) {
  .nav-links a:not(.sign-in) {
    display: none;
  }
}
@media (max-width: 640px) {
  .notice {
    padding: 40px 16px 56px;
  }
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }
  thead {
    position: absolute;
    left: -9999px;
  }
  tbody tr {
    border-top: 1px solid var(--line);
    padding: 6px 0;
  }
  tbody tr:first-child {
    border-top: 0;
  }
  td {
    border-top: 0;
    padding: 6px 14px;
  }
  td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--muted);
  }
}
