:root {
  color-scheme: light;
  --paper: #fbfbfa;
  --white: #fffffe;
  --soft: #f3f3f3;
  --soft-green: #eef8ef;
  --ink: #191919;
  --muted: #626a64;
  --line: #d9ddd8;
  --green: #25b135;
  --green-dark: #12871d;
  --code: #111513;
  --code-line: #2a312d;
  --shadow: 0 22px 60px rgb(25 25 25 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgb(37 177 53 / 35%);
  outline-offset: 4px;
}

code,
pre {
  font-family:
    "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo,
    monospace;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 70px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgb(251 251 250 / 94%);
  backdrop-filter: blur(12px);
}

.brand,
.top-nav,
.hero-actions,
.agent-links,
.tag-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 36px;
  height: auto;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 700;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.top-nav a,
.site-footer a,
.doc-list a,
.text-link {
  transition:
    color 160ms ease-out,
    background-color 160ms ease-out,
    border-color 160ms ease-out,
    transform 160ms ease-out;
}

.top-nav a:hover,
.site-footer a:hover,
.doc-list a:hover,
.text-link:hover {
  color: var(--green-dark);
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.78fr);
  gap: 76px;
  align-items: center;
  min-height: calc(100svh - 70px);
  padding: 84px 0 58px;
}

.hero-copy {
  max-width: 730px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: 76px;
  line-height: 0.96;
}

h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: 44px;
  line-height: 1.06;
}

h3 {
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.25;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.48;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 600;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.primary:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.button.secondary:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.button:active,
.route-item:active,
.doc-list a:active {
  transform: translateY(1px);
}

.text-link {
  color: var(--green-dark);
  font-weight: 600;
}

.run-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.panel-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b7bdb8;
}

.panel-bar span:first-child {
  background: var(--green);
}

.panel-bar strong {
  margin-left: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
}

.status-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.status-ledger div {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-ledger div:nth-child(2n) {
  border-right: 0;
}

.status-ledger div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.status-ledger span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.status-ledger strong {
  font-weight: 600;
}

.run-panel pre,
.command-panel {
  overflow-x: auto;
  margin: 0;
  background: var(--code);
  color: #ecf2ed;
}

.run-panel pre {
  max-width: 100%;
  padding: 20px;
}

.run-panel code {
  white-space: pre-wrap;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.agent-strip,
.credit-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agent-strip {
  margin-bottom: 0;
}

.agent-strip h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.agent-strip p,
.credit-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.credit-band {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr) minmax(280px, 0.76fr);
  margin-bottom: 76px;
  border-top: 0;
  background: linear-gradient(90deg, transparent, rgb(37 177 53 / 7%), transparent);
}

.credit-band h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.credit-projects {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.credit-projects a {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  background: var(--white);
  transition:
    background-color 160ms ease-out,
    color 160ms ease-out;
}

.credit-projects a:hover {
  background: var(--soft-green);
  color: var(--green-dark);
}

.credit-projects span {
  font-weight: 700;
}

.credit-projects strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.agent-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.agent-links a,
.tag-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.agent-links a:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.route-section,
.section {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.route-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.route-item {
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.route-item:hover {
  color: var(--green-dark);
}

.route-item span,
.process-list > li > span {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
}

.route-item strong {
  font-size: 20px;
  font-weight: 600;
}

.route-item p,
.section p,
.process-list p {
  color: var(--muted);
}

.route-item p {
  margin-bottom: 0;
}

.process {
  background: var(--soft);
  box-shadow:
    50vw 0 0 var(--soft),
    -50vw 0 0 var(--soft);
}

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

.process-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  min-height: 190px;
  padding: 24px;
  background: var(--white);
}

.process-list p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 64px;
  align-items: start;
}

.tag-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tag-row span {
  background: var(--soft-green);
  border-color: rgb(37 177 53 / 24%);
}

.doc-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.doc-list a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.operations {
  padding-bottom: 110px;
}

.command-panel {
  display: grid;
  border: 1px solid var(--code-line);
}

.command-panel code {
  display: block;
  padding: 15px 18px;
  border-bottom: 1px solid var(--code-line);
  white-space: nowrap;
}

.command-panel code:last-child {
  border-bottom: 0;
}

.site-footer {
  justify-content: center;
  gap: 20px;
  padding: 36px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer span {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 60px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }

  .run-panel {
    max-width: 720px;
  }

  .agent-strip,
  .credit-band,
  .split {
    grid-template-columns: 1fr;
  }

  .agent-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  main {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .top-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .lede {
    font-size: 18px;
  }

  .hero,
  .route-section,
  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .agent-strip {
    margin-bottom: 42px;
  }

  .credit-band {
    margin-bottom: 42px;
  }

  .status-ledger,
  .process-list {
    grid-template-columns: 1fr;
  }

  .status-ledger div,
  .status-ledger div:nth-child(2n),
  .status-ledger div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-ledger div:last-child {
    border-bottom: 0;
  }

  .route-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
