:root {
  color-scheme: dark;
  --bg: #0e1015;
  --surface: #14171e;
  --line: #262a33;
  --line-strong: #3a3f4b;
  --fg: #eceae5;
  --text: #c9cbd1;
  --muted: #9a9ea8;
  --you: #e46fb3;
  --claude: #e8875b;
  --codex: #4fc3d9;
  --opsd: #a393ff;
  --grok: #d9dce3;
  --gemini: #6c9cff;
  --jev: #f2c94c;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 17px/1.65 var(--sans);
}
a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-color: var(--fg);
}
:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
img {
  max-width: 100%;
  height: auto;
}
::selection {
  background: var(--fg);
  color: var(--bg);
}
header.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding: 16px max(24px, calc((100% - 1152px) / 2));
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--fg);
  font: 600 19px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
}
header.top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  font-size: 15px;
}
header.top nav a {
  color: var(--text);
  text-decoration: none;
}
header.top nav a:hover {
  color: var(--fg);
}
header.top nav a[aria-current] {
  color: var(--fg);
  box-shadow: 0 1px 0 var(--fg);
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  background: #ffffff;
}
.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 15px;
}
.arrow {
  font-weight: 500;
  text-decoration: none;
}
.arrow::after {
  content: ' \2192';
}
.arrow:hover {
  text-decoration: underline;
}
main.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: var(--fg);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 1.8em 0 0.6em;
}
.prose h1 {
  margin-top: 0;
  font-size: clamp(34px, 4.6vw, 48px);
  letter-spacing: -0.03em;
}
.prose h2 {
  font-size: 26px;
  padding-top: 0.8em;
  border-top: 1px solid var(--line);
}
.prose h3 {
  font-size: 20px;
}
.prose h4 {
  font-size: 17px;
}
.prose strong {
  color: var(--fg);
  font-weight: 600;
}

/* Docs pages: a sidebar of pages next to the text column */
main.docs {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
main.docs > nav.side {
  flex: 0 0 220px;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  font-size: 15px;
}
main.docs > article {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 760px;
}
nav.side .site {
  display: block;
  margin-bottom: 8px;
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}
nav.side .group {
  margin: 24px 0 8px;
  font: 500 12px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
nav.side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.side li a {
  display: block;
  padding: 5px 0 5px 13px;
  border-left: 1px solid var(--line);
  color: var(--text);
  line-height: 1.4;
  text-decoration: none;
}
nav.side li a:hover {
  color: var(--fg);
  border-left-color: var(--line-strong);
}
nav.side li a[aria-current] {
  color: var(--fg);
  border-left: 2px solid var(--fg);
  padding-left: 12px;
}
.anchor {
  display: inline-block;
  width: 1.1em;
  margin-left: -1.1em;
  color: var(--muted);
  text-decoration: none;
  visibility: hidden;
}
.prose :is(h1, h2, h3, h4):hover .anchor {
  visibility: visible;
}
.source {
  margin-top: 64px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 860px) {
  main.docs {
    display: block;
    padding-top: 32px;
  }
  main.docs > nav.side {
    position: static;
    max-height: none;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
}
.lead {
  font-size: 1.18em;
  color: var(--text);
}
.version {
  font-size: 1.1em;
}
code {
  font: 0.86em var(--mono);
  color: var(--fg);
  background: var(--surface);
  padding: 0.12em 0.36em;
  border-radius: 4px;
}
pre {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 6px;
  overflow-x: auto;
  line-height: 1.6;
}
pre code {
  padding: 0;
  background: none;
  font-size: 14px;
}
table {
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  margin: 1em 0;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 8px 14px 8px 0;
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--fg);
  font-weight: 600;
}
blockquote {
  margin: 0;
  padding: 0 1em;
  color: var(--muted);
  border-left: 2px solid var(--line-strong);
}
footer.bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding: 28px max(24px, calc((100% - 1152px) / 2));
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
footer.bottom a {
  color: var(--text);
}

/* Home page */
main.wide h1,
main.wide h2,
main.wide h3 {
  color: var(--fg);
  font-weight: 600;
}
main.wide h2 {
  margin: 0 0 20px;
  max-width: 820px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
main.wide h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.label {
  margin: 0 0 18px;
  font: 500 13px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fine {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.narrow {
  max-width: 680px;
}
.hero {
  padding: 72px 0 0;
}
.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-items: center;
}
.hero-copy {
  flex: 1.1 1 440px;
}
.eyebrow {
  margin: 0 0 22px;
  font: 500 13px var(--mono);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero .lead {
  margin: 24px 0 0;
  max-width: 540px;
  font-size: 19px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 32px;
}
.schematic {
  flex: 1 1 460px;
  min-width: 0;
  margin: 0;
}
.net {
  display: block;
  width: 100%;
  height: auto;
  max-width: 640px;
  margin: 0 auto;
  overflow: visible;
}
.net .grid line {
  stroke: #171a21;
  stroke-width: 1;
}
.net .edge {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  transition: stroke 0.4s;
}
/* Every line carries a faint, slow flow; the lit stage's lines run bright and fast. */
.net .flow {
  fill: none;
  stroke: var(--c);
  stroke-opacity: 0.18;
  stroke-width: 2;
  stroke-dasharray: 6 10;
  animation: flow 3.6s linear infinite;
  transition: stroke-opacity 0.4s;
}
.net .packet {
  display: none;
  fill: var(--c);
}
.net .n rect {
  fill: var(--bg);
  stroke: var(--line-strong);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    fill 0.4s,
    stroke 0.4s;
}
.net .n text,
.net .hub text {
  /* A dark outline lets lines pass behind the labels. */
  paint-order: stroke;
  stroke: var(--bg);
  stroke-width: 6px;
  stroke-linejoin: round;
  fill: var(--muted);
  font: 500 14px var(--mono);
  transition: fill 0.4s;
}
.net .hub rect {
  fill: var(--surface);
  stroke: var(--line-strong);
  stroke-width: 1.5;
  transition: stroke 0.4s;
}
.net[data-stage='0'] .s0 .flow {
  stroke-opacity: 1;
  animation-duration: 1.2s;
}
.net[data-stage='0'] .s0 .packet {
  display: inline;
}
.net[data-stage='0'] .s0 .edge {
  stroke: var(--c);
  stroke-opacity: 0.4;
}
.net[data-stage='0'] .n.s0 rect {
  stroke: var(--c);
  fill: var(--c);
  animation: pulse 1.6s ease-in-out infinite;
}
.net[data-stage='0'] .n.s0 text,
.net[data-stage='0'] .hub.s0 text {
  fill: var(--fg);
}
.net[data-stage='0'] .hub.s0 rect {
  stroke: var(--c);
}
.net[data-stage='1'] .s1 .flow {
  stroke-opacity: 1;
  animation-duration: 1.2s;
}
.net[data-stage='1'] .s1 .packet {
  display: inline;
}
.net[data-stage='1'] .s1 .edge {
  stroke: var(--c);
  stroke-opacity: 0.4;
}
.net[data-stage='1'] .n.s1 rect {
  stroke: var(--c);
  fill: var(--c);
  animation: pulse 1.6s ease-in-out infinite;
}
.net[data-stage='1'] .n.s1 text,
.net[data-stage='1'] .hub.s1 text {
  fill: var(--fg);
}
.net[data-stage='1'] .hub.s1 rect {
  stroke: var(--c);
}
.net[data-stage='2'] .s2 .flow {
  stroke-opacity: 1;
  animation-duration: 1.2s;
}
.net[data-stage='2'] .s2 .packet {
  display: inline;
}
.net[data-stage='2'] .s2 .edge {
  stroke: var(--c);
  stroke-opacity: 0.4;
}
.net[data-stage='2'] .n.s2 rect {
  stroke: var(--c);
  fill: var(--c);
  animation: pulse 1.6s ease-in-out infinite;
}
.net[data-stage='2'] .n.s2 text,
.net[data-stage='2'] .hub.s2 text {
  fill: var(--fg);
}
.net[data-stage='2'] .hub.s2 rect {
  stroke: var(--c);
}
.net[data-stage='3'] .s3 .flow {
  stroke-opacity: 1;
  animation-duration: 1.2s;
}
.net[data-stage='3'] .s3 .packet {
  display: inline;
}
.net[data-stage='3'] .s3 .edge {
  stroke: var(--c);
  stroke-opacity: 0.4;
}
.net[data-stage='3'] .n.s3 rect {
  stroke: var(--c);
  fill: var(--c);
  animation: pulse 1.6s ease-in-out infinite;
}
.net[data-stage='3'] .n.s3 text,
.net[data-stage='3'] .hub.s3 text {
  fill: var(--fg);
}
.net[data-stage='3'] .hub.s3 rect {
  stroke: var(--c);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 18px;
  font: 13px var(--mono);
  color: var(--muted);
}
.legend span::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: var(--c);
  vertical-align: 0;
}
.legend small {
  margin-left: 5px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}
.stepper {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border-top: 1px solid var(--line);
}
.stepper button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 22px 24px 30px 0;
  border: 0;
  border-top: 2px solid transparent;
  margin-top: -1px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}
.stepper button:hover {
  color: var(--text);
}
.stepper button[aria-pressed='true'] {
  border-top-color: var(--c);
  color: var(--text);
}
.stepper .num {
  font: 500 13px var(--mono);
  color: var(--c);
}
.stepper strong {
  color: var(--fg);
  font-size: 17px;
  font-weight: 600;
}
.cols3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 48px;
}
.cols3 p {
  margin: 0;
}
.isnt {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
  max-width: 760px;
  color: var(--muted);
}
.annotated {
  margin: 40px 0 0;
  display: grid;
  gap: 28px;
}
.shot {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
}
.pin {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  font: 600 14px/28px var(--mono);
  text-align: center;
  box-shadow: 0 0 0 4px rgba(14, 16, 21, 0.75);
}
.pins {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pin;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px 32px;
  font-size: 15px;
}
.pins li {
  counter-increment: pin;
  display: flex;
  gap: 12px;
}
.pins li::before {
  content: counter(pin);
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  font: 600 12px/22px var(--mono);
  text-align: center;
}
.file-grid,
.install-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}
.file-grid > div,
.install-grid > div {
  flex: 1 1 420px;
  min-width: 0;
}
.file-grid > div > p {
  max-width: 520px;
}
.tree {
  margin-top: 28px;
}
.file-name {
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #11141a;
  font: 13px var(--mono);
  color: var(--muted);
}
.file {
  margin: 0;
  border-radius: 0 0 6px 6px;
}
.file-name,
.file {
  width: 100%;
}
.timeline {
  display: table;
  width: 100%;
  margin: 28px 0 0;
  font-size: 15px;
}
.timeline caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 8px;
  font: 13px var(--mono);
  color: var(--muted);
}
.timeline td {
  padding: 10px 16px 10px 0;
}
.timeline td:first-child {
  font-family: var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.timeline .who {
  font-family: var(--mono);
  color: var(--c);
  white-space: nowrap;
}
.big-sentence {
  margin: 0;
  max-width: 980px;
  color: var(--fg);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.big-sentence strong {
  font-weight: 600;
  box-shadow: inset 0 -0.14em 0 var(--line-strong);
}
.split {
  display: flex;
  gap: 3px;
  margin-top: 40px;
  max-width: 980px;
  font: 13px var(--mono);
  color: var(--bg);
}
.split span {
  flex-basis: 0;
  min-width: max-content;
  padding: 10px 12px;
  background: var(--c);
  font-weight: 500;
}
.rules {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0 48px;
}
.rules li {
  counter-increment: rule;
  padding: 20px 0 20px 48px;
  border-top: 1px solid var(--line);
  position: relative;
}
.rules li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 21px;
  font: 500 14px var(--mono);
  color: var(--muted);
}
.rules strong {
  color: var(--fg);
  font-weight: 600;
}
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.shots figure {
  margin: 0;
}
.shots img {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.shots figcaption {
  margin-top: 12px;
  font-size: 15px;
}
.shots strong {
  color: var(--fg);
  font-weight: 600;
}
.install {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  flex: 1 1 420px;
}
.install li {
  counter-increment: step;
  position: relative;
  padding: 18px 0 18px 48px;
  border-top: 1px solid var(--line);
}
.install li:last-child {
  border-bottom: 1px solid var(--line);
}
.install li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  font: 600 15px var(--mono);
  color: var(--fg);
}
.install strong,
.faq dt {
  color: var(--fg);
  font-weight: 600;
}
.faq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
}
.faq-grid .label {
  flex: 1 1 200px;
}
.faq {
  flex: 3 1 560px;
  margin: 0;
}
.faq div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.faq dd {
  margin: 6px 0 0;
}
.closing {
  padding: 120px 0 128px;
  border-top: 1px solid var(--line);
}
.closing h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.035em;
}
@keyframes flow {
  to {
    stroke-dashoffset: -160;
  }
}
@media (max-width: 700px) {
  .hero {
    padding-top: 48px;
  }
  .net .n text,
  .net .hub text {
    font-size: 18px;
  }
  header.top .button.small {
    display: none;
  }
  .section {
    padding: 72px 0;
  }
}
/* The packets move by SMIL animateMotion, which CSS cannot stop, so they are hidden here and
   site.js pauses the SVG's animations. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .net .packet {
    display: none !important;
  }
}
