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

:root {
  color-scheme: dark;
  --text: #ededed;
  --body: #a1a1a1;
  --dim: #8f8f8f;
  --hairline: #2e2e2e;
  --canvas: #0a0a0a;
  --soft: #111;
  --raised: #171717;
  --chip: #232323;
  --well: #000;
  --link: #52a8ff;
  --link-hover: #8cc5ff;
  --sans: "Geist", Inter, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  --ring: inset 0 0 0 1px #ffffff1f;
  --float: inset 0 0 0 1px #ffffff24, 0 2px 2px #00000052, 0 8px 16px -4px #00000052, 0 24px 32px -8px #00000066;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 16px/24px var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--text); color: var(--canvas); }

h1, h2, h3, p, ol, ul, dl, dd, figure, pre { margin: 0; padding: 0; }
ol, ul { list-style: none; }
code, pre { font: 400 13px/20px var(--mono); }
p code, td code, dd code, li code, span code {
  background: var(--chip);
  color: var(--text);
  border-radius: 4px;
  padding: 1px 5px;
  overflow-wrap: anywhere;
}

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 20;
  background: var(--text); color: var(--canvas); padding: 8px 12px; border-radius: 6px;
}
.skip:focus { top: 12px; color: var(--canvas); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.nav-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.wordmark {
  font: 500 15px/20px var(--mono);
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.wordmark:hover { color: var(--text); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  color: var(--body);
  font-size: 14px; line-height: 20px; letter-spacing: -0.28px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 9999px;
}
.nav-links a:hover { background: var(--raised); color: var(--text); }
.nav-actions { display: flex; gap: 8px; margin-left: auto; }

/* buttons: the primary flips to white, still the only solid fill on the page */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.btn-lg { min-height: 48px; padding: 0 24px; font-size: 16px; line-height: 24px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; line-height: 20px; }
.btn-primary { background: var(--text); color: var(--canvas); }
.btn-primary:hover { background: #cfcfcf; color: var(--canvas); }
.btn-secondary { background: var(--canvas); color: var(--text); box-shadow: var(--ring); }
.btn-secondary:hover { background: var(--raised); color: var(--text); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--raised); color: var(--text); }

/* hero */
.hero { overflow: hidden; }
.hero-copy { padding-top: 96px; padding-bottom: 56px; text-align: center; }
h1 {
  font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -2.4px;
  max-width: 760px; margin: 0 auto;
  text-wrap: balance;
}
.lead {
  font-size: 18px; line-height: 28px; color: var(--body);
  max-width: 620px; margin: 20px auto 0;
  text-wrap: pretty;
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.fine { color: var(--body); font-size: 14px; line-height: 20px; margin-top: 16px; }

/* The one decoration on the page. It only ever sits behind the panel, never behind text that has
   to stay readable on it. */
.mesh-stage { position: relative; padding: 72px 0 96px; }
.mesh {
  position: absolute; inset: 0 -10%;
  background:
    radial-gradient(38% 60% at 14% 58%, #007cf0 0, transparent 70%),
    radial-gradient(30% 55% at 30% 34%, #00dfd8 0, transparent 70%),
    radial-gradient(34% 60% at 50% 66%, #7928ca 0, transparent 70%),
    radial-gradient(32% 58% at 66% 34%, #ff0080 0, transparent 70%),
    radial-gradient(30% 56% at 82% 62%, #ff4d4d 0, transparent 70%),
    radial-gradient(26% 50% at 94% 32%, #f9cb28 0, transparent 70%);
  filter: blur(40px);
  opacity: .8;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 74%, transparent 100%);
}
.panel {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--canvas);
  border-radius: 12px;
  box-shadow: var(--float);
  overflow: hidden;
}
.pane { padding: 20px 24px 24px; min-width: 0; }
.pane-log { border-left: 1px solid var(--hairline); }
.pane-name {
  font: 400 12px/16px var(--mono); color: var(--body);
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}
.panel pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.dim { color: var(--dim); }
.pane-note { color: var(--body); font-size: 13px; line-height: 20px; margin-top: 20px; }

/* bands */
.band { padding: 96px 0; }
.band-soft { background: var(--soft); border-block: 1px solid var(--hairline); }
.band-raised { background: var(--raised); border-block: 1px solid var(--hairline); }

/* The eyebrow on every section is the real file or folder that section is about. */
.path { font: 400 12px/16px var(--mono); color: var(--body); margin-bottom: 12px; }
h2 { font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -1.28px; text-wrap: balance; }
h3 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.6px; }
.sub { color: var(--body); font-size: 18px; line-height: 28px; margin-top: 12px; max-width: 640px; }
.after { margin-top: 20px; }

/* what you can replace */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; }
.table-frame { margin-top: 32px; border-radius: 8px; box-shadow: var(--ring); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; letter-spacing: -0.28px; }
th, td { text-align: left; padding: 10px 14px; vertical-align: top; border-top: 1px solid var(--hairline); }
thead th {
  background: var(--soft);
  border-top: 0;
  font: 400 12px/16px var(--mono); letter-spacing: 0; color: var(--body);
}
tbody th { font-weight: 500; }
td { color: var(--body); }
td code { background: none; padding: 0; }

.limits { background: var(--soft); border-radius: 12px; box-shadow: var(--ring); padding: 32px; }
.limits h3 { margin-bottom: 16px; }
.limits p { color: var(--body); font-size: 14px; line-height: 22px; letter-spacing: -0.2px; margin-top: 14px; }
.limits h3 + p { margin-top: 0; }
.limits strong { color: var(--text); font-weight: 500; }
.names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* install */
.install { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.steps li {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
}
.steps li:first-child { border-top: 0; padding-top: 4px; }
.n { font: 400 13px/24px var(--mono); color: var(--body); }
.line { margin-top: 10px; }
.steps .line code {
  display: inline-block;
  background: var(--well);
  box-shadow: var(--ring);
  border-radius: 6px; padding: 8px 12px;
}

/* features */
.features {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  margin-top: 40px;
}
.feature { padding: 24px 0; border-top: 1px solid var(--hairline); }
.feature dt { font-weight: 500; }
.feature dd { color: var(--body); font-size: 14px; line-height: 22px; letter-spacing: -0.2px; margin-top: 6px; }
.feature-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; padding-bottom: 40px; }
.feature-lead dt { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.96px; }
.feature-lead dd { font-size: 16px; line-height: 24px; letter-spacing: 0; margin-top: 0; }

/* risk band */
.band-raised p { color: var(--body); }
.band-raised h3 { font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: 0; margin-top: 32px; }
.band-raised h3 + p { margin-top: 4px; }
.band-raised a { color: var(--text); }
.band-raised a:hover { color: var(--body); }
.band-raised :focus-visible { outline-color: var(--text); }
.sep { color: var(--dim); margin: 0 6px; }
.split-even { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.verify { background: var(--canvas); box-shadow: var(--ring); border-radius: 12px; padding: 32px; }
.band-raised .verify h3 { margin-top: 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.6px; }
.verify p { margin-top: 12px; font-size: 14px; line-height: 22px; }
.verify pre {
  background: var(--well);
  box-shadow: var(--ring);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  overflow-x: auto;
}

/* help */
.split-trouble { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.split-trouble .btn { margin-top: 28px; }
.help li { padding: 16px 0; border-top: 1px solid var(--hairline); }
.help li:first-child { border-top: 0; padding-top: 0; }
.help a { font-weight: 500; }
.help span { display: block; color: var(--body); font-size: 14px; line-height: 22px; letter-spacing: -0.2px; margin-top: 2px; }
.help span code { font-size: 12px; }

/* footer */
.foot { border-top: 1px solid var(--hairline); padding: 40px 0; color: var(--body); font-size: 14px; line-height: 20px; letter-spacing: -0.28px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; }
.foot-row > p:first-child { max-width: 560px; }
.foot a { color: var(--body); }
.foot a:hover { color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* below desktop */
@media (max-width: 959px) {
  .nav-links { display: none; }
  .btn-sm { min-height: 44px; }
  .split, .install, .split-even, .split-trouble { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .pane-log { border-left: 0; border-top: 1px solid var(--hairline); }
  .band { padding: 64px 0; }
  .feature-lead { grid-template-columns: minmax(0, 1fr); }
  .feature-lead dd { margin-top: 8px; }
}

/* phone */
@media (max-width: 599px) {
  .wrap { padding: 0 16px; }
  .hero-copy { padding-top: 56px; padding-bottom: 32px; }
  h1 { font-size: 36px; line-height: 40px; letter-spacing: -1.8px; }
  h2 { font-size: 28px; line-height: 34px; letter-spacing: -1.1px; }
  .lead, .sub { font-size: 16px; line-height: 24px; }
  .cta-row .btn { width: 100%; }
  .mesh-stage { padding: 48px 0 56px; }
  .pane, .limits, .verify { padding: 20px 16px; }
  .features { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .nav-row { gap: 8px; }
  th, td { padding: 10px; }
  thead th:nth-child(2), tbody td:nth-child(2) { width: 34%; }
  .steps .line code { display: block; overflow-wrap: anywhere; }
  .split-trouble .btn { width: 100%; }
}

/* docs pages */
.docs { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 40px; padding-bottom: 96px; }
.side {
  position: sticky; top: 88px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  font-size: 14px; line-height: 20px; letter-spacing: -0.28px;
}
.side summary { display: none; }
.side nav > p { font: 400 12px/16px var(--mono); letter-spacing: 0; color: var(--dim); margin: 24px 0 6px; }
.side nav > p:first-child { margin-top: 0; }
.side a { display: block; padding: 5px 10px; border-radius: 6px; color: var(--body); text-decoration: none; }
.side a:hover { background: var(--raised); color: var(--text); }
.side a[aria-current] { background: var(--raised); color: var(--text); font-weight: 500; }
.side .toc { margin: 4px 0 8px 10px; padding-left: 4px; border-left: 1px solid var(--hairline); font-size: 13px; }
.side .toc a { padding: 3px 10px; }

.prose { min-width: 0; max-width: 780px; }
.prose .path { margin-bottom: 16px; }
.prose .path a { color: var(--body); }
.prose .path a:hover { color: var(--text); }
.prose h1 { font-size: 32px; line-height: 40px; letter-spacing: -1.28px; max-width: none; margin: 0 0 16px; text-wrap: balance; }
.prose h2 { font-size: 24px; line-height: 32px; letter-spacing: -0.96px; margin: 48px 0 12px; }
.prose h3 { font-size: 18px; line-height: 26px; letter-spacing: -0.5px; margin: 32px 0 8px; }
.prose h4 { font-size: 16px; line-height: 24px; font-weight: 600; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { color: var(--body); margin: 0 0 16px; overflow-wrap: anywhere; }
.prose strong { color: var(--text); font-weight: 500; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose li > ul, .prose li > ol, .prose li > p { margin-bottom: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }
.prose blockquote { margin: 0 0 16px; padding-left: 16px; border-left: 2px solid var(--hairline); }
.prose code { background: var(--chip); color: var(--text); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.prose h1 code, .prose h2 code, .prose h3 code { font-size: .85em; }
.prose pre {
  background: var(--well); box-shadow: var(--ring); border-radius: 8px;
  padding: 16px; margin: 0 0 16px; overflow-x: auto;
}
.prose pre code { background: none; padding: 0; overflow-wrap: normal; }
.prose .plain { white-space: pre-wrap; overflow-x: visible; }
.prose .plain code { overflow-wrap: anywhere; }
.prose details { margin: 16px 0 32px; }
.prose summary { cursor: pointer; font: 400 13px/20px var(--mono); color: var(--body); padding: 4px 0; }
.prose details pre { margin-top: 8px; }
.prose .btn-primary { color: var(--canvas); }
.need { font: 400 12px/16px var(--mono); letter-spacing: 0; color: var(--dim); margin-left: 6px; }
.table-scroll { overflow-x: auto; margin: 0 0 16px; border-radius: 8px; box-shadow: var(--ring); }
.prose table { min-width: 100%; }
.prose td code { background: none; padding: 0; overflow-wrap: normal; }
.prose thead th { white-space: nowrap; }

/* lookup tables are wider than the reading column */
.prose:has(.data) { max-width: none; }
.table-scroll.data { max-height: 75vh; overflow: auto; }
.data thead th { position: sticky; top: 0; }
.data td { white-space: nowrap; font: 400 13px/20px var(--mono); letter-spacing: 0; }
.data tr[hidden] { display: none; }
.filter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; max-width: 520px; margin: 24px 0 16px; }
.filter[hidden] { display: none; }
.filter label { grid-column: 1 / -1; font-size: 14px; color: var(--text); font-weight: 500; }
.filter input {
  height: 44px; padding: 0 12px;
  background: var(--canvas); color: var(--text);
  border: 1px solid var(--hairline); border-radius: 6px;
  font: 400 14px/20px var(--mono);
}
.filter p { margin: 0; font: 400 12px/16px var(--mono); color: var(--body); white-space: nowrap; }

@media (max-width: 959px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 16px; padding-bottom: 64px; }
  .side { position: static; max-height: none; overflow: visible; border-bottom: 1px solid var(--hairline); padding-bottom: 8px; }
  .side summary { display: list-item; cursor: pointer; font-weight: 500; color: var(--text); min-height: 44px; line-height: 44px; }
  .side a { padding: 10px; }
  .side .toc a { padding: 8px 10px; }
}
@media (max-width: 599px) {
  .prose h1 { font-size: 28px; line-height: 34px; }
  .nav-github { display: none; }
}

/* landing nav: the docs button only shows where the link row is hidden */
.nav-docs { display: none; }
@media (max-width: 959px) { .nav-docs { display: inline-flex; } }
