:root {
  color-scheme: dark;
  --bg: #05080a;
  --paper: #0b1013;
  --paper-soft: #10181b;
  --ink: #f1f4f8;
  --muted: #b9c0cc;
  --dim: #7f8998;
  --line: #1b2429;
  --line-strong: #33464d;
  --brand: #8fd8ff;
  --brand-hover: #c2edff;
  --success: #a7e8bd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--brand-hover);
}

.shell {
  width: min(68rem, 100%);
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

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

.brand span {
  color: var(--brand);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--ink);
}

.hero,
.section {
  padding: 56px 24px;
  border-bottom: 1px solid var(--line);
}

.hero {
  padding-top: 72px;
  padding-bottom: 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--success);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  max-width: 58rem;
  margin-bottom: 24px;
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.lead {
  max-width: 52rem;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.button.primary {
  border-color: var(--brand);
  color: var(--bg);
  background: var(--brand);
}

.button:hover {
  color: var(--ink);
  background: var(--paper-soft);
}

.button.primary:hover {
  color: var(--bg);
  background: var(--brand-hover);
}

.section-copy {
  max-width: 52rem;
  margin: 0 0 24px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
  background: var(--paper);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  color: inherit;
  background: var(--paper-soft);
}

.code-block {
  margin: 20px 0 0;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--line-strong);
  background: #020405;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre;
}

code {
  color: var(--brand-hover);
  font-family: inherit;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.inline-list li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--dim);
  background: var(--paper);
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

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

th,
td {
  min-width: 10rem;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: var(--paper-soft);
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--brand);
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 32px 24px 52px;
  color: var(--dim);
  font-size: 13px;
}

@media (max-width: 760px) {
  .shell {
    border-right: 0;
    border-left: 0;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section {
    padding: 42px 20px;
  }

  .hero {
    padding-top: 52px;
  }

  .lead {
    font-size: 17px;
  }

  .grid,
  .grid.two-column {
    grid-template-columns: 1fr;
  }
}
