:root {
  --bg: #f3f5f2;
  --surface: #ffffff;
  --ink: #171a18;
  --ink-soft: #3f4a45;
  --muted: #6d7771;
  --rule: #cfd6d1;
  --accent: #087a62;
  --accent-dark: #045845;
  --blue: #2457d6;
  --yellow: #f2c94c;
  --red: #d64545;
  --code-bg: #10251f;
  --code-fg: #f4f7f4;
  --code-dim: #a5b7ae;
  --serif: "Source Serif 4", "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1120px;
  --gutter: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100%, var(--max)); margin: 0 auto; padding: 0 var(--gutter); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 245, 242, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(12px);
}
.nav-inner {
  width: min(100%, var(--max));
  min-height: 66px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: baseline; gap: 9px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.brand-mark { width: 11px; height: 11px; background: var(--accent); display: inline-block; transform: rotate(45deg); }
.brand small { color: var(--muted); font-family: var(--sans); font-size: 12px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 13px; color: var(--ink-soft); }
.nav-links a:hover, .foot-links a:hover { color: var(--accent-dark); }
.langs { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; }
.langs a { color: var(--muted); }
.langs a[aria-current="page"] { color: var(--accent-dark); font-weight: 600; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.nav-cta, .btn-primary { background: var(--ink); color: #fff; }
.nav-cta:hover, .btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-secondary:hover { border-color: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100svh - 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 7%;
  right: -8%;
  width: 66%;
  height: 86%;
  background: url("/assets/deploy-control-plane.png") center / contain no-repeat;
  opacity: 0.32;
}
.hero-copy { max-width: 680px; padding: 72px 0 84px; }
.eyebrow { color: var(--accent-dark); font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; }
h1, h2, h3, p { letter-spacing: 0; }
h1 {
  margin: 20px 0 0;
  max-width: 760px;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1.02;
  font-weight: 600;
}
.hero-line { display: block; margin-top: 13px; color: var(--accent-dark); font-size: 31px; line-height: 1.25; }
.lede { max-width: 650px; margin: 28px 0 0; color: var(--ink-soft); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.proof li::before { content: "✓"; color: var(--accent); margin-right: 7px; font-weight: 700; }

.band { padding: 96px 0; border-bottom: 1px solid var(--rule); }
.band-white { background: var(--surface); }
.section-head { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.kicker { color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; }
h2 { margin: 12px 0 0; font-family: var(--serif); font-size: 44px; line-height: 1.14; font-weight: 600; }
.section-copy { margin: 0; color: var(--ink-soft); font-size: 18px; }
.section-copy strong { color: var(--ink); }

.architecture { width: 100%; height: auto; margin-top: 52px; display: block; }
.caption { margin: 16px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.capability { min-height: 230px; padding: 25px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; }
.capability:nth-child(2) { border-top: 4px solid var(--blue); }
.capability:nth-child(3) { border-top: 4px solid var(--yellow); }
.capability:nth-child(5) { border-top: 4px solid var(--red); }
.capability:nth-child(1), .capability:nth-child(4), .capability:nth-child(6) { border-top: 4px solid var(--accent); }
.cap-num { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.capability h3 { margin: 24px 0 10px; font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.capability p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.providers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); margin-top: 48px; }
.provider { min-height: 116px; padding: 18px 12px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: space-between; }
.provider strong { font-size: 14px; }
.provider span { color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }

.boundary { margin-top: 48px; border-top: 1px solid var(--rule); }
.boundary-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.boundary-cell { padding: 26px 28px; }
.boundary-cell + .boundary-cell { border-left: 1px solid var(--rule); }
.boundary-label { color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.boundary-cell h3 { margin: 10px 0 8px; font-family: var(--serif); font-size: 22px; }
.boundary-cell p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.agent-side { border-left: 4px solid var(--accent); }
.human-side { border-left: 4px solid var(--red); }

.steps { margin-top: 48px; border-top: 1px solid var(--rule); }
.step { display: grid; grid-template-columns: 58px minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; padding: 27px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.step-num { color: var(--accent-dark); font-family: var(--mono); font-size: 13px; }
.step h3 { margin: 0; font-family: var(--serif); font-size: 22px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.terminal { margin-top: 48px; overflow: hidden; background: var(--code-bg); color: var(--code-fg); border-radius: 8px; }
.terminal-top { min-height: 42px; padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,0.12); color: var(--code-dim); font-family: var(--mono); font-size: 11px; }
.terminal pre { margin: 0; padding: 24px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.8; }
.prompt { color: var(--yellow); }
.output { color: var(--code-dim); }
.success { color: #6ee7b7; }

.faq { margin-top: 42px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--muted); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq-answer { max-width: 760px; padding: 0 0 24px; color: var(--ink-soft); }
.faq-answer code { font-family: var(--mono); font-size: 13px; }

.closing { background: var(--ink); color: #fff; }
.closing .section-copy { color: #c7d1cc; }
.closing .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.closing .btn-primary:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.closing .btn-secondary { color: #fff; border-color: #6f7974; }

.foot { padding: 42px 0 56px; color: var(--muted); font-size: 13px; }
.foot-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.machine-note { margin-top: 8px; font-size: 11px; }

@media (max-width: 900px) {
  :root { --gutter: 28px; }
  .nav-links .nav-section { display: none; }
  h1 { font-size: 50px; }
  .hero-line { font-size: 27px; }
  .hero::after { width: 78%; right: -24%; opacity: 0.2; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .providers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .wrap, .nav-inner { width: 100%; max-width: 100%; min-width: 0; }
  .nav-inner { min-height: 58px; gap: 12px; }
  .brand { font-size: 15px; }
  .brand small { display: none; }
  .nav-cta { display: none; }
  .nav-links { min-width: 0; flex-shrink: 1; gap: 0; }
  .langs { gap: 6px; }
  .hero { min-height: calc(100svh - 78px); align-items: flex-start; }
  .hero::after { top: 39%; right: -35%; width: 130%; height: 62%; opacity: 0.13; }
  .hero-copy { width: 100%; min-width: 0; padding: 52px 0 64px; }
  h1 { max-width: 100%; font-size: 36px; overflow-wrap: anywhere; }
  .hero-line { font-size: 23px; }
  .hero-line, .lede { max-width: 100%; overflow-wrap: anywhere; word-break: normal; }
  .lede { font-size: 16px; }
  .proof { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .proof li { min-width: 0; overflow-wrap: anywhere; }
  .band { padding: 68px 0; }
  h2 { font-size: 34px; }
  .section-copy { font-size: 16px; }
  .capabilities { grid-template-columns: 1fr; }
  .capability { min-height: 0; }
  .providers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boundary-row { grid-template-columns: 1fr; }
  .boundary-cell + .boundary-cell { border-left: 0; border-top: 1px solid var(--rule); }
  .step { grid-template-columns: 42px 1fr; gap: 14px; }
  .step p { grid-column: 2; }
  .terminal pre { padding: 18px; font-size: 11px; }
  .foot-inner { align-items: flex-start; flex-direction: column; }
  .foot-links { justify-content: flex-start; }
}
