:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-soft: #0b0d13;
  --panel: rgba(17, 19, 28, 0.74);
  --panel-solid: #11131b;
  --panel-raised: #171a24;
  --ink: #f5f7ef;
  --muted: #9ba1ad;
  --muted-strong: #c7cbd2;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --acid: #c7ff4a;
  --acid-soft: rgba(199, 255, 74, 0.16);
  --violet: #7c5cff;
  --violet-soft: rgba(124, 92, 255, 0.18);
  --cyan: #51e4ff;
  --orange: #ff7a45;
  --danger: #ff5573;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shell: min(1220px, calc(100vw - 40px));
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.44);
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -5;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(124, 92, 255, 0.12), transparent 32%),
    radial-gradient(circle at 86% 30%, rgba(81, 228, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #08090d 0%, #07080c 58%, #090a0f 100%);
  content: "";
}

::selection {
  background: var(--acid);
  color: #0b0d08;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img,
svg,
canvas {
  display: block;
}

code,
pre,
.mono-label,
.section-index,
.card-kicker,
.version {
  font-family: var(--font-mono);
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--acid);
  color: #07080c;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.page-noise {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  z-index: -3;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0.12;
}

.ambient-a {
  top: 8vh;
  left: -260px;
  background: var(--violet);
}

.ambient-b {
  right: -300px;
  bottom: 8vh;
  background: var(--acid);
  opacity: 0.06;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 14px 0;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(7, 8, 12, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(199, 255, 74, 0.55);
  border-radius: 9px;
  background: rgba(199, 255, 74, 0.08);
  box-shadow: inset 0 0 18px rgba(199, 255, 74, 0.1), 0 0 30px rgba(199, 255, 74, 0.06);
}

.brand-mark::before {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--acid);
  border-radius: 50%;
  content: "";
}

.brand-mark::after {
  position: absolute;
  width: 7px;
  height: 1.5px;
  transform: translate(7px, 7px) rotate(45deg);
  border-radius: 99px;
  background: var(--acid);
  content: "";
}

.brand-mark span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
}

.version {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
}

.site-nav > a {
  transition: color 180ms ease;
}

.site-nav > a:hover {
  color: var(--ink);
}

.nav-github {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-github svg {
  width: 17px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  transition: transform 180ms ease;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 150px 0 92px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

#signal-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.62;
}

.hero-grid,
.final-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 70%, transparent);
}

.hero-grid {
  transform: perspective(700px) rotateX(64deg) scale(1.5) translateY(35%);
  transform-origin: center bottom;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  gap: clamp(40px, 6vw, 94px);
  align-items: center;
}

.eyebrow,
.section-index,
.mono-label,
.card-kicker {
  margin: 0;
  color: var(--acid);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(199, 255, 74, 0.24);
  border-radius: 999px;
  background: rgba(199, 255, 74, 0.06);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(199, 255, 74, 0.08), 0 0 18px rgba(199, 255, 74, 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.5; transform: scale(0.76); }
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin: 28px 0 26px;
  font-size: clamp(3.45rem, 7.8vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

h1 span,
h2 span {
  color: transparent;
  background: linear-gradient(100deg, var(--acid) 0%, #e8ffad 42%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  border-color: var(--acid);
  background: var(--acid);
  color: #101306;
  box-shadow: 0 14px 42px rgba(199, 255, 74, 0.12);
}

.button-primary:hover {
  background: #dcff8c;
  box-shadow: 0 18px 54px rgba(199, 255, 74, 0.22);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
}

.command-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  max-width: 720px;
  min-height: 54px;
  margin-top: 26px;
  padding: 8px 8px 8px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 8, 12, 0.68);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.command-prompt {
  color: var(--acid);
  font-family: var(--font-mono);
}

.command-card code {
  overflow: hidden;
  color: #d8dbe1;
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  display: inline-flex;
  min-width: 80px;
  min-height: 38px;
  padding: 0 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 180ms ease, border-color 180ms ease;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 600;
}

.copy-button:hover {
  border-color: rgba(199, 255, 74, 0.32);
  background: rgba(199, 255, 74, 0.08);
}

.copy-button svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.hero-facts {
  display: flex;
  gap: clamp(22px, 4vw, 52px);
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: grid;
  gap: 1px;
}

.hero-facts strong {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-facts span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual {
  perspective: 1200px;
}

.visual-frame {
  position: relative;
  min-height: 590px;
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 46%, rgba(124, 92, 255, 0.28), transparent 31%),
    radial-gradient(circle at 52% 48%, rgba(81, 228, 255, 0.11), transparent 48%),
    linear-gradient(145deg, rgba(23, 26, 36, 0.92), rgba(9, 10, 15, 0.8));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.visual-frame::before {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle, black, transparent 72%);
  content: "";
}

.visual-status,
.visual-footer {
  position: absolute;
  z-index: 5;
  right: 24px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.visual-status {
  top: 22px;
}

.visual-status span:first-child {
  color: var(--acid);
}

.visual-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.visual-footer {
  bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.core-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 330px;
  height: 330px;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
}

.core-sphere {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 1px solid rgba(199, 255, 74, 0.62);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.48), transparent 10%),
    radial-gradient(circle at 38% 34%, #dfff98, var(--acid) 18%, #628000 66%, #182200 100%);
  color: #192000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset -24px -28px 50px rgba(0, 0, 0, 0.44), 0 0 80px rgba(199, 255, 74, 0.28);
}

.core-sphere::after {
  position: absolute;
  z-index: -1;
  width: 160px;
  height: 32px;
  transform: translateY(70px);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  filter: blur(10px);
  content: "";
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orbit::before {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  content: "";
}

.orbit span {
  position: absolute;
  top: 18%;
  right: -25px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(7, 8, 12, 0.82);
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.orbit-one {
  width: 180px;
  height: 180px;
  margin: -90px;
  transform: rotateX(68deg) rotateZ(15deg);
  animation: orbitOne 12s linear infinite;
}

.orbit-two {
  width: 250px;
  height: 250px;
  margin: -125px;
  transform: rotateX(62deg) rotateY(18deg) rotateZ(120deg);
  animation: orbitTwo 18s linear infinite reverse;
}

.orbit-two::before { background: var(--violet); box-shadow: 0 0 18px var(--violet); }

.orbit-three {
  width: 320px;
  height: 320px;
  margin: -160px;
  transform: rotateX(72deg) rotateY(-20deg) rotateZ(220deg);
  animation: orbitThree 24s linear infinite;
}

.orbit-three::before { background: var(--acid); box-shadow: 0 0 18px var(--acid); }

@keyframes orbitOne { to { transform: rotateX(68deg) rotateZ(375deg); } }
@keyframes orbitTwo { to { transform: rotateX(62deg) rotateY(18deg) rotateZ(480deg); } }
@keyframes orbitThree { to { transform: rotateX(72deg) rotateY(-20deg) rotateZ(580deg); } }

.signal-label {
  position: absolute;
  z-index: 6;
  display: flex;
  min-width: 145px;
  padding: 9px 11px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(8, 9, 14, 0.72);
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.16);
}

.signal-label span {
  color: var(--acid);
  font-weight: 600;
}

.label-a { top: 20%; left: 7%; }
.label-b { top: 31%; right: 6%; }
.label-c { right: 9%; bottom: 27%; }
.label-d { bottom: 20%; left: 8%; }

.hero-marquee {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.74);
}

.hero-marquee div {
  display: flex;
  width: max-content;
  padding: 12px 0;
  align-items: center;
  animation: marquee 34s linear infinite;
}

.hero-marquee span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.hero-marquee i {
  width: 4px;
  height: 4px;
  margin: 0 26px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
}

@keyframes marquee { to { transform: translateX(-50%); } }

.section {
  position: relative;
  padding: clamp(100px, 12vw, 170px) 0;
  border-bottom: 1px solid var(--line);
}

.section[id] {
  scroll-margin-top: 88px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 56px;
}

.section-heading h2,
.product-copy h2,
.faq-intro h2,
.final-cta h2 {
  margin: 18px 0 22px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.section-heading > p:last-child,
.split-heading > p,
.product-copy > p,
.faq-intro > p,
.final-cta-inner > p:not(.mono-label) {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 60px;
  align-items: end;
}

.split-heading h2 {
  margin-bottom: 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.bento {
  position: relative;
  min-height: 320px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(22, 24, 34, 0.82), rgba(11, 13, 19, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.bento::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(199, 255, 74, 0.09), transparent 34%);
  transition: opacity 240ms ease;
  content: "";
}

.bento:hover::before {
  opacity: 1;
}

.bento h3 {
  max-width: 520px;
  margin: 14px 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.bento p {
  max-width: 590px;
  color: var(--muted);
}

.bento-browser { grid-column: span 7; min-height: 480px; }
.bento-funnel { grid-column: span 5; min-height: 480px; }
.bento-artifact { grid-column: span 7; min-height: 430px; }
.bento-workflow { grid-column: span 5; min-height: 430px; }
.bento-guardrails { grid-column: span 5; }
.bento-local { grid-column: span 7; }

.browser-mini {
  position: absolute;
  right: 26px;
  bottom: -2px;
  left: 26px;
  height: 235px;
  overflow: hidden;
  transform: perspective(900px) rotateX(4deg);
  transform-origin: bottom;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #0d0f15;
  box-shadow: 0 -18px 70px rgba(0, 0, 0, 0.28);
}

.browser-bar {
  display: flex;
  height: 42px;
  padding: 0 13px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  background: #141722;
}

.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #434957;
}

.browser-bar i:first-child { background: var(--danger); }
.browser-bar i:nth-child(2) { background: var(--orange); }
.browser-bar i:nth-child(3) { background: var(--acid); }

.browser-bar span {
  flex: 1;
  max-width: 300px;
  margin-left: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #687080;
  font-family: var(--font-mono);
  font-size: 8px;
}

.browser-answer {
  position: relative;
  padding: 28px;
}

.answer-line {
  display: block;
  height: 8px;
  margin-bottom: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, #343a48, #252a36);
}

.line-a { width: 92%; }
.line-b { width: 76%; }
.line-c { width: 84%; }
.line-d { width: 55%; }

.citation-chip {
  display: inline-flex;
  margin: 1px 0 14px;
  padding: 7px 9px;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(199, 255, 74, 0.24);
  border-radius: 8px;
  background: var(--acid-soft);
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
}

.citation-chip b {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: #151a07;
  font-size: 8px;
}

.funnel-visual {
  position: relative;
  width: min(350px, 100%);
  height: 245px;
  margin: 20px auto 2px;
  perspective: 700px;
  transform-style: preserve-3d;
}

.funnel-layer {
  position: absolute;
  right: 50%;
  display: flex;
  width: var(--w);
  height: 86px;
  transform: translateX(50%) rotateX(66deg) translateZ(var(--z));
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--fill);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24), inset 0 0 30px rgba(255, 255, 255, 0.03);
}

.funnel-layer span {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.funnel-layer small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.funnel-query { --w: 100%; --z: 0px; --border: rgba(255,255,255,.18); --fill: rgba(255,255,255,.03); bottom: 0; }
.funnel-answer { --w: 78%; --z: 28px; --border: rgba(81,228,255,.28); --fill: rgba(81,228,255,.06); bottom: 39px; }
.funnel-source { --w: 56%; --z: 56px; --border: rgba(124,92,255,.38); --fill: rgba(124,92,255,.1); bottom: 78px; }
.funnel-cite { --w: 35%; --z: 84px; --border: rgba(199,255,74,.58); --fill: rgba(199,255,74,.13); bottom: 117px; color: var(--acid); }

.funnel-rule {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 9px;
}

.json-window {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  margin: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #090a0f;
  color: #939aa7;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.json-window::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--acid), transparent);
  content: "";
}

.json-window b { color: var(--cyan); font-weight: 500; }
.json-window em { color: #d7b8ff; font-style: normal; }
.json-window mark { padding: 1px 4px; border-radius: 4px; background: var(--acid-soft); color: var(--acid); }

.workflow-map {
  position: absolute;
  right: 28px;
  bottom: 34px;
  left: 28px;
  display: grid;
  grid-template-columns: 1fr 46px 92px 46px 1fr;
  align-items: center;
}

.workflow-node {
  display: grid;
  gap: 8px;
}

.workflow-node span {
  display: block;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: center;
}

.workflow-line {
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--acid));
}

.workflow-line:nth-of-type(4) {
  background: linear-gradient(90deg, var(--acid), var(--line));
}

.workflow-core {
  display: grid;
  width: 92px;
  height: 92px;
  place-content: center;
  border: 1px solid rgba(199, 255, 74, 0.5);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 255, 74, 0.16), rgba(199, 255, 74, 0.03) 60%, transparent 62%);
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
  box-shadow: 0 0 50px rgba(199, 255, 74, 0.1);
}

.workflow-core strong {
  font-size: 20px;
  letter-spacing: -0.06em;
}

.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  padding: 12px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.check-list strong {
  font-size: 13px;
  font-weight: 500;
}

.check-list small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
}

.check {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.check.pass { background: var(--acid); box-shadow: 0 0 12px var(--acid); }
.check.warn { background: var(--orange); box-shadow: 0 0 12px var(--orange); }

.history-chart {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  height: 120px;
}

.history-chart::before,
.history-chart::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.history-chart::before { top: 33%; }
.history-chart::after { top: 66%; }
.history-chart svg { position: relative; z-index: 1; width: 100%; height: 100%; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--acid); stroke-width: 2; vector-effect: non-scaling-stroke; }
.history-chart circle { fill: var(--acid); filter: drop-shadow(0 0 6px var(--acid)); }

.signal-section {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.035), transparent 32%);
}

.engine-stage {
  display: grid;
  min-height: 620px;
  padding: 50px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 70px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 24% 50%, rgba(124, 92, 255, 0.11), transparent 35%),
    linear-gradient(145deg, rgba(18, 20, 29, 0.82), rgba(9, 10, 15, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow);
}

.engine-radar {
  position: relative;
  width: min(540px, 100%);
  aspect-ratio: 1;
  max-width: 540px;
  margin: auto;
  transform: perspective(1000px) rotateX(58deg) rotateZ(-8deg);
  transform-style: preserve-3d;
}

.engine-radar::after {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: conic-gradient(from 190deg, transparent 0 72%, rgba(199,255,74,.13) 81%, transparent 90%);
  animation: radarSweep 7s linear infinite;
  content: "";
}

@keyframes radarSweep { to { transform: rotate(360deg); } }

.radar-ring {
  position: absolute;
  inset: var(--inset);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.ring-1 { --inset: 4%; }
.ring-2 { --inset: 23%; }
.ring-3 { --inset: 40%; border-color: rgba(199,255,74,.22); }

.radar-axis {
  position: absolute;
  top: 50%;
  left: 4%;
  width: 92%;
  height: 1px;
  background: var(--line);
}

.axis-y { transform: rotate(90deg); }

.radar-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 128px;
  height: 128px;
  transform: translate(-50%, -50%) translateZ(44px) rotateZ(8deg) rotateX(-58deg);
  place-content: center;
  border: 1px solid rgba(199, 255, 74, 0.56);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 255, 74, 0.22), rgba(199, 255, 74, 0.03) 62%, transparent 64%);
  text-align: center;
  box-shadow: 0 0 80px rgba(199, 255, 74, 0.13);
}

.radar-core span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.radar-core strong {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 11px;
}

.engine-dot {
  position: absolute;
  z-index: 4;
  display: flex;
  padding: 7px 9px;
  transform: translateZ(28px) rotateZ(8deg) rotateX(-58deg);
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(9, 10, 15, 0.88);
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

.engine-dot i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px currentColor;
}

.engine-google { top: 7%; left: 43%; }
.engine-chatgpt { top: 22%; right: 3%; }
.engine-claude { right: 6%; bottom: 19%; }
.engine-gemini { right: 43%; bottom: 5%; }
.engine-yandex { bottom: 22%; left: 4%; }
.engine-deepseek { top: 28%; left: 2%; }
.engine-perplexity { top: 48%; right: 17%; }
.engine-google i, .engine-gemini i { background: var(--cyan); }
.engine-chatgpt i, .engine-yandex i { background: var(--acid); }
.engine-claude i, .engine-deepseek i { background: var(--orange); }
.engine-perplexity i { background: var(--violet); }

.engine-copy h3,
.metrics-heading h3,
.quickstart h3 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.engine-copy > p:not(.mono-label) {
  color: var(--muted);
  font-size: 17px;
}

.engine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0 30px;
}

.engine-tags span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 9px;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 4px;
  transition: color 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.text-link:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.metrics-heading {
  max-width: 760px;
  margin: 110px 0 40px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  position: relative;
  min-height: 245px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.024);
}

.metric-card::after {
  position: absolute;
  right: -28px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.metric-card h4 {
  max-width: 190px;
  margin: 54px 0 10px;
  font-size: 21px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.metric-card p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.metric-card strong {
  position: absolute;
  bottom: 22px;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-number {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 10px;
}

.metric-accent {
  border-color: rgba(199, 255, 74, 0.38);
  background: linear-gradient(145deg, rgba(199, 255, 74, 0.14), rgba(199, 255, 74, 0.03));
}

.product-section {
  overflow: hidden;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
}

.product-copy h2 {
  margin-top: 20px;
}

.product-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.product-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 14px;
}

.product-list span {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
}

.dashboard-stage {
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.dashboard-frame {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 9px;
  transform: rotateY(-5deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  background: #131620;
  box-shadow: 36px 46px 100px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-frame img {
  width: 100%;
  height: auto;
  border-radius: 13px;
}

.frame-top {
  display: flex;
  height: 32px;
  padding: 0 8px;
  justify-content: space-between;
  align-items: center;
  color: #717887;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.dashboard-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  height: 75%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--violet);
  filter: blur(100px);
  opacity: 0.19;
}

.float-panel {
  position: absolute;
  z-index: 4;
  display: grid;
  min-width: 150px;
  padding: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(12, 14, 20, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.32);
}

.float-panel span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
}

.float-panel strong {
  margin: 3px 0;
  font-size: 28px;
  letter-spacing: -0.06em;
}

.float-panel i {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
}

.float-panel-a { top: 13%; right: -34px; transform: translateZ(60px); }
.float-panel-b { bottom: 7%; left: -34px; transform: translateZ(78px); }

.workflow-section {
  background: linear-gradient(180deg, rgba(199, 255, 74, 0.022), transparent 44%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.step-index {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.step-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 64px 0 28px;
  place-items: center;
  border: 1px solid rgba(199, 255, 74, 0.28);
  border-radius: 14px;
  background: var(--acid-soft);
  color: var(--acid);
}

.step-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.step-card p {
  color: var(--muted);
  font-size: 13px;
}

.quickstart {
  display: grid;
  margin-top: 80px;
  padding: clamp(28px, 5vw, 62px);
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  gap: 60px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 30%, rgba(199, 255, 74, 0.09), transparent 34%),
    rgba(15, 17, 24, 0.8);
}

.quickstart-copy > p:last-child {
  color: var(--muted);
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #08090d;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.3);
}

.terminal-bar {
  display: flex;
  height: 42px;
  padding: 0 14px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  background: #12141c;
}

.terminal-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #424754;
}

.terminal-bar span:first-child { background: var(--danger); }
.terminal-bar span:nth-child(2) { background: var(--orange); }
.terminal-bar span:nth-child(3) { background: var(--acid); }

.terminal-bar b {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
}

.terminal-body {
  padding: 24px;
  overflow-x: auto;
}

.terminal-body p {
  min-width: max-content;
  margin: 0 0 12px;
  color: #c8ccd3;
  font-family: var(--font-mono);
  font-size: 10px;
}

.terminal-body i {
  margin-right: 8px;
  color: var(--acid);
  font-style: normal;
}

.terminal-body .terminal-output {
  color: #687080;
}

.terminal-body .terminal-indent {
  padding-left: 18px;
}

.terminal-body .accent-output {
  color: var(--acid);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.compare-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.compare-card.featured {
  border-color: rgba(199, 255, 74, 0.34);
  background: linear-gradient(145deg, rgba(199, 255, 74, 0.1), rgba(199, 255, 74, 0.018));
}

.compare-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.compare-top b {
  color: var(--acid);
  font-size: 8px;
  font-weight: 500;
}

.compare-card h3 {
  margin: 86px 0 30px;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.compare-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-card li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.compare-card li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  content: "";
}

.featured li::before {
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 125px;
}

.faq-intro h2 {
  margin-top: 20px;
}

.faq-intro .text-link {
  margin-top: 30px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 78px;
  padding: 24px 50px 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 16px;
  height: 1px;
  transition: transform 180ms ease;
  background: var(--acid);
  content: "";
}

.faq-list summary span::after {
  right: 0;
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 760px;
  padding: 0 50px 28px 0;
  color: var(--muted);
}

.faq-list code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--acid);
  font-size: 0.88em;
}

.final-cta {
  position: relative;
  padding: clamp(120px, 16vw, 220px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.final-cta::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(199, 255, 74, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(199, 255, 74, 0.022), 0 0 0 220px rgba(124, 92, 255, 0.018);
  content: "";
}

.final-grid {
  mask-image: radial-gradient(circle, black, transparent 70%);
}

.final-cta-inner {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  margin: 20px auto 26px;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.final-cta-inner > p:not(.mono-label) {
  margin-inline: auto;
}

.final-actions {
  margin-top: 34px;
  justify-content: center;
}

.site-footer {
  padding: 74px 0 28px;
  background: #06070a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer-brand {
  font-size: 20px;
}

.footer-grid > div:first-child > p {
  max-width: 330px;
  margin: 18px 0 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.footer-links div {
  display: grid;
  gap: 9px;
}

.footer-links span {
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
  color: var(--muted-strong);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--acid);
}

.footer-bottom {
  display: flex;
  margin-top: 72px;
  padding-top: 20px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #676d79;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.copy-toast {
  position: fixed;
  z-index: 150;
  right: 22px;
  bottom: 22px;
  padding: 12px 16px;
  transform: translateY(20px);
  transition: opacity 180ms ease, transform 180ms ease;
  border: 1px solid rgba(199, 255, 74, 0.36);
  border-radius: 10px;
  background: rgba(14, 17, 10, 0.92);
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.copy-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.reveal {
  transform: translateY(26px);
  transition: opacity 720ms cubic-bezier(.2,.7,.2,1), transform 720ms cubic-bezier(.2,.7,.2,1);
  opacity: 0;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .visual-frame {
    min-height: 620px;
  }

  .engine-stage,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .engine-copy {
    max-width: 700px;
  }

  .engine-radar {
    width: min(560px, 92%);
  }

  .dashboard-stage {
    width: min(850px, 94%);
    margin-inline: auto;
  }

  .metrics-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quickstart {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 28px, 720px);
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 11, 16, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .nav-github {
    margin-top: 8px;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(3.25px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .hero {
    padding-top: 122px;
  }

  .hero-layout {
    gap: 64px;
  }

  .visual-frame {
    min-height: 520px;
  }

  .split-heading,
  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 24px;
  }

  .bento-browser,
  .bento-funnel,
  .bento-artifact,
  .bento-workflow,
  .bento-guardrails,
  .bento-local {
    grid-column: span 12;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-card {
    min-height: auto;
  }

  .compare-card h3 {
    margin-top: 54px;
  }

  .faq-intro {
    position: static;
  }

  .float-panel-a { right: -14px; }
  .float-panel-b { left: -14px; }
}

@media (max-width: 560px) {
  .hero {
    padding-bottom: 78px;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .hero-actions,
  .final-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .command-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .copy-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero-facts li {
    padding-right: 8px;
    border-right: 1px solid var(--line);
  }

  .hero-facts li:last-child {
    border-right: 0;
  }

  .hero-facts strong {
    font-size: 20px;
  }

  .hero-facts span {
    font-size: 7px;
  }

  .visual-frame {
    min-height: 430px;
    border-radius: 22px;
  }

  .core-orbit {
    width: 250px;
    height: 250px;
  }

  .core-sphere {
    width: 82px;
    height: 82px;
  }

  .orbit-one { width: 140px; height: 140px; margin: -70px; }
  .orbit-two { width: 195px; height: 195px; margin: -97.5px; }
  .orbit-three { width: 250px; height: 250px; margin: -125px; }

  .signal-label {
    min-width: 110px;
    padding: 7px;
    font-size: 7px;
  }

  .label-a { top: 17%; left: 4%; }
  .label-b { top: 28%; right: 3%; }
  .label-c { right: 4%; bottom: 25%; }
  .label-d { bottom: 18%; left: 4%; }

  .visual-footer span:nth-child(2) {
    display: none;
  }

  .section {
    padding: 96px 0;
  }

  .section-heading h2,
  .product-copy h2,
  .faq-intro h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .section-heading > p:last-child,
  .split-heading > p,
  .product-copy > p,
  .faq-intro > p {
    font-size: 16px;
  }

  .bento {
    min-height: 400px;
    padding: 22px;
  }

  .bento-browser { min-height: 450px; }
  .bento-funnel { min-height: 450px; }
  .bento-artifact { min-height: 460px; }
  .bento-workflow { min-height: 430px; }

  .browser-mini,
  .json-window {
    right: 16px;
    left: 16px;
  }

  .json-window {
    padding: 16px;
    font-size: 8.5px;
  }

  .workflow-map {
    right: 18px;
    left: 18px;
    grid-template-columns: 1fr 20px 72px 20px 1fr;
  }

  .workflow-core {
    width: 72px;
    height: 72px;
  }

  .workflow-core strong { font-size: 16px; }
  .workflow-node span { padding: 7px 3px; font-size: 7px; }

  .engine-stage {
    min-height: auto;
    padding: 26px 18px 36px;
    gap: 34px;
    border-radius: 22px;
  }

  .engine-radar {
    width: 108%;
    margin-left: -4%;
  }

  .engine-dot {
    padding: 5px 6px;
    font-size: 6px;
  }

  .radar-core {
    width: 90px;
    height: 90px;
  }

  .metrics-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .step-card {
    min-height: 250px;
  }

  .metric-card h4 {
    margin-top: 42px;
  }

  .step-icon {
    margin-top: 42px;
  }

  .dashboard-stage {
    width: 100%;
    padding: 0 6px;
  }

  .dashboard-frame {
    transform: none;
    border-radius: 15px;
  }

  .float-panel {
    display: none;
  }

  .quickstart {
    margin-top: 56px;
    padding: 26px 18px;
    gap: 34px;
    border-radius: 22px;
  }

  .terminal-body {
    padding: 18px;
  }

  .terminal-body p {
    font-size: 8px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-bottom {
    gap: 8px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}
