/* ================================================================
   VENNECTOR — DESIGN SYSTEM
   All visual design replicated from the Guardian AI design repo
   ================================================================ */

/* ---------- FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&display=swap');

@font-face {
  font-family: 'Satoshi';
  src: url('https://cdn.jsdelivr.net/gh/nicholasgillespie/fonts@main/satoshi/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://cdn.jsdelivr.net/gh/nicholasgillespie/fonts@main/satoshi/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://cdn.jsdelivr.net/gh/nicholasgillespie/fonts@main/satoshi/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Primary brand — Guardian AI teal (darker, more muted than cyan) */
  --primary-cyan: #14B8A6;

  /* Accent (glows/highlights ONLY, never text) */
  --accent-orange: #ffa260;

  /* Backgrounds */
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #1a1a1a;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-accent: #14B8A6;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-strong: rgba(255, 255, 255, 0.2);

  /* Semantic */
  --color-success: #22c55e;
  --color-warning: #ffa260;
  --color-error: #ef4444;
  --color-info: #14B8A6;

  /* Typography */
  --font-headline: 'Satoshi', sans-serif;
  --font-accent: 'Instrument Serif', serif;
  --font-body: 'Satoshi', sans-serif;
  --font-label: 'Satoshi', sans-serif;

  /* Type scale */
  --text-6xl: 3.75rem;
  --text-5xl: 3rem;
  --text-4xl: 2.25rem;
  --text-3xl: 1.875rem;
  --text-2xl: 1.5rem;
  --text-xl: 1.25rem;
  --text-lg: 1.125rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  /* Line heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Spacing (8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Container */
  --container-max: 1400px;

  /* Timing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

/* ---------- NOISE TEXTURE OVERLAY ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 100;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: var(--space-24);
    padding-right: var(--space-24);
  }
}

/* ---------- SECTION ---------- */
.section {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
  position: relative;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--text-primary);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

/* Desktop headline sizes — reduced for more refined feel */
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
}

h4 {
  font-size: var(--text-2xl);
  letter-spacing: -0.01em;
}

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--text-accent);
  font-size: 1.15em;
  /* Instrument Serif reads smaller than Satoshi at same size */
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-accent);
  margin-bottom: var(--space-6);
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 400ms var(--ease-out-quad),
    backdrop-filter 400ms var(--ease-out-quad),
    border-color 400ms var(--ease-out-quad);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* Logo dual-color treatment */
.logo-venn {
  color: var(--text-primary);
}

.logo-ector {
  color: var(--text-accent);
}

/* ---------- LOGO IMAGE ---------- */
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

/* ---------- BUTTON RESET ---------- */
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ─── GLOBAL FOCUS VISIBLE ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary-cyan);
  outline-offset: 4px;
}

/* ─── GLOW BUTTON BASE ─── */
.glow-btn {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 9999px;
  font-family: var(--font-label);
  background: var(--bg-dark);
  border: none;
  color: var(--text-primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  --duration: 4s;
  --light-width: 60px;
  --light-color: var(--primary-cyan);
}

.glow-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Hover interaction */
.glow-btn:hover {
  transform: translateY(-1px);
}

.glow-btn:hover::before {
  border-color: rgba(255, 255, 255, 0.3);
}

.glow-orb {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--light-width);
  aspect-ratio: 1;
  background: radial-gradient(ellipse at center, var(--light-color) 0%, transparent 60%);
  offset-path: var(--path);
  offset-distance: 0%;
  animation: glow-orbit var(--duration) linear infinite;
  z-index: 0;
}

@keyframes glow-orbit {
  0% {
    offset-distance: 0%;
  }

  100% {
    offset-distance: 100%;
  }
}

.glow-overlay {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-dark);
  z-index: 1;
}

.glow-text {
  position: relative;
  z-index: 2;
}

/* ─── BUTTON VARIANTS ─── */
.nav-cta.glow-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0 20px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.btn-primary.glow-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0 24px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.btn-cta.glow-btn {
  min-height: 48px;
  min-width: 44px;
  padding: 0 32px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

/* ---------- SECONDARY BUTTON ---------- */
.btn-secondary {
  min-height: 44px;
  min-width: 44px;
  padding: 0 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: var(--font-label);
  cursor: pointer;
  transition: all 200ms var(--ease-out-quad);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 64px;
  overflow: hidden;
  background-color: #0a0a0a;
}

/* Three.js canvas — full-bleed behind hero */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* Dark swirling animated background */
.hero-swirl-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  overflow: hidden;
  pointer-events: none;
  display: none;
}

.hero-swirl-bg::before {
  content: '';
  display: none;
}

.hero-swirl-bg::after {
  content: '';
  display: none;
}

@keyframes swirl-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Top fade — subtle blend into nav */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.3) 0%,
      transparent 100%);
  z-index: 5;
  pointer-events: none;
}

/* Bottom fade — kills the hero/proof-bar seam */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(10, 10, 10, 0.5) 60%,
      #0a0a0a 100%);
  z-index: 5;
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

/* ── HERO VIGNETTE — soft edge fade ── */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 80px 40px rgba(10, 10, 10, 0.7);
}

/* Left edge — soft fade */
.hero-vignette::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12%;
  height: 100%;
  background: linear-gradient(to right, #0a0a0a 0%, transparent 100%);
}

/* Right edge — soft fade */
.hero-vignette::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 12%;
  height: 100%;
  background: linear-gradient(to left, #0a0a0a 0%, transparent 100%);
}

/* ── HERO BOTTOM GRADIENT ──────────────────────────────────── */
.hero-bottom-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(10, 10, 10, 0.3) 60%,
      #0a0a0a 100%);
  z-index: 4;
  pointer-events: none;
}

/* Video wrapper — clips the Veo watermark */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Hero video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-58%, -50%) scale(1.15);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

/* Hero CTA group */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* Buttons row */
.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-accent);
  margin-bottom: var(--space-8);
}

.hero h1 {
  margin-bottom: var(--space-8);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.hero-fine-print {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  font-weight: 500;
  position: relative;
  z-index: 10;
  overflow: visible;
  margin-top: var(--space-4);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 0.9);
}

.hero-vertical-label {
  position: absolute;
  right: var(--space-8);
  top: 50%;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right center;
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  white-space: nowrap;
  z-index: 6;
}

/* Extra text-area darkening behind content only */
.hero-content-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: 900px;
  height: 560px;
  background: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0.05) 50%,
      transparent 75%);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-video-wrapper {
    display: none;
  }

  .nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
  }

  .star-btn {
    padding: 6px 12px;
    font-size: 10px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .nav-logo {
    flex-shrink: 0;
  }
}

/* ---------- PROOF BAR ---------- */
.proof-bar {
  padding: var(--space-12) 0;
  border-top: none;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  background: var(--bg-dark);
}

.proof-ticker {
  display: flex;
  width: 100%;
}

.proof-track {
  display: flex;
  width: max-content;
  animation: proof-scroll 30s linear infinite;
}

@keyframes proof-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% / 4));
  }
}

.proof-item {
  width: 280px;
  flex-shrink: 0;
  text-align: center;
  padding: var(--space-6) var(--space-4);
  border-right: 1px solid var(--border-subtle);
}

.proof-number {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: var(--text-4xl);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}

.proof-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-snug);
}

/* ---------- PROBLEM SECTION ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 901px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.problem-body p {
  margin-bottom: var(--space-6);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  max-width: 65ch;
}

.callout-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform 300ms var(--ease-out-quad),
    box-shadow 300ms var(--ease-out-quad),
    border-color 300ms var(--ease-out-quad),
    background 300ms var(--ease-out-quad);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(20, 184, 166, 0.03);
}

.callout-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.01) 50%,
      transparent 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease-out-quad);
}

.callout-box:hover {
  transform: translateY(-3px);
  background: rgba(20, 184, 166, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(20, 184, 166, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 16px 48px rgba(0, 0, 0, 0.4);
}

.callout-box:hover::before {
  opacity: 1;
}

.callout-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.callout-attr {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* ---------- WHAT WE DO ---------- */
.whatwedo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 901px) {
  .whatwedo-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.whatwedo-body p {
  margin-bottom: var(--space-6);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  max-width: 65ch;
}

.whatwedo-divider {
  width: 60px;
  height: 2px;
  background: var(--border-medium);
  margin: var(--space-8) 0;
}

.whatwedo-closing {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-accent);
  line-height: var(--leading-relaxed);
}

/* ---------- HOW IT RUNS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

@media (min-width: 901px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: var(--space-8);
  position: relative;
  transition: transform 300ms var(--ease-out-quad),
    box-shadow 300ms var(--ease-out-quad),
    border-color 300ms var(--ease-out-quad),
    background 300ms var(--ease-out-quad),
    backdrop-filter 300ms var(--ease-out-quad);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(20, 184, 166, 0.03);
}

/* Glass sheen — only visible on hover */
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.01) 50%,
      transparent 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease-out-quad);
}

.step-card:hover {
  transform: translateY(-3px);
  background: rgba(20, 184, 166, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(20, 184, 166, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(20, 184, 166, 0.1);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: var(--text-6xl);
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.step-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-accent);
  white-space: nowrap;
}

.step-body {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.step-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
}

/* ---------- CASE STUDIES ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

@media (min-width: 901px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: var(--space-8);
  position: relative;
  transition: transform 300ms var(--ease-out-quad),
    box-shadow 300ms var(--ease-out-quad),
    border-color 300ms var(--ease-out-quad),
    background 300ms var(--ease-out-quad);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(20, 184, 166, 0.03);
}

.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.01) 50%,
      transparent 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease-out-quad);
}

.case-card:hover {
  transform: translateY(-3px);
  background: rgba(20, 184, 166, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(20, 184, 166, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(20, 184, 166, 0.1);
}

.case-card:hover::before {
  opacity: 1;
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.case-industry {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-accent);
  font-weight: 500;
}

.case-company {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-weight: 500;
}

.case-figure {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: var(--text-4xl);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.case-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.case-time {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-6);
}

.case-quote {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-6);
  line-height: var(--leading-relaxed);
}

/* ---------- WHO IT'S FOR ---------- */
.whoisfor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 901px) {
  .whoisfor-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.whoisfor-list {
  margin-top: var(--space-8);
}

.whoisfor-list li {
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.whoisfor-list li::before {
  content: '—';
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.note-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: transform 300ms var(--ease-out-quad),
    box-shadow 300ms var(--ease-out-quad),
    border-color 300ms var(--ease-out-quad),
    background 300ms var(--ease-out-quad);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(20, 184, 166, 0.03);
}

.note-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.01) 50%,
      transparent 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease-out-quad);
}

.note-box:hover {
  transform: translateY(-3px);
  background: rgba(20, 184, 166, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(20, 184, 166, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 16px 48px rgba(0, 0, 0, 0.4);
}

.note-box:hover::before {
  opacity: 1;
}

.note-box p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.note-box p:last-child {
  margin-bottom: 0;
}

.note-box strong {
  color: var(--text-primary);
  font-weight: 600;
}

.qual-box {
  background: rgba(20, 184, 166, 0.03);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 1rem;
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform 300ms var(--ease-out-quad),
    box-shadow 300ms var(--ease-out-quad),
    border-color 300ms var(--ease-out-quad),
    background 300ms var(--ease-out-quad);
  box-shadow:
    inset 0 1px 0 rgba(20, 184, 166, 0.06),
    0 8px 32px rgba(20, 184, 166, 0.04);
}

.qual-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.01) 50%,
      transparent 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease-out-quad);
}

.qual-box:hover {
  transform: translateY(-3px);
  background: rgba(20, 184, 166, 0.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(20, 184, 166, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 16px 48px rgba(0, 0, 0, 0.4);
}

.qual-box:hover::before {
  opacity: 1;
}

.qual-heading {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
}

.qual-list li {
  padding: var(--space-2) 0;
  font-size: var(--text-base);
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.qual-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-cyan);
  flex-shrink: 0;
  margin-top: 0.55em;
}

/* ---------- WHY VENNECTOR ---------- */
.contrast-table {
  display: flex;
  flex-direction: column;
  margin: var(--space-12) 0;
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  overflow: hidden;
}

/* Each row-pair is a flex row containing both cells */
.contrast-row-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 200ms var(--ease-out-quad);
}

.contrast-row-pair:last-child {
  border-bottom: none;
}

/* Left cell stays dim on hover — right cell gets teal glass */
.contrast-row-pair:not(.contrast-heading-pair):hover {
  background: transparent;
}

.contrast-cell {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  transition: background 200ms var(--ease-out-quad),
    color 200ms var(--ease-out-quad),
    border-color 200ms var(--ease-out-quad);
}

.contrast-heading-pair .contrast-cell {
  padding: var(--space-6) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contrast-cell.muted {
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid var(--border-subtle);
}

.contrast-cell.accent {
  color: var(--text-secondary);
  background: rgba(20, 184, 166, 0.02);
}

.contrast-heading-pair .contrast-cell.muted {
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.02);
}

.contrast-heading-pair .contrast-cell.accent {
  color: var(--text-accent);
  background: rgba(20, 184, 166, 0.03);
}

/* On row hover — left gets white glass, right gets teal glass */
.contrast-row-pair:not(.contrast-heading-pair):hover .contrast-cell.muted {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-secondary);
}

.contrast-row-pair:not(.contrast-heading-pair):hover .contrast-cell.accent {
  background: rgba(20, 184, 166, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
}

/* ── CONTRAST TABLE — MOBILE: two separate tables injected by JS ─────────────
   The original .contrast-table is hidden on mobile.
   JS builds .contrast-mobile-standard and .contrast-mobile-vennector in its place.
   ──────────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contrast-table {
    display: none;
  }

  .contrast-mobile-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin: var(--space-12) 0;
  }

  .contrast-mobile-block {
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    overflow: hidden;
  }

  .contrast-mobile-heading {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-subtle);
  }

  .contrast-mobile-block.standard .contrast-mobile-heading {
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.02);
  }

  .contrast-mobile-block.vennector .contrast-mobile-heading {
    color: var(--text-accent);
    background: rgba(20, 184, 166, 0.03);
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.05rem;
    text-transform: none;
    letter-spacing: 0;
  }

  .contrast-mobile-row {
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    border-bottom: 1px solid var(--border-subtle);
  }

  .contrast-mobile-row:last-child {
    border-bottom: none;
  }

  .contrast-mobile-block.standard .contrast-mobile-row {
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.01);
  }

  .contrast-mobile-block.vennector .contrast-mobile-row {
    color: var(--text-secondary);
    background: rgba(20, 184, 166, 0.02);
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.05rem;
  }
}

.why-body {
  margin-top: var(--space-8);
}

.why-body p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  max-width: 65ch;
}

.why-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.why-closing-quote {
  margin-top: var(--space-8);
  padding-left: var(--space-8);
  border-left: 3px solid var(--primary-cyan);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-accent);
  line-height: var(--leading-relaxed);
}

/* ---------- PARTNER LINE ---------- */
.partner-line {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.partner-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.partner-label {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.partner-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

.partner-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.partner-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(20, 184, 166, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-accent);
  margin-bottom: var(--space-6);
}

.cta-section h2 {
  margin-bottom: var(--space-6);
}

.cta-body {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.cta-fine-print {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-style: italic;
  margin-top: var(--space-6);
  line-height: var(--leading-relaxed);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-lg);
}

.footer-logo .logo-venn {
  color: var(--text-primary);
}

.footer-logo .logo-ector {
  color: var(--text-accent);
}

.footer-email {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  transition: color 200ms var(--ease-out-quad);
}

.footer-email:hover {
  color: var(--text-accent);
}

a[href="mailto:connect@vennector.com"] {
  transition: color 0.2s ease;
}
a[href="mailto:connect@vennector.com"]:hover {
  color: var(--color-accent);
}

.footer-copy {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer-legal-link {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  transition: color 200ms var(--ease-out-quad);
}

.footer-legal-link:hover {
  color: var(--text-secondary);
}

/* ---------- CARD ORB — identical to .glow-orb on buttons ---------- */
.card-orb {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  aspect-ratio: 1;
  background: radial-gradient(ellipse at center, var(--primary-cyan) 0%, transparent 60%);
  offset-path: var(--card-path);
  offset-distance: 0%;
  animation: glow-orbit 8s linear infinite;
  z-index: 2;
  pointer-events: none;
}

.card-orb-overlay {
  position: absolute;
  inset: 1px;
  border-radius: calc(1rem - 1px);
  background: var(--bg-card);
  z-index: 3;
  pointer-events: none;
  transition: background 300ms var(--ease-out-quad);
}

/* On hover the card bg shifts to glass — overlay must match */
.step-card:hover .card-orb-overlay,
.case-card:hover .card-orb-overlay,
.callout-box:hover .card-orb-overlay,
.note-box:hover .card-orb-overlay,
.qual-box:hover .card-orb-overlay {
  background: rgba(10, 15, 14, 0.82);
}

/* Card content must sit above both the orb and the overlay */
.step-card>*:not(.card-orb):not(.card-orb-overlay),
.case-card>*:not(.card-orb):not(.card-orb-overlay),
.callout-box>*:not(.card-orb):not(.card-orb-overlay),
.note-box>*:not(.card-orb):not(.card-orb-overlay),
.qual-box>*:not(.card-orb):not(.card-orb-overlay) {
  position: relative;
  z-index: 4;
}

/* qual-box has a teal base so its overlay matches */
.qual-box .card-orb-overlay {
  background: rgba(8, 22, 19, 0.85);
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo),
    filter 0.7s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

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

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

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

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ---------- DESKTOP MACRO WHITESPACE ---------- */
@media (min-width: 1024px) {
  .section {
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
  }
}

/* ---------- RESPONSIVE (max-width: 900px) ---------- */
@media (max-width: 900px) {
  .section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  /* ── FIX 1: More horizontal breathing room on mobile ── */
  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .nav {
    padding: 0 var(--space-6);
  }

  .hero-video-wrapper {
    display: none;
  }

  .hero {
    background-color: #0a0a0a;
  }

  .hero-vertical-label {
    display: none;
  }

  .hero-content {
    padding: var(--space-6) var(--space-4);
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .whatwedo-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

  .step-number {
    display: none;
  }

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

  .whoisfor-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .partner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .partner-divider {
    display: none;
  }

  .cta-section {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}