:root {
  --bg: #080712;
  --bg-deep: #04030a;
  --surface: rgba(18, 15, 34, 0.76);
  --surface-strong: rgba(28, 22, 52, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(140, 82, 255, 0.34);
  --text: #fbfaff;
  --muted: #c3bdd8;
  --soft: #8f87aa;
  --brand: #8c52ff;
  --brand-2: #5e17eb;
  --electric: #00d9ff;
  --mint: #37f2a4;
  --lime: #d8ff4f;
  --amber: #ffbf5c;
  --danger: #ff5f7a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --glow: 0 0 44px rgba(140, 82, 255, 0.34);
  --mx: 50%;
  --my: 35%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(140, 82, 255, 0.14), transparent 28%),
    linear-gradient(115deg, rgba(140, 82, 255, 0.18), transparent 30%),
    linear-gradient(245deg, rgba(0, 217, 255, 0.09), transparent 28%),
    linear-gradient(180deg, #0a0715 0%, #070610 46%, #05040a 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 84%);
  animation: gridDrift 26s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(140, 82, 255, 0.1) 18%, transparent 36%),
    linear-gradient(300deg, transparent 0%, rgba(55, 242, 164, 0.055) 16%, transparent 36%);
  opacity: 0.86;
}

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

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 100;
  background: var(--electric);
  color: #041113;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0;
  pointer-events: none;
  transition: transform 0.28s ease;
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 12px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background:
    linear-gradient(115deg, rgba(140, 82, 255, 0.22), rgba(0, 217, 255, 0.08) 48%, rgba(7, 5, 16, 0.78)),
    rgba(7, 5, 16, 0.78);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(24px);
  pointer-events: auto;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.nav-wrap.is-scrolled .nav {
  background:
    linear-gradient(115deg, rgba(140, 82, 255, 0.16), rgba(0, 217, 255, 0.06) 44%, rgba(7, 5, 16, 0.9)),
    rgba(7, 5, 16, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 78px rgba(0, 0, 0, 0.45), 0 0 48px rgba(140, 82, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.brand span {
  display: inline-block;
  transform: translateY(-1px);
  background: linear-gradient(90deg, #fff 0%, #bba4ff 48%, #8c52ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand:not(:has(span))::after {
  content: "zyphh";
  transform: translateY(-1px);
  background: linear-gradient(90deg, #fff 0%, #bba4ff 48%, #8c52ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-links .btn {
  min-height: 40px;
  margin-left: 4px;
  color: #071017;
  background: linear-gradient(135deg, var(--lime), #80f7ff);
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(216, 255, 79, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 17px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: transform 0.55s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary,
.btn-cyan {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 55%, #29105f 100%);
  color: #fff;
  border-color: rgba(190, 160, 255, 0.38);
  box-shadow: 0 16px 42px rgba(94, 23, 235, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.eyebrow {
  color: #c7b7ff;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Manrope, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 700;
}

.lede {
  max-width: 710px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(216, 255, 79, 0.1), transparent 18%),
    linear-gradient(100deg, rgba(140, 82, 255, 0.24), transparent 34%),
    linear-gradient(260deg, rgba(0, 217, 255, 0.14), transparent 30%);
  opacity: 0.95;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-home {
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 92px 0 72px;
  border-bottom: 0;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(5, 4, 10, 0.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-content h1 {
  max-width: 880px;
  text-wrap: balance;
  text-shadow: 0 0 42px rgba(140, 82, 255, 0.22);
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #d8ccff 34%, #8c52ff 68%, #00d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 750;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 8px;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(55, 242, 164, 0.72);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(calc((var(--mx) - 50%) * 0.018), calc((var(--my) - 50%) * 0.014), 0);
}

.hero-scene .scene-grid {
  position: absolute;
  inset: 12% -8% -10% 30%;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(900px) rotateX(58deg) rotateZ(-12deg);
  animation: gridDrift 18s linear infinite;
}

.scene-mark {
  position: absolute;
  right: 7%;
  top: 17%;
  width: 132px;
  opacity: 0.95;
  filter: drop-shadow(0 22px 54px rgba(140, 82, 255, 0.6));
  animation: floatPanel 7s ease-in-out infinite;
}

.scene-beam {
  position: absolute;
  height: 1px;
  width: 46%;
  right: -4%;
  background: linear-gradient(90deg, transparent, rgba(140, 82, 255, 0.9), rgba(0, 217, 255, 0.5), transparent);
  transform: rotate(-18deg);
  animation: beamSweep 8s ease-in-out infinite;
}

.beam-a { top: 30%; }
.beam-b { top: 48%; animation-delay: 1.4s; opacity: 0.72; }
.beam-c { top: 66%; animation-delay: 2.8s; opacity: 0.52; }

.scene-panel {
  position: absolute;
  right: 7%;
  width: 360px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(28, 22, 52, 0.92), rgba(10, 7, 22, 0.78));
  box-shadow: var(--shadow), var(--glow);
  backdrop-filter: blur(18px);
  overflow: hidden;
  animation: floatPanel 8s ease-in-out infinite;
}

.panel-main {
  top: 36%;
}

.panel-metric {
  top: 62%;
  right: 19%;
  width: 285px;
  animation-delay: 1.2s;
}

.panel-mini {
  top: 13%;
  right: 18%;
  width: 238px;
  animation-delay: 2.1s;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.panel-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.flow-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.flow-row strong {
  color: #fff;
  font-size: 13px;
}

.flow-row span {
  color: var(--soft);
  font-size: 12px;
}

.status-chip {
  border-radius: 8px;
  padding: 5px 7px;
  color: #07110d;
  background: var(--mint);
  font-size: 11px;
  font-weight: 900;
}

.status-chip.brand-chip {
  background: #c7b7ff;
}

.signal-line {
  height: 6px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.signal-line span {
  display: block;
  height: 100%;
  width: 42%;
  background: linear-gradient(90deg, var(--brand), var(--electric), var(--mint));
  animation: scanLine 2.6s ease-in-out infinite;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.metric-row strong {
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 28px;
}

.metric-row span {
  color: var(--soft);
  font-size: 12px;
}

.scene-node {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(14px);
  animation: floatPanel 9s ease-in-out infinite;
}

.node-a { right: 28%; top: 46%; }
.node-b { right: 8%; top: 80%; animation-delay: 1.6s; }
.node-c { right: 26%; top: 72%; animation-delay: 2.4s; }

.hero-proofline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 1px;
  width: min(690px, 100%);
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.hero-proofline::before {
  content: none;
}

.hero-proofline span {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.035);
}

.signal-strip {
  position: relative;
  margin-top: -1px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(90deg, rgba(140, 82, 255, 0.12), rgba(0, 217, 255, 0.06), rgba(216, 255, 79, 0.06)),
    rgba(255, 255, 255, 0.028);
}

.signal-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 118px 100%;
  opacity: 0.12;
}

.signal-strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.signal-copy {
  display: grid;
  gap: 4px;
}

.signal-copy strong {
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 18px;
}

.signal-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.signal-items span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  font-weight: 750;
}

.signal-items strong {
  color: var(--lime);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.console {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 24, 58, 0.88), rgba(8, 6, 18, 0.86));
  box-shadow: var(--shadow), 0 0 60px rgba(94, 23, 235, 0.18);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.lights {
  display: flex;
  gap: 7px;
}

.lights span {
  width: 10px;
  height: 10px;
  border-radius: 8px;
}

.lights span:nth-child(1) { background: var(--danger); }
.lights span:nth-child(2) { background: var(--amber); }
.lights span:nth-child(3) { background: var(--mint); }

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
}

.console-body {
  padding: 18px;
}

.sprint-card,
.metric-card,
.service-card,
.post-card,
.step-card,
.proof-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(15, 12, 28, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.sprint-card {
  padding: 15px;
  border-color: rgba(140, 82, 255, 0.34);
  background: linear-gradient(135deg, rgba(140, 82, 255, 0.16), rgba(0, 217, 255, 0.06));
}

.sprint-card strong,
.metric-card strong {
  display: block;
  color: #fff;
}

.pipeline {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pipeline-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 12px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(140, 82, 255, 0.18);
  color: #dacfff;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.pipeline-item p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.metric-card {
  padding: 13px;
}

.metric-card strong {
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 24px;
}

.metric-card span {
  display: block;
  margin-top: 3px;
  color: var(--soft);
  font-size: 12px;
}

.section {
  position: relative;
  padding: 82px 0;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 82, 255, 0.42), transparent);
}

.section-alt {
  background:
    linear-gradient(115deg, rgba(140, 82, 255, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 790px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: 43px;
  line-height: 1.08;
  text-wrap: balance;
}

.section-head p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card,
.post-card,
.step-card,
.proof-card {
  --rx: 0deg;
  --ry: 0deg;
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  overflow: hidden;
  padding: 21px;
  transform-style: preserve-3d;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.service-card::before,
.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(140, 82, 255, 0.16), transparent);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.service-card::after,
.post-card::after,
.step-card::after,
.proof-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(216, 255, 79, 0.1), transparent 36%);
  transition: opacity 0.22s ease;
}

.service-card:hover,
.post-card:hover,
.step-card:hover,
.proof-card:hover {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
  border-color: rgba(140, 82, 255, 0.46);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), 0 0 42px rgba(140, 82, 255, 0.18);
}

.service-card:hover::after,
.post-card:hover::after,
.step-card:hover::after,
.proof-card:hover::after {
  opacity: 1;
}

.service-card:hover::before,
.post-card:hover::before {
  transform: translateX(120%);
}

.service-card h3,
.post-card h3,
.step-card h3 {
  position: relative;
  font-size: 21px;
  line-height: 1.25;
}

.service-card p,
.post-card p,
.step-card p,
.proof-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.service-card > *,
.post-card > *,
.step-card > *,
.proof-card > * {
  position: relative;
  z-index: 1;
}

.mini-list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}

.mini-list li {
  display: flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.mini-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 8px;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(55, 242, 164, 0.55);
}

.link-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #d7ccff;
  font-weight: 850;
}

.link-line::after {
  content: "->";
  color: var(--electric);
  transition: transform 0.2s ease;
}

.service-card:hover .link-line::after,
.post-card:hover .link-line::after {
  transform: translateX(4px);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.proof-card strong {
  display: block;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 31px;
  background: linear-gradient(90deg, #fff, #cfc1ff, #00d9ff, #d8ff4f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

.step-card .mono {
  color: #c7b7ff;
}

.cta-band {
  border: 1px solid rgba(140, 82, 255, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(140, 82, 255, 0.18), rgba(0, 217, 255, 0.08)),
    rgba(255, 255, 255, 0.055);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.cta-band h2 {
  font-size: 34px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: rgba(4, 3, 10, 0.92);
}

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

.footer h3 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer a:hover {
  color: #fff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.mobile-only {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 78px 78px, 78px 78px; }
}

@keyframes floatPanel {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
}

@keyframes beamSweep {
  0%, 100% { opacity: 0.2; transform: translateX(0) rotate(-18deg); }
  50% { opacity: 0.52; transform: translateX(-4%) rotate(-18deg); }
}

@keyframes scanLine {
  0% { transform: translateX(-110%); }
  50% { transform: translateX(65%); }
  100% { transform: translateX(230%); }
}

@media (max-width: 980px) {
  h1 {
    font-size: 50px;
  }

  .hero-home {
    min-height: 640px;
  }

  .hero-grid,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-scene {
    opacity: 0.55;
  }

  .scene-panel {
    right: -18px;
  }

  .panel-mini {
    display: none;
  }

  .service-grid,
  .post-grid,
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-strip-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .signal-items {
    justify-content: flex-start;
  }
}

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

  .nav {
    min-height: auto;
    padding: 10px;
  }

  .brand {
    font-size: 22px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .nav-links {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  h1 {
    font-size: 39px;
  }

  .hero,
  .hero-home {
    min-height: auto;
    padding: 72px 0 54px;
  }

  .hero-scene {
    opacity: 0.32;
  }

  .scene-panel,
  .scene-node {
    display: none;
  }

  .scene-mark {
    right: 2%;
    top: 14%;
    width: 96px;
  }

  .lede {
    font-size: 17px;
  }

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

  .metric-grid,
  .service-grid,
  .post-grid,
  .step-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-item {
    grid-template-columns: 38px 1fr;
  }

  .pipeline-item .mono {
    grid-column: 2;
  }

  .section {
    padding: 56px 0;
  }

  .section-head h2,
  .cta-band h2 {
    font-size: 31px;
  }

  .hero-actions,
  .cta-band {
    align-items: stretch;
  }

  .hero-proofline {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-proofline span {
    min-height: 38px;
  }

  .signal-copy strong {
    font-size: 16px;
  }

  .signal-items {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nav .mobile-only {
    width: auto;
    white-space: nowrap;
  }

  .hero-actions .btn,
  .cta-band .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

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