:root {
  color-scheme: dark;
  --bg: #141516;
  --panel: #1b1c1e;
  --paper: #faf6ed;
  --muted: #b9b7b0;
  --orange: #ff803d;
  --line: #404143;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font:
    16px/1.55 system-ui,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: var(--orange);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
.bar,
main {
  width: min(1280px, 92%);
  margin: auto;
}
.bar,
nav,
.actions,
.processes,
.kernel,
.map-head,
.tree,
.command {
  display: flex;
  align-items: center;
}
.bar,
.kernel,
.map-head {
  justify-content: space-between;
}
header,
footer {
  border-block: 1px solid var(--line);
}
.bar {
  min-height: 73px;
  gap: 20px;
}
.brand,
nav,
.actions,
.platform,
figure,
code,
samp,
.map-head,
.command,
dt {
  font-family: var(--mono);
}
nav,
.actions {
  gap: 26px;
  flex-wrap: wrap;
}
nav a,
.brand,
.actions a {
  text-decoration: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  font-size: 19px;
}
nav {
  font-size: 0.85rem;
}
main > section {
  padding: clamp(48px, 6vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}
main > section:last-child {
  border: none;
}
.hero,
.split,
.workflows {
  display: grid;
  gap: clamp(30px, 5vw, 84px);
  grid-template-columns: 1fr 1fr;
}
.hero {
  align-items: center;
  background-image:
    linear-gradient(#ffffff04 1px, transparent 1px),
    linear-gradient(90deg, #ffffff04 1px, transparent 1px);
  background-size: 28px 28px;
}
h1,
h2,
h3,
p,
figure,
dl {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(44px, 5.55vw, 82px);
  font-weight: 680;
}
em {
  font-style: normal;
  color: var(--orange);
}
h2 {
  font-size: clamp(34px, 3.7vw, 57px);
  font-weight: 650;
}
h3 {
  font-size: 22px;
}
p {
  color: var(--muted);
  max-width: 52ch;
}
p + p,
h2 + p,
h3 + p {
  margin-top: 16px;
}
.lead {
  margin-top: 22px;
  font-size: clamp(18px, 1.7vw, 24px);
  max-width: 37ch;
}
.actions {
  margin: 30px 0 16px;
  font-size: 14px;
}
.primary {
  padding: 12px 17px;
  background: var(--orange);
  color: #151515;
  font-weight: 700;
}
.primary:hover {
  background: #ffa26f;
  color: #151515;
}
.platform,
small {
  font-size: 12px;
  color: var(--muted);
}
.cutaway {
  background: #171819;
  border: 1px solid var(--line);
  padding: 18px;
  font-size: 14px;
}
.cutaway figcaption {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
}
.host {
  border: 1px dashed #737373;
  padding: 14px;
}
.layer-label,
.map-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cli {
  margin: 8px 0;
}
.cli b,
.tree > span {
  color: var(--orange);
}
.engine {
  border: 1px solid #78736b;
  padding: 10px;
}
.engine > .layer-label {
  color: var(--paper);
  text-transform: none;
}
.guest {
  background: #232426;
  padding: 12px;
  margin: 8px 0;
}
.guest p {
  font-size: 13px;
}
.processes {
  gap: 6px;
  margin: 10px 0;
  flex-wrap: wrap;
}
.processes span {
  border: 1px solid var(--line);
  padding: 2px 8px;
  font-size: 12px;
}
.kernel {
  background: var(--orange);
  color: #161513;
  padding: 7px 10px;
  font-weight: 700;
}
.kernel span {
  font-weight: 500;
  font-size: 12px;
}
.foundation {
  border: 1px solid var(--line);
  padding: 7px;
  text-align: center;
  margin-top: 8px;
  color: var(--muted);
}
.split {
  grid-template-columns: 0.82fr 1.18fr;
}
.map-head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mapping {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.mapping h3,
.install-steps h3 {
  font: 600 14px var(--mono);
  letter-spacing: 0;
}
.endpoints {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(28px, 1fr) minmax(0, auto);
  gap: 12px;
  align-items: center;
  margin: 12px 0 6px;
}
.endpoints code {
  background: #232426;
  padding: 4px 8px;
}
.arrow {
  position: relative;
  height: 2px;
  background: var(--orange);
}
.arrow:after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  border-block: 5px solid transparent;
  border-left: 8px solid var(--orange);
}
.arrow.left {
  transform: rotate(180deg);
}
.mapping p {
  font-size: 14px;
  max-width: none;
}
code {
  font-size: 0.91em;
}
.workflows {
  margin-top: 32px;
  gap: 24px;
}
.workflows article {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(17px, 2.4vw, 34px);
}
.workflows article > p {
  margin-bottom: 24px;
}
.tree {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.tree strong,
.tree small {
  display: block;
}
.tree strong {
  font: 600 14px var(--mono);
}
dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  margin-top: 18px;
  font-size: 13px;
}
dd {
  margin: 0;
  color: var(--muted);
}
.command {
  padding: 12px;
  gap: 9px;
  border: 1px solid var(--line);
  background: #101112;
}
.command > span,
samp {
  color: var(--orange);
}
.command code {
  overflow-wrap: anywhere;
}
.command button {
  background: transparent;
  color: var(--paper);
  border: 1px solid #5c5b58;
  padding: 6px 10px;
  cursor: pointer;
  margin-left: auto;
  font: 12px var(--mono);
}
samp {
  display: block;
  margin: 7px 14px;
}
.install-steps h3 {
  margin: 18px 0 10px;
}
.install-steps h3:first-child {
  margin-top: 0;
}
.skip,
.sr {
  position: absolute;
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.skip:focus {
  clip-path: none;
  height: auto;
  width: auto;
  background: #141516;
  padding: 10px;
  z-index: 1;
}
@media (max-width: 800px) {
  .hero,
  .split,
  .workflows {
    grid-template-columns: 1fr;
  }
  .hero,
  .split {
    gap: 32px;
  }
  .cutaway {
    max-width: 600px;
  }
  .hero h1 {
    font-size: clamp(44px, 9vw, 70px);
  }
  .workflows {
    gap: 14px;
  }
  .bar {
    min-height: 60px;
  }
  .bar nav {
    gap: 12px;
  }
  .resources h2 br {
    display: none;
  }
}
@media (max-width: 460px) {
  .bar {
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 6px 16px;
  }
  .bar nav {
    font-size: 12px;
  }
  .brand {
    font-size: 16px;
  }
  .endpoints {
    gap: 7px;
    font-size: 14px;
  }
  .cutaway {
    padding: 12px;
  }
  .host {
    padding: 10px;
  }
  .actions {
    gap: 16px;
  }
  .command {
    font-size: 14px;
  }
}

.guide article {
  max-width: 760px;
  margin: 64px auto;
}
.guide h1 {
  margin: 16px 0;
  font-size: clamp(42px, 6vw, 76px);
}
.guide h2 {
  margin: 48px 0 16px;
  font-size: clamp(26px, 4vw, 38px);
}
.guide p {
  max-width: 68ch;
}
.guide .command {
  margin: 16px 0;
  align-items: baseline;
}
.guide .command code {
  white-space: pre-wrap;
  min-width: 0;
}

.guide blockquote {
  margin: 14px 0 26px;
  padding: 16px 20px;
  border-left: 2px solid var(--orange);
  background: var(--panel);
}

.docs-layout {
  width: min(1320px, 94%);
  margin: 48px auto 80px;
  display: grid;
  grid-template-columns: 220px minmax(0, 760px) 200px;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  justify-content: space-between;
}
.docs-layout .guide {
  width: 100%;
  margin: 0;
}
.docs-layout article {
  margin: 0;
}
.docs-sidebar,
.docs-toc {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow: auto;
}
.docs-menu summary {
  display: none;
}
.docs-group {
  display: grid;
  gap: 2px;
  margin-bottom: 26px;
}
.docs-group strong,
.docs-toc strong {
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.docs-group a {
  padding: 5px 12px;
  border-left: 2px solid var(--line);
  text-decoration: none;
  font-size: 15px;
}
.docs-group [aria-current="page"] {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--panel);
}
.docs-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.docs-toc li {
  padding: 4px 0;
}
.docs-toc a {
  color: var(--muted);
  text-decoration: none;
}
.docs-toc a:hover {
  color: var(--orange);
}
header nav [aria-current="page"] {
  color: var(--orange);
}
.guide h2 > code {
  font-size: 0.62em;
  letter-spacing: 0;
}
.guide .eyebrow {
  margin-bottom: 12px;
}
.guide ul {
  color: var(--muted);
  padding-left: 1.2em;
  max-width: 68ch;
}
.guide li + li {
  margin-top: 8px;
}
.guide li strong {
  color: var(--paper);
}
.guide h3 {
  margin: 28px 0 10px;
}
.guide samp {
  margin-top: -8px;
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.doc-table th,
.doc-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
}
.doc-table thead th {
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.doc-table tbody th {
  font-weight: 500;
  white-space: nowrap;
}
.doc-table td {
  color: var(--muted);
}
.doc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.doc-cards a {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
}
.doc-cards a:hover {
  border-color: var(--orange);
}
.doc-cards span {
  color: var(--muted);
  font-size: 14px;
}
.docs-end {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.docs-end a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.docs-end .next {
  text-align: right;
}
.docs-end strong {
  display: block;
  color: var(--orange);
  font-size: 17px;
}
@media (max-width: 1180px) {
  .docs-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .docs-toc {
    display: none;
  }
}
@media (max-width: 760px) {
  .docs-layout {
    grid-template-columns: minmax(0, 1fr);
    margin: 20px auto 56px;
  }
  .docs-sidebar {
    position: static;
    max-height: none;
    border: 1px solid var(--line);
    background: var(--panel);
  }
  .docs-menu summary {
    display: block;
    padding: 12px 14px;
    cursor: pointer;
    font: 600 14px var(--mono);
  }
  .docs-menu nav {
    padding: 4px 14px 0;
  }
  .doc-cards {
    grid-template-columns: 1fr;
  }
}

/* Landing v2 */
:root {
  --ram: #7fd1ae;
}
.eyebrow {
  max-width: none;
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 18px;
}
.nav-cta {
  border: 1px solid var(--orange);
  padding: 6px 12px;
  color: var(--orange);
}
.nav-cta:hover {
  background: var(--orange);
  color: #151515;
}
.hero {
  grid-template-columns: 1fr 1.05fr;
  padding-top: clamp(56px, 8vw, 120px);
}
.hero h1 {
  font-size: clamp(42px, 5vw, 76px);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head p {
  font-size: 18px;
}

/* Hero fleet */
.fleet {
  background: #171819;
  border: 1px solid var(--line);
  padding: 20px;
  font-size: 13px;
}
.fleet figcaption {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.fleet-head,
.fleet li {
  display: grid;
  grid-template-columns: 92px minmax(16px, 1fr) auto minmax(16px, 1fr) 128px;
  align-items: center;
  gap: 8px;
}
.fleet-head {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.fleet-head span:nth-child(2) {
  grid-column: 3;
  text-align: center;
}
.fleet-head span:nth-child(3) {
  grid-column: 5;
}
.fleet ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fleet li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.fleet .branch,
.fleet .port {
  font-size: 12px;
  white-space: nowrap;
}
.fleet .port {
  color: var(--orange);
}
.wire {
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0 4px,
    transparent 4px 8px
  );
}
.vm {
  border: 1px solid var(--ram);
  background: #7fd1ae12;
  padding: 6px 10px;
  font-family: var(--mono);
  text-align: center;
}
.vm b {
  color: var(--ram);
}
.vm small {
  display: block;
  font-size: 10px;
}
.disk {
  margin-top: 18px;
  border: 1px solid var(--line);
  padding: 14px;
  background: #101112;
}
.disk-title {
  display: flex;
  justify-content: space-between;
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.disk-title span:last-child {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.disk-bar {
  display: flex;
  height: 10px;
  margin: 12px 0;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(
    90deg,
    transparent 0 9px,
    #ffffff08 9px 10px
  );
}
.disk-bar .images {
  width: 14%;
  background: var(--paper);
}
.disk-bar .caches {
  width: 22%;
  background: var(--orange);
}
.fleet dl {
  margin-top: 0;
  font-size: 12px;
}
.fleet dt i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
}
i.images {
  background: var(--paper);
}
i.caches {
  background: var(--orange);
}
i.none {
  border: 1px solid var(--ram);
}

/* Problem */
.pains {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.pains li {
  padding: 24px 24px 8px 0;
}
.pains li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.pain-index {
  font: 600 13px var(--mono);
  color: var(--orange);
}
.pains h3 {
  margin: 14px 0 10px;
  font-size: 20px;
}
.pains p {
  font-size: 15px;
}

/* Disk ledger */
.table-wrap {
  overflow-x: auto;
}
.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.ledger th,
.ledger td {
  text-align: left;
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.ledger thead th {
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.ledger tbody th {
  font-weight: 500;
}
.ledger td {
  color: var(--muted);
}
.where {
  font: 13px var(--mono);
  padding: 3px 8px;
  display: inline-block;
}
.where.ram {
  color: var(--ram);
  border: 1px solid #7fd1ae66;
}
.ledger td small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}
.where.disk {
  color: var(--paper);
  border: 1px solid var(--line);
}
.disk-controls {
  margin-top: clamp(32px, 4vw, 56px);
}
.disk-controls > div:first-child h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.config {
  margin: 20px 0 0;
  padding: 14px;
  background: #101112;
  border: 1px solid var(--line);
  font-size: 14px;
}
.config span {
  color: var(--orange);
}
.tradeoff {
  max-width: none;
  margin-top: 36px;
  padding: 16px 20px;
  border-left: 2px solid var(--ram);
  background: var(--panel);
}
.tradeoff strong {
  color: var(--paper);
}

/* Parallel terminal */
.terminal {
  background: #101112;
  border: 1px solid var(--line);
  padding: 0 16px 16px;
}
.terminal-bar {
  display: flex;
  gap: 6px;
  padding: 12px 0;
}
.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.terminal .command {
  border: none;
  padding: 6px 0;
  background: none;
  font-size: 14px;
}
.terminal samp {
  margin: 0 0 6px 18px;
  font-size: 13px;
}
.terminal-path {
  font: 12px var(--mono);
  color: var(--muted);
  margin-top: 12px;
}
.session-table {
  margin: 6px 0 0;
  font-size: 12px;
  overflow-x: auto;
  color: var(--paper);
}
.terminal-note {
  margin-top: 12px;
  font-size: 13px;
}
samp.fail {
  color: #ff8f8f;
}

/* Workloads */
.workflows.three {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
}
.workflows.three article {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.workflows.three article > p {
  margin: 4px 0 12px;
}
.footnote {
  margin-top: 20px;
  font-size: 14px;
  max-width: none;
}

/* Skill */
#skills blockquote {
  margin: 0 0 12px;
  padding: 14px 18px;
  border-left: 2px solid var(--orange);
  background: var(--panel);
  color: var(--paper);
}
.limits {
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 24px;
}

@media (max-width: 1000px) {
  .pains {
    grid-template-columns: 1fr 1fr;
  }
  .pains li:nth-child(3) {
    padding-left: 0;
    border-left: none;
  }
  .workflows.three {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .pains {
    grid-template-columns: 1fr;
  }
  .pains li,
  .pains li + li {
    padding-left: 0;
    border-left: none;
    border-bottom: 1px solid var(--line);
  }
  .fleet-head {
    display: none;
  }
  .fleet li {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }
  .fleet .wire {
    display: none;
  }
  .fleet .vm {
    grid-row: span 2;
    grid-column: 2;
    grid-row-start: 1;
  }
  .ledger thead {
    display: none;
  }
  .ledger tr {
    display: grid;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .ledger th,
  .ledger td {
    border: none;
    padding: 4px 0;
  }
}
.command.snippet {
  position: relative;
  align-items: flex-start;
  flex-wrap: wrap;
}
.snippet-label {
  width: 100%;
  color: var(--muted) !important;
  font-size: 12px;
}
.command.snippet button {
  position: absolute;
  top: 10px;
  right: 10px;
}
.split > *,
.hero > * {
  min-width: 0;
}
.guide p code,
.guide li code {
  overflow-wrap: anywhere;
}
