/* =========================================================
   Merch Makers — marketing site
   Static one-pager. Dark theme, gradient accents, system font
   stack so first paint ships zero web-font weight.
   ========================================================= */

:root {
  --bg: #0b0d12;
  --bg-soft: #11141b;
  --bg-elev: #161a23;
  --bg-elev-2: #1c2230;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --fg: #f3f5f8;
  --fg-muted: #9aa3b2;
  --fg-dim: #6b7280;
  --accent: #b6f5d6;
  --accent-2: #8b9bff;
  --accent-3: #ff9b76;
  --warn: #f7c873;
  --late: #ff7a7a;
  --grad: linear-gradient(120deg, #b6f5d6 0%, #8b9bff 50%, #ff9b76 100%);

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1120px;
  --maxw-narrow: 760px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 600ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

button {
  font: inherit;
}

p {
  margin: 0 0 12px;
  color: var(--fg-muted);
}

h2,
h3,
h4 {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 8px 12px;
  background: var(--fg);
  color: var(--bg);
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow {
  max-width: var(--maxw-narrow);
}
.center {
  text-align: center;
}

/* ------------ Header / Nav ------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  background: rgba(11, 13, 18, 0.65);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
}

/* Full wordmark logo: subtle pulse + slow brand-gradient color wash,
   running together on the whole SVG so the diamonds and the MM letters
   stay in sync visually. */
.logo-svg {
  height: 30px;
  width: auto;
  display: block;
  color: var(--fg);
  animation:
    logo-pulse 4s ease-in-out infinite,
    logo-color-cycle 8s ease-in-out infinite;
  transform-origin: center;
  transition: transform 200ms var(--ease);
  overflow: visible;
}

.logo:hover .logo-svg {
  transform: scale(1.04);
}

@keyframes logo-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(139, 155, 255, 0));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(139, 155, 255, 0.5));
  }
}

@keyframes logo-color-cycle {
  0%, 100% { color: #f3f5f8; }
  33%      { color: #8b9bff; }
  66%      { color: #b6f5d6; }
}


.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--fg-muted);
  margin-left: auto;
}
.nav-links a {
  transition: color 200ms var(--ease);
}
.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  display: none;
}
@media (min-width: 720px) {
  .nav-cta {
    display: inline-flex;
  }
}

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

/* ------------ Buttons ------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 200ms var(--ease),
    background 200ms var(--ease),
    box-shadow 200ms var(--ease),
    border-color 200ms var(--ease);
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -10px rgba(139, 155, 255, 0.55);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn-ghost:hover {
  border-color: var(--fg-muted);
  background: rgba(255, 255, 255, 0.03);
}

/* ------------ Hero ------------ */

.hero {
  position: relative;
  isolation: isolate;
  padding: 96px 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 700px;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(139, 155, 255, 0.28), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, rgba(182, 245, 214, 0.20), transparent 70%),
    radial-gradient(50% 50% at 50% 80%, rgba(255, 155, 118, 0.14), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -3%, 0) scale(1.05); }
}

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 24px;
  max-width: 18ch;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 56ch;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--fg-muted);
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
}
.hero-cta.center {
  justify-content: center;
  margin-bottom: 0;
}

/* Growth grid (in hero) */

.growth-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 8px;
}

.growth-card {
  padding: 22px 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 0%,
    rgba(255, 255, 255, 0.005) 100%
  );
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.growth-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.growth-icon {
  display: inline-block;
  font-size: 18px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.growth-card h3 {
  font-size: 16px;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
  color: var(--fg);
}
.growth-card p {
  font-size: 14.5px;
  margin: 0;
  color: var(--fg-muted);
}

/* ------------ Generic section / typography ------------ */

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

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

/* Section with a fullbleed video background. Video sits behind a heavy
   vignette so the headline + cards stay legible regardless of frame
   brightness. Container content gets bumped above with z-index. */
.has-video {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}
.has-video > .container {
  position: relative;
  z-index: 2;
}
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  /* Slight desaturation lets the gradient overlays read more brand-like
     and keeps the video from competing with the gradient hero sections
     above and below. */
  filter: saturate(0.85) brightness(0.95);
}
.bg-video-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Edge darkening — classic vignette */
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.7) 70%,
      rgba(0, 0, 0, 0.92) 100%
    ),
    /* Brand-tinted base for high contrast with white type */
    linear-gradient(180deg, rgba(11, 13, 18, 0.55), rgba(11, 13, 18, 0.65));
}
.has-video .section-title,
.has-video h1,
.has-video .hero-sub,
.has-video .eyebrow,
.has-video p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* The hero's gradient orb background is hidden when the hero is also
   playing the bg-video — otherwise the two layered backgrounds compete. */
.hero.has-video .hero-bg {
  display: none;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 24px;
  max-width: 22ch;
}
.section-title.center {
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0 0 48px;
}

.platform-head {
  margin-bottom: 16px;
}

/* ------------ Dashboard mockup ------------ */

.dashboard {
  margin-top: 32px;
}

.dashboard-frame {
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow:
    0 30px 80px -30px rgba(139, 155, 255, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.dashboard-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.dashboard-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
}
.dashboard-url {
  margin: 0 0 0 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--fg-dim);
}

.dashboard-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 520px;
}
@media (max-width: 720px) {
  .dashboard-body {
    grid-template-columns: 1fr;
  }
  .dashboard-side {
    display: none;
  }
}

.dashboard-side {
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  background: rgba(0, 0, 0, 0.2);
}
.side-logo {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.dashboard-side ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dashboard-side li {
  padding: 7px 10px;
  font-size: 13px;
  color: var(--fg-muted);
  border-radius: 8px;
}
.dashboard-side li.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}

.dashboard-main {
  padding: 22px;
}

.stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 18px;
}
.stat {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elev-2);
}
.stat-label {
  margin: 0 0 6px;
  color: var(--fg-dim);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.stat-value {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.stat-trend {
  margin: 0;
  font-size: 12.5px;
  color: var(--fg-muted);
}
.stat-trend.up {
  color: var(--accent);
}
.stat-trend.warn {
  color: var(--warn);
}

.dashboard-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.05fr 1fr;
}
@media (max-width: 720px) {
  .dashboard-row {
    grid-template-columns: 1fr;
  }
}

.panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elev-2);
  padding: 16px 18px;
}
.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.panel-head h4 {
  font-size: 14px;
  font-weight: 600;
}
.panel-meta {
  font-size: 11.5px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prod-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prod-list li {
  display: grid;
  grid-template-columns: 14px 1fr auto auto;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-dim);
  display: inline-block;
}
.dot.ok   { background: var(--accent); }
.dot.warn { background: var(--warn); }
.dot.late { background: var(--late); }
.prod-name {
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prod-state,
.prod-eta {
  font-size: 12px;
  color: var(--fg-muted);
}
.prod-eta {
  text-align: right;
  min-width: 92px;
}

.bar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.bar-list li {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
  gap: 12px;
}
.bar-name {
  color: var(--fg);
}
.bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: var(--grad);
}
.bar-val {
  color: var(--fg-muted);
  text-align: right;
}

/* ------------ Differentiation table ------------ */

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 16px;
}
.compare th,
.compare td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare tr:last-child td {
  border-bottom: 0;
}
.compare th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.compare td:first-child {
  color: var(--fg-muted);
  border-right: 1px solid var(--border);
  width: 45%;
}
.compare td:last-child {
  color: var(--fg);
}
.check {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--bg);
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  vertical-align: -3px;
}

/* ------------ Use cases (reuse .grid from earlier) ------------ */

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.card p {
  margin: 0;
}

/* ------------ Mid-page CTA ------------ */

.midcta {
  padding: 80px 0;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(139, 155, 255, 0.14), transparent 70%);
}

/* ------------ Quote / case study ------------ */

.quote {
  margin: 0 0 32px;
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg);
  font-weight: 500;
}
.quote figcaption {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.result-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.result-list li {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--fg);
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg-elev);
}
.result-num {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad);
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ------------ Final CTA ------------ */

.cta {
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(139, 155, 255, 0.20), transparent 60%),
    var(--bg-soft);
  border-block: 1px solid var(--border);
}

.cta-title {
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 auto 16px;
  max-width: 22ch;
}

.cta-sub {
  color: var(--fg-muted);
  margin-bottom: 28px;
  font-size: 17px;
}

/* ------------ Footer ------------ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.footer-tag {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a:hover {
  color: var(--fg);
}

/* ------------ Reveal-on-scroll ------------ */

.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger inside grids/lists */
.growth-grid .reveal:nth-child(2) { transition-delay: 60ms; }
.growth-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.growth-grid .reveal:nth-child(4) { transition-delay: 180ms; }
.grid .reveal:nth-child(2) { transition-delay: 60ms; }
.grid .reveal:nth-child(3) { transition-delay: 120ms; }
.grid .reveal:nth-child(4) { transition-delay: 180ms; }
.result-list .reveal:nth-child(2) { transition-delay: 60ms; }
.result-list .reveal:nth-child(3) { transition-delay: 120ms; }
.result-list .reveal:nth-child(4) { transition-delay: 180ms; }

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-bg {
    animation: none;
  }
  /* Hide background videos for users who don't want motion — the
     vignette + section background still look intentional underneath. */
  .bg-video {
    display: none;
  }
}

/* =========================================================
   Vector — AI infrastructure section
   Light-themed "island" embedded in the dark site. The
   contrast is intentional: Vector is positioned as a
   distinct enterprise product layer, so its surface looks
   like a modern SaaS console (Stripe / Linear / Palantir).
   ========================================================= */

.vector {
  --vec-blue: #4F5DFF;
  --vec-blue-soft: #EEF0FF;
  --vec-ink: #0b0d12;
  --vec-ink-soft: #3a4150;
  --vec-mute: #6b7280;
  --vec-line: #E5E8F2;
  --vec-bg: #F6F7FB;
  --vec-card: #FFFFFF;

  position: relative;
  padding: 96px 0 104px;
  background: linear-gradient(180deg, var(--vec-bg) 0%, #ffffff 100%);
  color: var(--vec-ink);
  overflow: hidden;
  isolation: isolate;
}

.vector::before {
  /* subtle dot-grid texture behind everything */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(79, 93, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

/* ── Centered intro at the top of the section ────────── */

.vector-intro {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.vector-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ROW 1: capability cards as a horizontal grid spanning the full width */
.vector-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ROW 2: map (left) + phone (right), both centered in their columns */
.vec-proof-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.vec-map-col,
.vec-phone-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ROW 3: tagline + stats centered below */
.vec-tagline-row {
  text-align: center;
}

/* ── Intro typography ─────────────────────────────────── */

.vector-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 12px;
  border: 1px solid var(--vec-line);
  border-radius: 999px;
  background: #fff;
  color: var(--vec-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vector-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vec-blue);
}

.vector-heading {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--vec-ink);
}

.vector-accent { color: var(--vec-blue); }

.vector-sub {
  margin: 0 auto 32px;
  max-width: 56ch;
  color: var(--vec-ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

/* ── LEFT column ──────────────────────────────────────── */

.vector-left { min-width: 0; }

.vector-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vec-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 18px 20px;
  background: var(--vec-card);
  border: 1px solid var(--vec-line);
  border-radius: 14px;
  min-width: 0;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.vec-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 93, 255, 0.35);
  box-shadow: 0 12px 28px -16px rgba(79, 93, 255, 0.35);
}

.vec-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vec-blue);
  background: var(--vec-blue-soft);
  border-radius: 8px;
}

.vec-card > div { min-width: 0; }

.vec-card h3 {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--vec-ink);
  text-transform: none;
  word-break: normal;
  overflow-wrap: break-word;
}

.vec-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--vec-mute);
}

/* ── CENTER column — network map ──────────────────────── */

.vector-center {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vector-map {
  position: relative;
  width: 100%;
  max-width: 640px;
}

.vector-map-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Routing line draw-on animation.
   Each line has its own --d (delay) via inline style so the
   nodes light up in a staggered, network-y way. */
.vec-route {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: vec-draw 4.2s var(--ease) infinite;
  animation-delay: var(--d, 0s);
  opacity: 0;
}

@keyframes vec-draw {
  0%   { stroke-dashoffset: 220; opacity: 0; }
  10%  { opacity: 1; }
  60%  { stroke-dashoffset: 0;   opacity: 1; }
  85%  { stroke-dashoffset: 0;   opacity: 1; }
  100% { stroke-dashoffset: -220; opacity: 0; }
}

.vec-nodes circle {
  filter: drop-shadow(0 0 4px rgba(79, 93, 255, 0.6));
  animation: vec-node-pulse 3s ease-in-out infinite;
}
.vec-nodes circle:nth-child(2n) { animation-delay: 0.6s; }
.vec-nodes circle:nth-child(3n) { animation-delay: 1.2s; }
.vec-nodes circle:nth-child(4n) { animation-delay: 1.8s; }

@keyframes vec-node-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1);  transform-origin: center; }
  50%      { opacity: 1;    transform: scale(1.15); }
}

.vector-tagline {
  margin: 14px 0 18px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--vec-ink);
  letter-spacing: -0.01em;
}

.vector-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.vec-stat {
  text-align: center;
  padding: 0 8px;
}
.vec-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--vec-ink);
  letter-spacing: -0.01em;
}
.vec-stat span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--vec-mute);
}

/* ── RIGHT column — phone mockup ─────────────────────── */

.vector-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.vec-phone {
  position: relative;
  width: 336px;
  max-width: 100%;
  background: #0b0d12;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(11, 13, 18, 0.35),
    0 0 0 1px rgba(11, 13, 18, 0.08);
  animation: vec-float 6s ease-in-out infinite;
}

@keyframes vec-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.vec-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  background: #0b0d12;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.vec-phone-screen {
  position: relative;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
}

.vec-phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--vec-ink);
}

.vec-chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 12px;
  border-bottom: 1px solid var(--vec-line);
}

.vec-chat-head-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--vec-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vec-chat-head-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex: 1;
}
.vec-chat-head-text strong { font-size: 13px; color: var(--vec-ink); font-weight: 700; }
.vec-chat-head-text span { font-size: 10px; color: var(--vec-mute); margin-top: 2px; }

.vec-verified { display: inline-flex; }

.vec-chat {
  flex: 1;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fafbfd;
}

.vec-bubble {
  max-width: 80%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.4;
  position: relative;
}

.vec-bubble-user {
  align-self: flex-end;
  background: var(--vec-blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.vec-bubble-agent {
  align-self: flex-start;
  background: #fff;
  color: var(--vec-ink);
  border: 1px solid var(--vec-line);
  border-bottom-left-radius: 4px;
}

.vec-bubble-meta {
  display: block;
  font-size: 9.5px;
  margin-top: 3px;
  opacity: 0.7;
  text-align: right;
}

.vec-product-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--vec-line);
  border-radius: 12px;
  align-self: flex-start;
  max-width: 92%;
}

.vec-product-image {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  background: #f0f2f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vec-product-meta strong {
  display: block;
  font-size: 11.5px;
  color: var(--vec-ink);
  line-height: 1.2;
  margin-bottom: 4px;
}
.vec-product-meta ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 10.5px;
  color: var(--vec-mute);
  line-height: 1.4;
}
.vec-product-meta li::before {
  content: "•";
  margin-right: 6px;
  color: var(--vec-blue);
}

.vec-quote {
  background: #fff;
  border: 1px solid var(--vec-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
  align-self: stretch;
}
.vec-quote-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: var(--vec-ink-soft);
}
.vec-quote-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid var(--vec-line);
  font-size: 12px;
  color: var(--vec-ink);
  font-weight: 700;
}
.vec-quote-total strong { font-size: 15px; color: var(--vec-ink); }
.vec-quote-total em { font-style: normal; font-size: 10px; color: var(--vec-mute); font-weight: 600; margin-left: 4px; }

.vec-bubble-final {
  margin-top: 4px;
}

/* ── Try Vector CTA (replaces the waitlist form) ──────── */

.vec-try {
  margin: 24px auto 0;
  width: 100%;
  max-width: 460px;
  text-align: center;
}

.vec-try-label {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--vec-ink);
}

.vec-try-sub {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--vec-mute);
}

.vec-try-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 0;
  border-radius: 12px;
  background: var(--vec-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(79, 93, 255, 0.55);
  transition: background 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.vec-try-btn:hover {
  background: #3f4ce0;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -12px rgba(79, 93, 255, 0.65);
}

.vec-try-btn:active {
  transform: translateY(0);
}

.vec-try-btn:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(79, 93, 255, 0.28),
    0 10px 24px -12px rgba(79, 93, 255, 0.55);
}

/* ── Legacy waitlist form (kept for backwards-compat;
   no longer rendered) ─────────────────────────────────── */

.vec-waitlist {
  margin: 24px auto 0;
  width: 100%;
  max-width: 460px;
  text-align: center;
}

.vec-waitlist-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--vec-ink);
  margin-bottom: 4px;
}

.vec-waitlist-sub {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--vec-mute);
}

.vec-waitlist-row {
  display: flex;
  background: #fff;
  border: 1px solid var(--vec-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px -16px rgba(11, 13, 18, 0.18);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.vec-waitlist-row:focus-within {
  border-color: var(--vec-blue);
  box-shadow: 0 0 0 3px rgba(79, 93, 255, 0.18);
}

.vec-waitlist-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--vec-ink);
}
.vec-waitlist-row input::placeholder { color: #9aa3b2; }

.vec-waitlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border: 0;
  background: var(--vec-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 160ms var(--ease);
}
.vec-waitlist-btn:hover { background: #3f4ce0; }
.vec-waitlist-btn:disabled { opacity: 0.85; cursor: progress; }

.vec-waitlist-spinner {
  display: none;
  animation: vec-spin 0.9s linear infinite;
}
@keyframes vec-spin { to { transform: rotate(360deg); } }

.vec-waitlist.is-loading .vec-waitlist-spinner { display: inline-block; }
.vec-waitlist.is-loading .vec-waitlist-btn-label { display: none; }

.vec-waitlist-status {
  margin: 10px 0 0;
  min-height: 1em;
  font-size: 12.5px;
  color: var(--vec-mute);
}
.vec-waitlist-status.is-ok { color: #1b8a4a; font-weight: 600; }
.vec-waitlist-status.is-err { color: #d33b3b; font-weight: 600; }

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 1100px) {
  .vec-proof-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .vector-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vector-sub { max-width: none; }
}

@media (max-width: 640px) {
  .vector { padding: 72px 0 80px; }
  .vector-features { grid-template-columns: 1fr; }
  .vec-phone { width: 100%; max-width: 320px; }
  .vector-stats { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .vec-route, .vec-nodes circle, .vec-phone {
    animation: none !important;
  }
  .vec-route { stroke-dashoffset: 0; opacity: 0.7; }
}
