@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #16223d;
  --body: #3d4a63;
  --muted: #64718a;
  --faint: #8b97ad;
  --line: #e4e9f2;
  --line-soft: #edf1f7;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --navy: #1d2b4a;
  --navy-deep: #131f38;
  --slate: #8fa1bd;
  --blue: #2563eb;
  --blue-ink: #1d4ed8;
  --teal: #0891b2;
  --ok: #15803d;
  --card-shadow: 0 1px 2px rgba(22, 34, 61, .05), 0 8px 28px -12px rgba(22, 34, 61, .12);
  --card-shadow-lg: 0 2px 4px rgba(22, 34, 61, .05), 0 24px 60px -20px rgba(22, 34, 61, .22);
  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
  --card: #ffffff;
  --input-bg: #ffffff;
  --sel: #dbe6ff;
  --logo-light: block;
  --logo-dark: none;
  --grid-line: rgba(29, 43, 74, .045);
  --hero-bg:
    radial-gradient(760px 420px at 14% -8%, rgba(37, 99, 235, .07), transparent 62%),
    radial-gradient(720px 420px at 88% 4%, rgba(143, 161, 189, .16), transparent 58%),
    linear-gradient(#ffffff, #fbfcfe);
  --icon-bg: linear-gradient(150deg, #eef3fe, #e7edf7);
  --icon-fg: #1d2b4a;
  --tag-match-bg: #e9efff; --tag-match-fg: #1d4ed8;
  --tag-run-bg: #e7f6ec;   --tag-run-fg: #15803d;
  --tag-state-bg: #eef1f6; --tag-state-fg: #64718a;
  --bubble-bg: #1d2b4a;
  --org-bg: #fbfcfe; --org-border: #c9d4e5;
  --cloud-bg: linear-gradient(150deg, #1a2745, #131f38); --cloud-border: #22304f;
  --pcard-hover: #d5deeb;
  --feat-border: #c8d6f2; --feat-bg: linear-gradient(180deg, #fbfcff, #ffffff 40%);
  --badge-bg: #e7f6ec;
  --btnp-bg: #1d2b4a; --btnp-fg: #ffffff; --btnp-hover: #131f38;
  --band-bg: linear-gradient(150deg, #1a2745, #131f38 55%, #16233f);
  --footer-bg: #131f38;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:is(.text-link, .hero-attr, main :is(p, li, td, dd, label) a:not([class]):not(:is(.hero-caption, .pagecards) a)) { color: inherit; font-weight: inherit; text-decoration: underline solid color-mix(in srgb, var(--blue) 62%, transparent); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .15s, text-decoration-color .15s; }
:is(.text-link, .hero-attr, main :is(p, li, td, dd, label) a:not([class]):not(:is(.hero-caption, .pagecards) a)):hover { color: var(--blue); text-decoration-color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sel); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.022em; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.032em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 750; letter-spacing: -0.028em; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: flex-end; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img { width: clamp(98px, 9.4vw, 122px); height: auto; }
.brand .logo-light { display: var(--logo-light); }
.brand .logo-dark { display: var(--logo-dark); }
@media (max-width: 900px) {
  .docs .brand { flex-direction: column; align-items: flex-start; gap: 5px; }
}
@media (max-width: 560px) {
  .brand { max-width: max(136px, calc(100% - 116px)); flex-direction: column; align-items: flex-start; gap: 5px; }
  .docs .brand { max-width: max(136px, calc(100% - 162px)); }
}
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.navlink {
  padding: 8px 12px; border-radius: 9px;
  color: var(--muted); font-size: 14.5px; font-weight: 500; white-space: nowrap;
}
.navlink:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.navlink[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-cta { margin-left: 10px; }
.nav-menu { position: relative; }
.nav-menu > summary { display: inline-flex; align-items: center; gap: 5px; list-style: none; cursor: pointer; user-select: none; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.src-alt { margin-top: 18px; }
.src-alt > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: var(--blue-ink); font-weight: 600; }
.src-alt > summary::-webkit-details-marker { display: none; }
.src-alt > summary::before { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid currentColor; transition: transform .15s ease; }
.src-alt[open] > summary::before { transform: rotate(90deg); }
.src-alt[open] > summary { margin-bottom: 4px; }
.nav-menu > summary .chev { margin-top: 1px; transition: transform .15s ease; }
.nav-menu[open] > summary { color: var(--ink); background: var(--bg-soft); }
.nav-menu[open] > summary .chev { transform: rotate(180deg); }
.nav-menu:has(.navlink[aria-current="page"]) > summary { color: var(--ink); font-weight: 600; }
.nav-menu-list {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  display: grid; min-width: 188px; padding: 6px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--card-shadow-lg);
}
.nav-menu-list .navlink { display: block; padding: 8px 12px; border-radius: 8px; }
.nav-cta { margin-left: 10px; padding: 9px 16px; font-size: 14.5px; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 34px; height: 34px; margin-left: 6px;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--card); color: var(--muted); cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--pcard-hover); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
.theme-toggle { order: 1; margin-left: auto; }
.site-nav { order: 2; margin-left: auto; }
.docs .site-nav { margin-left: 0; }
@media (min-width: 981px) and (max-width: 1100px) {
  .docs .header-row { gap: 14px; }
  .site-nav .navlink { padding: 8px 7px; font-size: 14px; }
  .nav-cta { margin-left: 4px; padding: 9px 12px; font-size: 14px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap; transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btnp-bg); color: var(--btnp-fg); }
.btn-primary:hover { background: var(--btnp-hover); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-ink); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e4; background: var(--bg-soft); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.btn-onnavy { background: #fff; color: var(--navy); }
.btn-onnavy:hover { background: #e8edf7; }

.hero {
  position: relative;
  padding: 84px 0 92px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--hero-bg);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 460px at 62% 0%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(720px 460px at 62% 0%, #000 25%, transparent 72%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hero-grid .demo { margin-top: 7px; }
.hero-head { max-width: 1000px; margin: 0 auto 36px; text-align: center; }
.hero-claim { margin: 0 0 30px; color: var(--ink); font-size: clamp(23px, 2.2vw, 29px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.18; }
.hero-accent { background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-steps { --gap: 28px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); }
.hero-steps li { position: relative; }
.hero-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hero-step-n { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.hero-step-k { color: var(--ink); font-size: 13.5px; font-weight: 700; letter-spacing: .01em; }
.hero-step-head i { flex: 1 1 0; height: 2px; background: var(--line); }
.hero-step-head i:first-child { margin-left: calc(-1 * var(--gap)); }
.hero-step-head i:last-child { margin-right: calc(-1 * var(--gap)); }
.hero-steps li:first-child .hero-step-head i:first-child, .hero-steps li:last-child .hero-step-head i:last-child { visibility: hidden; margin: 0; }
.hero-step-t { display: block; padding: 0 6px; color: var(--body); font-size: 16px; font-weight: 500; line-height: 1.5; }
.tip { position: relative; display: inline-block; }
.tip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; }
.tip-term { all: unset; cursor: help; color: var(--ink); font-weight: 650; }
.tip:hover .tip-term, .tip.open .tip-term { color: var(--blue-ink); }
.tip-term:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.tip-box { position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 5; width: max-content; max-width: min(320px, calc(100vw - 32px)); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--body); font-size: 14px; font-weight: 500; line-height: 1.45; text-align: left; box-shadow: var(--card-shadow-lg); transform: translateX(-50%); opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s ease; }
.tip-box::after { content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); transform: rotate(45deg); }
.tip-box a { white-space: nowrap; }
.tip:hover .tip-box, .tip:focus-within .tip-box, .tip.open .tip-box { opacity: 1; visibility: visible; }
.hero-lead { margin: 0; color: var(--body); font-size: 17px; font-weight: 500; line-height: 1.55; }
.hero-attrs { margin: 12px 0 0; color: var(--body); font-size: 17px; font-weight: 500; line-height: 1.55; }
.hero-head strong { color: var(--ink); font-weight: 650; }
.hero-attr { white-space: nowrap; }
.hero-attr-long { white-space: normal; }
.hero-attr code { color: inherit; font-weight: inherit; }
.hero-term { color: var(--blue-ink); font-weight: 600; white-space: nowrap; }
.hero-term:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-cta { margin: 30px 0 0; color: var(--body); font-size: 20px; font-weight: 500; line-height: 1.5; }
.hero-cta a { color: var(--ink); }
.hero-cta a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-head.as-head { max-width: none; }
.as-head .hero-claim { max-width: 640px; margin: 0 auto 18px; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.3; text-wrap: balance; }
.hero-line { display: block; text-wrap: balance; }
.as-head .hero-lead { max-width: 520px; margin: 0 auto; font-size: 16px; text-wrap: pretty; }
.as-head .hero-lead + .hero-lead { margin-top: 12px; }
.hero-lead code { font-family: var(--mono); font-size: .92em; }
.hero-caption { max-width: 900px; margin: 22px auto 0; text-align: center; font-size: 15px; }
.hero-caption a { color: var(--blue-ink); font-weight: 600; }
.hero-caption a:hover { color: var(--blue); }
.hero-line-soft { color: var(--body); font-weight: 500; }
.appsrv {
  --as-dev: var(--ink); --as-user: var(--blue); --as-rail: 26px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto; align-items: stretch; max-width: 900px; margin: 44px auto 0;
}
.as-side { display: flex; flex-direction: column; pointer-events: none; }
.as-dev { --as-line: var(--as-dev); grid-area: 1 / 1 / 4 / 2; }
.as-user { --as-line: var(--as-user); grid-area: 1 / 3 / 4 / 4; }
.as-side .rail { flex: 1 1 auto; display: block; width: 0; margin: 10px 0 8px; border-left: 2px dashed color-mix(in srgb, var(--as-line) 40%, transparent); }
.as-dev .rail { margin-left: calc(var(--as-rail) - 1px); }
.as-user .rail { align-self: flex-end; margin-right: calc(var(--as-rail) - 1px); }
.as-actor { display: flex; align-items: center; gap: 12px; pointer-events: auto; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.25; }
.as-user .as-actor { justify-content: flex-end; text-align: right; }
.as-actor .ic { flex: 0 0 auto; display: grid; place-items: center; width: calc(var(--as-rail) * 2); height: calc(var(--as-rail) * 2); border-radius: 50%; background: var(--as-line); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--as-line) 18%, transparent); }
.as-srv { grid-area: 1 / 2 / 4 / 3; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--card-shadow-lg); }
.as-title { grid-area: 1 / 2 / 2 / 3; position: relative; z-index: 1; display: grid; align-content: center; justify-items: center; gap: 3px; padding: 12px 18px; border-radius: 18px 18px 0 0; background: var(--navy); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.as-title code { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: #a9c6ff; }
.as-lane { min-height: 90px; }
.as-lane.as-r1 { grid-row: 2; }
.as-lane.as-r2 { grid-row: 3; }
.as-agents { position: relative; z-index: 1; grid-column: 2; grid-row: 2 / 4; align-self: stretch; display: grid; align-content: center; height: 0; min-height: 100%; box-sizing: border-box; margin: 0 1px 1px; padding: 16px 18px 20px; border-radius: 0 0 17px 17px; overflow: hidden; }
.as-agents-lbl { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% - 2px)); z-index: 1; padding: 4px 14px; border-radius: 999px; background: var(--card); box-shadow: 0 0 10px 8px var(--card); color: var(--ink); font-size: 13px; font-weight: 700; }
.as-agent-field { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; height: 96px; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); }
.as-agent-field i { flex: none; width: 34px; height: 11px; border: 1px solid color-mix(in srgb, var(--blue) 30%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--blue) 12%, var(--card)); }
.as-agent-field i:nth-child(8n+2) { width: 22px; }
.as-agent-field i:nth-child(8n+3) { width: 46px; }
.as-agent-field i:nth-child(8n+4) { width: 28px; }
.as-agent-field i:nth-child(8n+5) { width: 40px; }
.as-agent-field i:nth-child(8n+6) { width: 24px; }
.as-agent-field i:nth-child(8n+7) { width: 52px; }
.as-agent-field i:nth-child(8n) { width: 30px; }
.as-lane { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 10px; padding: 16px 0; }
.as-left { --as-line: var(--as-dev); grid-column: 1; padding-left: calc(var(--as-rail) - 1px); }
.as-right { --as-line: var(--as-user); grid-column: 3; padding-right: calc(var(--as-rail) - 1px); }
.as-flow { display: block; }
.as-flow .lbl { display: flex; align-items: flex-start; gap: 7px; padding: 0 8px 6px 22px; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 18px; text-align: left; }
.as-dev .ic { color: var(--as-dev-fg, #fff); }
.as-flow .ln { position: relative; display: block; height: 2px; background: var(--as-line); }
.as-flow .ln::before, .as-flow .ln::after { position: absolute; top: -4px; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.as-flow.r .ln::after { content: ""; right: -1px; border-left: 9px solid var(--as-line); }
.as-flow.l .ln::before { content: ""; left: -1px; border-right: 9px solid var(--as-line); }
.as-flow .sub { display: block; padding: 6px 8px 0 22px; color: var(--muted); font-size: 12.5px; font-style: italic; line-height: 1.35; text-wrap: pretty; }
.as-flow .sub + .sub { padding-top: 3px; }
.as-agent { font-family: var(--font); font-size: 13px; font-style: normal; font-weight: 700; color: var(--ink); }
.as-ext {
  --ext-w: 168px; --ext-gap: 24px; --ext-drop: 44px; --ext-stem: 18px; --ext-head: 9px; --ext-stroke: 2px;
  --ext-line: color-mix(in srgb, var(--ink) 50%, var(--bg));
  grid-row: 4; grid-column: 2; justify-self: center; position: relative;
  display: grid; grid-template-columns: repeat(2, var(--ext-w)); gap: var(--ext-gap); padding-top: var(--ext-drop);
}
.as-ext::before { content: ""; position: absolute; left: calc(50% - var(--ext-stroke) / 2); top: 0; width: var(--ext-stroke); height: var(--ext-stem); background: var(--ext-line); }
.as-ext::after { content: ""; position: absolute; top: var(--ext-stem); left: calc(var(--ext-w) / 2 - var(--ext-stroke) / 2); right: calc(var(--ext-w) / 2 - var(--ext-stroke) / 2); height: calc(var(--ext-drop) - var(--ext-stem) - var(--ext-head) - 2px); border: var(--ext-stroke) solid var(--ext-line); border-bottom: 0; border-radius: 8px 8px 0 0; }
.as-ext-node { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; padding: 12px 10px 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--card-shadow); text-align: center; }
.as-ext-node::before { content: ""; position: absolute; left: calc(50% - 5px); top: calc(-3px - var(--ext-head)); border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: var(--ext-head) solid var(--ext-line); }
.as-ext-node strong { color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.25; }
.as-ext-ic { display: grid; place-items: center; color: var(--ink); }
@media (max-width: 860px) {
  .as-ext { --ext-w: 150px; --ext-gap: 20px; --ext-drop: 38px; --ext-stem: 15px; --ext-head: 8px; }
  .as-ext-node { gap: 5px; padding: 10px 8px 11px; border-radius: 12px; }
  .as-ext-node strong { font-size: 12px; }
  .as-ext-ic svg { width: 19px; height: 19px; }
}
@media (max-width: 560px) {
  .as-ext { --ext-w: 132px; --ext-gap: 12px; }
  .as-ext-node strong { font-size: 11.5px; }
}
@media (max-width: 340px) {
  .as-ext { --ext-w: 128px; --ext-gap: 8px; }
  .as-ext-node { padding-left: 6px; padding-right: 6px; }
  .as-ext-node strong { font-size: 11px; }
}
@media (max-width: 1000px) {
  .appsrv { --as-rail: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr) minmax(0, 1.1fr); }
  .as-flow .lbl { font-size: 12px; }
  .as-flow .sub { font-size: 11.5px; }
  .as-agent { font-size: 12px; }
}
@media (max-width: 860px) {
  .appsrv { --as-rail: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); margin-top: 36px; }
  .as-side .rail { margin-top: 8px; margin-bottom: 4px; }
  .as-actor { gap: 8px; font-size: 13px; }
  .as-actor .ic { box-shadow: 0 0 0 3px color-mix(in srgb, var(--as-line) 18%, transparent); }
  .as-actor .ic svg { width: 16px; height: 16px; }
  .as-srv { border-radius: 14px; }
  .as-title { padding: 10px 8px; border-radius: 14px 14px 0 0; font-size: 14px; }
  .as-title code { font-size: 10.5px; }
  .as-lane { gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .as-flow .lbl { gap: 3px; padding: 0 8px 4px 4px; font-size: 10.5px; line-height: 14px; }
  .as-left .as-flow .lbl { padding-left: 6px; padding-right: 4px; }
        .as-flow .ln::before, .as-flow .ln::after { top: -3px; border-top-width: 4px; border-bottom-width: 4px; }
  .as-flow.r .ln::after { border-left-width: 7px; }
  .as-flow.l .ln::before { border-right-width: 7px; }
  .as-agent { font-size: 10.5px; }
  .as-flow .sub { padding: 4px 6px 0 4px; font-size: 10.5px; line-height: 1.3; }
  .as-left .as-flow .sub { padding-left: 6px; }
}
@media (max-width: 560px) {
  .as-agent-field {
    position: absolute; inset: 0 8px; height: auto; align-content: center;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}
@media (max-width: 400px) {
  .as-head .hero-claim { font-size: 20px; }
}
@media (max-width: 480px) {
  .as-actor { flex-direction: column; align-items: flex-start; gap: 5px; }
  .as-user .as-actor { flex-direction: column-reverse; align-items: flex-end; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 22px; padding: 6px 13px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(21, 128, 61, .14); }
.hero-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; max-width: 54ch; color: var(--body); font-size: 16px; line-height: 1.6; }
.hero-points svg { flex: 0 0 auto; margin-top: 4px; color: var(--blue); }
.hero-points strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.pip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 8px 10px 16px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--card); box-shadow: var(--card-shadow);
  font-family: var(--mono); font-size: 14px; color: var(--ink);
}
.pip .ps1 { color: var(--slate); user-select: none; }
.pip button {
  display: inline-flex; padding: 6px; border: 0; border-radius: 7px;
  background: transparent; color: var(--faint); cursor: pointer;
}
.pip button:hover { background: var(--bg-soft); color: var(--ink); }

.demo {
  position: relative;
  border: 1px solid var(--line); border-radius: 18px; background: var(--card);
  box-shadow: var(--card-shadow-lg);
  padding: 22px;
}
.demo::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 19px;
  background: linear-gradient(160deg, rgba(37, 99, 235, .35), rgba(143, 161, 189, .18) 42%, rgba(8, 145, 178, .25));
  filter: blur(14px); opacity: .35;
}
.demo-search {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border: 1.5px solid var(--blue); border-radius: 12px;
  background: var(--card); box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
  color: var(--ink); font-size: 15px;
}
.demo-search svg { flex: 0 0 auto; color: var(--slate); }
.demo-search .caret { width: 2px; height: 18px; margin-left: -2px; background: var(--blue); animation: blink 1.1s steps(1) infinite; }
.demo-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; }
.demo-tag {
  flex: 0 0 auto; margin-top: 1px; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.demo-tag.match { background: var(--tag-match-bg); color: var(--tag-match-fg); }
.demo-tag.run { background: var(--tag-run-bg); color: var(--tag-run-fg); }
.demo-tag.state { background: var(--tag-state-bg); color: var(--tag-state-fg); }
.demo-body { font-size: 14.5px; color: var(--body); min-width: 0; }
.demo-agent {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft);
  color: var(--ink); font-weight: 600; font-size: 14px;
}
.demo-agent svg { color: var(--blue); }
.demo-progress { display: grid; gap: 7px; }
.demo-progress .p { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13.5px; }
.demo-progress .p svg { color: var(--ok); flex: 0 0 auto; }
.demo-footnote { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--faint); font-size: 12.5px; }
.demo-footnote svg { color: var(--slate); }

.demo .stage { opacity: 0; animation: rise .5s ease forwards; }
.demo .stage-1 { animation-delay: .2s; animation-duration: .3s; }
.demo .stage-2 { animation-delay: 1.5s; }
.demo .stage-2 .p + .p { opacity: 0; animation: rise .4s ease forwards; animation-delay: 2.4s; }
.demo .stage-3 { animation-delay: 3.2s; }
.demo .stage-4 { animation-delay: 3.9s; }
.demo-time { margin-left: auto; align-self: flex-start; padding-top: 3px; color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.demo-tag.ask { background: var(--tag-match-bg); color: var(--tag-match-fg); }
.demo-form {
  display: flex; align-items: center; gap: 8px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft);
}
.demo-form .q { color: var(--ink); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.demo-form .opts { display: flex; gap: 8px; }
.demo-form .opts i {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--muted); white-space: nowrap;
  font-size: 12.5px; font-style: normal; font-weight: 600;
}
.demo-form .opts i::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--slate); box-sizing: border-box;
}
.demo-form .opts i.on { color: var(--ink); border-color: var(--blue); }
.demo-form .opts i.on::before { background: var(--blue); border-color: var(--blue); }
.demo-form .submit {
  margin-left: 2px; padding: 5px 12px; border-radius: 8px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  font-size: 12.5px; font-weight: 600;
}
@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
#conversations .cv { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: repeat(6, auto); column-gap: 22px; row-gap: 16px; align-items: center; max-width: 940px; margin: 0 auto; }
#conversations .cv::before { content: ""; grid-column: 1; grid-row: 1 / -1; align-self: stretch; justify-self: stretch; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--card-shadow-lg); }
#conversations .cv > * { position: relative; min-width: 0; }
#conversations .cv-title { grid-column: 1; grid-row: 1; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); border-radius: 18px 18px 0 0; background: var(--bg-soft); color: var(--muted); font-size: 13px; font-weight: 600; }
#conversations .cv > .r2 { grid-row: 2; } #conversations .cv > .r3 { grid-row: 3; } #conversations .cv > .r4 { grid-row: 4; } #conversations .cv > .r5 { grid-row: 5; } #conversations .cv > .r6 { grid-row: 6; }
#conversations .cv > .turn-user { grid-column: 1; justify-self: end; margin: 0 16px; max-width: 80%; padding: 8px 13px; font-size: 14px; }
#conversations .cv > .turn-user.r2 { margin-top: 18px; }
#conversations .cv > .turn-agent { grid-column: 1; margin: 0 16px; max-width: 86%; gap: 6px; }
#conversations .cv > .turn-agent.r6 { margin-bottom: 20px; }
#conversations .cv > .turn-agent .msg { padding: 11px 14px; font-size: 14px; }
#conversations .cv > .turn-agent .msg.ask { padding: 9px 13px; gap: 8px 10px; }
#conversations .cv > .turn-agent .ask .q { font-size: 14px; }
#conversations .cv > .turn-agent .ask .opts i, #conversations .cv > .turn-agent .ask .submit { padding: 3px 9px; }
#conversations .cv .by { display: flex; align-items: center; gap: 5px; margin: 0 0 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
#conversations .cv .by svg { color: var(--blue); }
#conversations .cv .msg.ask .by { flex: 1 0 100%; }
#conversations .cv-note { grid-column: 2; margin: 0; padding: 8px 11px 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-soft); color: var(--body); font-size: 12.5px; line-height: 1.45; text-wrap: pretty; }
#conversations .cv-note::before { content: ""; position: absolute; left: -6px; top: 50%; margin-top: -5px; width: 10px; height: 10px; transform: rotate(45deg); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
#conversations .cv-note b { display: block; margin-bottom: 3px; font-size: 13px; color: var(--blue-ink); }
#conversations .cv-note b a { color: inherit; font-weight: 600; }
#conversations .cv-note b a:hover { color: var(--blue); }
@media (max-width: 860px) {
  #conversations .cv { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 10px; row-gap: 12px; }
  #conversations .cv::before { border-radius: 14px; }
  #conversations .cv-title { padding: 9px 10px; border-radius: 14px 14px 0 0; font-size: 12px; }
  #conversations .cv > .turn-user { margin: 0 8px; max-width: 94%; padding: 6px 9px; border-radius: 10px 10px 3px 10px; font-size: 12px; }
  #conversations .cv > .turn-user.r2 { margin-top: 12px; }
  #conversations .cv > .turn-agent { margin: 0 8px; max-width: 100%; }
  #conversations .cv > .turn-agent.r6 { margin-bottom: 14px; }
  #conversations .cv > .turn-agent .msg { padding: 8px 9px; border-radius: 3px 10px 10px 10px; font-size: 12px; }
  #conversations .cv > .turn-agent .msg.ask { padding: 7px 9px; gap: 6px; }
  #conversations .cv > .turn-agent .ask .q { font-size: 12px; }
  #conversations .cv > .turn-agent .ask .opts { gap: 5px; }
  #conversations .cv > .turn-agent .ask .opts i, #conversations .cv > .turn-agent .ask .submit { padding: 2px 7px; font-size: 11px; }
  #conversations .cv > .turn-agent .ask .submit { margin-left: 0; }
  #conversations .cv .by { margin-bottom: 4px; font-size: 11px; }
  #conversations .cv-note { padding: 7px 8px 8px; border-radius: 8px; font-size: 11px; line-height: 1.4; }
  #conversations .cv-note::before { left: -5px; width: 8px; height: 8px; margin-top: -4px; }
  #conversations .cv-note b { margin-bottom: 2px; font-size: 11.5px; }
}
@media (max-width: 560px) {
  #conversations .cv { grid-template-rows: none; grid-template-columns: minmax(0, 1fr); }
  #conversations .cv::before { position: absolute; inset: 0; grid-area: auto; }
  #conversations .cv > .r2, #conversations .cv > .r3, #conversations .cv > .r4, #conversations .cv > .r5, #conversations .cv > .r6 { grid-row: auto; }
  #conversations .cv > .turn-agent.r6 { margin-bottom: 0; }
  #conversations .cv > .turn-user { text-wrap: balance; }
  #conversations .cv-note { grid-column: 1; margin: -4px 10px 6px 24px; padding: 2px 0 2px 10px; border: 0; border-left: 2px solid var(--blue); border-radius: 0; background: none; color: var(--muted); }
  #conversations .cv-note::before { display: none; }
  #conversations .cv-note:last-child { margin-bottom: 16px; }
}
#framework-runtime .section-head { max-width: 860px; }
#framework-runtime .fr { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 960px; margin: 0 auto; }
#framework-runtime .fr > * { min-width: 0; }
#framework-runtime .fr-code { margin: 0; padding: 16px 18px; border: 1px solid #22304f; border-radius: 16px; background: #101b33; box-shadow: 0 30px 70px -28px rgba(16, 27, 51, .55); font-family: var(--mono); font-size: 11px; line-height: 1.6; color: #c7d3ea; white-space: pre-wrap; overflow-wrap: anywhere; }
#framework-runtime .fr-code .key { color: #9db4e0; }
#framework-runtime .fr-code .str { color: #b5e0a8; }
#framework-runtime .fr-code .ex { color: #f0c674; }
#framework-runtime .fr-code .cm { display: block; padding-left: 3ch; text-indent: -3ch; color: #7f92b8; font-style: italic; }
#framework-runtime .fr-code .wl { display: block; padding-left: 2ch; text-indent: -2ch; }
#framework-runtime .fr-code .cm.i10, #framework-runtime .fr-code .wl.i10 { margin-left: 10ch; }
#framework-runtime .fr-code .cm.i12 { margin-left: 12ch; }
.fr-map { margin: 0; padding: 18px 22px 22px; border: 1px solid #22304f; border-radius: 16px; background: #101b33; box-shadow: 0 30px 70px -28px rgba(16, 27, 51, .55); font-family: var(--mono); font-size: 14px; line-height: 1.9; color: #c7d3ea; }
.fr-map-t { display: block; margin: 0 0 12px; padding: 0 0 11px; border-bottom: 1px solid #22304f; font-family: var(--font); font-size: 13px; font-weight: 700; line-height: 1.4; color: #e6edf9; }
.fr-map .key { color: #9db4e0; }
.fw-map { max-width: 960px; margin: 0 0 24px; }
.codecard .ex { color: #f0c674; }
.fr-map .fr-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 28px; align-items: center; }
.fr-map .fr-out { container-type: inline-size; }
.fr-map .fr-lines { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 18px; grid-auto-rows: 1.9em; }
.fr-map .fr-lines code { grid-column: 1; font-family: inherit; white-space: pre; }
.fr-map .fr-lines .dim { color: #7f92b8; }
.fr-map .fr-note { grid-column: 2; display: flex; align-items: center; margin: 3px 0; padding-left: 12px; border-left: 2px solid #6ea0ff; font-family: var(--font); font-size: 13px; line-height: 1.2; color: #e6edf9; white-space: nowrap; }
.fr-map .fr-note b { font-weight: 600; }
.fr-map .fr-pal { display: grid; gap: 10px; align-self: stretch; align-content: center; padding-left: 28px; border-left: 1px solid #22304f; font-family: var(--font); line-height: 1.4; }
.fr-map .fr-pal-t { margin-bottom: 4px; color: #e6edf9; font-size: 13px; font-weight: 600; }
.fr-map .fr-g { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 8px; align-items: start; }
.fr-map .fr-gl { padding-top: 4px; color: #9aabc9; font-size: 12.5px; font-weight: 500; }
.fr-map .fr-gc { display: flex; flex-wrap: wrap; gap: 5px; }
.fr-map .fr-gc a { color: inherit; text-decoration: none; }
.fr-map .fr-gc code { display: block; padding: 3px 8px; border: 1px solid #2c3d63; border-radius: 7px; background: #17233f; color: #dbe6ff; font-family: var(--mono); font-size: 12px; line-height: 1.5; white-space: nowrap; }
.fr-map .fr-gc a:hover code, .fr-map .fr-gc a:focus-visible code { border-color: #6ea0ff; }
@container (max-width: 440px) {
  .fr-map .fr-x { display: none; }
}
@container (max-width: 425px) {
  .fr-map .fr-lines { font-size: 12px; column-gap: 12px; }
  .fr-map .fr-note { font-size: 12px; }
}
@container (max-width: 320px) {
  .fr-map .fr-lines { font-size: 11px; column-gap: 10px; }
  .fr-map .fr-note { padding-left: 9px; font-size: 11.5px; }
}
@container (max-width: 290px) {
  .fr-map .fr-lines { font-size: 10px; column-gap: 8px; }
  .fr-map .fr-note { padding-left: 8px; font-size: 10.5px; }
}
@container (max-width: 262px) {
  .fr-map .fr-lines { font-size: 9px; column-gap: 7px; }
  .fr-map .fr-note { padding-left: 7px; font-size: 10px; }
}
@media (max-width: 820px) {
  .fr-map .fr-body { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .fr-map .fr-pal { padding: 18px 0 0; border-left: 0; border-top: 1px solid #22304f; }
}
@media (max-width: 480px) {
  .fr-map { padding: 14px 14px 16px; }
  .fr-map .fr-g { grid-template-columns: 116px minmax(0, 1fr); gap: 6px; }
  .fr-map .fr-gl { font-size: 12px; white-space: nowrap; }
}
@media (max-width: 360px) {
  .fr-map { padding: 12px 10px 14px; }
}
#framework-runtime .fr-cmds { padding: 16px 18px 18px; gap: 9px; grid-template-rows: max-content; }
#framework-runtime .fr-title { display: block; margin: 0 0 6px; padding: 0 0 11px; border-bottom: 1px solid var(--line-soft); font-family: var(--font); font-size: 13px; font-style: normal; font-weight: 700; line-height: 1.4; color: var(--ink); white-space: normal; }
#framework-runtime .fr-code .fr-title { margin-bottom: 12px; border-bottom-color: #22304f; color: #e6edf9; }
#framework-runtime .fr-struct { margin: 0 0 4px; color: var(--body); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
#framework-runtime .fr-struct code { font-family: var(--mono); font-size: 12.5px; }
#framework-runtime .fr-struct + .fr-struct { margin-top: 6px; }
#framework-runtime .fr-struct-last { padding-bottom: 12px; margin-bottom: 2px; border-bottom: 1px solid var(--line-soft); }
#framework-runtime .fr-cmds .cg { grid-template-columns: 126px 1fr; gap: 8px; }
#framework-runtime .fr-cmds .cg-l { font-size: 12.5px; }
#framework-runtime .fr-cmds .cg-c { gap: 5px; }
#framework-runtime .fr-cmds .cg-c code { font-size: 12px; padding: 2px 7px; }
@media (max-width: 860px) {
  #framework-runtime .fr { column-gap: 14px; }
  #framework-runtime .fr-code { padding: 14px 14px; font-size: 10px; }
  #framework-runtime .fr-cmds { padding: 14px 14px 16px; }
  #framework-runtime .fr-cmds .cg { grid-template-columns: 118px 1fr; gap: 6px; }
  #framework-runtime .fr-cmds .cg-l { font-size: 12px; }
}
@media (max-width: 700px) {
  #framework-runtime .fr { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  #framework-runtime .fr-code { border-radius: 12px; }
  #framework-runtime .fr-cmds .cg { grid-template-columns: 126px 1fr; gap: 8px; }
}
@media (max-width: 440px) {
  #framework-runtime .fr-cmds .cg { grid-template-columns: 1fr; gap: 3px; }
}
@media (max-width: 360px) {
  #framework-runtime .fr-code { padding: 12px 10px; font-size: 9px; }
  #framework-runtime .fr-cmds { padding: 12px 12px 14px; }
}

.pl-wrap { max-width: 1040px; margin: 0 auto; }
.fw-page .pl-wrap { margin: 0 0 24px; }
.pl-fig { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px 44px; align-items: start; margin: 0; }
.pl-fig .pl-code .bar { flex-wrap: wrap; padding: 8px 12px; }
.pl-fig .pl-code .bar .pl-lang { margin-left: auto; color: #9db4e0; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pl-fig .pl-code .bar .pl-lang:hover { color: #c7d3ea; }
.pl-fig .pl-code pre { padding: 14px 18px; font-size: 12.5px; line-height: 1.75; counter-reset: step; }
.pl-step { position: relative; display: inline-block; margin: 0 -4px; padding: 0 4px; border-radius: 5px; color: #dce6fa; background: rgba(157, 180, 224, .16); box-shadow: inset 0 0 0 1px rgba(157, 180, 224, .28); }
.pl-step::before { counter-increment: step; content: counter(step); position: absolute; left: -24px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font); font-size: 9.5px; font-weight: 700; line-height: 16px; text-align: center; }
.pl-ref { display: inline-block; margin: 0 -4px; padding: 0 4px; border-radius: 5px; background: rgba(181, 224, 168, .14); box-shadow: inset 0 0 0 1px rgba(181, 224, 168, .32); }
.pl-side { display: grid; gap: 14px; }
.pl-card { padding: 11px 14px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--card-shadow); color: var(--body); font-size: 13px; line-height: 1.45; }
.pl-card .pl-kind { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pl-card .pl-kind a { color: inherit; }
.pl-card .pl-name { display: inline-block; margin: 3px 0 8px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg-soft); color: var(--ink); font-family: var(--mono); font-size: 12.5px; }
.pl-card .pl-row { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 2px 8px; }
.pl-card .pl-row + .pl-row { margin-top: 3px; }
.pl-card .pl-row > span:first-child { color: var(--muted); font-size: 12px; font-weight: 600; }
.pl-card code { color: var(--ink); font-family: var(--mono); font-size: .9em; overflow-wrap: anywhere; }
.pl-card .pl-foot { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.pl-card .pl-foot a { font-weight: 600; }
.pl-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pl-links path { fill: none; stroke: var(--blue); stroke-width: 1.5; opacity: .5; }
.pl-links circle { fill: var(--blue); opacity: .75; }
.pl-kick { grid-column: 1 / -1; margin: 0 0 -4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 860px) {
  .pl-fig { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pl-links { display: none; }
}
@media (max-width: 420px) {
  .pl-fig .pl-code pre { padding: 12px 12px; font-size: 11px; line-height: 1.7; }
  .pl-step::before { left: -21px; width: 14px; height: 14px; margin-top: -7px; font-size: 9px; line-height: 14px; }
}
@media (max-width: 360px) {
  .pl-fig .pl-code pre { padding: 12px 10px; font-size: 10px; }
}
.ui-fan { display: grid; grid-template-columns: minmax(0, 250px) 40px minmax(0, 340px); justify-content: center; margin: 0 auto; }
.ui-fan .ui-org { position: relative; grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; align-items: center; padding: 30px 16px 20px; border: 1px dashed var(--org-border); border-radius: 18px; background: var(--org-bg); }
.ui-fan .ui-org > .tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; background: linear-gradient(var(--org-bg), var(--org-bg)), var(--bg); border: 1px solid var(--org-border); color: var(--muted); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ui-fan .st-srv { grid-column: 1; grid-row: 1; width: 100%; align-self: stretch; align-content: center; }
.ui-fan .st-srv::after { content: ""; position: absolute; right: -9px; top: 50%; margin-top: -6px; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 8px solid var(--slate); }
.ui-fan .ui-bus { grid-column: 2; grid-row: 1; align-self: stretch; }
.ui-fan .ui-clients { grid-column: 3; grid-row: 1; display: grid; gap: 12px; }
.ui-fan .ui-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--card-shadow); }
.ui-fan .ui-ic { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: var(--icon-bg); color: var(--icon-fg); }
.ui-fan .ui-ic svg { width: 20px; height: 20px; }
.ui-fan .ui-tile b { display: block; color: var(--ink); font-size: 15px; font-weight: 700; }
.ui-fan .ui-tile small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.ui-fan .ui-tile a { color: var(--blue-ink); font-weight: 600; }
.ui-fan .ui-bus svg { display: block; width: 100%; height: 100%; overflow: visible; transform: scaleX(-1); }
.ui-fan .ui-bus line { stroke: var(--slate); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ui-fan .ui-down { display: none; }
.ui-fan .st-link { position: relative; grid-column: 1; grid-row: 2; display: block; height: 86px; margin: -21px 0 0 16px; }
.ui-fan .st-link .ln { position: absolute; top: 0; bottom: 14px; left: 50%; width: 0; margin-left: -1px; border-left: 2px dashed var(--slate); }
.ui-fan .st-link .ln::after { content: ""; position: absolute; left: -6px; bottom: -1px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--slate); }
.ui-fan .st-link .lock { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ui-fan .st-cloud { grid-column: 1; grid-row: 3; margin-left: 16px; }
@container (max-width: 560px) {
  .ui-fan { grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
  .ui-fan .ui-org { grid-column: 1; grid-template-columns: minmax(0, 1fr); padding: 28px 14px 18px; }
  .ui-fan .st-link { margin: -19px 0 0; }
  .ui-fan .st-cloud { width: 100%; max-width: 320px; margin-left: 0; justify-self: center; }
  .ui-fan .ui-org > * { grid-column: auto; grid-row: auto; }
  .ui-fan .ui-clients { width: 100%; max-width: 320px; margin: 0 auto; }
  .ui-fan .ui-bus { display: none; }
  .ui-fan .st-srv { margin-top: 14px; max-width: 320px; justify-self: center; align-self: auto; }
  .ui-fan .st-srv::after { display: none; }
  .ui-fan .ui-down { display: block; position: relative; height: 32px; }
  .ui-fan .ui-down::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--slate); }
  .ui-fan .ui-down::after { content: ""; position: absolute; left: 50%; bottom: 0; margin-left: -6px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--slate); }
}
.ui-fan .st-box { position: relative; display: grid; justify-items: center; gap: 10px; padding: 20px 14px 18px; border: 1px solid var(--line); border-radius: 18px; text-align: center; }
.ui-fan .st-box .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; }
.ui-fan .st-box .ic svg { width: 26px; height: 26px; }
.ui-fan .st-box .cluster { display: grid; justify-items: center; gap: 6px; }
.ui-fan .st-box .cluster .ic { width: 42px; height: 42px; border-radius: 12px; }
.ui-fan .st-box .cluster .ic svg { width: 22px; height: 22px; }
.ui-fan .st-box .nodes { display: flex; align-items: center; }
.ui-fan .st-box .nodes .ln { width: 12px; height: 0; border-top: 2px dashed var(--slate); }
.ui-fan .st-box b { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.ui-fan .st-box small { font-size: 13px; font-weight: 500; line-height: 1.4; }
.ui-fan .st-box .tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ui-fan .st-srv { background: var(--card); box-shadow: var(--card-shadow); color: var(--ink); }
.ui-fan .st-srv .ic { background: var(--icon-bg); color: var(--icon-fg); }
.ui-fan .st-srv small { color: var(--muted); }
.ui-fan .st-srv .src:hover { text-decoration: underline; }
.ui-fan .st-cloud { background: var(--cloud-bg); border-color: var(--cloud-border); color: #fff; box-shadow: var(--card-shadow-lg); }
.ui-fan .st-cloud .tag { background: var(--navy-deep); border: 1px solid var(--cloud-border); color: #a9c6ff; }
.ui-fan .st-cloud .ic { background: rgba(255, 255, 255, .1); color: #a9c6ff; }
.ui-fan .st-cloud small { color: #c7d5f5; }
.ui-fan .st-cloud .enc { display: block; margin-top: 2px; color: #a9c6ff; font-size: 12px; }
.docs-arch .is-part { background: var(--cloud-bg); border-color: var(--cloud-border); color: #fff; }
.docs-arch .is-part b { color: #fff; }
.docs-arch .is-part small { color: #c7d5f5; }
.docs-arch .is-part a { color: #a9c6ff; }
.docs-arch .is-part .ic, .docs-arch .is-part .ui-ic { background: rgba(255, 255, 255, .1); color: #a9c6ff; }
.ui-fan .st-link .lock { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 12px; font-weight: 700; }
.ui-fan .st-link .lock svg { width: 12px; height: 12px; color: var(--ok); }
@media (prefers-reduced-motion: reduce) {
  .demo .stage, .demo .stage-2 .p + .p { animation: none; opacity: 1; }
  .demo-search .caret { animation: none; }
}

[id] { scroll-margin-top: 92px; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: block; margin-bottom: 12px;
  color: var(--blue-ink); font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
.section-head p { margin-top: 14px; font-size: 15px; color: var(--muted); }
#framework-runtime .section-head p, #conversations .section-head p, #user-interfaces .section-head p { text-wrap: balance; }

.howgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.how-step { padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--card-shadow); }
.how-step .n { display: inline-grid; place-items: center; vertical-align: top; width: 26px; height: 26px; margin: 0 6px 14px 0; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
.how-step .n.dev { background: var(--ink); color: var(--as-dev-fg, #fff); }
.how-step h3 { margin-bottom: 8px; font-size: 16px; line-height: 1.3; }
.how-step p { color: var(--muted); font-size: 14px; text-wrap: pretty; }
.how-step .nw { white-space: nowrap; }
.how-step p + p { margin-top: 8px; }
.how-step p code { font-family: var(--mono); font-size: 13px; color: var(--ink); font-variant-ligatures: none; }
.how-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: 13.5px; font-weight: 600; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 34px 62px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow);
  color: var(--ink); font-weight: 700; font-size: 15px;
}
.steps li::after {
  content: ""; position: absolute; left: 19px; top: 42px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--line), var(--line-soft));
}
.steps li:last-child::after { display: none; }
.steps.plain { margin-top: 22px; }
.steps.plain li { padding: 0 0 22px; }
.steps.plain li::before, .steps.plain li::after { display: none; }
.steps h3 { margin-bottom: 6px; font-size: 17px; }
.steps p { color: var(--muted); font-size: 14.5px; max-width: 46ch; }

.arch { border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--card-shadow-lg); padding: 32px 28px; }
.arch .note { margin-top: 20px; color: var(--faint); font-size: 13px; }
.points { margin-top: 22px; }
#search-and-execute .section-head h2, #platform .section-head h2, #user-interfaces .section-head h2, #framework-runtime .section-head h2, #conversations .section-head h2, #system-architecture .section-head h2 { font-size: 24px; }
#system-architecture .section-head { max-width: 860px; }
.fw-card .cc-title { padding-top: 14px; padding-bottom: 14px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.5; }
.fw-lead { margin: 0 0 11px; color: var(--body); font-size: 14px; line-height: 1.6; }
.fw-lead a { font-weight: 600; }
.fw-cmds { display: grid; gap: 10px; flex: 1; align-content: space-between; }
.fw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 1001px) {
  .hero-arch, .fw-card, #system-architecture .arch { min-height: 540px; }
}
.fw-grid .arch { display: flex; flex-direction: column; }
.cc-title { margin: -22px -20px 18px; padding: 11px 20px; border-bottom: 1px solid var(--line-soft); border-radius: 18px 18px 0 0; background: var(--bg-soft); color: var(--ink); font-size: 13.5px; font-weight: 700; }
.cc-arch.hero-arch { --g: 10px; display: flex; flex-direction: column; justify-content: center; }
.hero-arch .cc-row { grid-template-columns: 1fr 1.1fr; gap: 8px; }
.hero-arch .cc-down { height: 24px; }
@media (min-width: 580px) {
  .hero-arch .cc-down { justify-self: start; margin-left: calc(30% - 1px); }
}
.hero-arch .arch-org { padding: 18px 12px 10px; }
#system-architecture .cc-arch.hero-arch { padding: 22px 28px; }
.cc-skill a { color: inherit; }
.cc-arch.hero-arch .cc-col .arch-link { height: 44px; }
.cc-arch.hero-arch .arch-flow > .arch-node { container-type: inline-size; padding: 24px 16px; }
.cc-arch.hero-arch .cc-col .arch-node { padding: 18px 16px; }
.cc-agents { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.cc-agents-lbl { color: var(--muted); font-size: clamp(11px, 2.8cqi, 12.5px); font-weight: 700; }
.cc-arch.hero-arch .cc-agents .arch-chips { margin-top: 0; gap: 8px clamp(3px, 1.1cqi, 5px); flex-wrap: nowrap; }
.cc-arch.hero-arch .cc-agents .arch-chips span { font-size: clamp(10px, 2.6cqi, 11.5px); padding: 3px clamp(5px, 1.6cqi, 7px); white-space: nowrap; }
.cc-arch.hero-arch .cc-agents .arch-chips span.more { padding-left: 3px; padding-right: 0; border-color: transparent; background: none; color: var(--muted); }
.cc-agents:has(.cc-agent-field) { position: relative; display: block; }
.cc-agents:has(.cc-agent-field) .cc-agents-lbl { position: absolute; top: calc(14px + 21.5px); left: 50%; transform: translate(-50%, -50%); z-index: 1; padding: 4px 14px; border-radius: 999px; background: var(--card); box-shadow: 0 0 10px 8px var(--card); font-size: 13px; color: var(--ink); }
.cc-agent-field {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; height: 43px; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent);
}
.cc-agent-field i { flex: none; width: 34px; height: 11px; border: 1px solid color-mix(in srgb, var(--blue) 30%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--blue) 12%, var(--card)); }
.cc-agent-field i:nth-child(8n+2) { width: 22px; }
.cc-agent-field i:nth-child(8n+3) { width: 46px; }
.cc-agent-field i:nth-child(8n+4) { width: 28px; }
.cc-agent-field i:nth-child(8n+5) { width: 40px; }
.cc-agent-field i:nth-child(8n+6) { width: 24px; }
.cc-agent-field i:nth-child(8n+7) { width: 52px; }
.cc-agent-field i:nth-child(8n) { width: 30px; }
.cc-arch.hero-arch .arch-chips { gap: 6px; }
.cc-arch.hero-arch .arch-chips span { font-size: 12px; padding: 3px 9px; }
.hero-arch .arch-flow > .arch-link .arch-lbl { font-family: var(--mono); font-size: 11.5px; }
.cc-clients { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, 1fr) minmax(0, .85fr); gap: var(--g); width: 100%; }
.cc-clients .cc-cc { position: relative; align-content: center; }
.cc-arch .cc-clients .cc-cc { padding: 15px 10px 18px; }
.cc-arch .cc-clients .cc-skill { position: absolute; left: 50%; bottom: 0; z-index: 1; margin: 0; transform: translate(-50%, 50%); flex-wrap: nowrap; width: max-content; }
.cc-arch .cc-clients .cc-skill span { white-space: nowrap; }
.cc-server-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.cc-arch.hero-arch .cc-server-head strong { font-size: 13px; line-height: 1.25; }
.cc-join { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, 1fr) minmax(0, .85fr); gap: 0 var(--g); width: 100%; justify-items: center; }
.cc-join i { position: relative; width: 2px; height: 30px; background: var(--slate); opacity: .55; }
.cc-join i { height: 17px; margin-top: 13px; }
.cc-join b { grid-column: 1 / -1; justify-self: stretch; height: 2px; margin: 0 calc((100% - 3 * var(--g)) * .85 / 8 - 1px) 0 calc((100% - 3 * var(--g)) * 1.3 / 8 - 1px); background: var(--slate); opacity: .55; }
.arch-chips span.more { border-style: dashed; color: var(--faint); }
.cc-arch { padding: 22px 20px; }
.cc-arch .arch-link { height: 32px; }
.cc-arch .arch-node { padding: 12px 14px; }
.cc-arch .arch-node .arch-chips { margin-top: 8px; }
.cc-arch .arch-node > span { font-size: 12px; }
.cc-arch .arch-chips { gap: 5px; }
.cc-arch .arch-chips span { font-size: 11px; padding: 2px 8px; }
.cc-arch .arch-flow > .arch-node { width: 100%; }
.cc-arch .cc-cc { padding: 10px 10px; justify-items: center; text-align: center; }
.cc-arch .cc-cc strong { font-size: 13px; line-height: 1.25; }
.cc-arch .cc-cc strong a { color: inherit; }
.cc-arch .cc-cc strong a:hover { color: var(--blue-ink); }
.cc-arch .cc-pair-box { justify-self: stretch; container-type: inline-size; }
.cc-arch .cc-pair { white-space: nowrap; }
@container (max-width: 7em) {
  .cc-arch .cc-sep { display: block; height: 0; overflow: hidden; }
}
.cc-arch .arch-sys .arch-node strong a, .cc-arch .arch-out .arch-ext strong a { color: inherit; }
.cc-arch .arch-sys .arch-node strong a:hover, .cc-arch .arch-out .arch-ext strong a:hover { color: var(--blue-ink); }
.cc-arch .cc-cc .arch-chips { margin-top: 6px; justify-content: center; }
.cc-arch { --org-inset: 13px; --sys-x: 34px; --sys-y: 10px; --ext-drop: 44px; --ext-inset: 30px; --srv-rise: calc(var(--ext-drop) + var(--sys-y)); }
.cc-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--sys-x); align-items: stretch; width: 100%; }
.cc-main .cc-server { margin-bottom: var(--srv-rise); }
@media (min-width: 580px) {
  .hero-arch .arch-org > .cc-down { justify-self: start; margin-left: calc((100% - var(--sys-x)) / 4 - 1px); }
}
.cc-main .cc-server { container-type: inline-size; display: flex; flex-direction: column; justify-content: center; padding: 16px 16px; }
.cc-main .cc-server { align-items: center; text-align: center; }
.cc-main .cc-server { background: var(--cloud-bg); border-color: var(--cloud-border); }
.cc-arch.hero-arch .cc-main .cc-server-head strong { color: #fff; }
.cc-main .cc-server .cc-cluster .ic { background: rgba(255, 255, 255, .1); color: #a9c6ff; }
.cc-main .cc-server .cc-server-links { color: #c7d5f5; }
.cc-main .cc-server .cc-server-links a { color: #a9c6ff; }
.cc-main .cc-server .cc-server-links a:hover { color: #fff; }
.cc-arch .cc-clients .cc-ui { background: var(--cloud-bg); border-color: var(--cloud-border); }
.cc-arch .cc-clients .cc-ui strong { color: #fff; }
.cc-arch .cc-clients .cc-ui strong a:hover { color: #a9c6ff; }
.cc-arch .arch-key { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1; }
.cc-arch .arch-key i { width: 14px; height: 14px; border: 1px solid var(--cloud-border); border-radius: 4px; background: var(--cloud-bg); }
.cc-main .cc-server-head { justify-content: center; }
.cc-modes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; width: 100%; margin-top: 8px; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.3; }
.cc-mode { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cc-mode-ic { display: inline-flex; gap: 2px; color: var(--blue-ink); }
.cc-mode-ic svg { width: 15px; height: 15px; }
.cc-modes em { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 500; }
.cc-arch .sep { font-style: normal; }
.cc-cluster { display: flex; justify-content: center; gap: 8px; width: 100%; margin-bottom: 12px; }
.cc-cluster .ic { display: grid; place-items: center; flex: 0 1 44px; min-width: 0; aspect-ratio: 1; border-radius: 13px; background: var(--icon-bg); color: var(--icon-fg); }
.cc-cluster .ic svg { width: 55%; height: 55%; }
.cc-main .arch-branch .arch-node { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
.cc-main .arch-branch .arch-node strong { align-self: end; line-height: 1.25; }
.cc-main .arch-branch .arch-node > span { align-self: start; }
.cc-main .sys-ic { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--icon-bg); color: var(--icon-fg); }
.cc-main .sys-ic svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .cc-cluster { gap: 6px; margin-bottom: 10px; }
  .cc-cluster .ic { flex-basis: 34px; border-radius: 10px; }
}
@media (max-width: 860px) {
  .cc-main .arch-branch .arch-node { grid-template-columns: minmax(0, 1fr); }
  .cc-main .sys-ic { display: none; }
}
@media (max-width: 344px) {
  .cc-cluster { gap: 4px; }
  .cc-cluster .ic { flex-basis: 30px; border-radius: 9px; }
}
.cc-main .cc-server .cc-server-links { margin-top: 6px; color: var(--muted); font-size: 11.5px; font-weight: 500; line-height: 1.4; }
.cc-main .arch-sys { grid-template-rows: 1fr 1fr var(--ext-drop); justify-items: stretch; gap: var(--sys-y); padding-left: 0; }
.cc-main .arch-branch:not(.arch-branch-ext) { align-items: stretch; }
.cc-main .arch-branch .arch-node { align-content: center; }
.cc-main .arch-sys::before { display: none; }
.cc-main .arch-branch::before { left: -34px; width: 29px; }
.cc-main .arch-branch::after { left: -5px; }
.cc-main .arch-branch { width: 100%; }
.cc-main .arch-branch .arch-node { width: 100%; padding: 12px 12px; }
.cc-main .arch-branch .arch-node strong { font-size: 13px; }
.cc-main .arch-sys .arch-node > span { padding: 0; border: 0; border-radius: 0; background: none; font-size: 11.5px; font-weight: 500; line-height: 1.4; }
.cc-arch .cc-clients .cc-roles span { font-size: 11px; }
.hero-arch .arch-flow > .arch-link.lnk { height: 36px; margin-left: 0; }
.cc-arch.hero-arch .arch-flow > .arch-node.cloud { container-type: normal; padding: 18px 16px 12px; }
#user-interfaces .ui-fig { max-width: 860px; margin: 0 auto; }
.cc-arch .arch-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--sys-x); justify-items: center; align-items: stretch; width: 100%; padding: 0 var(--org-inset); box-sizing: border-box; }
.cc-arch .arch-sys .arch-branch-ext { height: var(--ext-drop); }
.cc-arch .arch-sys .arch-branch-ext::before { left: calc(-1 * var(--sys-x) - var(--ext-inset)); top: calc(-1 * var(--sys-y)); transform: none; width: calc(50% + var(--sys-x) + var(--ext-inset)); height: calc(50% + var(--sys-y) + 1px); box-sizing: border-box; border: 2px solid var(--slate); border-top: 0; border-right: 0; border-radius: 0 0 0 8px; background: none; }
.cc-arch .arch-sys .arch-branch-ext::after { display: none; }
.cc-arch .arch-out .arch-link { height: 40px; }
.cc-arch .arch-out { --fork-line: color-mix(in srgb, var(--slate) 55%, var(--bg)); }
.cc-arch .arch-out .lnk { height: calc(52px + var(--srv-rise)); margin-top: calc(-12px - var(--srv-rise)); margin-bottom: 0; background: var(--fork-line); }
.cc-arch .arch-out .lnk::after { display: block; border-top-color: var(--fork-line); opacity: 1; }
.cc-arch .arch-out .out-llm { height: 74px; margin-top: -34px; }
.cc-arch .arch-out .arch-lbl { font-family: var(--mono); font-size: 11.5px; }
.cc-arch .arch-out > .arch-node { width: 100%; }
.cc-arch .arch-out .arch-ext { width: auto; justify-self: stretch; justify-items: center; align-content: center; gap: 4px; padding: 20px 14px 14px; text-align: center; }
.cc-arch .arch-out .arch-ext .ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 13px; background: var(--icon-bg); color: var(--icon-fg); }
.cc-arch .arch-out .arch-ext .ic svg { width: 24px; height: 24px; }
.cc-arch .arch-out .arch-ext strong { font-size: 13px; line-height: 1.25; }
.cc-arch .arch-out .arch-ext > span { font-size: 12px; line-height: 1.4; }
@media (max-width: 579px) {
  .cc-arch .sep { display: block; height: 0; overflow: hidden; }
}
@media (min-width: 580px) and (max-width: 700px) {
  .cc-main .arch-sys .arch-node > span { font-size: 10px; }
  .cc-arch .arch-out .arch-ext > span { font-size: 10.5px; }
  .cc-arch .cc-clients .cc-roles span { font-size: 10px; }
}
.cc-arch .arch-out .cloud { justify-items: center; align-content: center; gap: 4px; padding: 20px 14px 14px; text-align: center; }
.cc-arch .arch-out .cloud-hosts { --host-gap: 8px; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: flex; white-space: nowrap; }
.cc-arch .cloud-hosts .cloud-host { position: absolute; top: 50%; transform: translateY(-50%); }
.cc-arch .cloud-hosts > :first-child { right: calc(100% + var(--host-gap)); }
.cc-arch .cloud-hosts > :last-child { left: calc(100% + var(--host-gap)); }
.cc-arch .cloud-host { padding: 3px 11px; border: 1.5px solid var(--cloud-border); border-radius: 999px; background: var(--cloud-bg); color: #a9c6ff; font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.cc-arch a.cloud-host:hover { color: #fff; }
.cc-arch .cloud-host-own { border-style: dashed; border-color: color-mix(in srgb, #a9c6ff 55%, transparent); color: #c7d5f5; }
.cc-arch .cloud-hosts b { padding: 2px 12px 4px; border-radius: 999px; background: #e6edf9; color: #131f38; font-size: 15px; font-style: italic; font-weight: 700; line-height: 1.2; box-shadow: 0 0 0 3px var(--card); }
.cc-arch .arch-out .cloud .ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 13px; background: rgba(255, 255, 255, .1); color: #a9c6ff; }
.cc-arch .arch-out .cloud .ic svg { width: 24px; height: 24px; }
.cc-arch .arch-out .cloud strong { font-size: 13px; line-height: 1.25; }
.cc-arch .arch-out .cloud strong a { color: inherit; }
.cc-arch .arch-out .cloud > span { max-width: 300px; color: #c7d5f5; font-size: 12px; line-height: 1.4; }
.cc-arch .arch-out .cloud > span em { display: block; margin-top: 2px; font-style: normal; color: #a9c6ff; font-size: 11.5px; }
.cc-arch .arch-out .cloud > span em a { color: inherit; }
.cc-arch .arch-out .cloud > span em a:hover { color: #fff; }
@media (max-width: 640px) {
  .cc-arch { --org-inset: 7px; --sys-x: 24px; --sys-y: 8px; --ext-inset: 22px; }
}
@media (max-width: 579px) {
  .cc-arch { --org-inset: 5px; }
}
@media (max-width: 352px) {
  .cc-arch { --sys-x: 20px; }
}
@media (max-width: 640px) {
  .cc-arch .arch-out .arch-link { height: 58px; }
  .cc-arch .arch-out .lnk { height: calc(50px + var(--srv-rise)); margin-top: calc(-10px - var(--srv-rise)); margin-bottom: 0; }
  .cc-arch .arch-out .lnk::after { display: block; border-top-color: var(--fork-line); opacity: 1; }
  .cc-arch .arch-out .cloud .arch-cloud-lbl { left: 50%; transform: translate(-50%, -50%); }
  .cc-arch .arch-out .out-llm { height: 72px; margin-top: -32px; }
  .cc-arch .arch-out .arch-lbl { max-width: 100px; white-space: normal; }
  .cc-arch .arch-out .cloud { padding: 18px 8px 12px; }
  .cc-arch .arch-out .cloud-hosts { position: static; transform: none; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 8px; }
  .cc-arch .cloud-hosts .cloud-host { position: static; transform: none; }
  .cc-arch .cloud-host { padding: 2px 7px; font-size: 10px; }
  .cc-arch .cloud-hosts b { padding: 1px 11px 3px; font-size: 13px; box-shadow: none; }
  .cc-arch .arch-out .cloud .arch-cloud-lbl { font-size: 10.5px; padding: 2px 8px; }
  .cc-arch .arch-out .arch-ext { padding: 18px 8px 12px; }
}
@media (min-width: 641px) and (max-width: 720px) {
  .cc-arch .cloud-host { padding: 3px 9px; font-size: 11px; }
}
.cc-arch .arch-out .cloud .cloud-what { max-width: none; color: #c7d5f5; font-size: 12px; line-height: 1.4; }
.cc-arch .arch-out .cloud .cloud-what a { color: inherit; }
.cc-arch .arch-out .cloud .cloud-what a:hover { color: #fff; }
.cc-arch .arch-out .cloud .cloud-mode { color: #a9c6ff; }
@media (max-width: 640px) {
  .cc-arch .arch-out .cloud { padding-left: 6px; padding-right: 6px; }
  .cc-arch .arch-out .cloud .cloud-what { font-size: 10.5px; }
}
@media (max-width: 380px) {
  .cc-arch .arch-out .cloud { padding-left: 3px; padding-right: 3px; }
  .cc-arch .arch-out .cloud .cloud-what { font-size: 10px; }
}
@media (max-width: 354px) {
  .cc-arch .arch-out .cloud .cloud-what { font-size: 9.5px; letter-spacing: -.01em; }
}
@media (max-width: 336px) {
  .cc-arch .arch-out .cloud .cloud-what { font-size: 9px; }
}
@media (max-width: 324px) {
  .cc-arch .arch-out .cloud .cloud-what { letter-spacing: -.03em; }
}
@media (max-width: 340px) {
  .cc-arch .cloud-host { padding: 2px 5px; font-size: 9.5px; letter-spacing: 0; }
  .cc-arch .arch-out .cloud { padding-left: 4px; padding-right: 4px; }
}
.cc-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; width: 100%; }
.cc-col { display: grid; grid-template-rows: auto 1fr; justify-items: center; }
.cc-col .arch-node { width: 100%; align-content: start; }

.arch-flow { display: grid; justify-items: center; }
.arch-actor {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-soft); color: var(--ink); font-size: 14px; font-weight: 600;
}
.arch-actor svg { color: var(--slate); flex: none; }
.arch-actor-name { display: inline-flex; align-items: center; gap: 8px; line-height: 1.2; }
.arch-actor em { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--faint); margin-top: 2px; }

.arch-link { position: relative; display: flex; align-items: center; width: 2px; height: 51px; background: var(--slate); opacity: .55; }
.arch-link::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--slate); border-bottom: 0;
}
.arch-link.two::before {
  content: ""; position: absolute; left: 50%; top: -1px; transform: translateX(-50%);
  border: 5px solid transparent; border-bottom-color: var(--slate); border-top: 0;
}
.arch-lbl {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; color: var(--faint); font-size: 12px; font-weight: 550;
}
.arch-lbl em { display: block; margin-top: 2px; font-style: normal; font-size: 11px; opacity: .75; }
.arch-org {
  position: relative; width: 100%; padding: 14px; border: 1.5px dashed var(--org-border); border-radius: 14px;
  background: var(--org-bg);
}
.arch-org-lbl {
  position: absolute; top: 0; left: 18px; transform: translateY(-50%); margin: 0; padding: 3px 11px;
  border: 1.5px dashed var(--org-border); border-radius: 999px; background: var(--card);
  color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; white-space: nowrap;
}
.arch-node {
  display: grid; gap: 3px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--card-shadow);
}
.arch-node strong { color: var(--ink); font-size: 15px; letter-spacing: -0.01em; }
.arch-node > span { color: var(--muted); font-size: 13px; }
.arch-node.cloud { width: 100%; background: var(--cloud-bg); border-color: var(--cloud-border); }
.arch-node.cloud strong { color: #fff; }
.arch-node.cloud > span { color: #93a5c4; }
.arch-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.arch-fw { margin-top: 12px; padding: 11px 14px; border: 1px solid var(--feat-border); border-radius: 10px; background: var(--icon-bg); }
.arch-fw strong { color: var(--ink); font-size: 13px; }

.arch-org { display: grid; justify-items: center; padding: 24px 18px; }
.arch-org > .arch-node { width: 100%; }

.arch-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; width: 100%; }
.arch-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; width: 100%; }
.arch-actors { grid-column: 1 / -1; grid-row: 1; display: flex; justify-content: flex-start; gap: 16px; }
.arch-actorcol { display: grid; grid-template-rows: 1fr auto; justify-items: center; min-width: 0; }
.arch-actors .arch-actor { align-self: stretch; justify-content: center; gap: 4px; padding: 14px 18px; font-size: 15px; white-space: nowrap; }
.arch-actors .arch-actor svg { width: 20px; height: 20px; }
.arch-actors .arch-actor em { font-size: 12.5px; white-space: normal; text-align: center; max-width: 190px; line-height: 1.35; }
.arch-server { grid-column: 1; grid-row: 2; }
.arch-grid .arch-hlink { grid-column: 2; grid-row: 2; width: 12px; }
.arch-grid .arch-sys { grid-column: 3; grid-row: 2; padding-left: 22px; }
.arch-grid .arch-branch::before { left: -22px; width: 13px; }
.arch-link.lnk { opacity: 1; background: color-mix(in srgb, var(--slate) 55%, transparent); }
.arch-link.lnk::before, .arch-link.lnk::after { opacity: .55; }
a.arch-lbl { color: var(--blue-ink); }
.arch-part a, a.arch-cloud-lbl { color: #a9c6ff; }
#system-architecture .howgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
#system-architecture .arch { display: flex; flex-direction: column; justify-content: center; padding: 30px 22px; }
.arch-hlink { position: relative; width: 34px; height: 2px; background: var(--slate); opacity: .55; }

.arch-sys { position: relative; display: grid; gap: 10px; justify-items: start; padding-left: 30px; }
.arch-sys::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px;
  width: 2px; background: var(--slate); opacity: .55;
}
.arch-branch { position: relative; display: flex; align-items: center; gap: 8px; }
.arch-branch em { font-style: normal; max-width: 132px; color: var(--faint); font-size: 11px; line-height: 1.35; }
.arch-branch::before {
  content: ""; position: absolute; left: -30px; top: 50%; transform: translateY(-50%);
  width: 21px; height: 2px; background: var(--slate); opacity: .55;
}
.arch-branch::after {
  content: ""; position: absolute; left: -10px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--slate); border-right: 0; opacity: .55;
}
.arch-sys span {
  padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-soft); color: var(--muted); font-size: 12px; font-weight: 550;
}

.arch-node.cloud { position: relative; padding: 24px 20px 18px; }
.arch-cloud-lbl {
  position: absolute; top: 0; left: 18px; transform: translateY(-50%); padding: 3px 11px;
  border: 1.5px solid var(--cloud-border); border-radius: 999px; background: var(--cloud-bg);
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; white-space: nowrap;
}
.arch-parts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.arch-part {
  padding: 13px 14px; border: 1px solid rgba(147, 165, 196, .34); border-radius: 10px;
  background: rgba(255, 255, 255, .07); color: #dbe5f5; font-size: 13px; font-weight: 600;
  text-align: center;
}
.arch-node.cloud .arch-chips span { border-color: rgba(147, 165, 196, .32); background: rgba(255, 255, 255, .08); color: #c6d3e8; }
.arch-chips span {
  padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-soft); color: var(--muted); font-size: 12px; font-weight: 550;
}

#agent-harness .section-head h2 { font-size: 24px; }
#agent-harness .section-head p { text-wrap: balance; }
.hx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.hx-side { padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--card-shadow); }
.hx-side.is-tactet { border-color: var(--feat-border); background: var(--feat-bg); }
.hx-side h3 { margin: 0 0 16px; font-size: 16px; color: var(--muted); }
.hx-side.is-tactet h3 { color: var(--ink); }
.hx-path { --zs: 10.5px; --zt: 28px; --zb: 10.5px; display: flex; align-items: stretch; justify-content: center; margin: 0 -22px 18px; padding: 14px 22px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); color: var(--slate); }
.hx-zone { display: flex; flex-direction: column; gap: 6px; padding: 6px 9px 9px; border: 1.5px dashed var(--org-border); border-radius: 11px; background: var(--card); }
.hx-zone b { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.3; white-space: nowrap; }
.hx-zc { flex: 1; display: flex; align-items: center; justify-content: center; }
.hx-zc > :only-child { flex: 1; }
.hx-fan.is-cross { z-index: 1; flex: 0 1 48px; min-width: 34px; max-width: none; margin: var(--zt) calc(-1 * var(--zs)) var(--zb); }
.hx-to.is-cross { z-index: 1; flex: 0 1 46px; min-width: 30px; max-width: none; align-self: center; top: calc((var(--zt) - var(--zb)) / 2); margin: 0 calc(3px - var(--zs)) 0 calc(-1 * var(--zs)); }
.hx-n { flex: 0 1 auto; padding: 7px 11px; border: 1.5px solid var(--org-border); border-radius: 9px; background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 650; line-height: 1.25; text-align: center; }
.hx-n { white-space: nowrap; }
.hx-n.is-srv { border-color: var(--cloud-border); background: var(--cloud-bg); color: #fff; }
.hx-to { position: relative; flex: 1 1 18px; min-width: 12px; max-width: 44px; height: 1.6px; margin-right: 3px; background: currentColor; }
.hx-to::after, .hx-sys i::before { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -4px; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid var(--slate); }
.hx-to::after { right: -3px; }
.hx-fan { position: relative; flex: 1 1 22px; min-width: 14px; max-width: 48px; align-self: stretch; }
.hx-fan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-sys { flex: 0 0 auto; display: grid; grid-auto-rows: 1fr; gap: 4px; }
.hx-sys i { position: relative; margin-left: 3px; padding: 3px 9px; border-radius: 6px; background: var(--tag-state-bg); color: var(--tag-state-fg); font-size: 11.5px; font-style: normal; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.hx-sys i::before { left: -4px; }
.hx-win { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; padding: 10px 11px 11px; border: 1.5px solid var(--org-border); border-radius: 12px; background: var(--org-bg); }
.hx-win-t { color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.hx-toks { display: flex; flex-wrap: wrap; gap: 5px; }
.hx-b { padding: 4px 9px; border-radius: 7px; background: var(--tag-state-bg); color: var(--tag-state-fg); font-size: 12.5px; font-weight: 550; line-height: 1.35; white-space: nowrap; }
.hx-b code { font-family: var(--mono); font-size: 12px; }
.hx-side { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.hx-facts { display: grid; align-items: stretch; gap: 0; margin: 0; padding: 0; list-style: none; }
.hx-facts li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 2px; border-top: 1px solid var(--line-soft); color: var(--ink); font-size: 14px; line-height: 1.4; }
.hx-facts .hx-h { padding: 16px 2px 7px; border-top: 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.hx-facts .hx-h:first-child { padding-top: 2px; }
.hx-facts .hx-h + li { border-top-color: var(--line); }
.hx-side:not(.is-tactet) .hx-facts li { color: var(--muted); }
.hx-facts svg { flex: 0 0 auto; box-sizing: border-box; width: 18px; height: 18px; margin-top: 1px; padding: 4px; border-radius: 50%; }
.hx-facts a { color: inherit; text-decoration: underline; text-decoration-color: var(--slate); text-underline-offset: 3px; }
.hx-facts a:hover { color: var(--blue-ink); }
.hx-no { background: var(--tag-state-bg); color: var(--tag-state-fg); }
.hx-yes { background: var(--tag-run-bg); color: var(--tag-run-fg); }
@media (min-width: 901px) {
  .hx-side { grid-template-rows: subgrid; grid-row: span 13; row-gap: 0; }
  .hx-facts { grid-template-rows: subgrid; grid-row: span 10; row-gap: 0; }
  .hx-side h3 { align-self: start; }
}
@media (max-width: 900px) {
  .hx { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 480px) {
  .hx-side { padding: 16px 16px 18px; }
  .hx-path { --zs: 6.5px; --zt: 25px; --zb: 7.5px; margin: 0 -16px 16px; padding: 12px 8px; }
  .hx-zone { gap: 4px; padding: 5px 5px 6px; }
  .hx-zone b { gap: 4px; font-size: 10.5px; }
  .hx-zone b svg { width: 11px; height: 11px; }
  .hx-fan.is-cross { min-width: 25px; }
  .hx-to.is-cross { min-width: 22px; }
  .hx-n { padding: 6px 7px; font-size: 12px; white-space: normal; }
  .hx-sys i { padding: 3px 6px; font-size: 11px; }
}
@media (max-width: 360px) {
  .hx-side { padding: 14px 12px 16px; }
  .hx-path { margin: 0 -12px 16px; padding: 10px 5px; }
  .hx-zone b { font-size: 10px; }
  .hx-n { padding: 6px 5px; font-size: 11.5px; }
  .hx-sys i { padding: 3px 5px; font-size: 10.5px; }
}
.cardgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pcard {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--card-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-lg); border-color: var(--pcard-hover); }
.pcard .icon {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; width: 44px; height: 44px;
  border-radius: 12px; background: var(--icon-bg);
  color: var(--icon-fg);
}
.pcard h3 { flex: 1 1 max-content; margin: 0; font-size: 17px; }
.pcard p { flex: 1 1 100%; margin-top: -6px; color: var(--muted); font-size: 14px; }

.convo-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.convo { border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--card-shadow-lg); overflow: hidden; }
.convo-title {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft); color: var(--muted); font-size: 13px; font-weight: 600;
}
.convo-title .lock { color: var(--ok); }
.hero-demo .convo-title { color: var(--ink); font-size: 14.5px; font-weight: 700; }
.convo-body { padding: 22px; display: grid; gap: 16px; }
.turn-user {
  justify-self: end; max-width: 85%;
  padding: 11px 16px; border-radius: 14px 14px 4px 14px;
  background: var(--bubble-bg); color: #eef2f9; font-size: 14.5px;
}
.turn-agent { max-width: 92%; display: grid; gap: 8px; }
.turn-agent .who { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.turn-agent .who .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink); font-size: 12px; font-weight: 650;
}
.turn-agent .who .chip svg { color: var(--blue); }
.turn-agent .msg {
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px;
  background: var(--card); color: var(--body); font-size: 14.5px;
}
.turn-agent .msg .fine { display: block; margin-top: 6px; color: var(--faint); font-size: 12.5px; }
.turn-agent .msg.ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; padding: 10px 14px 10px; background: var(--bg-soft); }
.turn-agent .ask .q { flex: 1 0 100%; color: var(--body); font-size: 14.5px; }
.turn-agent .ask .q b { color: var(--ink); font-weight: 600; }
.turn-agent .ask .opts { display: flex; gap: 8px; }
.turn-agent .ask .opts i { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); white-space: nowrap; font-size: 12.5px; font-style: normal; font-weight: 600; }
.turn-agent .ask .opts i::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--slate); box-sizing: border-box; }
.turn-agent .ask .opts i.on::before { background: var(--ink); border-color: var(--ink); }
.turn-agent .ask .submit { margin-left: auto; padding: 5px 12px; border-radius: 8px; white-space: nowrap; border: 1px solid var(--blue); background: var(--card); color: var(--blue-ink); font-size: 12.5px; font-weight: 650; }
.ctx-marker {
  display: flex; align-items: center; gap: 10px; margin: 2px 0;
  color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.ctx-marker::before, .ctx-marker::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.convo-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.convo-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); font-size: 15.5px; }
.convo-points svg { flex: 0 0 auto; margin-top: 3px; color: var(--blue); }

.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: start; }
.howgrid h2, .convo-wrap h2, .split h2 { font-size: 22px; }
.howgrid .section-head { margin-bottom: 18px; }
.howgrid > :last-child, .convo-wrap > :last-child, .split > :last-child { margin-top: 36px; }
.convo-wrap > :last-child { margin-top: 37px; }


.howgrid > :last-child { margin-top: 37px; }
#system-architecture .howgrid > :last-child { margin-top: 0; }
.codecard {
  border-radius: 16px; overflow: hidden;
  background: #101b33; border: 1px solid #22304f;
  box-shadow: 0 30px 70px -28px rgba(16, 27, 51, .55);
}
:root[data-theme="dark"] .codecard, :root[data-theme="dark"] .convo, :root[data-theme="dark"] #conversations .cv::before, :root[data-theme="dark"] .arch { box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.codecard .bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: #0b1428; border-bottom: 1px solid #22304f;
}
.codecard .bar .d { width: 10px; height: 10px; border-radius: 50%; background: #2c3c5f; }
.codecard .bar .fname { margin-left: 8px; color: #7f92b8; font-family: var(--mono); font-size: 12.5px; }
.codecard .bar .copy { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 24px; height: 20px; border: 0; border-radius: 6px; background: transparent; color: #7f92b8; cursor: pointer; transition: color .15s ease, background .15s ease; }
.codecard .bar .copy:hover { color: #c7d3ea; background: rgba(255, 255, 255, .07); }
.codecard .bar .copy[hidden] { display: none; }
.codecard pre {
  margin: 0; padding: 18px 20px; overflow: auto;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #c7d3ea;
  color-scheme: dark; scrollbar-width: thin; scrollbar-color: #34456b #101b33;
}
.codecard pre::-webkit-scrollbar { width: 10px; height: 10px; }
.codecard pre::-webkit-scrollbar-track { background: #101b33; }
.codecard pre::-webkit-scrollbar-thumb { background: #34456b; border-radius: 5px; border: 2px solid #101b33; }
.codecard pre::-webkit-scrollbar-thumb:hover { background: #44588a; }
.codecard code { font-family: inherit; }
.tk-key { color: #8ab4ff; }
.tk-str { color: #7fd8c1; }
.tk-expr { color: #f0c674; }
.tk-pun { color: #5b6b8e; }
.tk-bool { color: #d497e8; }
.tk-com { color: #6f819f; font-style: italic; }
.feature-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--body); }
.feature-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--ok); }
.feature-list strong { color: var(--ink); font-weight: 600; }

.factrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.fact {
  padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  box-shadow: var(--card-shadow);
}
.fact .n { display: block; color: var(--ink); font-size: 30px; font-weight: 750; letter-spacing: -0.03em; }
.fact .l { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

.band { position: relative; overflow: hidden; background: var(--band-bg); color: #c7d2e6; }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(143, 161, 189, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(143, 161, 189, .09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(900px 460px at 78% 10%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 460px at 78% 10%, #000 20%, transparent 75%);
}
.band .container { position: relative; }
.band .section-head { margin-bottom: 40px; }
.band h2 { color: #fff; }
.band .kicker { color: var(--slate); }
.band .section-head p { color: #9fb0cc; }
.band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.page-hero { padding: 72px 0 26px; }
.page-hero .kicker { color: var(--blue-ink); }
.page-hero h1 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; text-wrap: balance; }
.page-hero h1.status { font-size: 18px; font-weight: 600; color: var(--body); }
.page-hero .lead { max-width: 62ch; margin-top: 18px; font-size: 17.5px; color: var(--body); }
.page-hero .note { max-width: 70ch; margin-top: 14px; font-size: 15.5px; color: var(--muted); }
.page-body { padding: 30px 0 96px; }
.agents-status { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.group-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.group-jump a { padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: 13.5px; font-weight: 550; }
.group-jump a:hover { color: var(--ink); border-color: var(--slate); text-decoration: none; }
.agent-group { margin-top: 52px; }
.agent-group h2 { font-size: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.agent-list { margin: 0; padding: 0; list-style: none; }
.agent-list li { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 6px 32px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.agent-list h3 { font-size: 15.5px; font-weight: 700; }
.agent-list code { display: block; margin-top: 4px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.agent-list p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.55; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; }
.agent-btn { padding: 0; border: 0; background: none; color: var(--blue-ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.agent-btn:hover { text-decoration: underline; }
.agent-panel { grid-column: 1 / -1; margin: 8px 0 6px; }
.agent-prompt-list { display: grid; gap: 12px; }
.agent-prompt { padding: 14px 18px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.agent-list .agent-prompt h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.agent-prompt dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.agent-prompt dt { padding-top: 2px; font-size: 13px; font-weight: 650; color: var(--ink); }
.agent-prompt dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--body); white-space: pre-wrap; overflow-wrap: anywhere; }
.agent-list .agent-prompt dd code { display: inline; margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--ink); }
.agent-source .codecard pre { max-height: 560px; }
.codecard .key { color: #9db4e0; }
.codecard .str { color: #b5e0a8; }
.codecard .num { color: #f2c98d; }
.codecard .kw { color: #f0a8c0; }
.codecard .cm { color: #6b7d9e; font-style: italic; }
@media (max-width: 640px) {
  .agent-list li { grid-template-columns: minmax(0, 1fr); }
  .agent-prompt dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .agent-prompt dd + dt { margin-top: 10px; }
}
.prose { max-width: 720px; }
.prose p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.75; }
.prose h2 { margin: 46px 0 16px; font-size: 24px; }
.prose ul { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin: 8px 0; }
.recaptcha-v3 { line-height: 0; min-width: 256px; min-height: 60px; }
.recaptcha-v3 iframe { display: block; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--blue); }
.cmdcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--card-shadow); padding: 20px 24px 24px; display: grid; gap: 13px; }
.cmdcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line-soft); font-size: 13px; font-weight: 700; color: var(--ink); }
.cmdcard-head a { color: var(--muted); font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cmdcard-head a:hover { color: var(--blue-ink); }
.cg { display: grid; grid-template-columns: 148px 1fr; gap: 12px; align-items: baseline; }
.cg-l { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.cg-c { display: flex; flex-wrap: wrap; gap: 6px; }
.cg-c a { display: flex; text-decoration: none; }
.cg-c code { font-family: var(--mono); font-size: 12.5px; padding: 3px 8px; border-radius: 7px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.cg-c a:hover code { border-color: var(--blue); color: var(--blue-ink); }

.numbered .inicon { vertical-align: -4px; color: var(--muted); }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 26px 0; padding: 18px 20px;
  border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0; background: var(--bg-soft);
  font-size: 15px; color: var(--body);
}
.callout svg { flex: 0 0 auto; margin-top: 2px; color: var(--blue); }

.numbered { counter-reset: sec; max-width: 780px; }
.numbered .step-sec { position: relative; padding: 0 0 52px 74px; counter-increment: sec; }
.numbered .step-sec:last-child { padding-bottom: 0; }
.numbered .step-sec::before {
  content: counter(sec, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow);
  color: var(--ink); font-family: var(--mono); font-size: 14px; font-weight: 600;
}
.numbered .step-sec::after {
  content: ""; position: absolute; left: 23px; top: 56px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--line), var(--line-soft));
}
.numbered .step-sec:last-child::after { display: none; }
.callout.after-steps { max-width: 706px; margin: 48px 0 0 74px; }
.numbered h2 { font-size: 24px; margin-bottom: 10px; }
.numbered h3 { font-size: 16.5px; margin: 22px 0 8px; }
.numbered p { margin: 0 0 12px; color: var(--body); font-size: 15.75px; line-height: 1.7; }
.numbered p.dim { color: var(--muted); font-size: 14.75px; }
.numbered .codecard { margin-bottom: 14px; }
.numbered ul, .numbered ol { margin: 0 0 12px; padding-left: 22px; }
.numbered li { margin: 6px 0; color: var(--body); font-size: 15.75px; line-height: 1.7; }

.shell {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 16px 0; padding: 13px 8px 13px 18px; max-width: 560px;
  border-radius: 12px; background: #101b33; border: 1px solid #22304f;
  font-family: var(--mono); font-size: 14px; color: #d7e2f5;
}
.shell .ps1 { color: var(--slate); user-select: none; margin-right: 10px; }
.shell button { display: inline-flex; padding: 7px; border: 0; border-radius: 7px; background: transparent; color: #7f92b8; cursor: pointer; }
.shell button:hover { background: #1a2745; color: #fff; }

.form-card {
  max-width: 560px; margin-top: 18px;
  padding: 28px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--card); box-shadow: var(--card-shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 13.5px; font-weight: 600; }
.field input {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--input-bg); color: var(--ink); font-family: var(--font); font-size: 15px;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.form-card .actions { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.form-card .fine { margin-top: 14px; color: var(--faint); font-size: 13px; }
.form-card .hint { color: var(--faint); font-size: 12.5px; }
.form-card .terms { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--body); font-size: 14px; }
.form-card .terms input { accent-color: var(--blue); width: 15px; height: 15px; }
.form-card .actions .recaptcha-v3 { flex: 0 0 auto; }
.reg-out { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 14px; color: var(--ink); }
.reg-out.ok { background: rgba(22, 163, 74, .12); border: 1px solid rgba(22, 163, 74, .4); }
.reg-out.err { background: rgba(220, 38, 38, .12); border: 1px solid rgba(220, 38, 38, .4); }
.reg-done { margin-top: 20px; }
.reg-ready { color: var(--ink); font-size: 16px; font-weight: 600; }
.reg-keybox { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.reg-keylabel { margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.reg-keyrow { display: flex; align-items: center; gap: 10px; }
.reg-keyrow code { font-family: var(--mono); font-size: 15px; color: var(--ink); user-select: all; }
.reg-keyrow button { display: inline-flex; padding: 6px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; }
.reg-keyrow button:hover { background: var(--card); color: var(--ink); }
.reg-note { margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.reg-card { max-width: 560px; }
.or { display: flex; align-items: center; gap: 14px; margin: 4px 0; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.reg-next { margin-top: 12px; }

.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 24px; margin: 34px 0 10px; }
.legal-body h3 { font-size: 16.5px; margin: 24px 0 8px; }
.legal-body p, .legal-body li { font-size: 15.5px; line-height: 1.7; color: var(--body); overflow-wrap: break-word; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 24px; }
.legal-body li { margin: 6px 0; }
.legal-body strong { color: var(--ink); }
.legal-body code { font-family: var(--mono); font-size: .9em; }

.pricing h1 { margin: 42px 0 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.pricing h2 { margin: 44px 0 0; font-size: 24px; letter-spacing: -0.015em; }
.pricing h1 + h2 { margin-top: 30px; }
.price-fig-wrap { container-type: inline-size; margin: 24px 0 0; }
.price-fig-wrap + h2 { margin-top: 32px; }
.price-fig { grid-template-columns: minmax(0, 456px) 156px minmax(0, 204px); justify-content: start; align-items: center; margin: 0; }
.price-fig .ui-org { grid-column: 1; grid-row: 1; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); align-items: stretch; padding: 20px 10px 10px; border-radius: 16px; }
.price-fig .ui-org > .tag { font-size: 11px; }
.price-fig .st-srv { grid-column: 3; grid-row: 1; align-self: auto; }
.price-fig .st-ui { grid-column: 1; }
.price-fig .st-ui .ic { width: 34px; height: 34px; border-radius: 10px; }
.price-fig .st-ui .ic svg { width: 18px; height: 18px; }
.price-fig .ui-conn { position: relative; grid-column: 2; grid-row: 1; align-self: center; height: 0; margin: 0 6px 0 2px; border-top: 2px solid var(--slate); }
.price-fig .ui-conn::after { content: ""; position: absolute; right: -6px; top: -6px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid var(--slate); }
.price-fig .st-srv::after { display: none; }
.price-fig .st-link { grid-column: 2; grid-row: 1; height: 40px; margin: 0; }
.price-fig .st-link .ln { top: 50%; bottom: auto; left: 0; right: 8px; width: auto; height: 0; margin: -1px 0 0; border-left: 0; border-top: 2px dashed var(--slate); }
.price-fig .st-link .ln::after { left: auto; right: -1px; bottom: auto; top: -6px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid var(--slate); }
.price-fig .st-link .lock { padding: 2px 9px; font-size: 11.5px; }
.price-fig .st-cloud { grid-column: 3; grid-row: 1; margin: 0; }
.price-fig .st-cloud small { font-size: 12px; }
.price-fig .st-box { gap: 7px; padding: 15px 12px 13px; border-radius: 16px; }
.price-fig .st-box b { font-size: 15px; }
.price-fig .st-box .tag { font-size: 11px; }
.price-fig .st-box .cluster .ic { width: 34px; height: 34px; border-radius: 10px; }
.price-fig .st-box .cluster .ic svg { width: 18px; height: 18px; }
.price-fig .st-box .nodes .ln { width: 10px; }
.price-fig .st-cloud .ic { width: 40px; height: 40px; border-radius: 12px; }
.price-fig .st-cloud .ic svg { width: 22px; height: 22px; }
.price-fig .free { display: inline-block; white-space: nowrap; margin-top: 1px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 11%, transparent); color: var(--blue-ink); font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.price-fig .st-cloud .free { background: rgba(255, 255, 255, .12); color: #dbe7ff; }
@container (max-width: 840px) {
  .price-fig { grid-template-columns: minmax(0, 1fr); max-width: 260px; margin: 0 auto; }
  .price-fig .ui-org { grid-template-columns: minmax(0, 1fr); padding: 20px 10px 10px; }
  .price-fig .st-ui { grid-column: 1; grid-row: 1; }
  .price-fig .ui-conn { grid-column: 1; grid-row: 2; justify-self: center; width: 0; height: 22px; margin: 2px 0 6px; border-top: 0; border-left: 2px solid var(--slate); }
  .price-fig .ui-conn::after { right: auto; left: -6px; top: auto; bottom: -6px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--slate); border-bottom: 0; }
  .price-fig .st-srv:not(.st-ui) { grid-column: 1; grid-row: 3; margin-top: 0; }
  .price-fig .st-srv { margin-top: 0; }
  .price-fig .st-link { grid-column: 1; grid-row: 2; height: 64px; margin: -17px 0 0; }
  .price-fig .st-link .ln { top: 0; bottom: 14px; left: 50%; right: auto; width: 0; height: auto; margin: 0 0 0 -1px; border-top: 0; border-left: 2px dashed var(--slate); }
  .price-fig .st-link .ln::after { left: -6px; right: auto; top: auto; bottom: -1px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--slate); border-bottom: 0; }
  .price-fig .st-cloud { grid-column: 1; grid-row: 3; width: 100%; max-width: none; }
}
.price-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin-top: 28px; }
.price-plan { padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--card-shadow); }
.price-plan.is-main { border-color: var(--feat-border); background: var(--feat-bg); }
.price-plan h3 { font-size: 15.5px; line-height: 1.3; letter-spacing: -0.01em; }
.price-plan .price-amount { margin-top: 12px; color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.price-plan .price-amount span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; font-weight: 500; letter-spacing: 0; }
.price-plan .price-note { margin-top: 10px; color: var(--blue-ink); font-size: 12.5px; font-weight: 700; }
.price-plan p { margin-top: 10px; color: var(--body); font-size: 14.5px; line-height: 1.55; }
.price-plans + h2 { margin-top: 36px; }
@media (max-width: 760px) {
  .price-plans { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
.pricing h2 ~ p { margin-top: 12px; max-width: 70ch; color: var(--body); font-size: 15.5px; line-height: 1.65; }
.page-hero .hero-actions { margin-top: 26px; }
.pricing h2 .dash { color: var(--faint); font-weight: 500; }
.pricing .stress { color: var(--ink); font-weight: 600; }
.pricing .cta { margin-top: 26px; }

.contact-card {
  display: inline-grid; gap: 8px;
  padding: 14px 22px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); box-shadow: var(--card-shadow);
}
.contact-card .mail { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.contact-card .mail svg { color: var(--blue); }
.contact-card .mail:hover { text-decoration: none; color: var(--blue-ink); }
.contact-card p { color: var(--muted); font-size: 15px; }

.page-hero.compact { padding: 72px 0 4px; }
.page-hero.compact + .page-body { padding-top: 24px; }

.tworow { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin-top: 8px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--card-shadow); }
.info-card h3 { margin-bottom: 10px; }
.info-card p { color: var(--muted); font-size: 15px; }

.site-footer { background: var(--footer-bg); color: #93a5c4; }
.footer-main { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px 24px; padding: 52px 0 40px; }
.footer-brand img { width: 108px; height: auto; opacity: .92; }
.footer-brand .logo-light { display: none; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: #7d90b3; text-wrap: balance; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 6px; }
.footer-links a { color: #93a5c4; font-size: 14px; white-space: nowrap; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0 26px; border-top: 1px solid rgba(143, 161, 189, .16);
  font-size: 13px; color: #7d90b3;
}

@media (max-width: 1000px) {

  .hero-grid, .howgrid, .convo-wrap, .split { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-grid > *, .howgrid > *, .convo-wrap > *, .split > * { min-width: 0; }
  .hero-grid .demo, .hero-grid .hero-demo { margin-top: 0; }
  .cc-title { margin: -24px -16px 16px; padding: 11px 16px; }
  .fw-grid, #system-architecture .howgrid { grid-template-columns: minmax(0, 1fr); }
  .cardgrid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factrow { grid-template-columns: 1fr; }
  .tworow { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 72px; }
  .section { padding: 68px 0; border-top: 1px solid var(--line); }
  .section.soft { border-color: var(--line); border-bottom: 0; }
}
@media (max-width: 980px) {
  .header-row { flex-wrap: wrap; gap: 0; padding-block: 10px; }
  .header-row::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
  .site-nav { display: contents; }
  .site-nav > * { order: 4; margin-top: 6px; }
  .theme-toggle { margin-left: auto; }
  .nav-cta { order: 2; margin: 0 0 0 auto; padding: 8px 12px; font-size: 14px; }
  .theme-toggle + .site-nav .nav-cta { margin-left: 8px; }
  .brand { margin-right: 14px; }
  .docs .theme-toggle { margin-right: 12px; }
  .site-nav > .nav-menu:first-child > summary { margin-left: -12px; }
}
@media (max-width: 440px) {
  .site-nav .navlink { padding: 8px 7px; font-size: 14px; }
  .site-nav .nav-menu > summary { gap: 3px; }
  .site-nav > .nav-menu:first-child > summary { margin-left: -7px; }
}
@media (max-width: 420px) {
  .site-nav .navlink { padding: 8px 5px; font-size: 13.5px; }
  .site-nav .nav-menu > summary { gap: 2px; }
  .site-nav > .nav-menu:first-child > summary { margin-left: -5px; }
}
@media (max-width: 390px) {
  .site-nav .navlink { padding: 8px 4px; font-size: 13px; }
  .site-nav .nav-menu > summary .chev { width: 10px; height: 10px; }
  .site-nav > .nav-menu:first-child > summary { margin-left: -4px; }
}
@media (max-width: 366px) {
  .site-nav .navlink { padding: 8px 3px; }
  .site-nav .nav-menu > summary { gap: 1px; }
  .site-nav > .nav-menu:first-child > summary { margin-left: -3px; }
}
@media (max-width: 640px) {
  .cg { grid-template-columns: 1fr; gap: 4px; }
  .arch, #system-architecture .arch, .cc-arch.hero-arch { padding: 24px 16px; }
  .arch-flow { grid-template-columns: minmax(0, 1fr); }
  .arch-org { min-width: 0; }
  .arch-lbl { white-space: normal; width: max-content; max-width: 100px; line-height: 1.25; }
  .demo-search, .demo-search span { white-space: normal; overflow-wrap: anywhere; }
  .demo-row, .demo-form { flex-wrap: wrap; }

  .arch-row { grid-template-columns: minmax(0, 1fr); }
  .arch-grid { grid-template-columns: minmax(0, 1fr); }
  .arch-actors, .arch-server, .arch-grid .arch-sys { grid-column: 1; }
  .arch-server { grid-row: 2; }
  .arch-grid .arch-sys { grid-row: 3; margin-top: 12px; padding-left: 0; }
  .arch-actors { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
  .arch-actors .arch-actor { max-width: 100%; padding: 9px 8px; border-radius: 16px; font-size: 14px; white-space: normal; text-align: center; }
  .arch-actors .arch-actor em { font-size: 11.5px; }
  .arch-actors .arch-actor-name { flex-wrap: wrap; justify-content: center; }
  .cc-arch.hero-arch { --g: 8px; }
  .cc-arch .cc-clients .cc-cc { padding: 14px 2px 16px; }
  .cc-join i { height: 20px; margin-top: 10px; }
  .cc-clients .cc-cc strong { font-size: 11px; white-space: normal; line-height: 1.25; }
  .hero-arch .arch-org { padding: 14px 6px 8px; }
  .cc-clients .cc-cc .arch-chips span { font-size: 10px; padding: 2px 5px; white-space: nowrap; }
  .arch-hlink, .arch-sys::before, .arch-branch::before, .arch-branch::after { display: none; }
  .arch-sys { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 0; margin-top: 10px; }
  .cc-main .cc-server .cc-server-links { font-size: 10px; }
  .cc-main .arch-sys { display: grid; gap: var(--sys-y); padding-left: 0; margin-top: 0; }
  .cc-main .arch-branch::before { display: block; left: -24px; width: 19px; }
  .cc-main .arch-branch::after { display: block; left: -5px; }
  .cc-main .arch-branch .arch-node { padding: 9px 8px; }
  .cc-main .arch-branch .arch-node strong { font-size: 12px; }
  .cc-main .arch-sys .arch-node > span { font-size: 10px; }
  .cc-main .cc-server { padding: 12px 10px; }
  .cc-arch.hero-arch .cc-main .cc-server-head strong, .cc-arch .arch-out .arch-ext strong, .cc-arch .arch-out .cloud strong { font-size: 12px; }
  .header-cta { display: none; }
  .cardgrid, .form-grid, .how-steps { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; gap: 32px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .numbered .step-sec { padding-left: 0; padding-bottom: 44px; }
  .numbered .step-sec::before { position: static; margin-bottom: 14px; }
  .numbered .step-sec::after { display: none; }
  .callout.after-steps { margin-left: 0; }
}
@media (max-width: 499px) {
  .cc-agents { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; padding-right: max(0px, 100% - 330px); }
  .cc-agents:has(.cc-agent-field) { padding-right: 0; }
  .cc-agents-lbl { margin-right: 2px; font-size: 12.5px; }
  .cc-arch.hero-arch .cc-agents .arch-chips { display: contents; }
  .cc-arch.hero-arch .cc-agents .arch-chips span { font-size: 12px; padding: 3px 8px; }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef3fb;
  --body: #b6c3d9;
  --muted: #8a9ab6;
  --faint: #5f7191;
  --line: #1e2b48;
  --line-soft: #16213a;
  --bg: #090f1d;
  --bg-soft: #0d1526;
  --card: #0f1930;
  --input-bg: #0a1122;
  --blue: #4d8dff;
  --blue-ink: #7aa5ff;
  --teal: #2dd4bf;
  --as-dev-fg: #090f1d;
  --ok: #34d399;
  --sel: #23407c;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --card-shadow-lg: 0 2px 6px rgba(0, 0, 0, .35);
  --logo-light: none;
  --logo-dark: block;
  --grid-line: rgba(143, 161, 189, .05);
  --hero-bg:
    radial-gradient(760px 420px at 14% -8%, rgba(77, 141, 255, .13), transparent 62%),
    radial-gradient(720px 420px at 88% 4%, rgba(45, 212, 191, .07), transparent 58%),
    linear-gradient(#090f1d, #0a1120);
  --icon-bg: rgba(77, 141, 255, .12);
  --icon-fg: #7aa5ff;
  --tag-match-bg: rgba(77, 141, 255, .16); --tag-match-fg: #9dbcff;
  --tag-run-bg: rgba(52, 211, 153, .14);   --tag-run-fg: #3fd99a;
  --tag-state-bg: #16213a;                 --tag-state-fg: #8a9ab6;
  --bubble-bg: #3b82f6;
  --org-bg: rgba(18, 30, 56, .35); --org-border: #2b3c66;
  --cloud-bg: linear-gradient(150deg, #1b3a6e, #14264a); --cloud-border: #2b477e;
  --pcard-hover: #2c3f6b;
  --feat-border: #2c4a8a; --feat-bg: linear-gradient(180deg, #12213f, #0f1930 55%);
  --badge-bg: rgba(52, 211, 153, .14);
  --btnp-bg: #e9eefb; --btnp-fg: #131f38; --btnp-hover: #ffffff;
  --band-bg: linear-gradient(150deg, #152341, #0f1a33 55%, #131f3c);
  --footer-bg: #070b16;
}
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
  --ink: #eef3fb;
  --body: #b6c3d9;
  --muted: #8a9ab6;
  --faint: #5f7191;
  --line: #1e2b48;
  --line-soft: #16213a;
  --bg: #090f1d;
  --bg-soft: #0d1526;
  --card: #0f1930;
  --input-bg: #0a1122;
  --blue: #4d8dff;
  --blue-ink: #7aa5ff;
  --teal: #2dd4bf;
  --as-dev-fg: #090f1d;
  --ok: #34d399;
  --sel: #23407c;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --card-shadow-lg: 0 2px 6px rgba(0, 0, 0, .35);
  --logo-light: none;
  --logo-dark: block;
  --grid-line: rgba(143, 161, 189, .05);
  --hero-bg:
    radial-gradient(760px 420px at 14% -8%, rgba(77, 141, 255, .13), transparent 62%),
    radial-gradient(720px 420px at 88% 4%, rgba(45, 212, 191, .07), transparent 58%),
    linear-gradient(#090f1d, #0a1120);
  --icon-bg: rgba(77, 141, 255, .12);
  --icon-fg: #7aa5ff;
  --tag-match-bg: rgba(77, 141, 255, .16); --tag-match-fg: #9dbcff;
  --tag-run-bg: rgba(52, 211, 153, .14);   --tag-run-fg: #3fd99a;
  --tag-state-bg: #16213a;                 --tag-state-fg: #8a9ab6;
  --bubble-bg: #3b82f6;
  --org-bg: rgba(18, 30, 56, .35); --org-border: #2b3c66;
  --cloud-bg: linear-gradient(150deg, #1b3a6e, #14264a); --cloud-border: #2b477e;
  --pcard-hover: #2c3f6b;
  --feat-border: #2c4a8a; --feat-bg: linear-gradient(180deg, #12213f, #0f1930 55%);
  --badge-bg: rgba(52, 211, 153, .14);
  --btnp-bg: #e9eefb; --btnp-fg: #131f38; --btnp-hover: #ffffff;
  --band-bg: linear-gradient(150deg, #152341, #0f1a33 55%, #131f3c);
  --footer-bg: #070b16;
  }
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
  :root:not([data-theme="light"]) .codecard,
  :root:not([data-theme="light"]) .convo,
  :root:not([data-theme="light"]) #conversations .cv::before,
  :root:not([data-theme="light"]) .arch { box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
}

.page-body .section-head { margin: 64px 0 0; }
.page-body .section-head h2 { font-size: 24px; }
.tablewrap { overflow-x: auto; margin: 28px 0; }

@media (max-width: 579px) {
  .cc-clients { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px var(--g); }
  .cc-clients .cc-cc strong { font-size: 11px; }
  .cc-arch .cc-clients .cc-skill span { font-size: 10px; padding: 2px 5px; }
  .cc-arch .cc-clients .cc-roles span { font-size: 9.5px; }
  .cc-join { display: none; }
  .hero-arch .cc-down { height: 34px; margin-top: 16px; }
  .hero-arch .arch-org { padding: 12px 4px 8px; }
  .cc-arch .cc-clients .cc-cc { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 344px) {
  .cc-clients { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .cc-arch .cc-clients .cc-roles span { font-size: 9px; }
}
@media (max-width: 579px) {
  .hero-arch .arch-org { --spine-gap: 18px; --spine-ratio: .36; --spine-row-gap: 24px; --spine-x: calc((100% - var(--spine-gap)) * var(--spine-ratio) + var(--spine-gap) / 2); --spine-drop: 30px; --spine-line: color-mix(in srgb, var(--slate) 55%, var(--bg)); --spine-stroke: 2px; }
  .cc-clients { position: relative; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: var(--spine-row-gap) var(--spine-gap); }
  .cc-clients .cc-cc::after { content: ""; position: absolute; top: calc(50% - var(--spine-stroke) / 2); width: calc(var(--spine-gap) / 2 + var(--spine-stroke) / 2); height: var(--spine-stroke); background: var(--spine-line); }
  .cc-clients .cc-cc:nth-child(odd)::after { right: 100%; }
  .cc-clients .cc-cc:nth-child(even)::after { left: 100%; }
  .cc-clients .cc-cc:nth-child(1) { grid-area: 1 / 2; }
  .cc-clients .cc-cc:nth-child(2) { grid-area: 1 / 1; }
  .cc-clients .cc-cc:nth-child(3) { grid-area: 2 / 2; }
  .cc-clients .cc-cc:nth-child(4) { grid-area: 2 / 1; }
  .cc-clients::before, .cc-clients::after { content: ""; grid-column: 1 / -1; justify-self: start; width: var(--spine-stroke); margin-left: calc(var(--spine-x) - var(--spine-stroke) / 2); background: var(--spine-line); pointer-events: none; }
  .cc-clients::before { grid-row: 1; align-self: end; height: calc(50% + var(--spine-stroke) / 2); }
  .cc-clients::after { grid-row: 2; margin-top: calc(-1 * var(--spine-row-gap)); margin-bottom: calc(-1 * var(--spine-drop)); }
  .hero-arch .arch-org > .cc-down { justify-self: start; height: var(--spine-drop); margin-top: 0; margin-left: calc(var(--spine-x) - var(--spine-stroke) / 2); background: none; opacity: 1; }
  .hero-arch .arch-org > .cc-down::after { border-top-color: var(--spine-line); }
}
@media (max-width: 344px) {
  .hero-arch .arch-org { --spine-gap: 14px; }
}
@media (max-width: 352px) {
  .cc-main .arch-branch::before { left: -20px; width: 15px; }
  .cc-main .arch-branch .arch-node { padding: 9px 5px; }
  .cc-main .arch-sys .arch-node > span { font-size: 9.5px; }
}

@media (max-width: 760px) {
  .hero-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: left; }
  .hero-step-head { margin-bottom: 6px; }
  .hero-step-head i { display: none; }
  .hero-step-t { padding: 0 0 0 32px; }
  .hero-steps li::before { content: ""; position: absolute; left: 10px; top: 26px; bottom: -16px; width: 2px; background: var(--line); }
  .hero-steps li:last-child::before { display: none; }
  .tip-box { left: 0; transform: none; }
  .tip-box::after { left: 24px; }
  #system-architecture .section-head h2 br { display: none; }
}

.fw-page { --fw-w: 680px; --fw-notes: 308px; --fw-gap: 72px; --demo-w: 860px; }
.fw-page .page-hero { padding-bottom: 12px; }
.fw-sec { padding: 48px 0 8px; }
.fw-first { padding-top: 10px; }
.fw-sec .section-head { max-width: var(--fw-w); margin-bottom: 20px; }
.fw-sec .section-head h2 { font-size: 24px; }
.fw-sec .section-head p { margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--body); }
.fw-text { max-width: var(--fw-w); }
.fw-text p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--body); }
.fw-text code, .anno-notes code { font-family: var(--mono); font-size: .92em; color: var(--ink); }
.anno { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--fw-notes); gap: 0 var(--fw-gap); align-items: center; max-width: calc(var(--fw-w) + var(--fw-gap) + var(--fw-notes)); margin: 0 0 22px; }
.anno .codecard pre { font-size: 13px; line-height: 1.85; }
.anno .al { display: inline-block; margin: 0 -6px; padding: 0 6px; border-radius: 6px; background: rgba(157, 180, 224, .14); box-shadow: inset 0 0 0 1px rgba(157, 180, 224, .22); }
.anno-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.anno-notes li { position: relative; padding-left: 34px; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.anno-notes .an { position: absolute; left: 0; top: 1px; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.anno-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.anno-svg path { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.anno-svg marker path { fill: var(--blue); stroke: none; }
.anno .al-note { display: none; }
.fw-cmdcard { max-width: var(--fw-w); }
.fw-struct { max-width: var(--fw-w); margin: 0 0 24px; }
.st-box { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px 12px; background: var(--card); }
.st-agent { padding: 14px 16px 16px; border-radius: 16px; box-shadow: var(--card-shadow-lg); }
.st-functions { background: var(--bg-soft); }
.st-fn { background: var(--card); }
.st-cmds { background: var(--bg-soft); padding-bottom: 8px; }
.st-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 10px; }
.st-label { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); }
.st-hint { font-size: 12.5px; color: var(--muted); }
.st-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
.st-cmd { padding: 6px 0; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--body); overflow-wrap: anywhere; }
.st-cmd:first-of-type { border-top: 0; }
.st-py, .st-prof { border-radius: 4px; padding: 1px 4px; }
.st-py { background: rgba(37, 99, 235, .14); box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .4); color: var(--ink); }
.st-prof { background: rgba(16, 185, 129, .14); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .45); color: var(--ink); }
.st-legend { display: flex; gap: 22px; margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); }
.st-legend i { display: inline-block; width: 14px; height: 12px; margin-right: 7px; vertical-align: -1px; }
.fw-page .fw-card { min-height: 0; }
.fw-cmdcard .fw-cmds { gap: 12px; }
.fw-cmdcard .cg { grid-template-columns: 124px 1fr; }
.fw-cmdcard + .fw-text { margin-top: 18px; }
.fw-demo { max-width: var(--fw-w); }
.fw-demo-wide { max-width: var(--demo-w); }
.page-hero .lead.demo-lead { max-width: var(--demo-w); text-wrap: pretty; }
.demo-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--demo-w); margin-top: 24px; }
.demo-guide-card { padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--card-shadow); }
.demo-guide h2 { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--blue-ink); }
.demo-guide ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.demo-guide li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.demo-guide li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.demo-guide li strong { font-weight: 600; color: var(--ink); }
.page-hero .note.demo-note { max-width: var(--demo-w); text-wrap: pretty; }
.demo-guide + .demo-note { margin-top: 20px; }
@media (max-width: 760px) {
  .demo-guide { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
.fw-page .numbered { max-width: var(--fw-w); }
.fw-page .numbered .step-sec { padding-bottom: 36px; }
.fw-after-steps { margin-top: 28px; }
.desc-example { max-width: var(--fw-w); margin: 0 0 18px; padding: 18px 22px; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 12px; background: var(--card); box-shadow: var(--card-shadow); }
.desc-example p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.7; }
.desc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 8px; }
.st-row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-cmd a { color: var(--body); }
.st-cmd a:hover { color: var(--blue-ink); }
.fw-end { padding: 44px 0 96px; }
.fw-end .section-head { max-width: var(--fw-w); margin-bottom: 0; }
.fw-end .section-head h2 { font-size: 24px; }
.fw-end .section-head p { margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--body); }
.fw-end .hero-actions { margin-top: 22px; }
@media (max-width: 640px) { .st-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) {
  .anno { grid-template-columns: minmax(0, 1fr); gap: 16px 0; }
  .anno-svg, .anno-notes { display: none; }
  .anno .codecard pre { padding: 14px 16px; font-size: 12px; }
  .anno .al-note { display: block; position: relative; margin: 6px 0 12px; padding: 7px 10px 7px 38px; border-left: 2px solid var(--blue); border-radius: 0 8px 8px 0; background: rgba(37, 99, 235, .14); white-space: normal; font-family: var(--font); font-size: 13px; line-height: 1.5; color: #c7d3ea; }
  .anno .al-note code { color: #e4ebf7; }
  .anno .al-note .an { position: absolute; left: 10px; top: 8px; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; }
}

.why h2 { margin: 60px 0 0; font-size: 24px; letter-spacing: -0.015em; }
.why h2 + p, .why-intro p, .why-not + p { max-width: 74ch; margin-top: 14px; color: var(--body); font-size: 16.5px; line-height: 1.7; }
.why-intro p:first-child { margin-top: 0; }
.why-fit { width: 100%; max-width: 860px; margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); border-spacing: 0; background: var(--card); box-shadow: var(--card-shadow); overflow: hidden; font-size: 15.5px; line-height: 1.5; }
.why-fit th, .why-fit td { padding: 14px 20px; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.why-fit th { border-top: 0; background: var(--bg-soft); color: var(--muted); font-size: 13px; font-weight: 600; }
.why-fit td:last-child { width: 40%; color: var(--ink); font-weight: 600; }
.why-fit .is-s2o td { background: color-mix(in srgb, var(--blue) 8%, transparent); color: var(--ink); }
.why-fit .is-s2o td:last-child { color: var(--blue-ink); font-weight: 700; }
.why-choose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.why-opt { padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--card-shadow); }
.why-opt h3 { font-size: 15.5px; line-height: 1.3; letter-spacing: -0.01em; }
.why-opt p { margin-top: 8px; color: var(--body); font-size: 15px; line-height: 1.6; }
.why-opt.is-s2o { border-color: var(--feat-border); background: var(--feat-bg); }
.why-opt.is-s2o h3 { color: var(--blue-ink); }
.why-opt.is-both { border-style: dashed; background: var(--bg-soft); box-shadow: none; }
.why-not { max-width: 74ch; margin: 16px 0 0; padding-left: 22px; color: var(--body); font-size: 16.5px; line-height: 1.6; }
.why-not li { margin: 8px 0; }
.why-not li::marker { color: var(--slate); }
.why-try { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.why-go { display: grid; align-content: start; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--card-shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.why-go:hover { transform: translateY(-3px); border-color: var(--pcard-hover); box-shadow: var(--card-shadow-lg); text-decoration: none; }
.why-go b { color: var(--blue-ink); font-size: 16px; font-weight: 700; }
.why-go span { color: var(--body); font-size: 14.5px; line-height: 1.55; }
.why-go code { font-family: var(--mono); font-size: 13px; }
@media (max-width: 860px) {
  .why-choose, .why-try { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 560px) {
  .why h2 { margin-top: 48px; }
  .why-fit, .why-fit tbody, .why-fit tr, .why-fit td { display: block; }
  .why-fit thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .why-fit tr { border-top: 1px solid var(--line-soft); }
  .why-fit tr:first-child { border-top: 0; }
  .why-fit td { padding: 14px 16px 0; border-top: 0; }
  .why-fit td:last-child { width: auto; padding: 4px 16px 14px; }
}
