:root {
  color-scheme: dark;
  --ink: #f3f7ef;
  --muted: #9fa99d;
  --faint: #687168;
  --canvas: #0a0c0a;
  --panel: #111511;
  --panel-raised: #161b16;
  --line: #283128;
  --line-bright: #3f4d40;
  --signal: #c9ff52;
  --signal-soft: rgba(201, 255, 82, 0.13);
  --cyan: #67e8d1;
  --orange: #ffad66;
  --max: 1180px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 7%, rgba(103, 232, 209, 0.08), transparent 27rem),
    radial-gradient(circle at 20% 35%, rgba(201, 255, 82, 0.05), transparent 25rem),
    var(--canvas);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

code,
pre {
  font-family: var(--mono);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #0a0c0a;
  background: var(--signal);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(40, 49, 40, 0.8);
  background: rgba(10, 12, 10, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 9px;
  background: var(--panel);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--signal);
  border-radius: 2px;
  box-shadow: 13px 13px 0 var(--cyan);
}

.brand-mark::before {
  top: 6px;
  left: 6px;
}

.brand-mark::after {
  width: 11px;
  height: 1px;
  background: var(--line-bright);
  border-radius: 0;
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links .nav-cta {
  padding: 9px 14px;
  color: var(--canvas);
  background: var(--signal);
  border-radius: 9px;
}

.menu-toggle {
  display: none;
  padding: 8px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.hero {
  display: grid;
  min-height: 710px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 72px;
  padding-block: 88px 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  content: "";
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--signal-soft);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  font-weight: 780;
  letter-spacing: -0.067em;
  line-height: 0.94;
}

h1 .dim {
  color: #778077;
}

.lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  color: var(--ink);
  background: var(--panel);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.button:hover {
  border-color: var(--muted);
  transform: translateY(-2px);
}

.button.primary {
  color: #0a0c0a;
  border-color: var(--signal);
  background: var(--signal);
}

.button.primary:hover {
  background: #d5ff77;
}

.button svg,
.inline-link svg {
  width: 16px;
  height: 16px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}

.hero-note span {
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

.flow-window {
  position: relative;
  min-height: 486px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 21, 17, 0.92);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.4);
}

.flow-window::before {
  position: absolute;
  inset: 45px 0 0;
  content: "";
  opacity: 0.55;
  background-image: radial-gradient(circle, #485248 1px, transparent 1px);
  background-size: 20px 20px;
}

.window-bar {
  position: relative;
  z-index: 2;
  display: flex;
  height: 45px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

.window-bar i {
  width: 7px;
  height: 7px;
  background: var(--line-bright);
  border-radius: 50%;
}

.window-bar span {
  margin-left: auto;
}

.node {
  position: absolute;
  z-index: 3;
  width: 148px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  background: #171c17;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.node strong {
  display: block;
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.node small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
}

.node small::after {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--signal);
  border-radius: 50%;
}

.node.input {
  top: 112px;
  left: 28px;
}

.node.agent-one {
  top: 75px;
  left: 218px;
  border-top-color: var(--cyan);
}

.node.agent-two {
  top: 230px;
  left: 218px;
  border-top-color: var(--orange);
}

.node.merge {
  top: 155px;
  right: 22px;
  border-top-color: var(--signal);
}

.wire {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--line-bright), var(--signal));
  transform-origin: left center;
}

.wire.a {
  top: 151px;
  left: 165px;
  width: 75px;
  transform: rotate(-21deg);
}

.wire.b {
  top: 169px;
  left: 165px;
  width: 78px;
  transform: rotate(40deg);
}

.wire.c {
  top: 129px;
  left: 355px;
  width: 94px;
  transform: rotate(25deg);
}

.wire.d {
  top: 273px;
  left: 355px;
  width: 92px;
  transform: rotate(-35deg);
}

.run-log {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(10, 12, 10, 0.88);
  grid-template-columns: 16px 1fr auto;
  gap: 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
}

.run-log b {
  color: var(--signal);
  font-weight: 400;
}

.run-log time {
  color: var(--cyan);
}

.strip {
  border-block: 1px solid var(--line);
  background: rgba(17, 21, 17, 0.58);
}

.strip-inner {
  display: grid;
  min-height: 115px;
  align-items: center;
  grid-template-columns: 1.1fr repeat(3, 1fr);
}

.strip-item {
  padding: 0 30px;
  border-left: 1px solid var(--line);
}

.strip-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.strip-item strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 13px;
}

.strip-item span {
  color: var(--faint);
  font-size: 12px;
}

.section {
  padding-block: 120px;
}

.section-heading {
  display: grid;
  margin-bottom: 64px;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.section-heading h2,
.cta-band h2,
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading p {
  max-width: 590px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  min-height: 280px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 21, 17, 0.46);
}

.feature-number {
  display: block;
  margin-bottom: 74px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.modes {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

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

.mode {
  display: grid;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 110px 1fr;
  gap: 24px;
}

.mode code {
  color: var(--signal);
  font-size: 12px;
}

.mode h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.mode p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.terminal {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c0f0c;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
}

.terminal-bar {
  display: flex;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

.terminal-bar span:last-child {
  margin-left: auto;
}

.terminal pre,
.code-block pre {
  margin: 0;
  overflow-x: auto;
  padding: 26px;
  color: #c7d0c6;
  font-size: 12px;
  line-height: 1.85;
}

.terminal .prompt,
.code-block .prompt {
  color: var(--signal);
}

.terminal .output {
  color: var(--cyan);
}

.cta-band {
  display: flex;
  min-height: 350px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 64px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(115deg, rgba(201, 255, 82, 0.1), transparent 35%),
    var(--panel);
}

.cta-band h2 {
  max-width: 620px;
}

.site-footer {
  padding-block: 45px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--faint);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a:hover {
  color: var(--ink);
}

.page-hero {
  max-width: 920px;
  padding-block: 115px 80px;
}

.page-hero h1 {
  max-width: 800px;
  margin-bottom: 26px;
}

.page-hero .lede {
  margin-bottom: 0;
}

.guide-layout {
  display: grid;
  padding-bottom: 120px;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 80px;
}

.guide-nav {
  position: sticky;
  top: 105px;
  align-self: start;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.guide-nav strong {
  display: block;
  margin-bottom: 14px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-nav a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.guide-nav a:hover {
  color: var(--signal);
}

.guide-content section {
  padding: 0 0 72px;
  scroll-margin-top: 110px;
}

.guide-content h2 {
  margin-bottom: 18px;
  font-size: 29px;
  letter-spacing: -0.035em;
}

.guide-content h3 {
  margin: 30px 0 10px;
  font-size: 17px;
}

.guide-content p,
.guide-content li {
  color: var(--muted);
}

.guide-content ol,
.guide-content ul {
  padding-left: 22px;
}

.guide-content li + li {
  margin-top: 8px;
}

.code-block {
  position: relative;
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0c0f0c;
}

.code-label {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

.callout {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 2px solid var(--signal);
  background: var(--signal-soft);
  color: var(--muted);
  font-size: 14px;
}

.callout strong {
  color: var(--ink);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 650;
}

.inline-link:hover {
  color: var(--signal);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .flow-window {
    width: min(100%, 560px);
  }

  .strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-item {
    min-height: 90px;
    padding: 22px;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modes {
    grid-template-columns: 1fr;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .guide-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
    gap: 10px 18px;
  }

  .guide-nav strong {
    flex-basis: 100%;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel-raised);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    gap: 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
    padding-block: 70px;
    gap: 50px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .flow-window {
    min-height: 410px;
  }

  .node {
    width: 118px;
  }

  .node.input {
    left: 14px;
  }

  .node.agent-one,
  .node.agent-two {
    left: 144px;
  }

  .node.merge {
    right: 12px;
  }

  .wire {
    display: none;
  }

  .strip-inner,
  .section-heading,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .strip-item,
  .strip-item:first-child {
    padding: 20px 0;
    border-left: 0;
  }

  .section {
    padding-block: 84px;
  }

  .section-heading {
    margin-bottom: 42px;
    gap: 18px;
  }

  .feature-number {
    margin-bottom: 38px;
  }

  .mode {
    grid-template-columns: 80px 1fr;
  }

  .cta-band {
    min-height: 0;
    align-items: flex-start;
    padding: 38px 26px;
    flex-direction: column;
  }

  .page-hero {
    padding-block: 80px 60px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Reference-inspired visual direction: deep navy, electric blue, and a product-first hero. */
:root {
  --ink: #f5f7ff;
  --muted: #9da9c5;
  --faint: #687491;
  --canvas: #030611;
  --panel: #080d1c;
  --panel-raised: #0c1328;
  --line: #172447;
  --line-bright: #294383;
  --signal: #3478ff;
  --signal-soft: rgba(52, 120, 255, 0.14);
  --cyan: #55d8ff;
  --orange: #a872ff;
}

body {
  background:
    radial-gradient(circle at 50% 6%, rgba(45, 101, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 84% 34%, rgba(118, 62, 255, 0.09), transparent 25rem),
    radial-gradient(circle at 12% 45%, rgba(0, 171, 255, 0.06), transparent 24rem),
    var(--canvas);
}

body::before {
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(84, 119, 211, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 119, 211, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.site-header {
  border-bottom-color: rgba(31, 50, 96, 0.72);
  background: rgba(3, 6, 17, 0.78);
}

.brand-mark {
  border-color: #294383;
  background: linear-gradient(145deg, #0d1a3a, #080d1c);
  box-shadow: inset 0 0 14px rgba(52, 120, 255, 0.14);
}

.brand-mark::before {
  background: #4f8cff;
  box-shadow: 13px 13px 0 #8d65ff;
}

.brand-mark::after {
  background: #3e66ba;
}

.brand-mark.mini {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  transform: scale(0.78);
}

.nav-links .nav-cta,
.button.primary {
  color: #fff;
  border-color: #3f7fff;
  background: linear-gradient(135deg, #2468f2, #6248ef);
  box-shadow: 0 8px 28px rgba(42, 99, 255, 0.25);
}

.nav-links .nav-cta:hover,
.button.primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #3b7eff, #755fff);
}

.button {
  border-color: #243665;
  background: rgba(10, 17, 37, 0.78);
}

.button:hover {
  border-color: #4969aa;
  background: rgba(15, 25, 54, 0.9);
}

.eyebrow {
  color: #76a4ff;
}

.eyebrow::before {
  box-shadow: 0 0 0 5px rgba(52, 120, 255, 0.12), 0 0 16px rgba(82, 138, 255, 0.7);
}

.hero {
  display: grid;
  min-height: auto;
  padding-block: 102px 82px;
  grid-template-columns: 1fr;
  gap: 66px;
}

.hero-copy {
  width: min(100%, 890px);
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  max-width: 890px;
  margin-inline: auto;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 7.5vw, 6.6rem);
  letter-spacing: -0.071em;
}

.gradient-word {
  color: transparent;
  background: linear-gradient(96deg, #4a8eff 5%, #7584ff 48%, #ad66ff 95%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 24px rgba(76, 116, 255, 0.24));
}

.hero .lede {
  max-width: 710px;
  margin-inline: auto;
}

.hero .actions,
.hero-note {
  justify-content: center;
}

.hero-note span {
  background: #4d8cff;
  box-shadow: 0 0 12px rgba(77, 140, 255, 0.85);
}

.flow-window {
  width: min(100%, 1100px);
  min-height: 610px;
  margin-inline: auto;
  border-color: #263d78;
  border-radius: 15px;
  background: #060a16;
  box-shadow:
    0 45px 110px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(89, 126, 255, 0.07),
    0 0 90px rgba(26, 76, 212, 0.14);
}

.flow-window::before {
  inset: 47px 190px 0 54px;
  opacity: 0.48;
  background-image: radial-gradient(circle, #30406b 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at center, black 10%, transparent 82%);
}

.window-bar {
  height: 47px;
  padding: 0 13px;
  border-bottom-color: #172447;
  background: rgba(8, 13, 29, 0.95);
}

.window-brand,
.window-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-brand b {
  color: #dfe7ff;
  font-size: 10px;
}

.window-path {
  margin-left: 22px !important;
  color: #6e7da0;
}

.window-actions {
  margin-left: auto;
  color: #7786aa;
}

.window-actions b {
  padding: 6px 10px;
  color: white;
  background: linear-gradient(135deg, #2468f2, #6049ec);
  border-radius: 5px;
  font-weight: 600;
}

.mock-sidebar {
  position: absolute;
  z-index: 4;
  top: 47px;
  bottom: 0;
  left: 0;
  display: flex;
  width: 54px;
  align-items: center;
  padding-top: 18px;
  border-right: 1px solid #172447;
  background: rgba(7, 11, 24, 0.96);
  flex-direction: column;
  gap: 10px;
  color: #526082;
}

.mock-sidebar span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  font-size: 13px;
}

.mock-sidebar .active {
  color: #77a7ff;
  border: 1px solid #294d99;
  background: rgba(41, 91, 205, 0.2);
  box-shadow: 0 0 20px rgba(38, 105, 255, 0.17);
}

.mock-sidebar span:last-child {
  margin-top: auto;
  margin-bottom: 18px;
}

.mock-canvas {
  position: absolute;
  z-index: 2;
  inset: 47px 190px 0 54px;
  overflow: hidden;
}

.canvas-label {
  position: absolute;
  top: 20px;
  left: 22px;
  color: #465477;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.flow-lines {
  position: absolute;
  inset: 52px 7% 65px;
  width: 86%;
  height: calc(100% - 117px);
  overflow: visible;
}

.flow-lines path {
  fill: none;
  stroke: #3159ac;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(58, 116, 255, 0.38));
}

.flow-window .node {
  width: 152px;
  border-color: #2a427b;
  border-top-color: #3478ff;
  background: linear-gradient(160deg, #0e1730, #090f21);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42), 0 0 26px rgba(39, 93, 223, 0.09);
}

.flow-window .node em {
  display: block;
  padding: 8px 11px 0;
  color: #5c83d4;
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.flow-window .node strong {
  padding-top: 5px;
  color: #e6ebfa;
  border-bottom-color: #1c2a50;
}

.flow-window .node small::after {
  display: none;
}

.flow-window .node small i {
  width: 6px;
  height: 6px;
  background: #4c8cff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(76, 140, 255, 0.8);
}

.flow-window .node.input {
  top: 228px;
  left: 5%;
}

.flow-window .node.agent-one {
  top: 120px;
  left: 38%;
  border-top-color: #5a8fff;
}

.flow-window .node.agent-two {
  top: 330px;
  left: 38%;
  border-top-color: #9068ff;
}

.flow-window .node.merge {
  top: 228px;
  right: 3%;
  border-top-color: #45d1ff;
}

.mock-inspector {
  position: absolute;
  z-index: 4;
  top: 47px;
  right: 0;
  bottom: 0;
  width: 190px;
  padding: 23px 18px;
  border-left: 1px solid #172447;
  background: rgba(7, 11, 24, 0.96);
  color: #8593b4;
}

.inspector-label {
  display: block;
  margin-bottom: 22px;
  color: #4d5c7e;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.mock-inspector > strong,
.mock-inspector > small {
  display: block;
}

.mock-inspector > strong {
  color: #e2e8f9;
  font-size: 12px;
}

.mock-inspector > small {
  margin: 2px 0 25px;
  color: #53617f;
  font-family: var(--mono);
  font-size: 8px;
}

.mock-inspector dl {
  margin: 0;
  font-size: 9px;
}

.mock-inspector dt {
  margin-top: 13px;
  color: #526081;
}

.mock-inspector dd {
  margin: 2px 0 0;
  color: #aeb8d0;
}

.inspector-state {
  position: absolute;
  right: 18px;
  bottom: 26px;
  left: 18px;
  padding: 8px 10px;
  color: #78a6ff;
  border: 1px solid #23468d;
  border-radius: 6px;
  background: rgba(35, 80, 177, 0.13);
  font-size: 9px;
}

.inspector-state i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  background: #4e8eff;
  border-radius: 50%;
  box-shadow: 0 0 8px #4e8eff;
}

.run-log {
  right: 208px;
  bottom: 14px;
  left: 69px;
  border-color: #1e315f;
  background: rgba(5, 9, 21, 0.92);
}

.run-log b,
.run-log time {
  color: #65a0ff;
}

.strip {
  border-block-color: #142042;
  background: rgba(7, 12, 26, 0.66);
}

.strip-item {
  border-left-color: #172447;
}

.feature-grid {
  border-color: #18264a;
}

.feature {
  border-color: #18264a;
  background: linear-gradient(145deg, rgba(11, 18, 39, 0.72), rgba(7, 12, 26, 0.5));
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.feature:hover {
  z-index: 1;
  border-color: #31549c;
  background: linear-gradient(145deg, rgba(17, 31, 68, 0.9), rgba(8, 14, 31, 0.72));
  transform: translateY(-3px);
}

.feature-number,
.mode code {
  color: #6194f7;
}

.terminal,
.code-block {
  border-color: #1b2b53;
  background: #060a16;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.34), 0 0 50px rgba(31, 79, 195, 0.06);
}

.terminal .prompt,
.code-block .prompt,
.terminal .output {
  color: #6199ff;
}

.cta-band {
  border-color: #24396f;
  background:
    radial-gradient(circle at 20% 30%, rgba(51, 112, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 78% 70%, rgba(128, 74, 255, 0.13), transparent 20rem),
    #080d1c;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), 0 25px 80px rgba(0, 0, 0, 0.27);
}

.site-footer {
  border-top-color: #142042;
}

.page-hero {
  max-width: 900px;
  text-align: center;
}

.page-hero .lede {
  margin-inline: auto;
}

.guide-nav {
  border-left-color: #1c2d56;
}

.callout {
  border-left-color: #4b87ff;
  background: rgba(48, 105, 230, 0.12);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .flow-window {
    min-height: 560px;
  }

  .flow-window::before,
  .mock-canvas {
    right: 0;
  }

  .mock-inspector {
    display: none;
  }

  .run-log {
    right: 14px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-block: 72px 60px;
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .flow-window {
    min-height: 450px;
  }

  .window-path,
  .window-actions > span,
  .mock-sidebar {
    display: none;
  }

  .window-actions {
    margin-left: auto;
  }

  .flow-window::before,
  .mock-canvas {
    left: 0;
  }

  .flow-window .node {
    width: 112px;
  }

  .flow-window .node.input {
    top: 174px;
    left: 3%;
  }

  .flow-window .node.agent-one {
    top: 92px;
    left: 36%;
  }

  .flow-window .node.agent-two {
    top: 255px;
    left: 36%;
  }

  .flow-window .node.merge {
    top: 174px;
    right: 2%;
  }

  .flow-lines {
    inset: 34px 3% 50px;
    width: 94%;
    height: calc(100% - 84px);
  }

  .run-log {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

/* Installer-first getting-started page. */
.download-hero {
  display: flex;
  max-width: 960px;
  align-items: center;
  padding-block: clamp(76px, 9vw, 112px) 92px;
  flex-direction: column;
}

.download-hero h1 {
  max-width: 860px;
  margin: 0;
}

.download-hero .lede {
  max-width: 760px;
  margin: 28px auto 0;
}

.page-actions {
  justify-content: center;
  margin-top: 30px;
}

.download-hero .page-actions {
  width: auto;
  max-width: 100%;
}

.download-summary {
  margin: 18px auto 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.download-card {
  display: grid;
  margin: 28px 0;
  padding: 24px;
  align-items: center;
  border: 1px solid #294783;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(62, 126, 255, 0.16), transparent 19rem),
    linear-gradient(145deg, rgba(14, 25, 55, 0.94), rgba(7, 12, 27, 0.94));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.03);
  grid-template-columns: auto 1fr auto;
  gap: 20px;
}

.download-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  border: 1px solid #477be4;
  border-radius: 13px;
  background: linear-gradient(145deg, #2368ef, #6749eb);
  box-shadow: 0 10px 28px rgba(45, 101, 245, 0.28);
  font-size: 25px;
}

.download-copy h3 {
  margin: 4px 0 2px;
  font-size: 17px;
}

.download-copy p {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
}

.release-label {
  color: #74a2ff;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.install-steps {
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.install-steps li {
  display: grid;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 52px 1fr;
  gap: 18px;
}

.install-steps li > span {
  color: #6094f8;
  font-family: var(--mono);
  font-size: 11px;
}

.install-steps strong {
  color: var(--ink);
  font-size: 16px;
}

.install-steps p {
  margin: 5px 0 0;
  font-size: 14px;
}

.quick-grid {
  display: grid;
  margin: 28px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.quick-grid article {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(11, 18, 39, 0.66), rgba(7, 12, 26, 0.44));
}

.quick-grid article > span {
  display: grid;
  width: 27px;
  height: 27px;
  margin-bottom: 43px;
  place-items: center;
  color: #79a5ff;
  border: 1px solid #2d4f92;
  border-radius: 7px;
  background: rgba(39, 88, 190, 0.14);
  font-family: var(--mono);
  font-size: 9px;
}

.quick-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.quick-grid p {
  margin: 0;
  font-size: 13px;
}

.update-path {
  display: grid;
  margin: 28px 0;
  padding: 18px;
  align-items: center;
  border: 1px solid #203767;
  border-radius: 11px;
  background: rgba(10, 18, 39, 0.7);
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  text-align: center;
}

.update-path span {
  padding: 10px;
  color: #cbd6ef;
  border: 1px solid #243e75;
  border-radius: 7px;
  background: #0b1329;
  font-family: var(--mono);
  font-size: 10px;
}

.update-path i {
  color: #588bf0;
  font-style: normal;
}

@media (max-width: 700px) {
  .download-hero {
    padding-block: 70px 68px;
  }

  .download-hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .download-hero .lede {
    margin-top: 22px;
  }

  .download-hero .page-actions {
    width: 100%;
    margin-top: 26px;
    align-items: stretch;
    flex-direction: column;
  }

  .download-hero .page-actions .button {
    width: 100%;
  }

  .download-summary {
    max-width: 320px;
  }

  .download-card {
    align-items: stretch;
    grid-template-columns: auto 1fr;
  }

  .download-card .button {
    grid-column: 1 / -1;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid article {
    min-height: 0;
  }

  .quick-grid article > span {
    margin-bottom: 28px;
  }

  .update-path {
    grid-template-columns: 1fr;
  }

  .update-path i {
    transform: rotate(90deg);
  }
}

/* Bundle contents and the expandable documentation hub. */
.bundle-grid {
  display: grid;
  margin: 28px 0 20px;
  border-top: 1px solid #1e315f;
  border-left: 1px solid #1e315f;
  grid-template-columns: repeat(3, 1fr);
}

.bundle-card {
  display: flex;
  min-height: 255px;
  padding: 24px;
  border-right: 1px solid #1e315f;
  border-bottom: 1px solid #1e315f;
  background: linear-gradient(145deg, rgba(13, 23, 50, 0.82), rgba(7, 12, 27, 0.62));
  flex-direction: column;
}

.bundle-card h3 {
  margin: 26px 0 9px;
  font-size: 16px;
}

.bundle-card p {
  margin: 0 0 22px;
  font-size: 13px;
}

.bundle-card > code {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 5px 8px;
  color: #8fb4ff;
  border: 1px solid #294985;
  border-radius: 5px;
  background: rgba(27, 55, 112, 0.2);
  font-size: 10px;
}

.bundle-tag {
  color: #699cf9;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.bundle-note {
  margin: 0 0 14px;
  font-size: 13px;
}

.docs-hero {
  padding-bottom: 94px;
}

.docs-hero h1 {
  max-width: 900px;
}

.docs-layout {
  grid-template-columns: 220px minmax(0, 820px);
}

.docs-content section {
  border-bottom: 1px solid rgba(28, 45, 86, 0.68);
}

.docs-content section:last-child {
  border-bottom: 0;
}

.section-index {
  margin: 0 0 14px;
  color: #6598f8 !important;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.guide-content p code,
.guide-content li code,
.guide-content div > code {
  padding: 2px 5px;
  color: #b9ccf7;
  border: 1px solid rgba(48, 75, 132, 0.58);
  border-radius: 4px;
  background: rgba(25, 43, 82, 0.45);
  font-size: 0.86em;
}

.compact-steps {
  margin-bottom: 28px;
}

.doc-grid {
  display: grid;
  margin: 28px 0 34px;
  border-top: 1px solid #1d305b;
  border-left: 1px solid #1d305b;
  grid-template-columns: repeat(2, 1fr);
}

.doc-grid article {
  min-height: 215px;
  padding: 24px;
  border-right: 1px solid #1d305b;
  border-bottom: 1px solid #1d305b;
  background: linear-gradient(145deg, rgba(12, 21, 45, 0.75), rgba(7, 12, 27, 0.48));
}

.doc-grid article > span {
  color: #6598f8;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.doc-grid h3 {
  margin: 30px 0 8px;
  font-size: 16px;
}

.doc-grid p {
  margin: 0;
  font-size: 13px;
}

.principles {
  margin: 28px 0 34px;
  border-top: 1px solid #1d305b;
}

.principles article {
  display: grid;
  padding: 21px 0;
  border-bottom: 1px solid #1d305b;
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
}

.principles strong {
  color: var(--ink);
  font-size: 14px;
}

.principles p {
  margin: 0;
  font-size: 13px;
}

.warning-callout {
  border-left-color: #9268ff;
  background: rgba(112, 69, 225, 0.11);
}

.command-list {
  margin: 24px 0 0;
  border-top: 1px solid #1d305b;
}

.command-list > div {
  display: grid;
  padding: 16px 0;
  align-items: center;
  border-bottom: 1px solid #1d305b;
  grid-template-columns: minmax(230px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
}

.command-list code {
  width: fit-content;
  color: #8fb4ff !important;
  font-size: 11px !important;
}

.command-list span {
  color: var(--muted);
  font-size: 13px;
}

.mcp-flow {
  margin: 24px 0 34px;
}

.mcp-flow li {
  padding-left: 5px;
}

.mcp-flow strong {
  color: var(--ink);
}

.prompt-card {
  margin: 30px 0;
  padding: 23px 25px;
  border: 1px solid #294985;
  border-radius: 11px;
  background:
    radial-gradient(circle at 0 0, rgba(52, 120, 255, 0.15), transparent 19rem),
    rgba(10, 18, 39, 0.76);
}

.prompt-card span {
  color: #72a0fb;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prompt-card p {
  margin: 13px 0 0;
  color: #c7d2eb;
  font-size: 15px;
}

.docs-content .docs-next {
  margin-top: 8px;
  padding: 54px 44px;
  border: 1px solid #24396f;
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 20%, rgba(51, 112, 255, 0.17), transparent 22rem),
    radial-gradient(circle at 90% 90%, rgba(128, 74, 255, 0.12), transparent 18rem),
    #080d1c;
}

.docs-next h2 {
  margin-bottom: 12px;
}

.docs-next .actions {
  margin-top: 25px;
}

@media (max-width: 980px) {
  .bundle-grid {
    grid-template-columns: 1fr;
  }

  .bundle-card {
    min-height: 215px;
  }
}

@media (max-width: 700px) {
  .docs-hero {
    padding-bottom: 70px;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

  .doc-grid article {
    min-height: 0;
  }

  .principles article,
  .command-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .docs-content .docs-next {
    padding: 36px 24px;
  }
}

/* Documentation reference and tutorial pages */

.doc-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 0 0 26px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.doc-breadcrumb a {
  color: #81a9f8;
  text-decoration: none;
}

.doc-breadcrumb a:hover {
  color: var(--ink);
}

.reference-hero,
.tutorial-hero {
  max-width: 980px;
}

.reference-hero .lede,
.tutorial-hero .lede {
  max-width: 780px;
}

.catalog-stats {
  display: inline-flex;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid #21396d;
  border-radius: 10px;
  background: rgba(8, 15, 33, 0.72);
}

.catalog-stats span {
  display: flex;
  padding: 13px 19px;
  align-items: baseline;
  gap: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.catalog-stats span + span {
  border-left: 1px solid #21396d;
}

.catalog-stats strong {
  color: #7ca9ff;
  font-size: 15px;
}

.node-catalog {
  margin-top: 26px;
  border-top: 1px solid #1d305b;
}

.node-catalog article {
  display: grid;
  min-height: 89px;
  padding: 18px 0;
  align-items: center;
  border-bottom: 1px solid #1d305b;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
  gap: 26px;
}

.node-catalog article > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.node-catalog strong {
  color: var(--ink);
  font-size: 14px;
}

.node-catalog code {
  color: #75a2fb !important;
  font-size: 10px !important;
}

.node-catalog p {
  margin: 0;
  font-size: 13px;
}

.node-catalog .trigger-node {
  background: linear-gradient(90deg, rgba(87, 58, 189, 0.09), transparent 55%);
}

.node-catalog .trigger-node code {
  color: #b28eff !important;
  border-color: rgba(115, 79, 206, 0.55);
  background: rgba(89, 52, 175, 0.16);
}

.mcp-sequence {
  display: flex;
  margin: 30px 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.mcp-sequence > span {
  display: grid;
  min-width: 175px;
  padding: 15px;
  border: 1px solid #264379;
  border-radius: 9px;
  background: rgba(12, 22, 48, 0.72);
  grid-template-columns: 23px 1fr;
  gap: 2px 8px;
}

.mcp-sequence b {
  display: grid;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: #061022;
  border-radius: 50%;
  background: #76a3fa;
  font-family: var(--mono);
  font-size: 9px;
  grid-row: span 2;
}

.mcp-sequence code {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 10px !important;
}

.mcp-sequence small {
  color: var(--faint);
  font-size: 10px;
}

.mcp-sequence > i {
  color: #5479be;
  font-style: normal;
}

.guide-card-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.guide-card-grid a {
  display: flex;
  min-height: 270px;
  padding: 23px;
  border: 1px solid #21396d;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(13, 23, 50, 0.82), rgba(7, 12, 27, 0.6));
  flex-direction: column;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.guide-card-grid a:hover {
  border-color: #4b7fdc;
  transform: translateY(-3px);
}

.guide-card-grid span,
.next-guides span {
  color: #6598f8;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-card-grid h3 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 17px;
}

.guide-card-grid p {
  margin: 0 0 24px;
  font-size: 12px;
}

.guide-card-grid strong {
  margin-top: auto;
  color: #91b5ff;
  font-size: 11px;
}

.flow-diagram,
.layer-diagram {
  display: flex;
  margin: 31px 0;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.flow-diagram > div,
.layer-diagram > div {
  display: flex;
  min-width: 225px;
  min-height: 115px;
  padding: 18px 20px;
  justify-content: center;
  border: 1px solid #2b4d88;
  border-radius: 10px;
  background:
    radial-gradient(circle at 0 0, rgba(49, 109, 238, 0.14), transparent 12rem),
    #090f21;
  flex-direction: column;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.flow-diagram > i,
.layer-diagram > i {
  color: #6d96e6;
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
}

.flow-diagram div > span,
.layer-diagram div > span {
  color: #6c9df9;
  font-family: var(--mono);
  font-size: 9px;
}

.flow-diagram div > strong,
.layer-diagram div > strong {
  margin: 9px 0 4px;
  color: var(--ink);
  font-size: 15px;
}

.flow-diagram div > small,
.layer-diagram div > small {
  color: var(--faint);
  font-size: 10px;
}

.tutorial-steps li {
  min-height: 116px;
}

.parameter-table {
  margin: 28px 0 8px;
  overflow: hidden;
  border: 1px solid #1d305b;
  border-radius: 10px;
}

.parameter-table > div {
  display: grid;
  padding: 13px 16px;
  align-items: center;
  border-bottom: 1px solid #1d305b;
  grid-template-columns: minmax(135px, 0.65fr) minmax(190px, 1fr) minmax(0, 1.1fr);
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.parameter-table > div:last-child {
  border-bottom: 0;
}

.parameter-table .parameter-head {
  color: #6687c7;
  background: rgba(26, 48, 93, 0.34);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parameter-table code {
  width: fit-content;
  color: #9cbcff !important;
  font-size: 10px !important;
}

.fine-print {
  font-size: 11px !important;
}

.tall-code pre,
.skill-code pre {
  max-height: 630px;
  overflow: auto;
}

.next-guides {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.next-guides a {
  display: block;
  min-height: 175px;
  padding: 22px;
  border: 1px solid #21396d;
  border-radius: 10px;
  background: rgba(9, 16, 35, 0.72);
  text-decoration: none;
}

.next-guides a:hover {
  border-color: #4b7fdc;
}

.next-guides strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 15px;
}

.next-guides p {
  margin: 7px 0 0;
  font-size: 12px;
}

.layer-diagram > div {
  min-width: 0;
  width: 31%;
}

.layer-diagram > i {
  white-space: nowrap;
  font-size: 10px;
}

.agent-flow-diagram .flow-stack {
  min-height: 130px;
  justify-content: space-between;
  gap: 11px;
}

.agent-flow-diagram .flow-stack span {
  padding: 9px;
  border: 1px solid #274477;
  border-radius: 6px;
  background: rgba(20, 39, 77, 0.42);
  color: var(--ink);
  font-family: var(--body);
  font-size: 11px;
}

.agent-flow-diagram .flow-stack b {
  display: block;
  margin-bottom: 3px;
  color: #6c9df9;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
}

.skill-code pre {
  line-height: 1.68;
}

.skill-principles article {
  grid-template-columns: minmax(145px, 0.55fr) minmax(0, 1.45fr);
}

.multi-agent-pattern {
  display: flex;
  margin: 29px 0;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #294985;
  border-radius: 10px;
  background: rgba(10, 18, 39, 0.76);
  gap: 8px;
}

.multi-agent-pattern span {
  color: #b9cbef;
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
}

.multi-agent-pattern i {
  color: #557fc9;
  font-style: normal;
}

@media (max-width: 980px) {
  .guide-card-grid {
    grid-template-columns: 1fr;
  }

  .guide-card-grid a {
    min-height: 210px;
  }

  .mcp-sequence {
    align-items: stretch;
    flex-direction: column;
  }

  .mcp-sequence > span {
    min-width: 0;
  }

  .mcp-sequence > i {
    align-self: center;
    transform: rotate(90deg);
  }

  .flow-diagram,
  .layer-diagram {
    align-items: stretch;
    flex-direction: column;
  }

  .flow-diagram > div,
  .layer-diagram > div {
    width: 100%;
    min-width: 0;
  }

  .flow-diagram > i,
  .layer-diagram > i {
    align-self: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 700px) {
  .doc-breadcrumb {
    flex-wrap: wrap;
  }

  .catalog-stats {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-stats span + span {
    border-top: 1px solid #21396d;
    border-left: 0;
  }

  .node-catalog article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .parameter-table > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .parameter-table .parameter-head {
    display: none;
  }

  .next-guides {
    grid-template-columns: 1fr;
  }

  .multi-agent-pattern {
    align-items: stretch;
    flex-direction: column;
  }

  .multi-agent-pattern i {
    align-self: center;
    transform: rotate(90deg);
  }
}
