.hero {
  position: relative;
  display: grid;
  overflow-x: clip;
  min-height: calc(100svh - 74px);
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  column-gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding-top: 5.5rem;
  padding-bottom: 3rem;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 5rem;
}
.hero h1 {
  margin-bottom: 1.7rem;
  font-size: clamp(2.9rem, 4.9vw, 4.8rem);
  font-weight: 710;
  letter-spacing: -0.074em;
  line-height: 0.91;
}
.hero-lede {
  max-width: 590px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.65;
}
.hero-lede strong {
  color: var(--ink);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  margin: 2rem 0 0;
  padding: 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 650;
  list-style: none;
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.proof-dot,
.pane-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
}
.proof-dot.cyan,
.pane-dot.cyan { background: var(--cyan); box-shadow: 0 0 10px rgba(var(--cyan-rgb), 0.65); }
.proof-dot.lime,
.pane-dot.lime { background: var(--lime); box-shadow: 0 0 10px rgba(var(--lime-rgb), 0.55); }
.proof-dot.orange { background: var(--orange); box-shadow: 0 0 10px rgba(var(--orange-rgb), 0.55); }
.hero-stage {
  position: relative;
  z-index: 1;
  perspective: 1200px;
}
.hero-stage::before {
  position: absolute;
  z-index: -1;
  inset: 12% -8% 3% 4%;
  border-radius: 48%;
  background: rgba(var(--cyan-rgb), 0.08);
  filter: blur(70px);
  content: "";
}
.stage-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(var(--cyan-rgb), 0.11);
  border-radius: 50%;
  pointer-events: none;
}
.stage-orbit-one {
  width: 620px;
  height: 310px;
  top: 19%;
  left: -8%;
  transform: rotate(-18deg);
}
.stage-orbit-two {
  width: 470px;
  height: 470px;
  top: -12%;
  left: 14%;
  border-color: rgba(var(--lime-rgb), 0.08);
}
.code-window {
  overflow: hidden;
  border: 1px solid #2a384a;
  border-radius: var(--radius-md);
  background: rgba(11, 16, 23, 0.96);
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(255, 255, 255, 0.015) inset;
}
.hero-code-window {
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: center right;
}
.window-bar {
  display: grid;
  min-height: 48px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 1rem;
  border-bottom: 1px solid var(--stroke-soft);
  background: #101720;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.67rem;
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #344153;
}
.window-dots span:first-child { background: #ff877d; }
.window-dots span:nth-child(2) { background: var(--orange); }
.window-dots span:last-child { background: var(--lime); }
.window-state {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.4rem;
  color: #93a3b6;
}
.window-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(var(--lime-rgb), 0.7);
}
.hero-code {
  overflow-x: auto;
  padding: 0.85rem 0 1rem;
  color: #c7d0dc;
  font-family: var(--font-mono);
  font-size: clamp(0.58rem, 0.82vw, 0.7rem);
  line-height: 1.45;
}
.code-line {
  min-height: 1.8em;
  padding-right: 1rem;
  white-space: nowrap;
}
.line-no {
  display: inline-block;
  width: 3.5rem;
  padding-right: 1.2rem;
  color: #445163;
  text-align: right;
  user-select: none;
}
.code-line.generated {
  background: linear-gradient(90deg, rgba(var(--lime-rgb), 0.055), transparent 75%);
}
.token-cyan { color: var(--cyan); }
.token-lime { color: var(--lime); }
.token-orange { color: var(--orange); }
.token-purple { color: var(--purple); }
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.75rem;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: rgba(17, 25, 35, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}
.float-chip span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
}
.chip-rust { top: 18%; right: -1.6rem; }
.chip-rust span { background: rgba(var(--orange-rgb), 0.13); color: var(--orange); }
.chip-safe { right: 2rem; bottom: -1.1rem; }
.chip-safe span { background: rgba(var(--lime-rgb), 0.13); color: var(--lime); }
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.09;
}
.hero-glow-cyan { top: 12%; left: -16%; background: var(--cyan); }
.hero-glow-lime { right: -16%; bottom: 11%; background: var(--lime); }
.hero-strip {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--stroke-soft);
  border-bottom: 1px solid var(--stroke-soft);
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.hero-strip p {
  margin: 0;
  color: var(--ink-muted);
  font-weight: 550;
}
.hero-strip i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--orange);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}
.section-heading h2,
.pipeline-copy h2,
.closing-card h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 690;
  letter-spacing: -0.06em;
  line-height: 0.98;
}
.section-heading > p {
  margin-bottom: 0.25rem;
  color: var(--ink-muted);
  font-size: 0.97rem;
}
.section-heading.compact {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
}
