/* Shared by the four static pages (/about, /contact, /privacy, /legal). They are plain HTML, so the
   design tokens (docs/design/tokens.css) are repeated here as literal values. */
:root {
  color-scheme: light dark;
  --canvas: light-dark(#ffffff, #0f0f0f);
  --ink: light-dark(#16150f, #f3f3f3);
  --muted: light-dark(#555555, #a1a1a1);
  --line: light-dark(#e6e6e6, #2b2b2b);
  --accent: light-dark(#c21445, #f0436f);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font:
    16px/1.5 'Atkinson Hyperlegible Next',
    system-ui,
    sans-serif;
}

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

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.page-bar {
  border-bottom: 1px solid var(--line);
}

.page-bar-inner,
main {
  box-sizing: border-box;
  max-width: 44rem;
  margin-inline: auto;
  padding-inline: 16px;
}

.page-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
}

.page-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.page-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.page-bar nav a[aria-current='page'] {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

.page-bar .home {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

main {
  display: grid;
  gap: 16px;
  padding-block: 40px 64px;
}

main > * {
  margin: 0;
}

h1,
h2 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
}

h2 {
  margin-top: 16px;
  font-size: 22px;
  line-height: 1.2;
}

table {
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.scroll {
  overflow-x: auto;
}

ul {
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}
