@font-face {
  font-family: Inter;
  src: url("assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #000;
  --muted: #f2f2f2;
  --signal: #ff3000;
  --font: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --rule: 2px solid var(--ink);
  --section-rule: 4px solid var(--ink);
  --gutter: clamp(24px, 4.5vw, 72px);
  --section-space: clamp(72px, 8vw, 120px);
  --motion: 160ms ease-out;
}

* {
  box-sizing: border-box;
}
body [hidden] {
  display: none;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  background-image: url("assets/noise.svg");
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
::selection {
  color: var(--paper);
  background: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  font: inherit;
  cursor: pointer;
  border-radius: 0;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 5px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.97;
}
h2 {
  font-size: clamp(38px, 4.5vw, 68px);
}
p {
  line-height: 1.6;
}
button,
.button,
.text-link,
.header a,
summary {
  min-height: 44px;
}
.wrap {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}
.signal {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: var(--signal);
}
.section-number {
  display: inline-block;
  color: var(--ink);
  background: var(--signal);
  padding: 3px 6px;
  margin-right: 12px;
  font-weight: 700;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 16px 24px;
  z-index: 20;
  color: white;
  background: black;
}
.skip-link:focus {
  top: 16px;
}
.grid-pattern {
  background-color: var(--muted);
  background-image:
    linear-gradient(to right, rgb(0 0 0 / 3%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(0 0 0 / 3%) 1px, transparent 1px);
  background-size: 24px 24px;
}
.dots-pattern {
  background-color: var(--muted);
  background-image: radial-gradient(rgb(0 0 0 / 6%) 1px, transparent 1px);
  background-size: 16px 16px;
}
.header {
  height: 100px;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
}
.header::after {
  content: "";
  height: 2px;
  background: var(--ink);
  position: absolute;
  bottom: 0;
  left: var(--gutter);
  right: var(--gutter);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 25px;
  letter-spacing: -0.055em;
}
.brand-symbol {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 30px;
  line-height: 1;
}
.header nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.header nav a,
.header-github {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
.header nav a {
  position: relative;
}
.header nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion);
}
.header nav a:hover::after {
  transform: scaleX(1);
}
.header-github {
  border-left: var(--rule);
  padding-left: 32px;
}
.header-github:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.header-github span {
  font-size: 24px;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  padding-block: 60px 56px;
}
.hero-copy {
  padding-right: 36px;
}
.hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
h1 {
  font-size: clamp(64px, 8.4vw, 132px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.91;
}
.hero-description {
  margin-top: 36px;
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.45;
  letter-spacing: -0.035em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition:
    background var(--motion),
    color var(--motion);
}
.button span {
  font-size: 22px;
  line-height: 1;
}
.button:hover {
  color: var(--ink);
  background: var(--signal);
  border-color: var(--signal);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.text-link:hover {
  border-color: var(--signal);
}
.text-link span {
  font-size: 22px;
  transition: transform var(--motion);
}
.text-link:hover span {
  transform: translate(2px, -2px);
}
.hero-note {
  margin-top: 25px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.015em;
}
.hero-figure {
  border: var(--rule);
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.figure-label {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.figure-label > span:last-child {
  font: 24px var(--font);
}
.hero-drawing {
  display: block;
  width: 100%;
  margin-block: auto;
}
.svg-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}
.svg-vm {
  font-family: var(--font);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.07em;
}
.svg-running {
  font-size: 9px;
  font-weight: 700;
}
figcaption {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  border-top: var(--rule);
  padding: 18px 22px;
  font-family: var(--mono);
  font-size: 10px;
}
.technology-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.technology-strip span {
  border-block: var(--section-rule);
  padding-block: 20px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.technology-strip span + span {
  text-align: right;
}
.section {
  padding-top: var(--section-space);
}
.section-heading {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 44px;
}
.section-heading .eyebrow,
.start-copy > .eyebrow,
.fit-copy > .eyebrow {
  margin-bottom: 25px;
}
.section-intro {
  max-width: 38ch;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.storage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: var(--rule);
}
.storage-card {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
}
.storage-card:first-child {
  padding-left: 0;
  padding-right: 40px;
}
.storage-card:last-child {
  padding-right: 0;
}
.storage-card + .storage-card {
  border-left: var(--rule);
}
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 114px;
}
.card-top svg {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.card-top .eyebrow {
  max-width: 14ch;
}
.storage-card h3 {
  font-size: clamp(24px, 2.1vw, 34px);
  margin-bottom: 20px;
  letter-spacing: -0.055em;
}
.storage-card > p:not(.card-foot) {
  font-size: 15px;
  max-width: 35ch;
}
.storage-card .card-foot {
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 10px;
}
.lifecycle {
  border: var(--rule);
}
.lifecycle-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: var(--rule);
}
.lifecycle-controls button {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 0;
  background: var(--paper);
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 800;
  transition:
    background var(--motion),
    color var(--motion);
}
.lifecycle-controls button + button {
  border-left: var(--rule);
}
.lifecycle-controls button > span:first-child {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
}
.lifecycle-controls button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.lifecycle-controls button:hover {
  background: var(--signal);
  color: var(--ink);
}
.control-arrow {
  margin-left: auto;
  font-size: 24px;
}
.lifecycle-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.placement {
  padding: 28px 40px 20px;
  border-right: var(--rule);
}
.placement-label {
  margin-bottom: 26px;
}
.node-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.node {
  border: var(--rule);
  background: var(--paper);
}
.node-name,
.node-state {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  padding: 10px 14px;
}
.node-name {
  border-bottom: var(--rule);
}
.node-vm {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.node-state {
  text-align: center;
  padding-top: 0;
}
.node.is-running .node-vm,
.node.is-running .node-state {
  color: var(--paper);
  background: var(--ink);
}
.node-light {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--signal);
}
.storage-connection {
  display: flex;
  margin: 0 23%;
  height: 26px;
  border-inline: var(--rule);
  border-bottom: var(--rule);
}
.checkpoint {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--paper);
  border: var(--rule);
  padding: 16px;
  margin-top: 18px;
  position: relative;
}
.checkpoint::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 20px;
  background: var(--ink);
  top: -20px;
}
.checkpoint-icon {
  font-size: 38px;
  line-height: 1;
}
.checkpoint strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
}
.checkpoint div > span {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  display: block;
}
[data-current-stage="stop"] .checkpoint {
  border-color: var(--signal);
}
.model-caption {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 9px;
}
.stage-description {
  padding: 40px;
  align-self: center;
}
.stage-description h3 {
  font-size: clamp(28px, 3vw, 44px);
  margin: 24px 0;
}
.stage-description > p:not(.eyebrow, .stage-note) {
  font-size: 15px;
}
.stage-command {
  padding: 20px 0;
  margin-top: 20px;
  border-block: var(--rule);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.stage-command > span {
  color: var(--signal);
  margin-right: 10px;
}
code,
pre {
  font-family: var(--mono);
}
.stage-description .stage-note {
  margin-top: 18px;
  font-size: 12px;
}
.no-script {
  margin-top: 24px;
}
.start-section {
  background: var(--ink);
  color: var(--paper);
  margin-top: var(--section-space);
  padding-block: 72px;
}
.start-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.start-copy h2 {
  font-size: clamp(42px, 4.8vw, 72px);
}
.start-copy > p:not(.eyebrow, .start-note) {
  max-width: 34ch;
  font-size: 17px;
  margin-top: 26px;
}
.button-light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
  margin-top: 32px;
}
.start-copy .start-note {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  max-width: 43ch;
}
.code-example {
  min-width: 0;
}
.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid white;
  padding-bottom: 12px;
}
.copy-button {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 12px;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--paper);
  font-size: 11px;
}
.copy-button:hover {
  background: var(--paper);
  color: var(--ink);
}
pre {
  margin: 0;
  padding: 26px 0;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}
.syntax-key {
  color: var(--muted);
  font-weight: 700;
}
.apply-command {
  border-top: 2px solid white;
  padding-top: 22px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.apply-command > span {
  color: var(--signal);
  margin-right: 10px;
}
.code-caption {
  margin-top: 18px;
  font-size: 10px;
  font-family: var(--mono);
}
.copy-status {
  min-height: 18px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
}
.fit-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}
.fit-copy h2 {
  font-size: clamp(38px, 4.4vw, 64px);
}
.experimental-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 10px var(--mono);
  margin-top: 32px;
}
.fit-copy > p:not(.eyebrow, .experimental-label) {
  margin-top: 18px;
  font-size: 15px;
  max-width: 36ch;
}
.fit-copy > .text-link {
  margin-top: 18px;
}
.questions {
  border-top: var(--rule);
}
details {
  border-bottom: var(--rule);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: background var(--motion);
}
summary::-webkit-details-marker {
  display: none;
}
summary:hover {
  background: var(--signal);
}
.plus {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
  transition: transform var(--motion);
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  inset: 8px 0;
}
.plus::after {
  transform: rotate(90deg);
}
details[open] .plus {
  transform: rotate(45deg);
}
.answer {
  padding: 0 32px 28px 0;
}
.answer p {
  font-size: 14px;
}
.answer .text-link {
  margin-top: 16px;
}
.footer {
  margin-top: var(--section-space);
}
.footer-main {
  border-top: var(--section-rule);
  padding-block: 40px;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.footer-wordmark {
  font-size: clamp(48px, 7.5vw, 110px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1;
}
.footer-wordmark span {
  display: inline-block;
  color: var(--signal);
  margin-left: 14px;
  transition: transform var(--motion);
}
.footer-wordmark:hover span {
  transform: translate(3px, -3px);
}
.footer-main p {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.4;
}
.footer-bottom {
  border-top: var(--rule);
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: 9px;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom > a {
  gap: 12px;
}

@media (min-width: 1600px) {
  .hero-copy {
    padding-right: 64px;
  }
}
@media (max-width: 1100px) {
  .header {
    gap: 24px;
  }
  .header nav {
    gap: 20px;
  }
  .header-github {
    padding-left: 24px;
  }
  .hero {
    grid-template-columns: 1.15fr 1fr;
    padding-top: 48px;
  }
  h1 {
    font-size: clamp(64px, 8.3vw, 92px);
  }
  .hero-copy {
    padding-right: 24px;
  }
  .hero-copy > .eyebrow {
    font-size: 9px;
  }
  .hero-actions {
    gap: 14px;
  }
  .hero-description {
    margin-top: 28px;
  }
  .section-heading {
    gap: 36px;
  }
  .storage-card {
    padding-inline: 24px;
  }
  .storage-card:first-child {
    padding-right: 24px;
  }
  .card-top {
    flex-direction: column;
    gap: 22px;
    padding-bottom: 24px;
  }
  .card-top .eyebrow {
    max-width: none;
  }
  .placement {
    padding-inline: 24px;
  }
  .node-pair {
    gap: 20px;
  }
  .stage-description {
    padding: 28px;
  }
  .start-grid,
  .fit-section {
    gap: 48px;
  }
}
@media (max-width: 767px) {
  .header {
    height: 82px;
    justify-content: space-between;
  }
  .header nav {
    display: none;
  }
  .header-github {
    border: 0;
    padding: 0;
  }
  .wordmark {
    font-size: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 36px;
    padding-bottom: 32px;
  }
  .hero-copy {
    padding-right: 0;
  }
  .hero-copy > .eyebrow {
    font-size: 9px;
    margin-bottom: 28px;
  }
  h1 {
    font-size: clamp(60px, 13.4vw, 100px);
  }
  .hero-description {
    font-size: 21px;
    margin-top: 28px;
  }
  .hero-actions {
    align-items: stretch;
    gap: 16px;
    margin-top: 28px;
  }
  .hero-actions .button {
    width: 100%;
    height: 64px;
  }
  .hero-actions .text-link {
    justify-content: space-between;
    width: 100%;
  }
  .hero-note {
    margin-top: 18px;
  }
  .hero-figure {
    max-width: 560px;
    width: 100%;
  }
  .figure-label {
    padding: 16px;
  }
  figcaption {
    padding: 16px;
    font-size: 9px;
  }
  .technology-strip {
    grid-template-columns: 1fr 1fr;
  }
  .technology-strip span {
    font-size: 9px;
    padding-block: 16px;
    border-bottom: 0;
  }
  .technology-strip span:nth-child(n + 3) {
    border-top: var(--rule);
    border-bottom: var(--section-rule);
  }
  .technology-strip span:nth-child(odd) {
    text-align: left;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 32px;
  }
  h2 {
    font-size: clamp(37px, 8.6vw, 60px);
  }
  .section-heading .eyebrow {
    margin-bottom: 20px;
  }
  .section-intro {
    font-size: 16px;
  }
  .storage-grid {
    grid-template-columns: 1fr;
    border-top: var(--section-rule);
  }
  .storage-card,
  .storage-card:first-child,
  .storage-card:last-child {
    padding: 28px 0;
  }
  .storage-card + .storage-card {
    border-left: 0;
    border-top: var(--rule);
  }
  .storage-card.dots-pattern {
    padding-inline: 24px;
  }
  .card-top {
    flex-direction: row;
    min-height: auto;
    padding-bottom: 16px;
  }
  .card-top svg {
    width: 50px;
    height: 50px;
  }
  .storage-card h3 {
    font-size: 30px;
  }
  .storage-card > p:not(.card-foot) {
    max-width: 42ch;
  }
  .storage-card .card-foot {
    padding-top: 24px;
  }
  .lifecycle {
    border-top-width: 4px;
  }
  .lifecycle-controls button {
    padding: 18px 12px;
    gap: 10px;
    font-size: 12px;
    min-height: 64px;
  }
  .lifecycle-controls button > span:first-child {
    font-size: 9px;
  }
  .control-arrow {
    display: none;
  }
  .lifecycle-panel {
    grid-template-columns: 1fr;
  }
  .placement {
    border-right: 0;
    border-bottom: var(--rule);
    padding: 24px 20px 18px;
  }
  .node-pair {
    gap: 24px;
  }
  .stage-description {
    padding: 28px 24px;
    min-height: 355px;
  }
  .stage-description h3 {
    font-size: 32px;
  }
  .stage-description > p:not(.eyebrow, .stage-note) {
    font-size: 14px;
  }
  .start-section {
    padding-block: 48px;
  }
  .start-grid,
  .fit-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .start-copy h2,
  .fit-copy h2 {
    font-size: clamp(39px, 9vw, 64px);
  }
  .start-copy .button {
    width: 100%;
    min-height: 64px;
  }
  .start-copy > p:not(.eyebrow, .start-note),
  .fit-copy > p:not(.eyebrow, .experimental-label) {
    max-width: 42ch;
  }
  pre {
    font-size: 11px;
  }
  .code-caption {
    font-size: 9px;
  }
  summary {
    font-size: 17px;
    padding-block: 24px;
  }
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 32px;
  }
  .footer-wordmark {
    font-size: clamp(48px, 11vw, 80px);
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 0 20px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .footer-bottom > a {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
