/*
 * The legal pages. Same tokens as index.html, in a shared file rather than
 * copied four times — a policy that says different things on two pages is
 * worse than no policy.
 */

:root {
  --ink: #0a0c10;
  --paper: #f7f5f1;
  --stone: #565d67;
  --line: #e4e0d8;
  --emerald: #0f9b63;
  --amber: #b5761a;
  --cobalt: #2e58f0;
  --disp: "Fraunces", Georgia, serif;
  --body: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
}

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

.nav {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-in {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
}
.brand svg {
  width: 20px;
  height: 20px;
}
.nav-in .grow {
  flex: 1;
}
.nav-in a.back {
  font-size: 13.5px;
  color: var(--stone);
  text-decoration: none;
}
.nav-in a.back:hover {
  color: var(--ink);
}

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 24px 90px;
}

h1 {
  font-family: var(--disp);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
.updated {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b8478;
  margin-top: 14px;
}
.lede {
  font-size: 18px;
  color: var(--stone);
  line-height: 1.6;
  margin-top: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

h2 {
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 40px 0 12px;
  font-variation-settings: "SOFT" 20;
}
h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
}
p {
  margin-bottom: 14px;
  color: #24282e;
}
ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}
li {
  margin-bottom: 8px;
  color: #24282e;
}
strong {
  font-weight: 600;
  color: var(--ink);
}
code {
  font-family: var(--mono);
  font-size: 13px;
  background: #eceae4;
  padding: 2px 5px;
  border-radius: 4px;
}

/* A fact with a number behind it, set apart so it can be checked. */
.fact {
  border-left: 3px solid var(--emerald);
  background: #fff;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 18px 0;
}
.fact p:last-child {
  margin-bottom: 0;
}

/* Something we are NOT claiming. These matter more than the claims. */
.not {
  border-left: 3px solid var(--amber);
  background: #fffaf1;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 18px 0;
}
.not p:last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14.5px;
}
th,
td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b8478;
  font-weight: 500;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding-top: 24px;
  font-size: 13.5px;
  color: var(--stone);
}
footer a {
  margin-right: 16px;
}

@media (max-width: 640px) {
  h1 {
    font-size: 31px;
  }
  main {
    padding: 36px 20px 70px;
  }
  table {
    font-size: 13px;
  }
}
