/* Inter 4 with its opsz axis (@fontsource-variable/inter 5.3.0, latin), SIL OFL 1.1: /fonts/OFL.txt. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-opsz-5.3.0.woff2') format('woff2');
}
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7fa;
  --ink: #1c1b22;
  --muted: #5b5966;
  --line: #e6e4ee;
  --control: #d3d0de;
  --accent: #5a3fd1;
  --accent-hover: #4a31b8;
  --accent-ink: #ffffff;
  --chip: #ece8fc;
  --chip-ink: #3b2a8f;
  --preview: #f6f5fd;
  --error: #c4262e;
  --shadow: 0 16px 40px rgb(28 27 34 / 14%);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.6 Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-optical-sizing: auto;
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
p,
li {
  color: var(--muted);
  max-width: 65ch;
}
p {
  margin: 0;
}
p + p {
  margin-top: 8px;
}
strong {
  color: var(--ink);
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
code {
  background: var(--chip);
  color: var(--chip-ink);
  border-radius: 4px;
  padding: 1px 6px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
}
.skip:focus {
  top: 8px;
}
.frame {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}
.site-nav {
  border-bottom: 1px solid var(--line);
}
/* Brand left, links centered: the equal outer columns keep the links on the page's axis (home overrides it). */
.site-nav nav {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto) 1fr;
  align-items: center;
  gap: 8px 32px;
  min-height: 68px;
  padding-block: 12px;
}
.site-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current='page'] {
  color: var(--accent);
}
.site-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  justify-self: start;
}
@media (max-width: 600px) {
  .site-nav nav {
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 0 28px;
  }
  .site-nav .brand {
    grid-column: 1 / -1;
    justify-self: center;
  }
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lede {
  font-size: 18px;
}
/* Reading pages: a 720 px column inside the frame, titled in the site's display type. */
.page {
  display: grid;
  justify-items: center;
  gap: 32px;
  align-content: start;
  padding: 88px 24px 112px;
}
.page > * {
  width: 100%;
  max-width: 720px;
  min-width: 0;
}
.page > .hero,
.page > h1,
.page > h1 + p {
  text-align: center;
}
.page > .hero p,
.page > h1 + p {
  margin-inline: auto;
}
.page h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.page .hero .lede {
  margin-top: 16px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 40px;
  font-size: 14px;
  text-align: center;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 200px));
  justify-content: center;
  gap: 32px;
}
.footer-cols div {
  display: grid;
  gap: 8px;
  align-content: start;
}
.footer-cols p {
  color: var(--ink);
  font-weight: 600;
}
.footer-cols a {
  color: var(--muted);
  text-decoration: none;
}
.footer-cols a:hover,
.footer-cols a[aria-current='page'] {
  color: var(--ink);
}
@media (max-width: 600px) {
  .site-nav a,
  .footer-cols a {
    padding-block: 11px;
  }
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-cols div {
    gap: 0;
  }
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 40px;
  overflow-wrap: anywhere;
}
.footer-base p {
  margin: 0;
}
/* Legal pages: a centered numbered contents list; heading numbers come from a counter, so the text stays as written. */
.legal {
  counter-reset: section;
}
/* Rows fixed per page, so the columns stay equal even when a long title wraps. */
.contents ol {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 6px 48px;
  width: fit-content;
  margin: 0 auto;
  padding: 24px 32px;
  border-radius: 12px;
  background: var(--surface-2);
  list-style: decimal-leading-zero inside;
  font-size: 15px;
}
.contents ol.rows-2 {
  grid-template-rows: repeat(2, auto);
}
.contents ol.rows-3 {
  grid-template-rows: repeat(3, auto);
}
.contents li {
  max-width: 28ch;
}
.contents a {
  color: var(--ink);
  text-decoration: none;
}
.contents a:hover {
  color: var(--accent);
}
.legal h2::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  display: block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 700px) {
  .contents ol {
    grid-auto-flow: row;
    grid-template-rows: none;
  }
}
