:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-soft: #080b11;
  --panel: #0c1119;
  --panel-2: #101722;
  --panel-3: #151e2b;
  --text: #f7f9fc;
  --text-soft: #d5dce6;
  --muted: #98a5b7;
  --muted-2: #6f7c8f;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --signal: #b7ff5a;
  --signal-2: #80f4bf;
  --cyan: #5edcff;
  --violet: #8f7cff;
  --amber: #ffbe70;
  --danger: #ff7d8d;
  --success: #7ff0b4;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.22);
  --max: 1240px;
  --narrow: 860px;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% -15%, rgba(143, 124, 255, 0.15), transparent 36rem),
    radial-gradient(circle at 85% 3%, rgba(94, 220, 255, 0.12), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 72%);
}
::selection { background: rgba(183, 255, 90, 0.25); color: #fff; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
code, pre, kbd { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--signal);
  color: #071006;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.container.narrow { width: min(var(--narrow), calc(100% - 40px)); }
.section { position: relative; padding: 112px 0; }
.section.compact { padding: 78px 0; }
.section.tint { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)); }
.section-line { border-top: 1px solid var(--line); }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.signal { color: var(--signal); }
.cyan { color: var(--cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
h1 {
  margin-bottom: 26px;
  font-size: clamp(3.3rem, 7.2vw, 6.7rem);
  line-height: .94;
  letter-spacing: -.067em;
  font-weight: 820;
}
h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 800;
}
h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}
h4 { margin-bottom: 8px; font-size: 1rem; letter-spacing: -.01em; }
p { margin-bottom: 20px; }
.lede { max-width: 790px; color: var(--text-soft); font-size: clamp(1.08rem, 2vw, 1.34rem); line-height: 1.58; }
.lede.centered { margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 20px rgba(183,255,90,.85);
}
.gradient-text {
  background: linear-gradient(95deg, #fff 4%, var(--cyan) 46%, var(--signal) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kicker { color: var(--signal); font-size: .74rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .7fr); gap: 70px; align-items: end; margin-bottom: 52px; }
.section-heading.single { display: block; max-width: 820px; }
.section-heading.centered { display: block; max-width: 900px; margin-inline: auto; text-align: center; }
.section-heading p { color: var(--muted); font-size: 1.05rem; margin-bottom: 8px; }

.announcement {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px 20px;
  border-bottom: 1px solid rgba(183,255,90,.16);
  background: linear-gradient(90deg, rgba(183,255,90,.08), rgba(94,220,255,.06), rgba(143,124,255,.08));
  color: #dbe6ef;
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
}
.announcement a { color: var(--signal); }
.announcement a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(5, 7, 11, .68);
  backdrop-filter: blur(18px) saturate(140%);
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(5,7,11,.88); }
.nav-shell { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; font-size: 1.02rem; font-weight: 830; letter-spacing: -.035em; }
.brand img { width: 36px; height: 36px; }
.brand small { display: block; color: var(--muted-2); font-size: .6rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; line-height: 1; }
.nav-center { display: flex; align-items: center; justify-content: center; gap: 5px; }
.nav-item { position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 11px;
  border: 0;
  background: transparent;
  color: #b7c1cf;
  font-size: .86rem;
  font-weight: 680;
  cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: #fff; }
.nav-trigger::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .65; }
.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 610px;
  padding: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(10, 14, 21, .98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -7px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.mega-menu.wide { width: 720px; }
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu, .mega-menu.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.mega-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.mega-link { display: grid; grid-template-columns: 36px 1fr; gap: 11px; align-items: start; padding: 12px; border-radius: 13px; }
.mega-link:hover { background: rgba(255,255,255,.05); }
.mega-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--panel-2); color: var(--cyan); font-size: .76rem; font-weight: 850; }
.mega-link b { display: block; margin-bottom: 2px; font-size: .88rem; }
.mega-link span { display: block; color: var(--muted); font-size: .73rem; line-height: 1.35; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.menu-toggle { display: none; width: 44px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 19px; height: 1.5px; background: #fff; transition: .2s ease; }
.menu-toggle span { margin: 4px 0; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-panel { display: none; }

.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(16,23,34,.82);
  color: #eef3f8;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.3); background: var(--panel-3); }
.button:active { transform: translateY(0); }
.button.primary { border-color: var(--signal); background: var(--signal); color: #071006; box-shadow: 0 0 0 1px rgba(183,255,90,.08), 0 15px 38px rgba(183,255,90,.12); }
.button.primary:hover { background: #c6ff7b; box-shadow: 0 0 0 1px rgba(183,255,90,.15), 0 18px 42px rgba(183,255,90,.17); }
.button.ghost { background: transparent; }
.button.small { min-height: 38px; padding: 8px 13px; border-radius: 11px; font-size: .78rem; }
.button.large { min-height: 52px; padding: 13px 21px; font-size: .95rem; }
.button .arrow { transition: transform .18s ease; }
.button:hover .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-soft); font-size: .88rem; font-weight: 800; }
.text-link:hover { color: var(--signal); }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }

.hero { position: relative; padding: 104px 0 78px; overflow: clip; }
.hero::before {
  content: "";
  position: absolute;
  width: 630px;
  height: 630px;
  right: -160px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,220,255,.13), transparent 63%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(510px, 1.04fr); gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 730px; }
.hero-copy .lede { max-width: 690px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 13px 20px; margin-top: 24px; color: var(--muted); font-size: .78rem; font-weight: 650; }
.proof-row span { display: inline-flex; align-items: center; gap: 7px; }
.proof-row span::before { content: "✓"; width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid rgba(183,255,90,.26); border-radius: 50%; color: var(--signal); font-size: .67rem; }

.agent-stage { position: relative; min-height: 610px; display: grid; place-items: center; isolation: isolate; }
.agent-stage::before {
  content: "";
  position: absolute;
  inset: 4% 3%;
  border-radius: 50%;
  background: conic-gradient(from 220deg, rgba(143,124,255,.22), rgba(94,220,255,.18), rgba(183,255,90,.12), rgba(143,124,255,.22));
  filter: blur(65px);
  opacity: .65;
  z-index: -1;
}
.agent-window {
  width: min(100%, 610px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17,24,35,.97), rgba(8,12,18,.98));
  box-shadow: 0 42px 120px rgba(0,0,0,.52), inset 0 1px rgba(255,255,255,.05);
  transform: perspective(1500px) rotateY(-3deg) rotateX(1.5deg);
}
.window-bar { min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 15px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); color: var(--muted); font-size: .69rem; font-weight: 700; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #394252; }
.window-dots i:nth-child(1) { background: #ff7b86; }
.window-dots i:nth-child(2) { background: #ffc96d; }
.window-dots i:nth-child(3) { background: #78e7ad; }
.connection-state { display: inline-flex; align-items: center; gap: 7px; color: #bcd0c5; }
.connection-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 13px rgba(127,240,180,.8); }
.agent-body { padding: 18px; }
.prompt-card { padding: 17px 18px; border: 1px solid rgba(94,220,255,.25); border-radius: 15px; background: rgba(5,9,14,.8); color: #e7edf5; font-size: .84rem; line-height: 1.55; }
.prompt-label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--muted-2); font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.tool-trace { margin: 13px 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12,17,25,.9); }
.trace-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: var(--muted); font-size: .68rem; }
.trace-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(183,255,90,.18); border-radius: 999px; background: rgba(183,255,90,.06); color: #dfffc2; font-family: "SFMono-Regular", Consolas, monospace; font-size: .64rem; }
.tool-pill::before { content: "↗"; color: var(--signal); }
.agent-result { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,12,18,.88); }
.result-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 13px; }
.result-head b { font-size: .9rem; }
.result-score { display: inline-flex; align-items: baseline; gap: 4px; color: var(--signal); }
.result-score strong { font-size: 1.65rem; letter-spacing: -.04em; }
.result-list { display: grid; gap: 8px; }
.result-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; background: rgba(255,255,255,.022); }
.result-index { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: rgba(94,220,255,.08); color: var(--cyan); font-size: .66rem; font-weight: 850; }
.result-row b { display: block; font-size: .72rem; }
.result-row small { display: block; color: var(--muted-2); font-size: .62rem; }
.impact { padding: 4px 7px; border-radius: 999px; background: rgba(183,255,90,.08); color: var(--signal); font-size: .58rem; font-weight: 850; text-transform: uppercase; }
.agent-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 13px; color: var(--muted-2); font-size: .64rem; }
.agent-footer .ready { color: #c6f2d7; }
.float-card { position: absolute; z-index: 3; min-width: 155px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(12,17,25,.9); box-shadow: var(--shadow-soft); backdrop-filter: blur(13px); }
.float-card b { display: block; font-size: .77rem; }
.float-card small { color: var(--muted-2); font-size: .61rem; }
.float-card.one { right: -16px; top: 76px; }
.float-card.two { left: -12px; bottom: 82px; }
.float-card .mini-signal { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px rgba(183,255,90,.8); }

.client-strip { padding: 20px 0 0; }
.client-label { margin-bottom: 15px; color: var(--muted-2); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.client-grid { display: grid; grid-template-columns: repeat(9, 1fr); border: 1px solid var(--line); border-radius: 17px; background: rgba(9,13,19,.7); overflow: hidden; }
.client { min-height: 67px; display: grid; place-items: center; padding: 10px; border-right: 1px solid var(--line); color: #b7c2cf; font-size: .73rem; font-weight: 780; text-align: center; }
.client:last-child { border-right: 0; }
.client:hover { background: rgba(255,255,255,.025); color: #fff; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 17px; }
.card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17,24,35,.82), rgba(9,13,20,.9));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.card.hover { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.card.hover:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.21); background: linear-gradient(180deg, rgba(20,29,42,.9), rgba(10,15,22,.94)); }
.card p { color: var(--muted); font-size: .91rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.035); color: var(--cyan); font-size: .74rem; font-weight: 850; }
.card .meta { color: var(--muted-2); font-size: .68rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.card .card-link { position: absolute; inset: 0; }
.card .card-link:focus-visible { outline: 2px solid var(--signal); outline-offset: -4px; border-radius: inherit; }
.card.span-7 { grid-column: span 7; }
.card.span-5 { grid-column: span 5; }
.card.span-4 { grid-column: span 4; }
.card.span-8 { grid-column: span 8; }
.card.span-6 { grid-column: span 6; }
.card.span-12 { grid-column: span 12; }

.step-card { padding-top: 72px; min-height: 260px; }
.step-number { position: absolute; top: 22px; right: 24px; color: rgba(255,255,255,.08); font-size: 3.4rem; font-weight: 850; line-height: 1; letter-spacing: -.08em; }
.step-tag { position: absolute; top: 26px; left: 26px; color: var(--signal); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.product-showcase { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: #080c12; box-shadow: var(--shadow); }
.product-topbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.product-topbar .project { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 780; }
.product-topbar .project::before { content: ""; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--violet), var(--cyan)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.product-layout { display: grid; grid-template-columns: 190px minmax(0,1fr); min-height: 540px; }
.product-side { padding: 18px 12px; border-right: 1px solid var(--line); background: #070a0f; }
.product-nav { display: grid; gap: 4px; }
.product-nav span { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; color: var(--muted-2); font-size: .69rem; font-weight: 700; }
.product-nav span.active { background: rgba(183,255,90,.07); color: #e9ffd8; }
.product-nav i { width: 6px; height: 6px; border-radius: 50%; background: #424d5c; }
.product-nav .active i { background: var(--signal); box-shadow: 0 0 10px rgba(183,255,90,.65); }
.product-main { padding: 22px; }
.product-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.product-title h3 { margin: 0; font-size: 1.15rem; }
.product-title p { margin: 3px 0 0; color: var(--muted-2); font-size: .66rem; }
.metric-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 13px; }
.metric-box { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.metric-box small { display: block; color: var(--muted-2); font-size: .59rem; font-weight: 760; text-transform: uppercase; }
.metric-box strong { display: block; margin-top: 3px; font-size: 1.42rem; letter-spacing: -.04em; }
.metric-box em { color: var(--success); font-size: .59rem; font-style: normal; }
.product-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.chart-panel, .opportunity-panel { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.018); }
.chart-head { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 18px; color: var(--muted); font-size: .63rem; }
.mini-chart { position: relative; height: 170px; border-left: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); background: repeating-linear-gradient(to top, transparent 0 33px, rgba(255,255,255,.035) 34px); overflow: hidden; }
.mini-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.opportunity-list { display: grid; gap: 8px; }
.opportunity { padding: 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(0,0,0,.15); }
.opportunity b { display: block; font-size: .65rem; }
.opportunity small { color: var(--muted-2); font-size: .57rem; }

.feature-visual { display: grid; place-items: center; min-height: 270px; margin-top: 22px; border: 1px solid var(--line); border-radius: 17px; background: radial-gradient(circle at 50% 0, rgba(94,220,255,.08), transparent 55%), #080c12; overflow: hidden; }
.feature-visual img { width: 100%; height: 100%; object-fit: cover; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.tag { display: inline-flex; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); color: #aeb9c7; font-size: .64rem; font-weight: 720; }

.signal-flow { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; gap: 10px; align-items: center; }
.flow-node { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(17,24,35,.86), rgba(9,13,20,.92)); }
.flow-node strong { font-size: 1.14rem; }
.flow-node p { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }
.flow-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: var(--cyan); font-weight: 850; }
.flow-arrow { position: relative; height: 1px; background: linear-gradient(90deg, var(--violet), var(--signal)); }
.flow-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 1px solid var(--signal); border-right: 1px solid var(--signal); transform: rotate(45deg); }
.flow-arrow::before { content: ""; position: absolute; width: 8px; height: 8px; top: -3.5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 18px var(--signal); animation: travel 2.5s linear infinite; }
@keyframes travel { from { left: 0; } to { left: calc(100% - 8px); } }

.demo-shell { display: grid; grid-template-columns: minmax(0,.82fr) minmax(420px,1.18fr); gap: 25px; padding: 25px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(16,23,34,.88), rgba(8,12,18,.95)); box-shadow: var(--shadow-soft); }
.demo-prompts { display: grid; align-content: start; gap: 9px; }
.demo-prompt { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); color: var(--muted); font-size: .78rem; text-align: left; cursor: pointer; transition: .18s ease; }
.demo-prompt:hover, .demo-prompt.active { border-color: rgba(183,255,90,.35); background: rgba(183,255,90,.05); color: #efffde; }
.demo-output { min-height: 392px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #06090e; }
.demo-output-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: .65rem; }
.demo-status { display: inline-flex; align-items: center; gap: 7px; }
.demo-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px rgba(183,255,90,.7); }
.demo-response { padding-top: 17px; }
.demo-response .response-title { margin-bottom: 12px; font-size: .85rem; }
.demo-response ol { margin: 0; padding-left: 20px; color: #d9e1eb; font-size: .74rem; }
.demo-response li { margin-bottom: 10px; padding-left: 5px; }
.demo-response code { color: var(--cyan); font-size: .66rem; }
.typing::after { content: "▋"; color: var(--signal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: rgba(9,13,19,.72); }
.comparison { width: 100%; min-width: 720px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: .78rem; }
.comparison th { color: #eef4f8; background: rgba(255,255,255,.024); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; }
.comparison th:first-child, .comparison td:first-child { width: 30%; color: var(--text-soft); font-weight: 750; }
.comparison td { color: var(--muted); }
.comparison tbody tr:last-child td { border-bottom: 0; }
.comparison .best { background: rgba(183,255,90,.035); color: #e8ffd6; }
.check { color: var(--signal); font-weight: 900; }
.neutral { color: var(--amber); }

.quote-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 20% 0, rgba(143,124,255,.1), transparent 48%), rgba(12,17,25,.78); }
.quote-card blockquote { margin: 0 0 20px; font-size: clamp(1.3rem, 2.5vw, 2.1rem); line-height: 1.32; letter-spacing: -.035em; }
.quote-card cite { color: var(--muted); font-size: .77rem; font-style: normal; }
.proof-note { padding: 16px 18px; border-left: 2px solid var(--signal); background: rgba(183,255,90,.045); color: #cbd6e2; font-size: .8rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; max-width: 980px; margin-inline: auto; }
.price-card { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(16,23,34,.88), rgba(8,12,18,.95)); }
.price-card.featured { border-color: rgba(183,255,90,.48); box-shadow: 0 0 0 1px rgba(183,255,90,.07), 0 30px 90px rgba(0,0,0,.3); }
.price-badge { position: absolute; top: 17px; right: 17px; padding: 5px 8px; border-radius: 999px; background: var(--signal); color: #071006; font-size: .6rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.price-name { color: var(--text-soft); font-size: .78rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.price-amount { margin: 11px 0 10px; font-size: 3.9rem; line-height: 1; letter-spacing: -.065em; font-weight: 850; }
.price-amount small { color: var(--muted); font-size: .83rem; font-weight: 650; letter-spacing: 0; }
.price-card > p { min-height: 52px; color: var(--muted); font-size: .87rem; }
.feature-list { display: grid; gap: 9px; margin: 24px 0 28px; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 19px 1fr; gap: 8px; color: #c8d1dd; font-size: .78rem; }
.feature-list li::before { content: "✓"; width: 17px; height: 17px; display: grid; place-items: center; margin-top: 2px; border: 1px solid rgba(183,255,90,.24); border-radius: 50%; color: var(--signal); font-size: .59rem; }
.price-card .button { width: 100%; }

.faq-list { max-width: 920px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; border: 0; background: transparent; color: #eef3f8; font-size: .98rem; font-weight: 760; text-align: left; cursor: pointer; }
.faq button::after { content: "+"; flex: 0 0 auto; color: var(--signal); font-size: 1.35rem; font-weight: 400; transition: transform .2s ease; }
.faq button[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq button[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { max-width: 780px; padding: 0 0 22px; color: var(--muted); font-size: .87rem; }

.cta-panel { position: relative; overflow: hidden; padding: 70px 40px; border: 1px solid rgba(183,255,90,.2); border-radius: var(--radius-xl); background: radial-gradient(circle at 50% -30%, rgba(183,255,90,.2), transparent 48%), radial-gradient(circle at 95% 0, rgba(94,220,255,.12), transparent 37%), #0b1017; text-align: center; }
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; border: 1px solid rgba(183,255,90,.12); border-radius: 50%; pointer-events: none; }
.cta-panel::before { width: 420px; height: 420px; left: -240px; top: -260px; }
.cta-panel::after { width: 520px; height: 520px; right: -310px; bottom: -390px; }
.cta-panel h2 { max-width: 850px; margin-inline: auto; }
.cta-panel p { max-width: 670px; margin-inline: auto; color: var(--muted); }
.cta-panel .actions { justify-content: center; }

.subhero { position: relative; padding: 91px 0 64px; overflow: clip; }
.subhero::after { content: ""; position: absolute; width: 500px; height: 500px; right: -180px; top: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(94,220,255,.1), transparent 65%); pointer-events: none; }
.subhero h1 { max-width: 980px; font-size: clamp(3rem, 6vw, 5.8rem); }
.subhero .lede { max-width: 760px; }
.subhero.centered h1, .subhero.centered .lede { margin-inline: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--muted-2); font-size: .7rem; font-weight: 700; }
.breadcrumbs a:hover { color: var(--signal); }
.breadcrumbs span[aria-hidden="true"] { opacity: .55; }

.split { display: grid; grid-template-columns: minmax(0,.93fr) minmax(460px,1.07fr); gap: 68px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.reverse > :last-child { order: 1; }
.bullet-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.bullet-list li { display: grid; grid-template-columns: 25px 1fr; gap: 11px; color: #cbd4df; font-size: .9rem; }
.bullet-list li::before { content: "✓"; width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid rgba(183,255,90,.25); border-radius: 8px; color: var(--signal); font-size: .65rem; }

.code-block { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #06090d; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 43px; padding: 9px 12px 9px 15px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: .64rem; font-weight: 760; }
.code-block pre { margin: 0; padding: 18px; overflow-x: auto; color: #d9e1eb; font-size: .72rem; line-height: 1.75; }
.code-block .key { color: var(--cyan); }
.code-block .string { color: var(--signal-2); }
.code-block .comment { color: #566174; }
.copy-button { min-height: 30px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03); color: #c5cfda; font-size: .61rem; font-weight: 800; cursor: pointer; }
.copy-button:hover { border-color: rgba(183,255,90,.35); color: var(--signal); }

.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.tab-button { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); color: var(--muted); font-size: .72rem; font-weight: 780; cursor: pointer; }
.tab-button:hover, .tab-button[aria-selected="true"] { border-color: rgba(183,255,90,.34); background: rgba(183,255,90,.055); color: #eaffe0; }
.tab-panel[hidden] { display: none; }

.connect-shell { display: grid; grid-template-columns: minmax(280px,.74fr) minmax(0,1.26fr); gap: 22px; align-items: start; }
.token-panel { position: sticky; top: 105px; padding: 25px; border: 1px solid rgba(183,255,90,.27); border-radius: 20px; background: radial-gradient(circle at 10% 0, rgba(183,255,90,.1), transparent 45%), #0b1017; }
.token-value { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #06090e; font-family: "SFMono-Regular", Consolas, monospace; font-size: .75rem; }
.token-value span { color: #dce4ee; }
.token-panel p { color: var(--muted); font-size: .79rem; }
.setup-panel { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(12,17,25,.78); }
.setup-step { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.setup-step:first-child { padding-top: 0; }
.setup-step:last-child { padding-bottom: 0; border-bottom: 0; }
.setup-num { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(183,255,90,.23); border-radius: 11px; color: var(--signal); font-size: .72rem; font-weight: 850; }
.setup-step p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }

.docs-layout { display: grid; grid-template-columns: 220px minmax(0,1fr) 180px; gap: 42px; align-items: start; }
.docs-nav { position: sticky; top: 110px; display: grid; gap: 3px; }
.docs-nav a { padding: 8px 10px; border-left: 1px solid var(--line); color: var(--muted-2); font-size: .72rem; font-weight: 680; }
.docs-nav a:hover, .docs-nav a.active { border-color: var(--signal); color: #fff; background: linear-gradient(90deg, rgba(183,255,90,.05), transparent); }
.docs-content { min-width: 0; }
.docs-content > section { padding: 0 0 55px; }
.docs-content h2 { font-size: 2.25rem; }
.docs-content h3 { margin-top: 34px; font-size: 1.25rem; }
.docs-content p, .docs-content li { color: #aab6c5; font-size: .88rem; }
.docs-content ul, .docs-content ol { padding-left: 20px; }
.docs-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.on-this-page { position: sticky; top: 110px; }
.on-this-page b { display: block; margin-bottom: 11px; color: #cfd8e3; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.on-this-page a { display: block; padding: 5px 0; color: var(--muted-2); font-size: .66rem; }
.on-this-page a:hover { color: var(--signal); }
.callout { margin: 20px 0; padding: 15px 17px; border: 1px solid rgba(94,220,255,.18); border-radius: 13px; background: rgba(94,220,255,.045); color: #cbd7e4; font-size: .78rem; }
.callout.warning { border-color: rgba(255,190,112,.2); background: rgba(255,190,112,.045); }

.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 65px; align-items: start; }
.article { max-width: 820px; }
.article .article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 30px; color: var(--muted-2); font-size: .7rem; font-weight: 700; }
.article h2 { margin-top: 54px; font-size: clamp(2rem, 4vw, 3.15rem); }
.article h3 { margin-top: 36px; font-size: 1.35rem; }
.article p, .article li { color: #b4bfcd; font-size: 1rem; line-height: 1.78; }
.article a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 9px; }
.article-aside { position: sticky; top: 110px; }
.toc { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12,17,25,.7); }
.toc b { display: block; margin-bottom: 10px; color: #e5ebf2; font-size: .73rem; text-transform: uppercase; letter-spacing: .09em; }
.toc a { display: block; padding: 6px 0; color: var(--muted-2); font-size: .7rem; }
.toc a:hover { color: var(--signal); }
.article-cta { margin-top: 26px; padding: 20px; border: 1px solid rgba(183,255,90,.25); border-radius: 16px; background: rgba(183,255,90,.05); }
.article-cta p { color: var(--muted); font-size: .75rem; }

.integration-card { min-height: 230px; }
.integration-mark { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, rgba(143,124,255,.13), rgba(94,220,255,.06)); color: #fff; font-weight: 900; }
.integration-type { display: inline-flex; margin-top: 8px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-2); font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.stat-band { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(9,13,19,.76); }
.stat { min-height: 125px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { font-size: 1.85rem; line-height: 1; letter-spacing: -.05em; }
.stat span { margin-top: 7px; color: var(--muted-2); font-size: .66rem; font-weight: 730; text-transform: uppercase; letter-spacing: .08em; }

.site-footer { padding: 72px 0 32px; border-top: 1px solid var(--line); background: rgba(4,6,9,.5); }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(120px,.7fr)); gap: 45px; padding-bottom: 53px; }
.footer-brand p { max-width: 330px; margin-top: 18px; color: var(--muted); font-size: .79rem; }
.footer-signal { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: #b8c4d1; font-size: .67rem; }
.footer-signal::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 11px rgba(183,255,90,.7); }
.footer-column b { display: block; margin-bottom: 13px; color: #dfe6ee; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-column a { display: block; padding: 5px 0; color: var(--muted-2); font-size: .72rem; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 17px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .65rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-legal a:hover { color: #fff; }

.auth-shell { min-height: calc(100vh - 38px); display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.72fr); }
.auth-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 45px; background: radial-gradient(circle at 15% 0, rgba(143,124,255,.18), transparent 45%), radial-gradient(circle at 90% 80%, rgba(94,220,255,.13), transparent 46%), #080b11; }
.auth-brand h1 { max-width: 650px; font-size: clamp(3rem, 5vw, 5.6rem); }
.auth-form-wrap { display: grid; place-items: center; padding: 35px; background: #06080c; }
.auth-form { width: min(100%, 410px); }
.form-field { display: grid; gap: 7px; margin-bottom: 16px; }
.form-field label { color: #cbd4df; font-size: .72rem; font-weight: 760; }
.form-field input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 12px; outline: none; background: #0b1017; color: #fff; }
.form-field input:focus { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(183,255,90,.08); }
.form-note { color: var(--muted-2); font-size: .68rem; }

.app-body { background: #06080c; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 230px minmax(0,1fr); }
.app-sidebar { padding: 20px 14px; border-right: 1px solid var(--line); background: #080b10; }
.app-sidebar .brand { padding: 0 8px 20px; }
.app-nav { display: grid; gap: 4px; }
.app-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 10px; color: var(--muted-2); font-size: .72rem; font-weight: 710; }
.app-nav a.active { background: rgba(183,255,90,.065); color: #efffdf; }
.app-nav i { width: 7px; height: 7px; border-radius: 50%; background: #394455; }
.app-nav a.active i { background: var(--signal); }
.app-content { min-width: 0; }
.app-topbar { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 25px; border-bottom: 1px solid var(--line); background: rgba(8,11,16,.88); }
.app-main { padding: 24px; }
.app-page-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.app-page-head h1 { margin: 0; font-size: 2rem; letter-spacing: -.045em; }
.app-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(310px,.55fr); gap: 16px; }
.app-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #0b1017; }
.app-card h3 { font-size: .87rem; }
.app-table { width: 100%; border-collapse: collapse; }
.app-table th, .app-table td { padding: 11px 9px; border-bottom: 1px solid var(--line); text-align: left; font-size: .66rem; }
.app-table th { color: var(--muted-2); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.app-table td { color: #c8d1dc; }
.status-chip { display: inline-flex; padding: 4px 7px; border-radius: 999px; background: rgba(183,255,90,.07); color: var(--signal); font-size: .57rem; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

@media (max-width: 1120px) {
  .nav-center { display: none; }
  .menu-toggle { display: grid; }
  .nav-actions .nav-login { display: none; }
  .mobile-panel { position: fixed; top: calc(38px + var(--header-height)); left: 20px; right: 20px; max-height: calc(100vh - 135px); overflow-y: auto; padding: 16px; border: 1px solid var(--line-strong); border-radius: 19px; background: rgba(8,12,18,.98); box-shadow: var(--shadow); }
  .mobile-panel.open { display: block; }
  .mobile-panel a { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.055); color: #c6d0dc; font-size: .82rem; font-weight: 720; }
  .mobile-panel a:last-child { border-bottom: 0; }
  .mobile-section { margin: 15px 10px 5px; color: var(--muted-2); font-size: .62rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { max-width: 850px; }
  .agent-stage { min-height: 560px; }
  .agent-window { transform: none; }
  .client-grid { grid-template-columns: repeat(5,1fr); }
  .client:nth-child(5) { border-right: 0; }
  .client:nth-child(-n+5) { border-bottom: 1px solid var(--line); }
  .product-layout { grid-template-columns: 165px minmax(0,1fr); }
  .docs-layout { grid-template-columns: 190px minmax(0,1fr); }
  .on-this-page { display: none; }
  .footer-top { grid-template-columns: 1.3fr repeat(2,1fr); }
  .footer-brand { grid-row: span 2; }
}

@media (max-width: 860px) {
  :root { --header-height: 68px; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 82px 0; }
  .section.compact { padding: 58px 0; }
  h1 { font-size: clamp(3rem, 13vw, 5.3rem); }
  h2 { font-size: clamp(2.25rem, 9vw, 3.8rem); }
  .announcement { min-height: 36px; font-size: .69rem; }
  .site-header { top: 0; }
  .brand small { display: none; }
  .hero { padding: 72px 0 56px; }
  .section-heading, .split, .split.reverse, .demo-shell, .connect-shell, .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .split.reverse > :first-child, .split.reverse > :last-child { order: initial; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card.span-7, .card.span-5, .card.span-4, .card.span-8, .card.span-6, .card.span-12 { grid-column: span 1; }
  .signal-flow { grid-template-columns: 1fr; }
  .flow-arrow { width: 1px; height: 50px; margin-inline: auto; background: linear-gradient(var(--violet),var(--signal)); }
  .flow-arrow::after { right: -4px; top: auto; bottom: -1px; transform: rotate(135deg); }
  .flow-arrow::before { left: -3.5px; animation: travel-y 2.5s linear infinite; }
  @keyframes travel-y { from { top: 0; } to { top: calc(100% - 8px); } }
  .product-layout { grid-template-columns: 1fr; }
  .product-side { display: none; }
  .metric-row { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .token-panel { position: static; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; display: flex; overflow-x: auto; padding-bottom: 8px; }
  .docs-nav a { flex: 0 0 auto; border-left: 0; border-bottom: 1px solid var(--line); }
  .article-aside { position: static; order: -1; }
  .footer-top { grid-template-columns: repeat(2,1fr); }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { min-height: 420px; }
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .app-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-actions .button.primary { display: none; }
  .mobile-panel { top: calc(36px + var(--header-height)); }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .agent-stage { min-height: 530px; margin-inline: -7px; }
  .agent-window { border-radius: 18px; }
  .agent-body { padding: 12px; }
  .float-card { display: none; }
  .result-row { grid-template-columns: 24px 1fr; }
  .impact { display: none; }
  .client-grid { grid-template-columns: repeat(3,1fr); }
  .client { border-bottom: 1px solid var(--line); }
  .client:nth-child(3n) { border-right: 0; }
  .client:nth-child(5) { border-right: 1px solid var(--line); }
  .client:nth-child(-n+5) { border-bottom: 1px solid var(--line); }
  .client:nth-last-child(-n+3) { border-bottom: 0; }
  .grid-2, .grid-3, .grid-4, .bento { grid-template-columns: 1fr; }
  .section-heading { gap: 12px; margin-bottom: 35px; }
  .card { padding: 22px; }
  .product-main { padding: 13px; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-panel { padding: 52px 20px; border-radius: 25px; }
  .price-card { padding: 25px; }
  .price-amount { font-size: 3.25rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .auth-brand { padding: 28px; }
  .auth-form-wrap { padding: 28px 20px; }
  .app-main { padding: 15px; }
  .app-topbar { padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Product preview enhancements */
.app-sidebar { display: flex; flex-direction: column; min-height: 100vh; }
.app-sidebar-foot { margin-top: auto; padding: 18px 9px 4px; border-top: 1px solid var(--line); }
.app-sidebar-foot p { margin: 10px 0 12px; color: var(--muted-2); font-size: .62rem; line-height: 1.55; }
.app-topbar > div:first-child { display: flex; align-items: center; gap: 8px; }
.app-topbar > div:first-child small { color: var(--muted-2); font-size: .62rem; }
.app-project-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px rgba(183,255,90,.7); }
.app-top-actions { display: flex; align-items: center; gap: 9px; }
.app-sync { color: var(--muted-2); font-size: .62rem; font-weight: 680; }
.preview-ribbon { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 9px; border: 1px solid rgba(94,220,255,.18); border-radius: 999px; background: rgba(94,220,255,.045); color: #a9eefd; font-size: .58rem; font-weight: 820; letter-spacing: .05em; text-transform: uppercase; }
.preview-ribbon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(94,220,255,.65); }
.app-page-head p { margin: 5px 0 0; color: var(--muted-2); font-size: .72rem; }
.app-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.app-card.metric { min-height: 150px; overflow: hidden; position: relative; }
.app-card.metric > span { display: block; color: var(--muted-2); font-size: .61rem; font-weight: 770; letter-spacing: .08em; text-transform: uppercase; }
.app-card.metric > strong { display: block; margin-top: 8px; font-size: 2rem; line-height: 1; letter-spacing: -.055em; }
.app-card.metric > em { display: block; margin-top: 7px; color: var(--success); font-size: .62rem; font-style: normal; font-weight: 700; }
.metric-bar { position: absolute; left: 18px; right: 18px; bottom: 16px; height: 5px; overflow: hidden; border-radius: 999px; background: #192230; }
.metric-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--violet),var(--signal)); }
.metric-bar.cyan i { background: linear-gradient(90deg,var(--violet),var(--cyan)); }
.metric-sparks { position: absolute; inset: auto 18px 14px; height: 25px; display: flex; align-items: end; gap: 4px; }
.metric-sparks i { flex: 1; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg,rgba(183,255,90,.9),rgba(183,255,90,.16)); }
.metric-sparks i:nth-child(1) { height: 25%; }.metric-sparks i:nth-child(2) { height: 42%; }.metric-sparks i:nth-child(3) { height: 38%; }.metric-sparks i:nth-child(4) { height: 61%; }.metric-sparks i:nth-child(5) { height: 56%; }.metric-sparks i:nth-child(6) { height: 76%; }.metric-sparks i:nth-child(7) { height: 94%; }
.client-dots { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; }
.client-dots i { width: 27px; height: 27px; display: grid; place-items: center; margin-right: -5px; border: 2px solid #0b1017; border-radius: 50%; background: #172130; color: #dce6f1; font-size: .48rem; font-style: normal; font-weight: 850; }
.client-dots i:nth-child(2) { background: #1f1a2c; }.client-dots i:nth-child(3) { background: #132529; }.client-dots i:nth-child(4) { background: #17243a; }
.app-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.app-card-head h3 { margin-top: 3px; font-size: .96rem; }
.app-card-head .meta { color: var(--muted-2); font-size: .57rem; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.app-card-head .tag { cursor: default; }
.app-chart { position: relative; min-height: 245px; padding-top: 5px; }
.app-chart svg { width: 100%; height: 220px; overflow: visible; }
.app-chart .gridlines path { fill: none; stroke: rgba(255,255,255,.055); stroke-width: 1; }
.app-chart-labels { display: flex; justify-content: space-between; color: var(--muted-2); font-size: .52rem; }
.app-chart-summary { display: flex; flex-wrap: wrap; gap: 12px 21px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .61rem; }
.app-chart-summary span { display: flex; align-items: center; gap: 6px; }
.app-chart-summary b { color: #dfe7ef; }
.app-chart-summary i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.app-chart-summary .cyan-dot { background: var(--cyan); }.app-chart-summary .green-dot { background: var(--signal); }
.table-wrap { overflow-x: auto; }
.app-table td strong { display: block; color: #eef3f8; font-size: .69rem; }
.app-table td small { display: block; margin-top: 2px; color: var(--muted-2); font-size: .56rem; }
.score { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; font-size: .62rem; }
.score-high { background: rgba(183,255,90,.09); color: var(--signal); }.score-mid { background: rgba(94,220,255,.08); color: var(--cyan); }
.status-chip.neutral { background: rgba(255,255,255,.055); color: #a9b4c2; }.status-chip.cyan { background: rgba(94,220,255,.07); color: var(--cyan); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-size: .56rem; font-weight: 830; text-transform: uppercase; }
.live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px rgba(127,240,180,.55); }
.token-mini { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #070b10; }
.token-mini span { color: var(--muted-2); font-size: .55rem; text-transform: uppercase; letter-spacing: .08em; }
.token-mini code { color: #d8e0e9; font-size: .62rem; }
.token-mini button { grid-row: 1/3; grid-column: 2; border: 0; background: transparent; color: var(--cyan); font-size: .58rem; font-weight: 760; cursor: pointer; }
.agent-clients { display: grid; gap: 1px; margin: 12px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.agent-clients > div { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; padding: 10px; background: #0a0f16; }
.agent-clients i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #17202d; color: #cfe0ee; font-size: .48rem; font-style: normal; font-weight: 860; }
.agent-clients b, .agent-clients small { display: block; }
.agent-clients b { color: #e7edf4; font-size: .64rem; }.agent-clients small { color: var(--muted-2); font-size: .52rem; }.agent-clients em { color: #8794a5; font-size: .57rem; font-style: normal; }
.agent-access .button, .agent-brief .button { width: 100%; justify-content: center; }
.brief-line { display: grid; grid-template-columns: 25px 1fr; gap: 9px; padding: 11px 0; border-top: 1px solid var(--line); }
.brief-line span { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--cyan); font-size: .5rem; font-weight: 850; }
.brief-line p { margin: 0; color: var(--muted-2); font-size: .61rem; line-height: 1.55; }.brief-line b { display: block; margin-bottom: 2px; color: #dfe6ed; font-size: .63rem; }
.coverage-list { display: grid; gap: 13px; }
.coverage-list > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.coverage-list span, .coverage-list b { font-size: .59rem; }.coverage-list span { color: var(--muted-2); }.coverage-list b { color: #cbd5e0; }
.coverage-list i { grid-column: 1/3; height: 4px; overflow: hidden; border-radius: 999px; background: #1a2430; }
.coverage-list em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--violet),var(--cyan),var(--signal)); }
.legal-copy { max-width: 900px; margin-inline: auto; }
.legal-copy section:first-of-type h2 { margin-top: 35px; }

@media (max-width: 1050px) {
  .app-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app-top-actions .app-sync { display: none; }
}
@media (max-width: 700px) {
  .app-metrics { grid-template-columns: 1fr 1fr; }
  .app-topbar { align-items: flex-start; }
  .app-topbar > div:first-child { flex-wrap: wrap; }
  .app-top-actions .button:not(.primary) { display: none; }
  .app-page-head { align-items: flex-start; flex-direction: column; }
  .app-page-head .button { width: 100%; justify-content: center; }
}
@media (max-width: 470px) {
  .app-metrics { grid-template-columns: 1fr; }
  .app-card.metric { min-height: 132px; }
  .app-top-actions .button.primary { display: none; }
}


/* --- Commercial expansion components --- */
.commercial-hero .breadcrumbs { margin-bottom: 28px; }
.commercial-hero .hero-copy h1 { font-size: clamp(3.6rem, 6.3vw, 7.2rem); }
.compact-grid { gap: 14px; }
.compact-grid .card { min-height: 210px; }
.signal-console { position: relative; align-self: center; overflow: hidden; border: 1px solid #2a3649; border-radius: 28px; background: linear-gradient(180deg,#101722,#080c12); box-shadow: 0 34px 90px rgba(0,0,0,.45),0 0 90px rgba(94,220,255,.075); }
.signal-console::before { content:""; position:absolute; inset:-80px -140px auto auto; width:320px; height:320px; border-radius:50%; background:rgba(94,220,255,.08); filter:blur(10px); pointer-events:none; }
.signal-console-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 19px; border-bottom:1px solid var(--line); background:#121a25; color:var(--muted); font-size:.72rem; font-weight:760; }
.signal-console-bar > span:first-child { display:flex; align-items:center; gap:8px; }
.signal-console-bar i { width:7px; height:7px; border-radius:50%; background:var(--signal); box-shadow:0 0 13px rgba(183,255,90,.75); }
.signal-console-prompt,.signal-console-tools,.signal-console-result { margin:16px; padding:18px; border:1px solid var(--line); border-radius:16px; background:#0b1119; }
.signal-console-prompt small,.signal-console-tools small { display:block; margin-bottom:10px; color:var(--muted-2); font-size:.58rem; font-weight:850; letter-spacing:.12em; }
.signal-console-prompt p { margin:0; color:#e3eaf2; font-size:.88rem; line-height:1.65; }
.signal-console-tools { background:#081116; border-color:#1f3d40; }
.signal-console-tools span { display:inline-flex; margin:4px 5px 0 0; padding:6px 9px; border:1px solid rgba(183,255,90,.18); border-radius:999px; color:#bffb8e; background:rgba(183,255,90,.045); font-family:var(--mono); font-size:.61rem; }
.signal-console-result { margin-bottom:20px; }
.signal-console-result > div { display:flex; justify-content:space-between; gap:18px; padding-bottom:13px; border-bottom:1px solid var(--line); }
.signal-console-result b { color:#f2f6fa; font-size:.9rem; }
.signal-console-result > div span { color:var(--muted-2); font-size:.62rem; }
.signal-console-result ul { display:grid; gap:10px; margin:14px 0 0; padding:0; list-style:none; }
.signal-console-result li { position:relative; padding-left:19px; color:#9eacbd; font-size:.7rem; line-height:1.45; }
.signal-console-result li::before { content:""; position:absolute; left:0; top:.43em; width:7px; height:7px; border-radius:50%; background:var(--signal); }
.use-case-list { overflow:hidden; border:1px solid var(--line); border-radius:24px; background:#0b1017; }
.use-case-row { display:grid; grid-template-columns:72px 1fr; gap:22px; padding:26px 30px; border-bottom:1px solid var(--line); }
.use-case-row:last-child { border-bottom:0; }
.use-case-row > span { width:48px; height:48px; display:grid; place-items:center; border:1px solid #2b384b; border-radius:14px; color:var(--cyan); background:#111925; font-size:.7rem; font-weight:880; }
.use-case-row h3 { margin:0 0 5px; font-size:1.02rem; }
.use-case-row p { max-width:850px; margin:0; color:var(--muted); font-size:.88rem; }
.prompt-card-web { padding:22px; border:1px solid var(--line); border-radius:18px; background:#0b1119; }
.prompt-card-web > div { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.prompt-card-web button { border:0; background:transparent; color:var(--cyan); font-size:.62rem; font-weight:800; cursor:pointer; }
.prompt-card-web p { margin:16px 0 0; padding:17px; border:1px solid #202b3a; border-radius:13px; background:#070b10; color:#c7d1dc; font-family:var(--mono); font-size:.71rem; line-height:1.68; }
.comparison-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:22px; background:#0a0f16; }
.comparison-table { width:100%; min-width:760px; border-collapse:collapse; }
.comparison-table th,.comparison-table td { padding:19px 22px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; font-size:.76rem; line-height:1.55; }
.comparison-table thead th { color:#a8b5c5; background:#111824; font-size:.63rem; letter-spacing:.08em; text-transform:uppercase; }
.comparison-table tbody th { width:19%; color:#edf2f7; font-size:.72rem; }
.comparison-table tbody td:nth-child(2) { width:37%; color:#8290a2; }
.comparison-table tbody td:nth-child(3) { color:#c5d2df; background:rgba(183,255,90,.02); }
.comparison-table tr:last-child th,.comparison-table tr:last-child td { border-bottom:0; }
.timeline { position:relative; display:grid; gap:1px; overflow:hidden; border:1px solid var(--line); border-radius:23px; background:var(--line); }
.timeline-item { display:grid; grid-template-columns:72px 1fr; gap:22px; padding:27px 30px; background:#0b1017; }
.timeline-item > span { width:48px; height:48px; display:grid; place-items:center; border-radius:15px; background:linear-gradient(135deg,rgba(143,124,255,.14),rgba(94,220,255,.08)); color:var(--cyan); font-size:.68rem; font-weight:900; }
.timeline-item h3 { margin:0 0 6px; font-size:1.05rem; }
.timeline-item p { margin:0; color:var(--muted); }
.mini-card { display:flex; flex-direction:column; min-height:126px; padding:20px; border:1px solid var(--line); border-radius:16px; background:#0b1119; text-decoration:none; transition:transform .2s ease,border-color .2s ease; }
.mini-card:hover { transform:translateY(-2px); border-color:#384960; }
.mini-card b { color:#f0f4f8; font-size:.92rem; }
.mini-card span { margin-top:7px; color:var(--muted-2); font-size:.72rem; }
.security-stack { display:grid; gap:9px; }
.security-stack article { position:relative; padding:20px 22px; border:1px solid var(--line); border-radius:17px; background:#0b1119; }
.security-stack article span { display:block; margin-bottom:5px; color:var(--cyan); font-size:.55rem; font-weight:880; letter-spacing:.1em; }
.security-stack article b { color:#edf3f8; font-size:.88rem; }
.security-stack article p { margin:5px 0 0; color:var(--muted-2); font-size:.66rem; }
.security-stack > i { justify-self:center; color:var(--signal); font-style:normal; }
.brand-showcase { display:grid; grid-template-columns:1fr 1fr 250px; gap:16px; }
.brand-lockup,.brand-mark { min-height:245px; display:grid; place-items:center; overflow:hidden; border:1px solid var(--line); border-radius:24px; }
.brand-lockup img { width:min(80%,480px); height:auto; }
.brand-lockup.dark { background:#05070b; }
.brand-lockup.light { background:#f5f7fa; }
.brand-mark { background:radial-gradient(circle at 50% 30%,#14202e,#070a0f); }
.brand-mark img { width:132px; height:132px; }
.swatch-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.swatch-grid article { overflow:hidden; border:1px solid var(--line); border-radius:16px; background:#0a0f16; }
.swatch-grid i { display:block; height:132px; background:var(--swatch); border-bottom:1px solid var(--line); }
.swatch-grid b,.swatch-grid span { display:block; padding-inline:14px; }
.swatch-grid b { padding-top:13px; color:#ecf1f6; font-size:.7rem; }
.swatch-grid span { padding-top:4px; padding-bottom:14px; color:var(--muted-2); font-family:var(--mono); font-size:.58rem; }
.download-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.download-card { display:grid; grid-template-columns:48px 1fr 24px; align-items:center; gap:13px; padding:18px; border:1px solid var(--line); border-radius:17px; background:#0b1119; text-decoration:none; transition:transform .2s ease,border-color .2s ease; }
.download-card:hover { transform:translateY(-2px); border-color:#3a4a61; }
.download-card > span { width:46px; height:46px; display:grid; place-items:center; border-radius:13px; background:#141d29; color:var(--cyan); font-size:.57rem; font-weight:900; }
.download-card b,.download-card small { display:block; }
.download-card b { color:#ecf2f8; font-size:.75rem; }
.download-card small { margin-top:4px; color:var(--muted-2); font-size:.6rem; }
.download-card > i { color:var(--signal); font-style:normal; }
.callout code { font-family:var(--mono); }

/* Prevent intrinsic code, table, and dashboard widths from forcing mobile overflow. */
.connect-shell > *, .article-layout > *, .article, .app-grid > *, .app-grid .stack, .app-card,
.grid-2 > *, .grid-3 > *, .grid-4 > *, .bento > *, .kit-logo-board > * { min-width:0; }
.article { width:100%; }
.article p code, .article li code, .article td code { overflow-wrap:anywhere; word-break:break-word; }
.token-panel, .setup-panel { min-width:0; }
.token-value > span:first-child { min-width:0; overflow-wrap:anywhere; word-break:break-word; }

@media (max-width:1050px) {
  .brand-showcase { grid-template-columns:1fr 1fr; }
  .brand-mark { grid-column:1/3; }
  .swatch-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .download-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .connect-shell,.article-layout,.app-grid { grid-template-columns:minmax(0,1fr); }
  .token-value { flex-wrap:wrap; }
  .commercial-hero .hero-copy h1 { font-size:clamp(3.1rem,16vw,5.3rem); }
  .use-case-row,.timeline-item { grid-template-columns:54px 1fr; gap:13px; padding:21px 17px; }
  .use-case-row > span,.timeline-item > span { width:42px; height:42px; }
  .brand-showcase { grid-template-columns:1fr; }
  .brand-mark { grid-column:auto; }
  .brand-lockup,.brand-mark { min-height:190px; }
  .swatch-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .download-grid { grid-template-columns:1fr; }
}
@media (max-width:470px) {
  .signal-console-prompt,.signal-console-tools,.signal-console-result { margin:11px; padding:14px; }
  .signal-console-result > div { align-items:flex-start; flex-direction:column; gap:5px; }
  .use-case-row,.timeline-item { grid-template-columns:1fr; }
  .swatch-grid { grid-template-columns:1fr 1fr; }
  .swatch-grid i { height:96px; }
}
