:root {
  color-scheme: dark;
  --bg: #030711;
  --bg-2: #06111f;
  --panel: rgba(7, 18, 32, 0.78);
  --panel-strong: rgba(10, 22, 39, 0.96);
  --line: rgba(128, 177, 255, 0.22);
  --line-strong: rgba(137, 184, 255, 0.42);
  --text: #f6f8fc;
  --muted: #a8b5c9;
  --subtle: #71839d;
  --blue: #3f82ff;
  --cyan: #55d8ff;
  --gold: #d9a64a;
  --green: #53df9f;
  --shadow: rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(63, 130, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 82% 8%, rgba(217, 166, 74, 0.14), transparent 28rem),
    linear-gradient(180deg, #02050b 0%, #06111f 43%, #02050b 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

ul {
  margin: 0;
  padding-left: 1.05rem;
}

li {
  margin: 0.38rem 0;
}

svg {
  display: block;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(85, 216, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 216, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.site-shell::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 49.7%, rgba(85, 216, 255, 0.11) 50%, transparent 50.3%),
    radial-gradient(circle at 50% 0%, rgba(63, 130, 255, 0.18), transparent 40rem);
  opacity: 0.5;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 74px;
  padding: 0 42px;
  border-bottom: 1px solid rgba(128, 177, 255, 0.16);
  background: rgba(3, 7, 17, 0.76);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 7, 17, 0.93);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: max-content;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 7px;
  transform: rotate(45deg);
  box-shadow: 0 0 28px rgba(63, 130, 255, 0.22);
}

.brand-mark span {
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-top-color: var(--cyan);
  border-radius: 3px;
  transform: rotate(-45deg);
}

.brand-mark.large {
  width: 82px;
  height: 82px;
  border-color: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  box-shadow: 0 0 52px rgba(63, 130, 255, 0.52);
}

.brand-mark.large span {
  width: 36px;
  height: 36px;
  border-width: 3px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.8rem);
}

.primary-nav a,
.header-cta {
  font-size: 0.9rem;
  font-weight: 700;
}

.primary-nav a {
  color: rgba(246, 248, 252, 0.86);
  transition: color 160ms ease;
}

.primary-nav a:hover {
  color: var(--cyan);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.68rem;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  padding: 0 1.25rem;
  border: 1px solid rgba(118, 164, 255, 0.58);
  background: linear-gradient(135deg, #245bdc, #4f93ff);
  box-shadow: 0 0 34px rgba(63, 130, 255, 0.36);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 10px;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-5px);
}

.nav-toggle span:last-child {
  transform: translateY(5px);
}

.nav-open .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  width: min(100% - 48px, var(--max-width));
  min-height: 780px;
  margin: 0 auto;
  padding: 132px 0 72px;
  align-items: center;
}

.ambient-grid {
  position: absolute;
  inset: 74px -11vw auto auto;
  width: min(48vw, 680px);
  height: 470px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(85, 216, 255, 0.18) 49% 51%, transparent 52%),
    radial-gradient(circle, rgba(85, 216, 255, 0.22) 1px, transparent 1px);
  background-size: 100% 100%, 14px 14px;
  opacity: 0.34;
  mask-image: radial-gradient(circle at 55% 48%, black 0%, transparent 68%);
}

.hero-orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(85, 216, 255, 0.18);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.hero-orbit-one {
  right: -190px;
  top: 120px;
  width: 560px;
  height: 130px;
}

.hero-orbit-two {
  right: -140px;
  bottom: 74px;
  width: 420px;
  height: 98px;
  border-color: rgba(217, 166, 74, 0.14);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(4rem, 9vw, 7.3rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
.hero-copy h1 {
  background: linear-gradient(90deg, #fff 0%, #f5f8ff 38%, #58a1ff 68%, #d9a64a 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 1.8rem;
  color: #d3d9e6;
  font-size: clamp(1.05rem, 1.7vw, 1.26rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.button {
  padding: 0 1.4rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #1f66ff, #59a6ff);
  box-shadow: 0 0 42px rgba(63, 130, 255, 0.34);
}

.button-secondary {
  border-color: rgba(118, 164, 255, 0.56);
  background: rgba(4, 10, 20, 0.58);
}

.button-secondary:hover {
  border-color: rgba(85, 216, 255, 0.72);
  background: rgba(7, 21, 40, 0.9);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 700px;
}

.hero-metrics article,
.service-card,
.operator-grid article,
.process-track article,
.case-grid article,
.matrix-grid > article,
.command-frame,
.partner-strip,
.final-cta {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(8, 20, 36, 0.84), rgba(3, 9, 18, 0.68));
  box-shadow: 0 22px 50px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-metrics article {
  min-height: 142px;
  padding: 1.1rem;
  border-radius: var(--radius);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.hero-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.command-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 560px;
  padding: 1.1rem;
  border-radius: 18px;
  overflow: hidden;
}

.command-frame::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 38%, rgba(85, 216, 255, 0.15), transparent 18rem),
    radial-gradient(circle at 83% 14%, rgba(217, 166, 74, 0.13), transparent 16rem),
    linear-gradient(90deg, rgba(63, 130, 255, 0.08), transparent 52%);
}

.command-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(85, 216, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 216, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 42%, black, transparent 74%);
}

.command-frame > * {
  position: relative;
  z-index: 1;
}

.command-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(128, 177, 255, 0.15);
  border-radius: 12px;
  background: rgba(3, 8, 15, 0.58);
}

.command-header span,
.orbit-node span,
.signal-grid span {
  display: block;
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.command-header strong {
  display: block;
  margin-top: 0.25rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.command-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 34px;
  padding: 0 0.85rem;
  border: 1px solid rgba(217, 166, 74, 0.36);
  border-radius: 999px;
  color: #ffe0a3;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(217, 166, 74, 0.08);
}

.command-chip span {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 224, 163, 0.7);
  background:
    linear-gradient(90deg, transparent 43%, rgba(255, 224, 163, 0.9) 44% 56%, transparent 57%),
    linear-gradient(transparent 43%, rgba(255, 224, 163, 0.9) 44% 56%, transparent 57%),
    rgba(217, 166, 74, 0.12);
  box-shadow: 0 0 18px rgba(217, 166, 74, 0.45);
}

.command-stage {
  position: relative;
  display: grid;
  min-height: 295px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(128, 177, 255, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(63, 130, 255, 0.11), transparent 54%),
    rgba(4, 11, 22, 0.45);
}

.radar-field {
  position: absolute;
  width: min(82%, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(128, 177, 255, 0.22) 0 1px, transparent 1px 52px),
    conic-gradient(from 0deg, transparent 0 18%, rgba(85, 216, 255, 0.34) 19%, transparent 28% 100%);
  filter: drop-shadow(0 0 30px rgba(63, 130, 255, 0.28));
  opacity: 0.92;
}

.connector {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, rgba(85, 216, 255, 0.8), transparent);
  transform-origin: left center;
}

.connector-one {
  transform: rotate(18deg);
}

.connector-two {
  transform: rotate(142deg);
}

.connector-three {
  transform: rotate(228deg);
}

.connector-four {
  transform: rotate(314deg);
}

.core-hub {
  position: relative;
  z-index: 3;
  display: grid;
  width: 192px;
  height: 192px;
  place-items: center;
  padding: 1.4rem;
  border: 1px solid rgba(85, 216, 255, 0.44);
  border-radius: 50%;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(9, 30, 55, 0.95), rgba(3, 9, 18, 0.88)),
    radial-gradient(circle at 50% 0%, rgba(85, 216, 255, 0.26), transparent 58%);
  box-shadow: 0 0 54px rgba(63, 130, 255, 0.38), inset 0 0 36px rgba(85, 216, 255, 0.08);
}

.core-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(217, 166, 74, 0.45);
  border-radius: 16px;
  color: #ffe0a3;
  font-size: 1rem;
  font-weight: 900;
  background: rgba(217, 166, 74, 0.09);
}

.core-hub strong,
.core-hub small {
  display: block;
  transform: translateY(-2px);
}

.core-hub strong {
  font-size: 1.16rem;
}

.core-hub small {
  color: var(--muted);
  font-weight: 800;
}

.orbit-node {
  position: absolute;
  z-index: 2;
  min-width: 132px;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(128, 177, 255, 0.22);
  border-radius: 12px;
  background: rgba(4, 11, 22, 0.82);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.orbit-node strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.92rem;
}

.node-amazon {
  left: 4%;
  top: 18%;
}

.node-walmart {
  right: 5%;
  top: 16%;
}

.node-ppc {
  right: 4%;
  bottom: 17%;
}

.node-inventory {
  left: 6%;
  bottom: 16%;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.signal-grid article,
.command-footer {
  border: 1px solid rgba(128, 177, 255, 0.14);
  border-radius: 12px;
  background: rgba(4, 11, 22, 0.62);
}

.signal-grid article {
  padding: 0.95rem;
}

.signal-grid span {
  color: var(--cyan);
}

.signal-grid strong {
  display: block;
  min-height: 2.15rem;
  margin: 0.42rem 0 0.45rem;
  font-size: 0.95rem;
  line-height: 1.12;
}

.signal-grid small {
  display: block;
  color: var(--muted);
  line-height: 1.42;
}

.command-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 0.24rem;
  height: 32px;
}

.signal-bars span {
  display: block;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 16px rgba(85, 216, 255, 0.32);
}

.signal-bars span:nth-child(1) {
  height: 12px;
}

.signal-bars span:nth-child(2) {
  height: 21px;
}

.signal-bars span:nth-child(3) {
  height: 16px;
}

.signal-bars span:nth-child(4) {
  height: 27px;
}

.signal-bars span:nth-child(5) {
  height: 32px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
}

.command-footer p {
  margin: 0;
  color: #d7deeb;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.partner-strip {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  gap: 1.2rem;
  align-items: center;
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 1rem;
  border-radius: 12px;
}

.partner-strip-footer {
  width: min(100% - 48px, 1040px);
  margin-top: 28px;
  padding: 0.72rem;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(8, 20, 36, 0.68), rgba(3, 9, 18, 0.5));
}

.partner-note {
  color: #d7deeb;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-width: 235px;
  min-height: 64px;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.05;
}

.partner-strip-footer .partner-badge {
  min-width: 190px;
  min-height: 48px;
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
}

.partner-strip-footer .amazon-smile {
  font-size: 1.05rem;
}

.partner-strip-footer .amazon-smile::after {
  bottom: -0.32rem;
  height: 6px;
  border-bottom-width: 2px;
}

.partner-strip-footer .award-mark {
  width: 30px;
  height: 30px;
}

.badge-light {
  background: #f6f8fb;
  color: #10213a;
}

.badge-warm {
  border: 1px solid rgba(217, 166, 74, 0.34);
  background: #fffaf0;
  color: #2b1904;
}

.amazon-smile {
  position: relative;
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: lowercase;
}

.amazon-smile::after {
  position: absolute;
  left: 32%;
  bottom: -0.42rem;
  width: 38%;
  height: 8px;
  border-bottom: 3px solid #f6a51a;
  border-radius: 0 0 999px 999px;
  content: "";
}

.award-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff982c, #d65a13);
  color: #fff;
  box-shadow: 0 8px 22px rgba(214, 90, 19, 0.32);
}

.section {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 86px 0 0;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.final-cta h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.split-copy p,
.final-cta h2 + p {
  color: var(--muted);
  line-height: 1.65;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 1.45rem;
  border-radius: 12px;
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 170px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(63, 130, 255, 0.2), transparent 70%);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  place-items: center;
  border: 1px solid rgba(85, 216, 255, 0.28);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(63, 130, 255, 0.1);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.operator-grid h3,
.process-track h3,
.case-grid h3,
.matrix-grid h3 {
  margin-bottom: 0.8rem;
  font-size: 1.24rem;
}

.service-card li,
.case-grid li,
.matrix-grid li {
  color: #d8dfeb;
  line-height: 1.42;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.split-copy {
  position: sticky;
  top: 112px;
}

.split-copy p {
  font-size: 1.04rem;
}

.operator-grid {
  display: grid;
  gap: 1rem;
}

.operator-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  padding: 1.35rem;
  border-radius: 12px;
}

.operator-icon {
  grid-row: 1 / 3;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(85, 216, 255, 0.24);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 900;
  background: rgba(63, 130, 255, 0.09);
}

.operator-grid p,
.process-track p,
.case-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.process-track::before {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 216, 255, 0.5), transparent);
  content: "";
}

.process-track article {
  position: relative;
  min-height: 220px;
  padding: 1.4rem;
  border-radius: 12px;
}

.process-track article::after {
  position: absolute;
  right: -1.12rem;
  top: 50%;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-top: 2px solid rgba(85, 216, 255, 0.74);
  border-right: 2px solid rgba(85, 216, 255, 0.74);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.process-track article:last-child::after {
  display: none;
}

.process-track span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-study-section {
  padding-top: 92px;
}

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

.case-grid article {
  padding: 1.25rem;
  border-radius: 12px;
}

.case-grid h3 {
  color: #8fc5ff;
}

.service-matrix {
  padding-bottom: 28px;
}

.matrix-grid {
  display: grid;
  gap: 1rem;
}

.matrix-grid > article {
  padding: 1.2rem;
  border-radius: 12px;
}

.matrix-grid h3 {
  color: #8fc5ff;
}

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

.matrix-columns > div {
  min-height: 190px;
  padding: 1rem;
  border: 1px solid rgba(128, 177, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(4, 10, 19, 0.48);
}

.matrix-columns h4 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 0.9rem;
}

.matrix-columns li {
  color: var(--muted);
  font-size: 0.87rem;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 720px) auto;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
  width: min(100% - 48px, var(--max-width));
  margin: 82px auto 0;
  padding: clamp(2rem, 4vw, 3.6rem);
  border-radius: 18px;
  overflow: hidden;
}

.final-cta::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 8% 50%, rgba(63, 130, 255, 0.32), transparent 18rem),
    radial-gradient(circle at 88% 48%, rgba(217, 166, 74, 0.16), transparent 18rem),
    linear-gradient(90deg, transparent, rgba(85, 216, 255, 0.07), transparent);
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.booking-route {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.booking-route span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  border: 1px solid rgba(128, 177, 255, 0.18);
  border-radius: 999px;
  background: rgba(4, 10, 20, 0.46);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.marketplace-medallions {
  position: relative;
  width: 172px;
  height: 122px;
}

.marketplace-medallions span {
  position: absolute;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(128, 177, 255, 0.32);
  border-radius: 50%;
  background: rgba(4, 11, 22, 0.86);
  box-shadow: 0 0 38px rgba(63, 130, 255, 0.32);
  font-size: 2.15rem;
  font-weight: 900;
}

.marketplace-medallions span:first-child {
  left: 0;
  top: 7px;
}

.marketplace-medallions span:last-child {
  right: 0;
  bottom: 0;
  color: var(--gold);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 44px 0 38px;
  color: var(--muted);
}

.site-footer p {
  max-width: 320px;
  margin: 1rem 0 0;
  line-height: 1.55;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.94rem;
}

.site-footer a:not(.brand-lockup) {
  display: block;
  margin: 0.45rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--cyan);
}

@media (max-width: 1120px) {
  .site-header {
    padding: 0 24px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .hero-metrics {
    max-width: none;
  }

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

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

  .final-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-visual,
  .marketplace-medallions {
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    position: fixed;
    top: 74px;
    left: 24px;
    right: 24px;
    display: grid;
    gap: 0;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(3, 7, 17, 0.98);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 1rem;
    border-radius: var(--radius);
  }

  .primary-nav a:hover {
    background: rgba(63, 130, 255, 0.12);
  }

  .header-cta {
    display: none;
  }

  .hero-section {
    width: min(100% - 32px, var(--max-width));
    padding-top: 112px;
  }

  .hero-metrics,
  .service-cards,
  .process-track,
  .matrix-columns,
  .signal-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .split-copy {
    position: static;
  }

  .process-track::before,
  .process-track article::after {
    display: none;
  }
}

@media (max-width: 660px) {
  .site-header {
    min-height: 68px;
    padding: 0 16px;
  }

  .brand-lockup {
    font-size: 0.85rem;
    min-width: 0;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .primary-nav {
    top: 68px;
    left: 16px;
    right: 16px;
  }

  .hero-section,
  .section,
  .partner-strip,
  .final-cta,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .hero-section {
    padding-top: 98px;
    padding-bottom: 46px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 52px;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }

  .command-frame {
    min-height: auto;
  }

  .command-header,
  .command-footer {
    grid-template-columns: 1fr;
  }

  .command-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .command-stage {
    min-height: 430px;
  }

  .core-hub {
    width: 168px;
    height: 168px;
  }

  .orbit-node {
    min-width: 118px;
    padding: 0.72rem 0.78rem;
  }

  .node-amazon {
    left: 4%;
    top: 10%;
  }

  .node-walmart {
    right: 4%;
    top: 13%;
  }

  .node-ppc {
    right: 4%;
    bottom: 10%;
  }

  .node-inventory {
    left: 4%;
    bottom: 11%;
  }

  .partner-strip,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .partner-badge {
    width: 100%;
    min-width: 0;
  }

  .section {
    padding-top: 64px;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .split-copy h2,
  .final-cta h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .operator-grid article {
    grid-template-columns: 1fr;
  }

  .operator-icon {
    margin-bottom: 1rem;
  }

  .final-cta {
    margin-top: 64px;
    text-align: left;
  }

  .cta-visual,
  .marketplace-medallions {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .command-frame {
    animation: panelFloat 6s ease-in-out infinite;
  }

  .radar-field {
    animation: radarSweep 16s linear infinite;
  }

  .hero-orbit-one {
    animation: orbitDrift 12s linear infinite;
  }

  .hero-orbit-two {
    animation: orbitDrift 16s linear infinite reverse;
  }
}

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

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes orbitDrift {
  to {
    transform: rotate(342deg);
  }
}
