:root {
  --bg-0: #07070b;
  --bg-1: #0c0c14;
  --bg-2: #11111c;
  --bg-3: #161622;
  --line: #232336;
  --line-2: #2d2d44;
  --text: #e8e8f0;
  --text-2: #b6b6c8;
  --muted: #7a7a92;
  --purple: #a855f7;
  --purple-2: #c084fc;
  --purple-3: #7c3aed;
  --green: #4ade80;
  --cyan: #67e8f9;
  --amber: #fbbf24;
  --red: #f87171;
  --ring: rgba(168, 85, 247, 0.45);
  --glow: 0 0 0 1px rgba(168,85,247,0.18), 0 8px 40px rgba(124,58,237,0.18);
  --max: 1240px;
  --radius: 12px;
  --radius-lg: 18px;
  --font-sans: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-text: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg-0); }

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--text);
  background: var(--bg-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--purple-3); color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--purple); color: #fff; padding: 8px 14px; z-index: 1000;
  font-family: var(--font-mono); font-size: 13px;
}
.skip:focus { left: 12px; top: 12px; }

/* ================== EFFECTS LAYER ================== */
.scanlines, .grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
}
.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.012) 0,
    rgba(255,255,255,0.012) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: .6;
}
.grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* ================== NAV ================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 11, 0.7);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(7, 7, 11, 0.88);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; letter-spacing: -0.01em; color: var(--text);
  font-size: 17px;
  font-family: var(--font-sans);
}
.brand__mark { display: inline-flex; filter: drop-shadow(0 0 8px rgba(168,85,247,0.5)); }
.brand__text { font-weight: 600; letter-spacing: -0.01em; }
.brand__dot { color: var(--purple-2); }
.brand__caret {
  color: var(--purple-2);
  display: inline-block;
  animation: blink 1.1s steps(2) infinite;
  margin-left: 1px;
}
@keyframes blink { 50% { opacity: 0; } }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  color: var(--text-2); font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links .kbd {
  font-family: var(--font-mono); font-size: 11px; color: var(--purple-2);
  opacity: .8; font-weight: 500;
}
.nav__links .btn { color: var(--text); }

.nav__toggle {
  display: none;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.6px; background: var(--text); margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ================== BUTTONS ================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; font: 500 14px/1 var(--font-mono);
  border-radius: 8px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  position: relative;
}
.btn--primary {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-3) 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 1px rgba(168,85,247,0.2), 0 8px 24px rgba(124,58,237,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(168,85,247,0.35), 0 14px 30px rgba(124,58,237,0.45), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn--primary .btn__arrow { transition: transform .2s ease; }
.btn--primary:hover .btn__arrow { transform: translateX(3px); }

.btn--ghost {
  border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,0.02);
}
.btn--ghost:hover {
  border-color: var(--purple); color: var(--purple-2);
  box-shadow: 0 0 0 1px rgba(168,85,247,0.2), 0 0 24px rgba(168,85,247,0.15);
}

.btn--text {
  padding: 12px 8px; color: var(--text-2); background: transparent;
  border-radius: 6px; font-family: var(--font-mono);
}
.btn--text .prompt { color: var(--green); margin-right: 4px; }
.btn--text:hover { color: var(--purple-2); }

/* ================== TYPOGRAPHY ================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--purple-2);
  margin: 0 0 18px;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green), 0 0 4px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.ok { color: var(--green); }

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}
h2 { font-size: clamp(30px, 4.2vw, 48px); margin: 0 0 18px; letter-spacing: -0.025em; }
h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: -0.01em; line-height: 1.3; font-weight: 600; }

.grad {
  background: linear-gradient(120deg, var(--purple-2) 0%, var(--cyan) 60%, var(--purple-2) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

.hl {
  color: var(--purple-2);
  font-weight: 500;
  position: relative;
}

.section-head { max-width: 760px; margin: 0 0 56px; }
.section-lead { font-size: 17px; color: var(--text-2); margin: 0; max-width: 62ch; line-height: 1.55; }

.section-head--split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end;
  max-width: none;
}

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

/* ================== HERO ================== */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(168,85,247,0.18) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(103,232,249,0.06) 0%, transparent 60%),
    linear-gradient(180deg, transparent 60%, var(--bg-0) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
}
.hero__title {
  font-size: clamp(44px, 7vw, 88px);
  margin: 14px 0 22px;
  letter-spacing: -0.035em;
  line-height: 1.0;
}

/* Glitch the gradient span only — keeps line-wrapping clean */
.glitch { position: relative; display: inline-block; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  width: 100%;
  background: var(--bg-0);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--text);
  pointer-events: none;
  will-change: clip-path, transform;
}
.glitch::before {
  text-shadow: -1.6px 0 var(--purple-2);
  animation: glitch-1 5.5s infinite steps(1);
}
.glitch::after {
  text-shadow: 1.6px 0 var(--cyan);
  animation: glitch-2 6.7s infinite steps(1);
}

/* Mostly hidden, with short glitch bursts ~3 times per cycle.
   `inset(100% 0 0 0)` collapses the slice so the duplicate is invisible. */
@keyframes glitch-1 {
  0%, 100%   { clip-path: inset(100% 0 0 0); transform: translate(0); }
  3%         { clip-path: inset(15% 0 70% 0);  transform: translate(-2px, 0); }
  5%         { clip-path: inset(40% 0 45% 0);  transform: translate( 2px, 0); }
  7%         { clip-path: inset(72% 0 12% 0);  transform: translate(-1px, 0); }
  9%, 39%    { clip-path: inset(100% 0 0 0); transform: translate(0); }
  41%        { clip-path: inset(8% 0 80% 0);   transform: translate(-2px, 0); }
  43%        { clip-path: inset(55% 0 30% 0);  transform: translate( 1px, 0); }
  45%, 71%   { clip-path: inset(100% 0 0 0); transform: translate(0); }
  73%        { clip-path: inset(28% 0 60% 0);  transform: translate(-1px, 0); }
  75%        { clip-path: inset(82% 0 6% 0);   transform: translate( 2px, 0); }
  77%        { clip-path: inset(100% 0 0 0); transform: translate(0); }
}
@keyframes glitch-2 {
  0%, 100%   { clip-path: inset(100% 0 0 0); transform: translate(0); }
  4%         { clip-path: inset(60% 0 25% 0);  transform: translate( 2px, 0); }
  6%         { clip-path: inset(20% 0 65% 0);  transform: translate(-2px, 0); }
  8%         { clip-path: inset(85% 0 5% 0);   transform: translate( 1px, 0); }
  10%, 49%   { clip-path: inset(100% 0 0 0); transform: translate(0); }
  52%        { clip-path: inset(12% 0 75% 0);  transform: translate( 2px, 0); }
  54%        { clip-path: inset(45% 0 38% 0);  transform: translate(-1px, 0); }
  56%, 84%   { clip-path: inset(100% 0 0 0); transform: translate(0); }
  86%        { clip-path: inset(70% 0 18% 0);  transform: translate( 2px, 0); }
  88%        { clip-path: inset(33% 0 52% 0);  transform: translate(-2px, 0); }
  90%        { clip-path: inset(100% 0 0 0); transform: translate(0); }
}
.hero__lead {
  max-width: 56ch; font-size: clamp(16px, 1.3vw, 18px); color: var(--text-2);
  margin: 0 0 32px;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ----- terminal panel ----- */
.terminal {
  background: rgba(12, 12, 20, 0.85);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--glow), 0 30px 60px rgba(0,0,0,0.4);
  overflow: hidden;
  font-family: var(--font-mono);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}
.terminal::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.terminal__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--line);
}
.terminal__dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal__dot--red { background: var(--red); }
.terminal__dot--amber { background: var(--amber); }
.terminal__dot--green { background: var(--green); }
.terminal__title {
  margin-left: auto; margin-right: auto;
  font-size: 12px; color: var(--muted);
}
.terminal__body {
  padding: 18px 18px 22px;
  font-size: 13.5px;
  line-height: 1.7;
  min-height: 280px;
  color: var(--text-2);
}
.term-line { white-space: pre-wrap; word-break: break-word; }
.term-prompt { color: var(--green); }
.term-cmd { color: var(--text); }
.term-flag { color: var(--cyan); }
.term-str { color: var(--amber); }
.term-ok { color: var(--green); }
.term-warn { color: var(--amber); }
.term-purple { color: var(--purple-2); }
.term-muted { color: var(--muted); }
.term-cursor::after {
  content: "▍";
  color: var(--purple-2);
  animation: blink 1s steps(2) infinite;
  margin-left: 2px;
}

.hero__strip {
  position: relative; z-index: 2;
  margin-top: 88px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
}
.hero__strip > div {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 22px;
  border-right: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
  transition: background .25s ease, color .25s ease;
}
.hero__strip > div:last-child { border-right: 0; }
.hero__strip > div:hover { background: rgba(168,85,247,0.06); color: var(--text); }
.hero__strip .strip__num {
  color: var(--purple-2);
  font-weight: 500; font-size: 13px;
}

/* ================== LOGOS STRIP ================== */
.logos {
  padding: 28px 0 40px;
  background: var(--bg-0);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.logos::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 50%, rgba(168,85,247,0.05) 0%, transparent 70%);
}
.logos__inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.logos__label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  position: relative;
}
.logos__label::before, .logos__label::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 28px; height: 1px;
  background: var(--line-2);
  margin: 0 14px;
}
.logos__row {
  display: flex; align-items: center; justify-content: center;
  gap: 56px; flex-wrap: wrap;
}
.logos__item {
  display: inline-flex; align-items: center; gap: 12px;
  opacity: 0.55;
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}
.logos__item:hover { opacity: 1; transform: translateY(-2px); }
.logos__item img {
  height: 38px; width: auto;
  filter: brightness(0) invert(1);
  transition: filter .25s ease;
}
.logos__item:hover img { filter: none; }
.logos__wordmark {
  font-family: var(--font-sans);
  font-weight: 600; font-size: 26px; letter-spacing: -0.02em;
  color: var(--text);
  transition: color .25s ease;
}
.logos__item:hover .logos__wordmark { color: #ff7a59; }
.logos__divider {
  width: 1px; height: 36px;
  background: var(--line-2);
}

@media (max-width: 720px) {
  .logos { padding: 22px 0 32px; }
  .logos__row { gap: 32px; }
  .logos__divider { display: none; }
  .logos__item img { height: 32px; }
  .logos__wordmark { font-size: 22px; }
}

/* ================== SERVICES ================== */
.services {
  padding: 110px 0;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(168,85,247,0.05) 0%, transparent 60%),
    var(--bg-1);
  border-bottom: 1px solid var(--line);
}
.grid { display: grid; gap: 20px; }
.grid--cards { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(168,85,247,0.18), transparent 40%);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.card:hover::before { opacity: 1; }
.card__head { display: flex; align-items: center; justify-content: space-between; }
.card__num {
  font-family: var(--font-mono); font-size: 12px; color: var(--purple-2);
  letter-spacing: .08em;
}
.card__icon { color: var(--purple-2); display: inline-flex; opacity: .85; }
.card p { color: var(--text-2); margin: 0; font-size: 14.5px; line-height: 1.55; }
.tags { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-family: var(--font-mono);
  font-size: 11.5px; color: var(--text-2);
  background: rgba(168,85,247,0.05);
  border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 6px;
}

/* ================== APPROACH ================== */
.approach { padding: 110px 0; background: var(--bg-0); border-bottom: 1px solid var(--line); }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.steps li {
  padding: 32px 24px 28px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.steps li:last-child { border-right: 0; }
.steps__num {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  color: var(--purple-2);
  font-size: 13px;
}
.steps__num i {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--line-2), transparent);
}
.steps p { color: var(--text-2); font-size: 14.5px; margin: 0; }

/* ================== DELIVERY / CI-CD ================== */
.delivery {
  padding: 110px 0;
  background: var(--bg-0);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.delivery::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 50% 0%, rgba(168,85,247,0.07) 0%, transparent 60%),
    radial-gradient(30% 40% at 100% 100%, rgba(103,232,249,0.04) 0%, transparent 60%);
}
.delivery .container { position: relative; }

.pipeline {
  list-style: none; padding: 0; margin: 56px 0 28px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.pipeline__step {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  border-right: 1px solid var(--line);
  transition: background .25s ease;
}
.pipeline__step:last-child { border-right: 0; }
.pipeline__step::after {
  /* chevron between steps */
  content: "";
  position: absolute; top: 50%; right: -9px; z-index: 2;
  width: 16px; height: 16px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.pipeline__step:last-child::after { display: none; }
.pipeline__step:hover { background: rgba(168,85,247,0.05); }

.pipeline__head { display: flex; align-items: center; justify-content: space-between; }
.pipeline__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--purple-2);
  letter-spacing: .08em;
}
.pipeline__status {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(74,222,128,0.6), 0 0 2px rgba(74,222,128,0.9);
  animation: pulse 2.4s ease-in-out infinite;
}
.pipeline__step:nth-child(2) .pipeline__status { animation-delay: 0.3s; }
.pipeline__step:nth-child(3) .pipeline__status { animation-delay: 0.6s; }
.pipeline__step:nth-child(4) .pipeline__status { animation-delay: 0.9s; }
.pipeline__step:nth-child(5) .pipeline__status { animation-delay: 1.2s; }

.pipeline__step h3 {
  font-size: 17px;
  margin: 0;
}
.pipeline__step p {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.audience {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 24px;
}
.audience__col {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  position: relative;
  transition: border-color .25s ease;
}
.audience__col:hover { border-color: var(--line-2); }
.audience__col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-2);
  margin: 0 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.audience__col h4::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple-2);
  box-shadow: 0 0 8px rgba(168,85,247,0.6);
}
.audience__col p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
.audience__mono {
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ================== STACK ================== */
.stack {
  padding: 110px 0;
  background:
    radial-gradient(50% 60% at 0% 100%, rgba(124,58,237,0.08) 0%, transparent 60%),
    var(--bg-1);
  border-bottom: 1px solid var(--line);
}
.stack__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.stack__card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  transition: border-color .2s ease, transform .2s ease;
}
.stack__card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(168,85,247,0.2), 0 12px 30px rgba(124,58,237,0.18);
}
.stack__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.stack__tag {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(168,85,247,0.12);
  color: var(--purple-2);
  border: 1px solid rgba(168,85,247,0.25);
  padding: 3px 8px; border-radius: 999px;
}
.stack__card h3 { margin: 0; font-size: 22px; }
.stack__card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.stack__card li {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--text-2);
  padding-left: 16px; position: relative;
}
.stack__card li::before {
  content: "›"; position: absolute; left: 0; color: var(--purple-2);
}

/* ================== ABOUT ================== */
.about { padding: 110px 0; background: var(--bg-0); border-bottom: 1px solid var(--line); }
.about__inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start;
}
.about__copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.about__copy p { color: var(--text-2); font-size: 16px; margin: 0 0 16px; max-width: 60ch; line-height: 1.65; }
.prompt-line {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  display: inline-flex; gap: 8px; align-items: baseline;
  flex-wrap: wrap;
}
.prompt-line .cursor {
  color: var(--purple-2);
  animation: blink 1s steps(2) infinite;
}

.about__stats {
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.about__stats > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 20px;
}
.about__stats strong {
  font-family: var(--font-sans); font-weight: 600; font-size: 52px;
  background: linear-gradient(180deg, var(--purple-2) 0%, var(--purple-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}
.about__stats span { color: var(--text-2); font-size: 14.5px; }

/* ================== CTA ================== */
.cta {
  padding: 120px 0;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(168,85,247,0.12) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(103,232,249,0.04) 0%, transparent 60%),
    var(--bg-1);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.cta__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  position: relative;
}
.cta h2 { font-size: clamp(32px, 4vw, 52px); }
.cta__lead { color: var(--text-2); font-size: 17px; max-width: 50ch; margin: 0 0 28px; }
.cta__contact { display: flex; flex-wrap: wrap; gap: 12px; }

.cta__form {
  display: grid; gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 0 24px 24px;
  box-shadow: var(--glow);
  overflow: hidden;
}
.cta__form-bar {
  display: flex; align-items: center; gap: 8px;
  margin: 0 -24px 18px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
}
.cta__form label { display: grid; gap: 7px; }
.cta__form span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-2);
  font-weight: 500;
}
.cta__form .prompt { color: var(--green); margin-right: 4px; }
.cta__form input, .cta__form textarea {
  background: var(--bg-0);
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: 8px;
  padding: 11px 13px;
  font: 400 14.5px var(--font-mono);
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cta__form input::placeholder, .cta__form textarea::placeholder { color: var(--muted); }
.cta__form input:focus, .cta__form textarea:focus {
  outline: 0; border-color: var(--purple); box-shadow: 0 0 0 4px var(--ring);
}
.cta__form button { margin-top: 8px; justify-self: start; }
.cta__form-note { margin: 4px 0 0; font-family: var(--font-mono); font-size: 13px; color: var(--purple-2); min-height: 18px; }

/* ================== FOOTER ================== */
.footer { padding: 36px 0; background: var(--bg-0); }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
.footer__copy { color: var(--muted); font-size: 13px; margin: 0; font-family: var(--font-mono); }
.footer__links { display: flex; gap: 22px; font-size: 14px; color: var(--text-2); font-family: var(--font-mono); }
.footer__links a:hover { color: var(--purple-2); }

/* ================== REVEAL ================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ================== RESPONSIVE ================== */
@media (max-width: 1080px) {
  .grid--cards { grid-template-columns: repeat(2, 1fr); }
  .stack__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; }
  .hero { padding: 80px 0 96px; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__strip { margin-top: 80px; }
  .terminal { max-width: 600px; }

  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline__step { border-bottom: 1px solid var(--line); }
  .pipeline__step:nth-child(2n) { border-right: 0; }
  .pipeline__step:nth-last-child(-n+1),
  .pipeline__step:nth-last-child(-n+2):nth-child(2n-1) { border-bottom: 0; }
  .pipeline__step::after { display: none; }
}

@media (max-width: 980px) {
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .section-head--split { grid-template-columns: 1fr; gap: 18px; }
  .cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero__strip > div:nth-child(2) { border-right: 0; }
  .audience { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--line);
    padding: 8px 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav__links a { padding: 14px 28px; border-top: 1px solid var(--line); }
  .nav__links .btn { margin: 14px 28px; padding: 12px 18px; }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__toggle { display: block; }

  .hero { padding: 72px 0 88px; }
  .hero__inner { gap: 44px; }
  .hero__strip {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }
  .hero__strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero__strip > div:last-child { border-bottom: 0; }

  .services, .approach, .delivery, .stack, .about, .cta { padding: 80px 0; }

  .pipeline { grid-template-columns: 1fr; margin: 40px 0 24px; }
  .pipeline__step { border-right: 0; border-bottom: 1px solid var(--line); }
  .pipeline__step:last-child { border-bottom: 0; }

  .grid--cards, .stack__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .scanlines, .grain { display: none; }
  .glitch::before, .glitch::after { display: none; }
}
