:root {
  --ink: #eaf2ee;
  --muted: #879a92;
  --line: rgba(174, 215, 197, 0.14);
  --panel: #0d1714;
  --panel-2: #111e1a;
  --accent: #68f0b2;
  --accent-dark: #063a28;
  --warning: #ffcc66;
  --bg: #07100d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 8%, rgba(45, 122, 91, .20), transparent 28rem),
    linear-gradient(180deg, #08120f 0%, #060c0a 100%);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  opacity: .25;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' 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)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 0 clamp(24px, 5vw, 84px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 13, .78);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { width: 35px; height: 35px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav nav { display: flex; gap: 32px; color: var(--muted); font-size: 14px; }
.nav nav a:hover { color: var(--ink); }
.nav-download { justify-self: end; color: var(--accent); font-size: 14px; font-weight: 600; }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
  padding: 95px clamp(24px, 7vw, 120px) 84px;
}
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--accent);
  text-transform: uppercase;
}
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-copy .eyebrow span { width: 30px; height: 1px; background: var(--accent); }
h1 {
  margin: 28px 0;
  font-size: clamp(58px, 6.6vw, 105px);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 600;
}
.hero-lede { max-width: 620px; color: #a8bab2; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.55; }
.hero-actions { margin-top: 42px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 24px;
  background: var(--accent);
  color: #05110d;
  border-radius: 4px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(104, 240, 178, .17); }
.primary-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.download-note { color: var(--muted); font: 12px "JetBrains Mono", monospace; }

.agent-window {
  position: relative;
  border: 1px solid rgba(119, 233, 184, .25);
  background: rgba(10, 20, 16, .93);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .45);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
  animation: reveal .8s ease-out both;
}
.agent-window::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1px solid rgba(104, 240, 178, .12); }
.window-bar { height: 47px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); font: 11px "JetBrains Mono", monospace; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #294239; }
.window-bar i:first-child { background: var(--accent); }
.window-bar span { margin-left: auto; }
.window-body { padding: clamp(20px, 3vw, 36px); }
.scope-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.scope { padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); font: 11px "JetBrains Mono", monospace; }
.scope.active { color: var(--accent); border-color: rgba(104, 240, 178, .3); background: rgba(104, 240, 178, .05); }
.prompt { padding: 17px 19px; border-left: 2px solid var(--accent); background: #101c18; font-size: 16px; line-height: 1.5; }
.trace { margin: 26px 0; }
.trace div { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font: 12px "JetBrains Mono", monospace; }
.trace b { color: #4c675d; }
.trace em { font-style: normal; color: #648175; }
.trace .running span, .trace .running em { color: var(--accent); }
.trace .running em { animation: blink 1.1s infinite; }
.finding { padding: 19px; border: 1px solid rgba(104, 240, 178, .22); background: rgba(104, 240, 178, .045); line-height: 1.55; }
.finding > span { display: block; margin-bottom: 10px; color: var(--accent); font: 10px "JetBrains Mono", monospace; letter-spacing: .12em; }
.finding code { display: block; margin-top: 10px; color: var(--warning); font: 11px "JetBrains Mono", monospace; }

.signal-strip { min-height: 76px; display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 48px); border-block: 1px solid var(--line); color: #6f847b; font: 11px "JetBrains Mono", monospace; letter-spacing: .13em; white-space: nowrap; overflow: hidden; }
.signal-strip i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.section { padding: 130px clamp(24px, 7vw, 120px); }
.section-heading { display: grid; grid-template-columns: .55fr 1fr; align-items: end; gap: 40px; margin-bottom: 70px; }
.section-heading h2, .cost-statement h2, .final-cta h2 { margin: 0; font-size: clamp(42px, 5vw, 76px); line-height: 1.02; letter-spacing: -.055em; font-weight: 600; }
.section-heading h2 span { color: #5d756b; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.comparison-grid article { min-height: 270px; padding: 32px; border-right: 1px solid var(--line); background: rgba(13, 23, 20, .64); }
.comparison-grid article:last-child { border: 0; }
.card-index { color: var(--accent); font: 11px "JetBrains Mono", monospace; }
.comparison-grid h3 { margin: 58px 0 15px; font-size: 24px; letter-spacing: -.03em; }
.comparison-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.cost-section { background: #0b1512; border-block: 1px solid var(--line); }
.cost-statement p { color: var(--accent); font: 12px "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
.cost-statement h2 { max-width: 900px; }
.knowledge-panel { margin-top: 80px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; padding: clamp(32px, 5vw, 70px); background: #09110f; border: 1px solid var(--line); }
.knowledge-panel h3 { margin: 12px 0 20px; font-size: clamp(27px, 3vw, 42px); letter-spacing: -.04em; }
.knowledge-panel p, .knowledge-panel li { color: var(--muted); line-height: 1.7; }
.knowledge-panel ul { margin: 22px 0 0; padding: 0; list-style: none; }
.knowledge-panel li { padding: 9px 0 9px 22px; border-top: 1px solid var(--line); position: relative; }
.knowledge-panel li::before { content: "+"; position: absolute; left: 0; color: var(--accent); }
.knowledge-orbit { position: relative; width: min(330px, 70vw); aspect-ratio: 1; display: grid; place-items: center; margin: auto; border: 1px solid rgba(104,240,178,.16); border-radius: 50%; }
.knowledge-orbit::before, .knowledge-orbit::after { content: ""; position: absolute; border: 1px solid rgba(104,240,178,.12); border-radius: 50%; }
.knowledge-orbit::before { inset: 18%; }
.knowledge-orbit::after { inset: 36%; }
.knowledge-orbit span { color: var(--accent); font: 600 28px "JetBrains Mono", monospace; }
.knowledge-orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.knowledge-orbit i:nth-child(2) { top: 14%; left: 26%; }
.knowledge-orbit i:nth-child(3) { right: 8%; top: 48%; }
.knowledge-orbit i:nth-child(4) { bottom: 19%; left: 19%; }

.section-heading.compact { grid-template-columns: 1fr 1fr; }
.workflow-track { display: grid; grid-template-columns: repeat(4, 1fr); }
.workflow-track > div { position: relative; min-height: 230px; padding: 30px 28px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.workflow-track > div::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.workflow-track b { color: #4f6b60; font: 11px "JetBrains Mono", monospace; }
.workflow-track h3 { margin: 54px 0 12px; font-size: 21px; }
.workflow-track p { color: var(--muted); line-height: 1.6; }
.final-cta { padding: 150px 24px; text-align: center; background: radial-gradient(circle at 50% 60%, rgba(104,240,178,.12), transparent 28rem); }
.final-cta h2 { margin: 20px auto 42px; }
footer { min-height: 110px; padding: 0 clamp(24px, 5vw, 84px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer span { justify-self: end; font: 11px "JetBrains Mono", monospace; }

@keyframes reveal { from { opacity: 0; transform: perspective(1200px) rotateY(-3deg) translateY(24px); } }
@keyframes blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto !important; } }
@media (max-width: 950px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .agent-window { transform: none; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; }
  .comparison-grid, .workflow-track { grid-template-columns: 1fr 1fr; }
  .comparison-grid article:nth-child(2) { border-right: 0; }
  .comparison-grid article { border-bottom: 1px solid var(--line); }
  .knowledge-panel { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 12px; padding-block: 28px; }
  footer span { justify-self: start; }
}
@media (max-width: 620px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  h1 { font-size: 52px; }
  .section { padding-block: 90px; }
  .comparison-grid, .workflow-track { grid-template-columns: 1fr; }
  .comparison-grid article, .workflow-track > div { border-right: 0; }
  .signal-strip { justify-content: flex-start; padding-inline: 20px; }
  .trace div { grid-template-columns: 26px 1fr; }
  .trace em { display: none; }
}
