:root {
  --bg: #050609;
  --bg-soft: #090b11;
  --panel: #0d1018;
  --panel-2: #111521;
  --line: rgba(255, 255, 255, .1);
  --line-bright: rgba(255, 255, 255, .18);
  --text: #f4f7fb;
  --muted: #929bab;
  --muted-2: #626c7c;
  --blue: #2a70ff;
  --cyan: #33d7ff;
  --violet: #9d72ff;
  --green: #39e58c;
  --orange: #ff9d2e;
  --max: 1440px;
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
::selection { color: #071019; background: var(--cyan); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 82px;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(5, 6, 9, .96);
  border-color: var(--line);
}
.nav-shell {
  width: min(calc(100% - 64px), var(--max));
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand > span > span { color: #8a95a7; font-weight: 600; }
.brand-mark { width: 32px; height: 32px; object-fit: contain; image-rendering: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: #aeb6c4;
  font-size: 13px;
  font-weight: 650;
  transition: color .2s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav .language-toggle {
  min-width: 46px;
  height: 40px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-bright);
  color: #aeb6c4;
  background: rgba(255,255,255,.025);
  font: 700 12px/1 var(--sans);
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.main-nav .language-toggle:hover { color: #fff; border-color: var(--cyan); background: rgba(51,215,255,.06); }
.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-bright);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .02em;
  transition: border-color .2s ease, background .2s ease;
}
.nav-cta:hover { border-color: var(--cyan); background: rgba(51,215,255,.06); }
.nav-cta svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 940px;
  height: 100svh;
  max-height: 1120px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(470px, .92fr) minmax(620px, 1.25fr);
  gap: clamp(40px, 5vw, 92px);
  align-items: center;
  padding: 118px max(32px, calc((100vw - var(--max)) / 2)) 74px;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 82% 44%, rgba(42,112,255,.1) 0%, rgba(42,112,255,.035) 30%, transparent 62%),
    radial-gradient(ellipse at 16% 78%, rgba(51,215,255,.025) 0%, transparent 46%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
.hero-grid, .cta-grid {
  position: absolute;
  inset: 0;
  z-index: -4;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 5%, rgba(0,0,0,.5) 55%, transparent 96%);
}
.hero-copy { position: relative; z-index: 3; padding-left: 4px; }
.eyebrow, .section-kicker, .product-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b5bfcc;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(57,229,140,.1), 0 0 20px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(57,229,140,0), 0 0 26px var(--green); } }
.hero h1 {
  margin: 28px 0 25px;
  font-family: var(--display);
  font-size: clamp(62px, 6.15vw, 106px);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.068em;
  text-transform: uppercase;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .outline-line {
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(224,234,247,.72);
}
.hero-lede {
  max-width: 600px;
  margin: 0;
  color: #a7b0bf;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  letter-spacing: -.012em;
}
.hero-actions { display: flex; align-items: center; gap: 13px; margin-top: 34px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 21px;
  border: 1px solid var(--line-bright);
  color: #e8edf4;
  font-size: 13px;
  font-weight: 750;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.button .github-icon { fill: currentColor; stroke: none; }
.button-primary {
  color: white;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 12px 45px rgba(42,112,255,.24);
}
.button-primary:hover { background: #397dff; box-shadow: 0 15px 50px rgba(42,112,255,.36); }
.button-quiet { background: rgba(255,255,255,.035); }
.button-quiet:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.07); }
.button-disabled { opacity: .5; cursor: not-allowed; }
.button-disabled:hover { transform: none; border-color: var(--line-bright); background: rgba(255,255,255,.035); }
.hero-proof {
  display: flex;
  gap: clamp(28px, 3vw, 48px);
  margin-top: 46px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.hero-proof div { display: flex; flex-direction: column; gap: 2px; }
.hero-proof strong { font-family: var(--display); font-size: 18px; letter-spacing: -.02em; }
.hero-proof span { color: var(--muted-2); font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }

.hero-copy, .hero-visual { min-width: 0; }
.hero-visual { position: relative; z-index: 2; width: 100%; }
.product-window {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(175,203,255,.22);
  background: #0b0d12;
  box-shadow: 0 40px 100px rgba(0,0,0,.58), 0 0 100px rgba(42,112,255,.1), inset 0 1px rgba(255,255,255,.05);
}
.window-bar {
  height: 45px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #7f8998;
  background: #0b0e15;
  font-size: 10px;
  font-weight: 650;
}
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #354052; }
.window-dots i:first-child { background: #ff5a63; }
.window-dots i:nth-child(2) { background: #f4b82a; }
.window-dots i:nth-child(3) { background: #2fd16c; }
.window-title { display: flex; align-items: center; gap: 7px; color: #dbe1eb; }
.window-title > span:last-child { padding: 2px 5px; border-radius: 2px; color: #10141a; background: var(--green); font-size: 7px; letter-spacing: .1em; }
.agent-glyph { color: var(--cyan); }
.window-status { justify-self: end; display: flex; align-items: center; gap: 6px; }
.window-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.window-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1800 / 1139;
  line-height: 0;
}
.window-image-wrap img {
  width: 100%;
  max-width: none;
  height: auto;
}
.floating-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,14,21,.97);
  box-shadow: 0 18px 45px rgba(0,0,0,.44);
}
.floating-code { left: -45px; bottom: -58px; width: 260px; padding: 16px 17px 14px; }
.card-head { display: flex; align-items: center; gap: 8px; color: #8f99a9; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.floating-code code { display: block; margin: 12px 0; color: #dfe7f2; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; line-height: 1.7; }
.floating-code code span { color: var(--cyan); }
.code-result { padding-top: 10px; border-top: 1px solid var(--line); color: #7c8797; font-size: 9px; }
.code-result span { color: var(--green); margin-right: 5px; }
.floating-agent { right: -30px; top: -30px; padding: 13px 15px; display: flex; align-items: center; gap: 11px; }
.mini-agent-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(157,114,255,.5); color: #d9c9ff; background: rgba(157,114,255,.14); font-size: 11px; font-weight: 800; }
.floating-agent > div:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 105px; }
.floating-agent strong { font-size: 10px; }
.floating-agent span { color: #788396; font-size: 8px; }
.agent-bars { height: 28px; display: flex; align-items: flex-end; gap: 2px; }
.agent-bars i { width: 2px; background: var(--violet); animation: bars 1.2s ease-in-out infinite alternate; }
.agent-bars i:first-child { height: 35%; }
.agent-bars i:nth-child(2) { height: 80%; animation-delay: -.4s; }
.agent-bars i:last-child { height: 55%; animation-delay: -.8s; }
@keyframes bars { to { height: 100%; } }
.scroll-cue { position: absolute; left: 50%; bottom: 25px; display: flex; flex-direction: column; align-items: center; gap: 9px; color: #596272; font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--cyan), transparent); animation: scrollCue 1.7s ease-in-out infinite; transform-origin: top; }
@keyframes scrollCue { 50% { transform: scaleY(.5); opacity: .45; } }

.section { position: relative; padding: 150px 0; }
.section-shell { width: min(calc(100% - 64px), var(--max)); margin: auto; }
.section-intro.centered { max-width: 820px; margin: 0 auto 78px; text-align: center; }
.section-intro.centered .section-kicker { justify-content: center; }
.section-intro h2, .product-copy h2, .cta-inner h2 {
  margin: 18px 0 23px;
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.section-intro p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.workflow-section {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(42,112,255,.065) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg), #080a0f 38%, var(--bg));
}
.stack-flow { position: relative; display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr 56px 1fr; align-items: center; }
.stack-node { position: relative; min-height: 160px; padding: 25px 20px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(17,21,33,.9), rgba(8,10,15,.92)); transition: border-color .3s ease, transform .3s ease; }
.stack-node:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.25); }
.node-index { position: absolute; top: 13px; right: 15px; color: #3c4554; font: 9px/1 var(--sans); }
.node-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid var(--line-bright); background: #0a0d13; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; font-weight: 750; }
.stack-node > div:last-child { display: flex; flex-direction: column; gap: 5px; }
.stack-node strong { font-size: 14px; }
.stack-node > div:last-child span { color: #6f7a8a; font-size: 10px; }
.stack-agent { border-color: rgba(157,114,255,.32); box-shadow: inset 0 -2px rgba(157,114,255,.5); }
.stack-python { border-color: rgba(51,215,255,.32); box-shadow: inset 0 -2px rgba(51,215,255,.5); }
.agent-icon { color: #c8afff; background: rgba(157,114,255,.08); }
.python-icon { color: var(--cyan); background: rgba(51,215,255,.08); }
.ue-icon { color: #cfd6e1; }
.prompt-icon { color: var(--orange); }
.flow-link { position: relative; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(51,215,255,.6), rgba(255,255,255,.08)); }
.flow-link i { position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: flow 2s linear infinite; }
@keyframes flow { from { left: 0; } to { left: calc(100% - 5px); } }
.flow-link span { position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--cyan); border-right: 1px solid var(--cyan); transform: rotate(45deg); }

.product-section {
  overflow: hidden;
  background-image: radial-gradient(ellipse at 0% 48%, rgba(42,112,255,.065) 0%, transparent 38%);
}
.product-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(70px, 8vw, 140px); align-items: center; }
.product-copy, .product-media, .agent-console { min-width: 0; }
.product-label span { color: var(--cyan); }
.product-copy h2 { margin-top: 25px; }
.product-copy h2 em, .cta-inner h2 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
.product-copy > p { max-width: 590px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.feature-list { margin: 39px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.feature-list li > span { padding-top: 3px; color: var(--cyan); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.feature-list li div { display: flex; flex-direction: column; gap: 5px; }
.feature-list strong { font-size: 13px; }
.feature-list small { color: #727d8d; font-size: 11px; line-height: 1.55; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 27px; margin-top: 29px; }
.text-link { position: relative; color: var(--cyan); font-size: 12px; font-weight: 750; }
.text-link::after { content: ""; position: absolute; inset: auto 0 -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.text-link span { margin-left: 5px; }
.text-link.muted { color: #858f9e; }
.disabled-link { opacity: .62; cursor: default; }
.disabled-link::after { display: none; }
.product-media { position: relative; }
.media-frame { width: 100%; min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.15); background: #0a0c10; box-shadow: 0 35px 90px rgba(0,0,0,.55); }
.media-topbar { height: 43px; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); background: #0d1016; color: #788291; font-size: 9px; }
.media-topbar > span:first-child { display: flex; align-items: center; gap: 7px; }
.media-topbar i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.live-badge { color: var(--green); font-weight: 750; letter-spacing: .1em; }
.media-frame img {
  width: 100%;
  max-width: none;
  height: auto;
}
.media-caption { display: flex; justify-content: space-between; gap: 20px; padding: 14px 16px; color: #596473; font-size: 9px; }
.media-caption span:first-child { color: #a7b0bd; }
.media-chip { position: absolute; padding: 10px 12px; border: 1px solid rgba(255,255,255,.15); background: rgba(10,13,19,.97); box-shadow: 0 12px 35px rgba(0,0,0,.3); color: #aeb7c4; font-size: 9px; font-weight: 650; }
.chip-one { right: -20px; top: 20%; }
.chip-two { left: -20px; bottom: 17%; display: flex; align-items: center; gap: 7px; }
.chip-two i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.agent-section {
  background:
    radial-gradient(ellipse at 100% 48%, rgba(157,114,255,.06) 0%, transparent 38%),
    #07090e;
}
.product-layout.reverse { grid-template-columns: 1.12fr .88fr; }
.product-layout.reverse .product-copy { grid-column: 2; grid-row: 1; }
.product-layout.reverse .agent-console { grid-column: 1; grid-row: 1; }
.agent-label span, .agent-features li > span, .agent-link { color: var(--violet); }
.status-note { display: flex; align-items: center; gap: 7px; color: #687383; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.status-note i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.agent-console { border: 1px solid rgba(157,114,255,.22); background: #090b10; box-shadow: 0 35px 90px rgba(0,0,0,.52), 0 0 100px rgba(157,114,255,.05); }
.console-bar { height: 46px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: #0e1118; }
.console-bar > span { display: flex; gap: 5px; }
.console-bar > span i { width: 6px; height: 6px; border-radius: 50%; background: #343d4c; }
.console-bar strong { color: #8f99aa; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; font-weight: 500; }
.console-bar small { justify-self: end; color: var(--green); font-size: 7px; font-weight: 750; letter-spacing: .12em; }
.console-body { padding: 27px; }
.console-line { display: grid; grid-template-columns: 28px 1fr; align-items: center; }
.line-no { color: #384251; font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; }
.flow-card { min-height: 58px; display: grid; grid-template-columns: 32px 125px 1fr; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid rgba(255,255,255,.11); background: #10141d; }
.flow-card i { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.11); color: var(--cyan); font-style: normal; }
.flow-card strong { color: #b9c3d1; font-size: 8px; letter-spacing: .09em; }
.flow-card span { color: #768191; font-size: 9px; }
.thought-flow { border-color: rgba(157,114,255,.32); }
.thought-flow i { color: #ccb8ff; border-color: rgba(157,114,255,.35); background: rgba(157,114,255,.08); }
.console-wire { width: 1px; height: 24px; margin-left: 40px; background: linear-gradient(var(--cyan), var(--violet)); }
.console-branch { height: 32px; margin: 0 44px; display: grid; grid-template-columns: 1fr 1px 1fr; }
.console-branch div { border-top: 1px solid rgba(157,114,255,.42); }
.console-branch div:first-child { border-right: 1px solid rgba(157,114,255,.42); }
.console-branch div:last-child { border-left: 1px solid rgba(157,114,255,.42); }
.console-branch > span { background: rgba(157,114,255,.42); }
.console-agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.sub-agent { position: relative; min-height: 100px; padding: 14px; overflow: hidden; border: 1px solid var(--line); background: #0f131b; display: flex; flex-direction: column; gap: 4px; }
.sub-agent b { color: #495464; font: 8px/1 "SFMono-Regular", Consolas, monospace; }
.sub-agent strong { margin-top: 9px; font-size: 10px; }
.sub-agent span { color: #687383; font-size: 8px; }
.sub-agent i { position: absolute; left: 0; bottom: 0; height: 2px; width: 65%; animation: progress 2.7s ease-in-out infinite alternate; }
.sub-agent.cyan { border-color: rgba(51,215,255,.25); }
.sub-agent.cyan i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.sub-agent.violet { border-color: rgba(157,114,255,.25); }
.sub-agent.violet i { background: var(--violet); box-shadow: 0 0 10px var(--violet); animation-delay: -.8s; }
.sub-agent.green { border-color: rgba(57,229,140,.25); }
.sub-agent.green i { background: var(--green); box-shadow: 0 0 10px var(--green); animation-delay: -1.4s; }
@keyframes progress { to { width: 92%; } }
.console-log { margin-top: 22px; padding: 12px 14px; display: flex; justify-content: space-between; border: 1px dashed rgba(255,255,255,.1); color: #667181; font-size: 8px; }
.console-log > span { display: flex; align-items: center; gap: 7px; }
.console-log i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.console-log code { color: #4d5869; }

.capabilities-section { background: linear-gradient(180deg, #07090e, var(--bg)); }
.section-intro.split { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 100px; margin-bottom: 70px; }
.section-intro.split h2 { margin-bottom: 0; }
.section-intro.split p { margin: 0 0 5px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-card { position: relative; min-height: 340px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(9,11,17,.65); transition: background .3s ease, transform .3s ease; }
.capability-card:hover { z-index: 2; transform: translateY(-6px); background: #0e121b; }
.cap-number { position: absolute; top: 25px; right: 27px; color: #343d4b; font: 9px/1 "SFMono-Regular", Consolas, monospace; }
.capability-card svg { width: 47px; height: 47px; margin-top: 41px; fill: none; stroke: #9aa5b5; stroke-width: 1.1; }
.capability-card h3 { margin: 55px 0 13px; font-size: 15px; }
.capability-card p { max-width: 245px; margin: 0; color: #717c8c; font-size: 12px; line-height: 1.65; }

.final-cta {
  overflow: hidden;
  padding: 175px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(42,112,255,.14) 0%, rgba(157,114,255,.035) 36%, transparent 68%),
    #070911;
}
.cta-grid { z-index: 0; mask-image: radial-gradient(circle, #000, transparent 68%); }
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta-mark { margin-bottom: 28px; display: inline-flex; align-items: flex-end; color: rgba(255,255,255,.06); font: 900 104px/.8 var(--display); letter-spacing: -.1em; }
.cta-mark-accent { width: .075em; height: .075em; margin: 0 0 .065em .14em; background: rgba(51,215,255,.22); box-shadow: 0 0 14px rgba(51,215,255,.12); }
.cta-inner .section-kicker { color: var(--cyan); }
.cta-inner h2 { margin-top: 24px; font-size: clamp(50px, 6vw, 90px); }
.cta-inner p { max-width: 620px; margin: 0; color: var(--muted); font-size: 16px; }

.site-footer { border-top: 1px solid var(--line); background: #050609; }
.footer-shell { width: min(calc(100% - 64px), var(--max)); margin: auto; padding: 55px 0 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 35px; align-items: center; }
.footer-brand { grid-column: 1; }
.footer-shell > p { color: #677181; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 24px; }
.footer-links a { color: #8b95a4; font-size: 11px; transition: color .2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 25px; padding-top: 23px; border-top: 1px solid var(--line); color: #4b5564; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease var(--delay, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .hero { min-height: 880px; grid-template-columns: .9fr 1.1fr; gap: 45px; }
  .floating-code { left: -15px; }
  .floating-agent { right: -10px; }
  .product-layout, .product-layout.reverse { gap: 60px; }
  .stack-flow { grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr; }
  .capability-card { padding: 25px; }
}

@media (max-width: 980px) {
  .nav-shell, .section-shell, .footer-shell { width: min(calc(100% - 40px), var(--max)); }
  .site-header, .site-header.is-scrolled { height: 70px; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-cta { display: none; }
  .menu-toggle { position: relative; z-index: 2; justify-self: end; width: 42px; height: 42px; display: grid; place-content: center; gap: 7px; border: 1px solid var(--line); color: white; background: rgba(255,255,255,.03); }
  .menu-toggle span { width: 18px; height: 1px; display: block; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; background: rgba(5,6,9,.97); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav a { font: 800 34px/1 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
  .main-nav .language-toggle { min-width: 86px; height: 42px; margin-top: 8px; font-size: 14px; }

  .hero { height: auto; min-height: 0; max-height: none; grid-template-columns: 1fr; gap: 95px; padding-top: 145px; padding-bottom: 150px; }
  .hero-copy { max-width: 720px; }
  .hero h1 { font-size: clamp(70px, 11.5vw, 104px); }
  .hero-visual { width: 92%; margin-left: auto; }
  .scroll-cue { display: none; }
  .section { padding: 115px 0; }
  .stack-flow { grid-template-columns: 1fr; max-width: 560px; margin: auto; }
  .stack-node { min-height: 130px; }
  .flow-link { width: 1px; height: 35px; margin: auto; background: linear-gradient(rgba(255,255,255,.08), var(--cyan), rgba(255,255,255,.08)); }
  .flow-link i { display: none; }
  .flow-link span { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .product-layout, .product-layout.reverse { grid-template-columns: 1fr; gap: 80px; }
  .product-layout.reverse .product-copy, .product-layout.reverse .agent-console { grid-column: auto; grid-row: auto; }
  .product-layout.reverse .product-copy { grid-row: 1; }
  .product-copy { max-width: 730px; }
  .product-media, .agent-console { width: 92%; margin: auto; }
  .section-intro.split { grid-template-columns: 1fr; gap: 20px; }
  .section-intro.split p { max-width: 620px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-shell { grid-template-columns: auto 1fr; }
  .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav-shell, .section-shell, .footer-shell { width: calc(100% - 32px); }
  .hero { gap: 70px; padding: 125px 16px 125px; }
  .eyebrow { max-width: 320px; font-size: 9px; line-height: 1.5; }
  .hero h1 { margin: 23px 0; font-size: clamp(50px, 16vw, 74px); line-height: .87; }
  .hero-lede { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-proof { gap: 17px; justify-content: space-between; }
  .hero-proof strong { font-size: 15px; }
  .hero-proof span { font-size: 8px; }
  .hero-visual { width: 100%; }
  .window-bar { height: 37px; padding: 0 10px; }
  .window-status { display: none; }
  .window-bar { grid-template-columns: 1fr auto; }
  .window-title { justify-self: end; font-size: 8px; }
  .floating-code { left: -2px; bottom: -52px; width: 205px; padding: 12px; }
  .floating-agent { right: -3px; top: -37px; padding: 10px; }
  .mini-agent-icon { width: 27px; height: 27px; }
  .floating-agent > div:nth-child(2) { min-width: 85px; }
  .section { padding: 95px 0; }
  .section-intro.centered { margin-bottom: 55px; text-align: left; }
  .section-intro.centered .section-kicker { justify-content: flex-start; }
  .section-intro h2, .product-copy h2, .cta-inner h2 { font-size: clamp(42px, 13vw, 60px); }
  .section-intro p, .product-copy > p { font-size: 14px; }
  .stack-flow { width: calc(100% - 16px); }
  .product-layout, .product-layout.reverse { gap: 64px; }
  .product-media, .agent-console { width: 100%; }
  .media-chip { display: none; }
  .media-caption { flex-direction: column; gap: 4px; }
  .feature-list li { grid-template-columns: 30px 1fr; }
  .product-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .console-body { padding: 18px 12px; }
  .console-line { grid-template-columns: 21px 1fr; }
  .flow-card { grid-template-columns: 28px 1fr; gap: 8px; padding: 10px; }
  .flow-card span { grid-column: 2; }
  .console-wire { margin-left: 29px; }
  .console-branch { margin: 0 28px; }
  .console-agents { grid-template-columns: 1fr; margin-left: 21px; }
  .sub-agent { min-height: 78px; }
  .console-log { margin-left: 21px; flex-direction: column; gap: 7px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 285px; }
  .capability-card h3 { margin-top: 45px; }
  .final-cta { padding: 125px 0; }
  .cta-mark { font-size: 78px; }
  .footer-shell { display: flex; flex-direction: column; align-items: flex-start; padding-top: 45px; }
  .footer-links { flex-wrap: wrap; gap: 18px 25px; }
  .footer-bottom { width: 100%; flex-direction: column; gap: 8px; }
}

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