/*
 * mach-nexus.css  —  Mach Nexus product page
 * Enqueue: wp_enqueue_style('mach-nexus', get_template_directory_uri().'/assets/mach-nexus.css', [], '1.0');
 * Tokens identical to mach-radx.css and mach-perception.css — sync all three if :root changes.
 */

/* ── TOKENS (identical to RadX / Perception) ── */
:root {
  --display: 'Bebas Neue', Impact, sans-serif;
  --sans: 'Poppins', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --bg: #04070d;
  --bg-2: #070b14;
  --surface: #0d1420;
  --surface-2: #111826;
  --elevated: #151e2c;
  --text: #eef2ff;
  --text-2: #8594b4;
  --text-3: #4a5878;
  --text-4: #2e3d58;
  --mach: #1fb6f0;
  --mach-bright: #3fc5f8;
  --mach-dim: rgba(31, 182, 240, .08);
  --mach-glow: rgba(31, 182, 240, .4);
  --warn: #ff5b5b;
  --warn-dim: rgba(255, 91, 91, .08);
  --green: #22c55e;
  --hairline: rgba(255, 255, 255, .07);
  --hairline-2: rgba(255, 255, 255, .13);
  --hairline-strong: rgba(255, 255, 255, .2);
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --sy: clamp(80px, 10vw, 120px);
  --radius: 10px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--mach-dim);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(1200px 700px at 80% -10%, rgba(31, 182, 240, .08), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(31, 182, 240, .05), transparent 60%);
}

/* ── LAYOUT ── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}

section {
  position: relative;
  z-index: 3;
}

/* ── TYPOGRAPHY (identical class names to RadX) ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mach);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--mach);
  opacity: .7;
}

.eyebrow.center {
  justify-content: center;
}

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .92;
  text-transform: uppercase;
  margin: 0;
}

.h-xl {
  font-size: clamp(60px, 10vw, 152px);
}

.h-lg {
  font-size: clamp(44px, 6.4vw, 104px);
}

.h-md {
  font-size: clamp(34px, 4.2vw, 68px);
}

.h-sm {
  font-size: clamp(22px, 2.4vw, 32px);
}

.body-lg {
  font-size: clamp(17px, 1.2vw, 19px);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 60ch;
}

.accent {
  color: var(--mach);
}

/* ── BUTTONS (identical to RadX) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--mach);
  color: #021019;
  box-shadow: 0 0 0 1px rgba(31, 182, 240, .4), 0 18px 40px -12px var(--mach-glow);
}

.btn-primary:hover {
  background: var(--mach-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--text);
}

.btn-outline {
  border: 1px solid var(--mach);
  color: var(--mach);
  background: transparent;
}

.btn-outline:hover {
  background: var(--mach-dim);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

/* ── NAV (identical to RadX) ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(4, 7, 13, .6);
  border-bottom: 1px solid var(--hairline);
  transition: background .25s var(--ease);
}

.nav.scrolled {
  background: rgba(4, 7, 13, .88);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: .08em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-sep {
  opacity: .35;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--text);
}

@media(max-width:900px) {
  .nav-links {
    display: none;
  }
}

/* ── HERO (identical structure to RadX) ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(100px, 14vw, 180px);
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .45;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-overtitle {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-4);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-overtitle::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--mach);
  opacity: .5;
}

.hero-overtitle span {
  color: var(--text-3);
}

.hero-h1 {
  font-size: clamp(52px, 7.8vw, 122px);
}

.hero-h1 .line-accent {
  color: var(--mach);
  display: block;
}

.hero-sub {
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 52ch;
}

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

/* Connectivity badge (mirrors RadX patent-strip) */
.connectivity-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(31, 182, 240, .06);
  border: 1px solid rgba(31, 182, 240, .22);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mach);
  align-self: flex-start;
}

.cs-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mach);
  animation: csPulse 2s ease-in-out infinite;
}

@keyframes csPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .25;
  }
}

/* Hero proof strip (identical to RadX) */
.hero-proof {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 15, 25, .6);
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
}

.proof-item {
  flex: 1;
  min-width: 100px;
  padding: 16px 20px;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-item:last-child {
  border-right: none;
}

.proof-val {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: .04em;
  color: var(--text);
  line-height: 1;
}

.proof-val .unit {
  color: var(--mach);
  font-size: .58em;
  padding-left: 3px;
}

.proof-key {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-top: 2px;
}

/* Hero visual — dominant product image */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.product-frame>img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 80px rgba(31, 182, 240, .3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

.frame-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--mach);
  opacity: .9;
}

.frame-corner.tl {
  top: 4px;
  left: 4px;
  border-right: 0;
  border-bottom: 0;
}

.frame-corner.tr {
  top: 4px;
  right: 4px;
  border-left: 0;
  border-bottom: 0;
}

.frame-corner.bl {
  bottom: 4px;
  left: 4px;
  border-right: 0;
  border-top: 0;
}

.frame-corner.br {
  bottom: 4px;
  right: 4px;
  border-left: 0;
  border-top: 0;
}

.spec-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(7, 11, 19, .92);
  border: 1px solid var(--hairline-2);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}

.spec-tag--1 {
  top: 8%;
  right: -5%;
  animation-delay: -2s;
}

.spec-tag--2 {
  bottom: 20%;
  left: -8%;
  animation-delay: -4s;
}

.spec-tag--3 {
  top: 46%;
  right: -10%;
  animation-delay: -1s;
}

.spec-tag-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--mach-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-tag-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--mach);
  fill: none;
  stroke-width: 1.5;
}

.spec-tag-val {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--text);
  display: block;
  line-height: 1;
}

/* .spec-tag-key {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-4);
  display: block;
  margin-top: 2px;
} */

.spec-tag-key {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mach);
  display: block;
  margin-top: 2px;
}

/* ── 3-PANEL STATEMENT (mirrors RadX patent strip exactly) ── */
.stmt-bar {
  background: var(--bg);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(48px, 6vw, 72px) 0;
}

.stmt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}

.stmt-panel {
  background: var(--surface);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.stmt-panel::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mach), transparent);
  opacity: .4;
}

.stmt-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mach);
  margin-bottom: 14px;
}

.stmt-head {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}

.stmt-body {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
}

/* ── CHALLENGE (identical to RadX) ── */
.challenge {
  padding-top: var(--sy);
  padding-bottom: var(--sy);
  background: var(--bg-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.challenge-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.challenge h2 {
  font-size: clamp(36px, 5vw, 80px);
  margin: 12px 0 24px;
}

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

.env-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .25s var(--ease);
}

.env-card:hover {
  border-color: var(--hairline-2);
}

.env-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--warn-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.env-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--warn);
  fill: none;
  stroke-width: 1.5;
}

.env-card h4 {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
}

/* .env-card p {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0;
} */
.env-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

/* ── SOLUTION BREAK (identical to RadX) ── */
.solution-break {
  padding: clamp(64px, 8vw, 120px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.solution-break::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(31, 182, 240, .12), transparent 70%);
  pointer-events: none;
}

/* ── OUTCOMES (identical to RadX) ── */
.outcomes {
  padding-top: var(--sy);
  padding-bottom: var(--sy);
  background: var(--bg-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.outcomes-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}

.outcome-card {
  background: var(--surface);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: background .25s var(--ease);
}

.outcome-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mach), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.outcome-card:hover::before {
  opacity: .6;
}

.outcome-card:hover {
  background: var(--surface-2);
}

.outcome-num {
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: .02em;
  color: var(--text-4);
  line-height: 1;
}

.outcome-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--mach-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.outcome-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--mach);
  fill: none;
  stroke-width: 1.5;
}

.outcome-card h3 {
  font-family: var(--display);
  font-size: clamp(26px, 2.8vw, 40px);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
  line-height: 1;
}

.outcome-lead {
  font-size: clamp(14px, 1vw, 15px);
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}

.outcome-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.outcome-spec {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--mach);
  background: var(--mach-dim);
  border: 1px solid rgba(31, 182, 240, .15);
  border-radius: 3px;
  padding: 3px 8px;
  text-transform: uppercase;
}

/* ── EVIDENCE / SPECS (identical to RadX) ── */
.evidence {
  padding-top: var(--sy);
  padding-bottom: var(--sy);
  background: var(--bg);
  border-top: 1px solid var(--hairline);
}

.evidence-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.proof-block {
  background: var(--surface);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.proof-block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--mach), transparent);
  opacity: .4;
}

.proof-block .big-num {
  font-family: var(--display);
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: .02em;
  line-height: .95;
  color: var(--text);
}

.proof-block .big-num .unit {
  color: var(--mach);
  font-size: .5em;
  padding-left: 4px;
}

.proof-block .proof-headline {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.proof-block .proof-why {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0;
}

.spec-pairs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.spec-pair {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color .25s var(--ease);
}

.spec-pair:hover {
  border-color: var(--hairline-2);
}

.sp-key-col {
  flex: 0 0 120px;
}

.sp-key {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 8px;
}

.sp-val {
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 38px);
  letter-spacing: .03em;
  color: var(--text);
  line-height: 1;
}

.sp-body {
  flex: 1;
}

.sp-headline {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}

.sp-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  margin: 0;
}

/* ── INTEGRATION (identical to RadX — key section) ── */
.integration {
  padding-top: var(--sy);
  padding-bottom: var(--sy);
  background: var(--bg-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.integration-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.int-checklist {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.int-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.int-item:first-child {
  border-top: 1px solid var(--hairline);
}

.int-tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mach-dim);
  border: 1px solid var(--mach);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.int-tick svg {
  width: 10px;
  height: 10px;
  stroke: var(--mach);
  fill: none;
  stroke-width: 2.5;
}

.int-item-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.int-item-text p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

/* Stack diagram (identical to RadX, Nexus is active node) */
.stack-diagram {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stack-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.stack-node {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  transition: border-color .25s var(--ease);
}

.stack-node .name {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}

.stack-node.active {
  border-color: var(--mach);
  background: rgba(31, 182, 240, .04);
  box-shadow: 0 0 0 1px var(--mach);
  position: relative;
}

.stack-node.active::before {
  content: "Nexus";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mach);
  color: #021019;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.stack-node.active .name {
  color: var(--mach);
  font-size: 20px;
}

.stack-conn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
  color: var(--text-4);
}

.stack-conn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  opacity: .35;
}

/* ── DEPLOYMENTS (identical to RadX) ── */
.deployments {
  padding-top: var(--sy);
  padding-bottom: var(--sy);
}

.deployments-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

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

.deploy-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.deploy-card:hover {
  border-color: var(--hairline-2);
  transform: translateY(-2px);
}

.deploy-header {
  height: 150px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.deploy-card.ag .deploy-header {
  background: linear-gradient(160deg, #091a10, #0a1f08);
}

.deploy-card.con .deploy-header {
  background: linear-gradient(160deg, #0a0a1a, #060a16);
}

.deploy-card.mine .deploy-header {
  background: linear-gradient(160deg, #111108, #18160a);
}

.deploy-card.ind .deploy-header {
  background: linear-gradient(160deg, #0a1218, #06101a);
}

.deploy-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--mach-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.deploy-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--mach);
  fill: none;
  stroke-width: 1.5;
}

.deploy-body {
  padding: 24px;
}

.deploy-body h3 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.deploy-body p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 16px;
}

.deploy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deploy-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--text-4);
  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 3px 8px;
  text-transform: uppercase;
}

/* ── CTA (identical to RadX) ── */
.cta-section {
  padding-top: var(--sy);
  padding-bottom: var(--sy);
  background: var(--bg-2);
  border-top: 1px solid var(--hairline);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(31, 182, 240, .12), transparent 65%);
  pointer-events: none;
}

.cta-rule {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mach), transparent);
  opacity: .6;
}

/* .cta-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
} */
/* 10-06-2026 */
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 0 auto;
}

/* 10-06-2026 */
.cta-inner .eyebrow {
  justify-content: center;
  margin-bottom: 24px;
}

.cta-h2 {
  font-size: clamp(36px, 5.5vw, 88px);
  margin-bottom: 24px;
}

.cta-sub {
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto 48px;
}

/* .cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
} */

.cta-cards {
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* .cta-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
  text-align: left;
} */

.cta-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
  text-align: left;
  width: calc(33.33% - 14px);
}

.cta-card:hover {
  border-color: var(--hairline-2);
  transform: translateY(-2px);
}

.cta-card.primary-card {
  border-color: var(--mach);
  background: rgba(31, 182, 240, .04);
}

.cta-card .cta-card-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mach);
}

.cta-card h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

.cta-card p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  flex: 1;
}

.cta-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 14px;
  transition: color .2s;
}

.contact-item:hover {
  color: var(--text);
}

.contact-item svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  opacity: .5;
  flex-shrink: 0;
}

/* ── REVEAL (identical to RadX) ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: .1s;
}

.reveal-d2 {
  transition-delay: .2s;
}

.reveal-d3 {
  transition-delay: .3s;
}

/* Status pulse */
@keyframes machPulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 10px var(--mach);
  }

  50% {
    opacity: .4;
    box-shadow: 0 0 4px var(--mach);
  }
}

/* ── RESPONSIVE (mirrors RadX breakpoints exactly) ── */
@media(max-width:1020px) {
  .outcomes-grid {
    grid-template-columns: 1fr;
  }

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

  .spec-pairs {
    grid-template-columns: 1fr;
  }

  .integration-inner {
    grid-template-columns: 1fr;
  }

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

  .cta-cards {
    grid-template-columns: 1fr;
  }

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

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

  .hero-visual {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }

  .challenge-inner {
    grid-template-columns: 1fr;
  }
}

@media(max-width:640px) {
  .deployments-grid {
    grid-template-columns: 1fr;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

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

  .hero-proof {
    flex-direction: column;
  }

  .proof-item {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }

  .proof-item:last-child {
    border-bottom: none;
  }
}


/* ── MODAL OVERLAY (RadX form styles inside) ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4, 7, 13, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s cubic-bezier(.4, 0, .2, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(32px, 4vw, 52px);
  position: relative;
  transform: translateY(16px);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(31, 182, 240, .08);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--elevated);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-3);
  transition: background .2s, color .2s;
}

.modal-close:hover {
  background: var(--hairline-2);
  color: var(--text);
}

.modal-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

@media(max-width:600px) {
  .modal-field-row {
    grid-template-columns: 1fr !important;
  }
}


/* 09-06-2026 */
.brand {
  max-width: 103px;
}

.nav-links {
  margin: 0;
}

/* 09-06-2026 */

/* 10-06-2026 */
@media(max-width: 991px) {
  .cta-card {
    width: calc(50% - 10px);
  }
}

@media(max-width: 575px) {
  .cta-card {
    width: 100%;
  }
}

/* 10-06-2026 */



/* 15-06-2026 */
.cta-card {
  text-align: center;
}

.cta-card .cta-card-eyebrow {
  width: 100%;
}

/* 06-07-2026 */
.nav-links a {
  color: var(--text-2);
}

.proof-key {

  color: var(--text-2);
}

.cta-card p {
  color: var(--text-2);
}

.stmt-body {
  color: var(--text-2);

}

.proof-block .proof-why {
  color: var(--text-2);

}

.sp-key {
  color: var(--text-2);

}

.int-item-text p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
}

.sp-desc {
  color: var(--text-2);
}

.deploy-tag {
  color: var(--text-2);

}

.deploy-body p {
  color: var(--text-2);
}