/*
 * The terms, the privacy policy, the affiliate terms and the page a parent sees after approving a reward: plain
 * reading pages in the /maths look (owner, 2026-10-09). These files are served as they are, not built, so the
 * two faces are loaded from /fonts (copies of the @fontsource files the built pages use).
 */
@font-face {
  font-family: Archivo;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/archivo-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: Archivo;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/archivo-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/nunito-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/nunito-sans-latin-700-normal.woff2') format('woff2');
}
:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #16223f;
  --sub: #55637f;
  --line: #dde4ee;
  --soft: #e8f3fc;
  color-scheme: light;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 72px;
}
/* the name at the top is the logo; the words stay for screen readers */
.brand {
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.brand a {
  display: inline-block;
  width: 84px;
  height: 41px;
  background: url('/assets/ui/logo.webp') left center / contain no-repeat;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}
h1,
h2 {
  font-family: Archivo, 'Arial Narrow', 'Segoe UI', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(34px, 6vw, 46px);
}
h2 {
  margin: 40px 0 8px;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.meta {
  margin: 8px 0 26px;
  color: var(--sub);
  font-size: 14px;
}
.lead {
  font-size: 19px;
  color: var(--sub);
}
p,
li {
  max-width: 68ch;
}
a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 3px;
}
strong,
b {
  font-weight: 700;
}
li {
  margin-bottom: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  border-spacing: 0;
  overflow: hidden;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border-bottom: 0;
}
th {
  color: var(--sub);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg);
}
.foot {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
@media (max-width: 520px) {
  table,
  tr,
  td,
  th {
    display: block;
  }
  tr:first-child {
    display: none;
  }
  td {
    border: 0;
    padding: 2px 0;
  }
  tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
  }
  tr:last-child {
    border-bottom: 0;
  }
  td:first-child {
    font-weight: 700;
    color: var(--ink);
  }
}
