@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; }
: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: center; flex: 0 0 auto; }
.brand img { width: clamp(136px, 13vw, 168px); height: auto; }
.brand .logo-light { display: var(--logo-light); }
.brand .logo-dark { display: var(--logo-dark); }
.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; }
.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; }

.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: 1.02fr .98fr; gap: 56px; align-items: start; }
.hero-grid .demo, .hero-grid .hero-convo { margin-top: 5px; }

.hero h1 { font-size: clamp(25px, 2.6vw, 30px); line-height: 1.15; }
.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 h1 .grad {
  white-space: nowrap;
  background: linear-gradient(94deg, var(--blue) 4%, var(--teal) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-pip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-pip code { font-family: var(--mono); font-size: 13.5px; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px; }
.hero-pip .copy { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: var(--faint); cursor: pointer; transition: color .15s ease, background .15s ease; }
.hero-pip .copy:hover { color: var(--ink); background: var(--bg-soft); }
.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: 15.5px; 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;
}
.hero-convo .convo-title { padding: 9px 16px; }
.hero-convo .convo-body { padding: 14px; gap: 8px; }
.hero-convo .turn-agent { gap: 4px; max-width: 100%; }
.hero-convo .turn-agent .msg { padding: 8px 12px; font-size: 14px; }
.hero-convo .turn-user { padding: 7px 12px; max-width: 92%; font-size: 14px; }
.hero-convo .turn-agent .msg.ask { padding: 8px 12px; gap: 6px 8px; }
.hero-convo .turn-agent .ask .q { font-size: 14px; }
.hero-convo .turn-agent .ask .opts i, .hero-convo .turn-agent .ask .submit { padding: 3px 9px; }
.hero-convo .st { opacity: 0; animation: rise .45s ease forwards; }
.hero-convo .st1 { animation-delay: .2s; }
.hero-convo .st2 { animation-delay: .6s; animation-duration: .3s; }
.hero-convo .st3 { animation-delay: 1.4s; }
.hero-convo .st4 { animation-delay: 2.9s; }
.hero-convo .st5 { animation-delay: 3.8s; }
.hero-convo .st6 { animation-delay: 4.2s; animation-duration: .3s; }
.hero-convo .st7 { animation-delay: 5.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .demo .stage, .demo .stage-2 .p + .p, .hero-convo .st { 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: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.section-head p { margin-top: 14px; font-size: 15px; color: var(--muted); }

.howgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.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 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; }
.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-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; }
.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;
}

.cardgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pcard {
  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;
  width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 12px; background: var(--icon-bg);
  color: var(--icon-fg);
}
.pcard h3 { margin-bottom: 8px; font-size: 17px; }
.pcard p { 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); }
.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; }


#framework .codecard pre { height: 583px; }
.howgrid > :last-child { margin-top: 37px; }
.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"] .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; }
.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; }
.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: 26px; }
.prose ul { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin: 8px 0; }
.agen-title { margin-top: 38px; font-size: 17px; }
.agen { margin-top: 14px; display: grid; gap: 16px; grid-template-rows: auto auto auto auto minmax(49px, auto); justify-items: start; }
.agen-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.agen-ex span { font-size: 13px; color: var(--faint); }
.agen-chip {
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--muted); cursor: pointer;
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft);
}
.agen-chip:hover { color: var(--ink); border-color: var(--blue); }
#agen-go { min-width: 154px; }
.agen .actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.agen .actions .recaptcha-v3 { flex: 0 0 auto; }
.agen-count { margin: -8px 0 0; color: var(--faint); font-size: 13px; }
.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); }
.agen textarea {
  width: 100%; height: 162px; min-height: 92px; resize: vertical;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--input-bg); color: var(--ink); font-family: var(--font); font-size: 14.5px; line-height: 1.55;
}
.agen textarea::placeholder { color: var(--faint); }
.agen textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.agen .reg-out { margin-top: 0; width: 100%; }
.agen .reg-out[hidden] { display: block; visibility: hidden; }

.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: 23px; 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 ul { 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; letter-spacing: .06em; text-transform: uppercase; }
.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: 20px; 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); }
.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 h2 { margin: 56px 0 0; font-size: 22px; letter-spacing: -0.015em; }
.pricing h2 + p { margin-top: 12px; max-width: 70ch; color: var(--body); font-size: 15.5px; }
.plans-wrap { margin-top: 26px; }
.plans { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--card-shadow-lg); overflow: hidden; }
.plans th, .plans td { padding: 14px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); font-size: 15px; line-height: 1.5; }
.plans thead th { border-top: 0; vertical-align: top; padding-top: 26px; padding-bottom: 22px; background: var(--bg-soft); color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.plans thead th:first-child { width: 26%; }
.plans thead th .plan { display: block; }
.plans thead th .price { display: block; margin-top: 10px; color: var(--ink); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.plans thead th .per, .plans thead th .how { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.plans thead th .how { color: var(--body); font-weight: 600; }
.plans thead th .btn { margin-top: 16px; letter-spacing: 0; text-transform: none; }
.plans tbody th { color: var(--ink); font-weight: 650; }
.plans tbody th small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.4; }
.plans td { color: var(--body); }
.plans .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price-freeze { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.help-line { margin-top: 40px; color: var(--ink); font-size: 15.5px; }

.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; }

.quoteblock {
  display: inline-block; margin: 0 0 30px;
  padding: 14px 22px; border-radius: 12px;
  background: linear-gradient(150deg, #1a2745, #131f38); color: #e8eefb;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.45;
}
.page-hero.compact { padding: 60px 0 4px; }
.page-hero.compact + .page-body { padding-top: 24px; }
.quoteblock .hl { color: #9db4e0; }

.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; align-items: flex-start; justify-content: space-between; gap: 40px; padding: 52px 0 40px; }
.footer-brand img { width: 150px; height: auto; opacity: .92; }
.footer-brand .logo-light { display: none; }
.footer-brand p { margin-top: 14px; max-width: 34ch; font-size: 13.5px; line-height: 1.6; color: #7d90b3; }
.footer-cols { display: flex; gap: 72px; }
.fcol h4 { color: #cdd8ec; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.fcol a { display: block; padding: 4px 0; color: #93a5c4; font-size: 14px; }
.fcol 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-convo { margin-top: 0; }
  .cardgrid { grid-template-columns: repeat(2, 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: 640px) {
  .plans, .plans thead, .plans tbody { display: block; }
  .plans thead tr, .plans tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plans thead th:first-child { display: none; }
  .plans thead th { padding: 18px 14px; }
  .plans thead th .price { font-size: 30px; }
  .plans tbody th, .plans tbody td { padding-left: 14px; padding-right: 14px; }
  .plans tbody th { grid-column: 1 / -1; padding-bottom: 4px; }
  .plans tbody td { border-top: 0; padding-top: 0; padding-bottom: 14px; }
  .plans tbody td::before { content: attr(data-plan); display: block; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .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; }
  .arch-org-lbl, .arch-cloud-lbl { position: static; transform: none; display: inline-block; margin: 0 0 12px; justify-self: start; }
  .arch-org { padding-top: 16px; }
  .arch-node.cloud { padding-top: 16px; }
  .header-row { flex-wrap: wrap; gap: 6px 14px; padding-block: 10px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; }

  .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-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; }
  .theme-toggle { margin-left: auto; }
  .header-cta { display: none; }
  .cardgrid, .form-grid { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; gap: 32px; }
  .footer-cols { gap: 40px; flex-wrap: wrap; }
  .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; }
}

: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;
  --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;
  --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"]) .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: 26px; }
.tablewrap { overflow-x: auto; margin: 28px 0; }
