/* The privacy and terms pages. Values mirror tokens/*.json, as in index.html; see web/README.md. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #1a1a1a;
  --stone: #787270;
  --chalk: #fafafa;
  --paper: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --coral: #ff6b57;
  --button: #2c2c2e;
  --button-ink: #ffffff;

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --measure: 44rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ffffff;
    --stone: #9e9795;
    --chalk: #1c1c1e;
    --paper: #2c2c2e;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.22);
    --button: #f5f5f7;
    --button-ink: #1c1c1e;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-ink);
  font-weight: 600;
  text-decoration: none;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
}
.wordmark i {
  width: 0.3em;
  height: 0.3em;
  margin-left: 0.16em;
  border-radius: 50%;
  background: var(--coral);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}
.top nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.9375rem;
  font-weight: 500;
}
.top nav a {
  text-decoration: none;
  color: var(--stone);
}
.top nav a:hover,
.top nav a[aria-current="page"] {
  color: var(--ink);
}

/* The document */
.doc {
  max-width: var(--measure);
  padding-block: clamp(40px, 7vw, 96px) clamp(72px, 10vw, 136px);
}
.doc h1 {
  font-size: clamp(2.75rem, 1.6rem + 5vw, 4.5rem);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.doc .meta {
  margin-top: 20px;
  color: var(--stone);
  font-size: 0.9375rem;
}
.doc .lede {
  margin-top: 28px;
  font-size: 1.25rem;
  line-height: 1.45;
  letter-spacing: -0.017em;
  text-wrap: pretty;
}
.doc .toc {
  margin-top: 36px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  font-size: 0.9375rem;
}
.doc .toc ol {
  margin: 0;
  padding-left: 1.4em;
  columns: 2;
  column-gap: 32px;
}
.doc .toc li {
  margin: 0;
  padding-block: 3px;
  break-inside: avoid;
}
.doc .toc a {
  text-decoration: none;
}
.doc .toc a:hover {
  text-decoration: underline;
}
.doc section {
  margin-top: clamp(44px, 6vw, 64px);
  scroll-margin-top: 24px;
}
.doc h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.doc h3 {
  margin-top: 28px;
  font-size: 1.0625rem;
  font-weight: 680;
  letter-spacing: -0.015em;
}
.doc p,
.doc ul,
.doc ol,
.doc .table {
  margin-top: 14px;
}
.doc ul,
.doc section ol {
  padding-left: 1.25em;
}
.doc li {
  margin-top: 6px;
}
.doc li::marker {
  color: var(--stone);
}
.doc a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.doc a:hover {
  text-decoration-color: currentColor;
}
.doc strong {
  font-weight: 650;
}
.doc .note {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 3px solid var(--coral);
  border-radius: 0 12px 12px 0;
  background: var(--paper);
}

.doc .table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.doc th,
.doc td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}
.doc thead th {
  border-top: 0;
  color: var(--stone);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0;
  white-space: nowrap;
}
.doc tbody th {
  font-weight: 650;
  min-width: 8.5em;
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 36px 44px;
  font-size: 0.9375rem;
  color: var(--stone);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 32px;
}
footer .wordmark {
  color: var(--ink);
  font-size: 1rem;
}
footer .privacy {
  margin-left: auto;
}
footer .legal {
  flex-basis: 100%;
}

@media (max-width: 719px) {
  footer .privacy {
    margin-left: 0;
    flex-basis: 100%;
  }
  .doc .toc ol {
    columns: 1;
  }
  .doc table,
  .doc tbody,
  .doc tr,
  .doc th,
  .doc td {
    display: block;
  }
  .doc thead {
    display: none;
  }
  .doc tr {
    padding: 14px 16px;
    border-top: 1px solid var(--line);
  }
  .doc tbody tr:first-child {
    border-top: 0;
  }
  .doc th,
  .doc td {
    padding: 0;
    border: 0;
  }
  .doc td {
    margin-top: 6px;
  }
  .doc td[data-label]::before {
    content: attr(data-label) ": ";
    color: var(--stone);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .top nav,
  .skip,
  .doc .toc {
    display: none;
  }
}
