@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #141416;
  --panel: #1c1c1f;
  --line: #2c2c31;
  --ink: #ededf0;
  --muted: #a1a1aa;
  --accent: #c7b0f7;
  --accent-ink: #1a1326;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    17px/1.65 "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

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

.site-header,
.site-footer,
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-header .brand {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

h1 {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 24px 0 16px;
}

h2 {
  font-size: 24px;
  line-height: 1.3;
  margin: 48px 0 12px;
}

.lede {
  font-size: 19px;
  color: var(--ink);
}

.cta {
  display: inline-block;
  margin: 12px 0 8px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.cta:hover {
  filter: brightness(1.08);
}

figure {
  margin: 32px 0;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

figcaption {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

ol li,
ul li {
  margin: 6px 0;
}

kbd {
  font:
    600 14px/1 "Inter",
    system-ui,
    sans-serif;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--panel);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 16px;
}

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

th {
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  margin-top: 64px;
  padding-top: 24px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--muted);
}
