/* AG11 Teaser - Standalone Styles */

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

:root {
  /* Dark palette */
  --bg-deep: #050510;
  --bg-section: #0a0a1e;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.07);

  /* Brand */
  --primary: #7F56D9;
  --primary-glow: #a78bfa;
  --accent: #06B6D4;
  --accent-glow: #22d3ee;
  --cta: #F97316;
  --cta-glow: #fb923c;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #c4b5fd 0%, #67e8f9 40%, #a78bfa 70%, #22d3ee 100%);

  /* Text */
  --text-primary: #f0f2f7;
  --text-secondary: #a8b2c1;
  --text-muted: #7a8599;

  /* Glass */
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(255, 255, 255, 0.15);

  /* Spacing */
  --section-pad: clamp(5rem, 12vh, 9rem);
  --content-max: 1100px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Font families */
  --font-sans: 'Instrument Sans', 'SF Pro Display', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  overflow-x: hidden;
}

/* Subtle grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.t-brand {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 100;
  letter-spacing: 0.12em;
  line-height: 0.9;
  background: var(--grad-hero);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 8s ease infinite;
}

.t-brand-11 {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.t-section {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.t-body-lg {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.t-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1rem;
}

.t-mono-huge {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--cta-glow), #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.t-mono-accent {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cta-glow);
}

.t-mono-big {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section {
  position: relative;
  padding: var(--section-pad) 0;
  scroll-margin-top: 4rem;
}

/* Alternating section backgrounds */
.s-problem { background: var(--bg-section); }
.s-proof { background: var(--bg-section); }
.s-how { background: var(--bg-deep); }
.s-cta { background: var(--bg-section); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.5s var(--ease-out);
  background: transparent;
}

.nav.scrolled {
  background: rgba(5, 5, 16, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.65rem 0;
}

.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo em {
  font-style: normal;
  font-weight: 700;
  background: var(--grad-hero);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 8s ease infinite;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.3s;
  letter-spacing: 0.04em;
}

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

.nav-cta {
  padding: 0.45rem 1.1rem !important;
  border: 1px solid rgba(127, 86, 217, 0.35) !important;
  border-radius: 4px !important;
  color: var(--primary-glow) !important;
  transition: all 0.3s var(--ease-out) !important;
}

.nav-cta:hover {
  background: rgba(127, 86, 217, 0.1) !important;
  border-color: var(--primary-glow) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

/* Aurora blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: auroraFloat 25s ease-in-out infinite alternate;
}

.hero::before {
  width: 70vw;
  height: 70vw;
  top: -30%;
  left: -15%;
  background: radial-gradient(circle, rgba(127, 86, 217, 0.08) 0%, transparent 70%);
}

.hero::after {
  width: 50vw;
  height: 50vw;
  bottom: -20%;
  right: -15%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
  animation-delay: -12s;
  animation-direction: alternate-reverse;
}

/* ============================================
   HERO VISUALIZATION (Living org in hero)
   ============================================ */
.hero-viz {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  --mx: 0;
  --my: 0;
}

.hero-viz-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(calc(var(--my) * -12deg)) rotateY(calc(var(--mx) * 20deg));
  transition: transform 80ms ease-out;
}

.hero-viz-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* SVG stream & particle styles */
.org-stream {
  animation: streamDash 3s linear infinite;
}

@keyframes streamDash {
  to { stroke-dashoffset: -20; }
}

.org-particle {
  fill: var(--primary-glow);
  filter: drop-shadow(0 0 4px var(--primary-glow)) drop-shadow(0 0 10px var(--primary-glow));
}
.org-particle-2, .org-particle-5 { fill: var(--accent-glow); filter: drop-shadow(0 0 4px var(--accent-glow)) drop-shadow(0 0 10px var(--accent-glow)); }
.org-particle-4, .org-particle-7 { fill: var(--cta-glow); filter: drop-shadow(0 0 3px var(--cta-glow)) drop-shadow(0 0 8px var(--cta-glow)); }

@keyframes nodeFloat {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(5px, -8px); }
  50% { transform: translate(-3px, 4px); }
  75% { transform: translate(4px, 6px); }
}

/* Floating nodes in hero */
.hv-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  --px: 0px;
  --py: 0px;
  animation: nodeFloat 5s ease-in-out infinite;
  translate: var(--px) var(--py);
  transition: translate 100ms ease-out;
}

.hv-node span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.hv-node-core {
  width: 110px;
  height: 110px;
  left: calc(50% - 55px);
  top: calc(50% - 55px);
  background: radial-gradient(circle at 40% 35%, rgba(127, 86, 217, 0.2), rgba(127, 86, 217, 0.06));
  border: 1.5px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 50px rgba(127, 86, 217, 0.15), 0 0 100px rgba(127, 86, 217, 0.05);
  color: var(--primary-glow);
  animation: nodeFloat 7s ease-in-out infinite, corePulseHero 4s ease-in-out infinite;
  font-size: 0.65rem;
  font-weight: 700;
}

@keyframes corePulseHero {
  0%, 100% { box-shadow: 0 0 50px rgba(127, 86, 217, 0.15), 0 0 100px rgba(127, 86, 217, 0.05); }
  50% { box-shadow: 0 0 60px rgba(127, 86, 217, 0.25), 0 0 120px rgba(127, 86, 217, 0.08); }
}

.hv-node-a { width: 72px; height: 72px; right: 16%; top: 16%; background: rgba(6,182,212,0.06); border: 1px solid rgba(34,211,238,0.2); box-shadow: 0 0 20px rgba(6,182,212,0.1); color: var(--accent-glow); animation-delay: -1s; }
.hv-node-b { width: 68px; height: 68px; right: 12%; bottom: 26%; background: rgba(249,115,22,0.05); border: 1px solid rgba(249,115,22,0.18); box-shadow: 0 0 18px rgba(249,115,22,0.08); color: var(--cta-glow); animation-delay: -2s; }
.hv-node-c { width: 68px; height: 68px; left: 14%; top: 22%; background: rgba(6,182,212,0.05); border: 1px solid rgba(34,211,238,0.18); box-shadow: 0 0 18px rgba(6,182,212,0.08); color: var(--accent-glow); animation-delay: -3s; }
.hv-node-d { width: 64px; height: 64px; left: 18%; bottom: 22%; background: rgba(127,86,217,0.05); border: 1px solid rgba(167,139,250,0.18); box-shadow: 0 0 16px rgba(127,86,217,0.08); color: var(--primary-glow); animation-delay: -4s; }
.hv-node-e { width: 64px; height: 64px; right: 26%; bottom: 13%; background: rgba(249,115,22,0.04); border: 1px solid rgba(249,115,22,0.15); box-shadow: 0 0 14px rgba(249,115,22,0.06); color: var(--cta-glow); animation-delay: -5s; }
.hv-node-f { width: 56px; height: 56px; left: 6%; bottom: 40%; background: rgba(127,86,217,0.04); border: 1px solid rgba(167,139,250,0.12); box-shadow: 0 0 12px rgba(127,86,217,0.05); color: var(--primary-glow); animation-delay: -1.5s; opacity: 0.7; }
.hv-node-g { width: 52px; height: 52px; right: 6%; top: 42%; background: rgba(6,182,212,0.03); border: 1px solid rgba(34,211,238,0.1); box-shadow: 0 0 10px rgba(6,182,212,0.04); color: var(--accent-glow); animation-delay: -3.5s; opacity: 0.6; }
.hv-node-h { width: 48px; height: 48px; left: 28%; top: 8%; background: rgba(249,115,22,0.03); border: 1px solid rgba(249,115,22,0.1); box-shadow: 0 0 10px rgba(249,115,22,0.04); color: var(--cta-glow); animation-delay: -6s; opacity: 0.5; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1rem;
}

.hero-tagline {
  color: var(--text-secondary);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 400;
  margin-top: 1.5rem;
  line-height: 1.4;
}

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

.hero-sub {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  margin-top: 1rem;
  letter-spacing: 0.06em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(127, 86, 217, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-glow);
  background: rgba(127, 86, 217, 0.05);
}

.hero-badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-glow);
  animation: pulse 2s ease infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  opacity: 0.5;
}

/* ============================================
   PROBLEM - ASYMMETRIC LAYOUT
   ============================================ */
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.problem-left {
  position: sticky;
  top: 8rem;
}

.problem-number {
  margin: 1.5rem 0 0.5rem;
}

.problem-left .t-body-lg {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.problem-fail {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-top: 0.75rem;
  color: var(--text-primary);
}

.problem-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.15), transparent);
}

.problem-card-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (hover: hover) {
  .problem-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border-hover);
    transform: translateX(4px);
  }
}

.problem-punchline {
  text-align: center;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--text-secondary);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--glass-border);
}

.problem-punchline strong {
  color: var(--text-primary);
}

/* ============================================
   3D ORGANIZATION VISUALIZATION
   ============================================ */
.s-arch {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.arch-header {
  text-align: center;
  margin-bottom: 2rem;
}

.arch-header .t-section {
  margin-top: 0.75rem;
}

/* Arch Metrics */
.arch-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 3rem 0 2.5rem;
  background: var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
}

.arch-metric {
  background: var(--bg-deep);
  padding: clamp(1.25rem, 3vw, 2rem) 1rem;
  text-align: center;
}

.arch-metric .t-mono-big {
  background: var(--grad-hero);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 8s ease infinite;
  display: block;
  margin-bottom: 0.35rem;
}

.arch-metric .t-label {
  font-size: 0.55rem;
  margin-bottom: 0;
}

.arch-bottom {
  text-align: center;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   VISUAL PROOF — hero artifact + supporting cards
   ============================================ */
.s-proof {
  padding: var(--section-pad) 0;
  background: var(--bg-section);
}

.proof-header {
  text-align: center;
  margin-bottom: 3rem;
}

.proof-header .t-section {
  margin-top: 0.75rem;
}

/* Hero artifact — large product screenshot */
.proof-hero {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.proof-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.proof-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(to top, rgba(5, 5, 16, 0.95) 0%, rgba(5, 5, 16, 0.6) 60%, transparent 100%);
}

.proof-hero-overlay h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.proof-hero-overlay p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 500px;
}

/* Supporting cards — 2-up asymmetric */
.proof-supports {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.proof-card {
  background: var(--bg-deep);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: background 0.4s;
}

@media (hover: hover) {
  .proof-card:hover { background: rgba(255, 255, 255, 0.02); }
}

.proof-card img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-card-text h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.proof-card-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.how-header .t-section { margin-top: 0.75rem; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}

.how-step {
  background: var(--bg-section);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background 0.4s;
}

@media (hover: hover) {
  .how-step:hover { background: rgba(255, 255, 255, 0.02); }
}

.how-step-num {
  margin-bottom: 1.25rem;
}

.how-step-num span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
}

.how-step:nth-child(1) .how-step-num span { color: var(--primary-glow); border-color: rgba(127, 86, 217, 0.25); }
.how-step:nth-child(2) .how-step-num span { color: var(--accent-glow); border-color: rgba(6, 182, 212, 0.25); }
.how-step:nth-child(3) .how-step-num span { color: var(--cta-glow); border-color: rgba(249, 115, 22, 0.25); }

.how-step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.how-step p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================
   TRACTION
   ============================================ */
.traction-header {
  text-align: center;
  margin-bottom: 3rem;
}

.traction-header .t-section { margin-top: 0.75rem; }

/* Why Different: vertical cards with accent bars */
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.why-card {
  background: var(--bg-deep);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}

.why-card-accent {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.why-card-accent-1 { background: var(--primary-glow); }
.why-card-accent-2 { background: var(--cta-glow); }
.why-card-accent-3 { background: var(--accent-glow); }

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (hover: hover) {
  .why-card:hover { background: rgba(255, 255, 255, 0.02); }
}

.traction-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2rem;
}

.traction-tags span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
}

/* ============================================
   ABOUT - SPLIT LAYOUT
   ============================================ */
.s-about {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-left .t-section {
  margin-top: 0.75rem;
}

.about-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary-glow);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(127, 86, 217, 0.3);
  padding-bottom: 2px;
  transition: all 0.3s;
}

.about-link:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.about-right blockquote {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--primary);
}

.about-right p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.s-cta {
  text-align: center;
  padding: var(--section-pad) 0 3rem;
}

.cta-content .t-section {
  margin-bottom: 0.75rem;
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-form {
  display: flex;
  gap: 0.6rem;
  max-width: 420px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  outline: none;
  transition: border-color 0.3s;
}

.cta-form input::placeholder { color: var(--text-muted); }
.cta-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(127, 86, 217, 0.25); }

.cta-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), #6d3fd4);
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.02em;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(127, 86, 217, 0.2);
}

.cta-contact {
  margin-top: 1.25rem;
}

.cta-contact a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1px;
  transition: color 0.3s;
}

.cta-contact a:hover { color: var(--text-secondary); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.6rem;
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

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

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--delay, 0) * 0.12s);
}

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

/* Hero entrance */
.hero-entrance {
  animation: heroFadeIn 1s var(--ease-out) forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-entrance .hero-badge {
  animation: heroFadeIn 0.7s var(--ease-out) 0.1s both;
}

.hero-entrance .hero-logo-mark {
  animation: heroFadeIn 0.7s var(--ease-out) 0.25s both;
}

.hero-entrance .t-brand {
  animation: heroFadeIn 0.7s var(--ease-out) 0.4s both, gradientFlow 8s ease infinite;
}

.hero-entrance .hero-tagline {
  animation: heroFadeIn 0.7s var(--ease-out) 0.6s both;
}

.hero-entrance .hero-sub {
  animation: heroFadeIn 0.7s var(--ease-out) 0.75s both;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes auroraFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, -15px) scale(1.04); }
  66% { transform: translate(-15px, 15px) scale(0.96); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.8; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
}

.about-hero-title {
  margin-top: 1rem;
}

.about-hero-sub {
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.about-page-content {
  max-width: 640px !important;
  margin: 0 auto;
}

.about-page-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-page-content p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.75;
  font-size: 0.95rem;
}

.about-page-content strong {
  color: var(--text-primary);
  font-weight: 500;
}

.about-page-content blockquote {
  border-left: 2px solid var(--primary);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-primary);
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color 0.3s;
  letter-spacing: 0.03em;
}

.back-link:hover { color: var(--text-primary); }

/* ============================================
   KEYBOARD FOCUS
   ============================================ */
:focus-visible {
  outline: 2px solid var(--primary-glow);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-cta:focus-visible,
.cta-btn:focus-visible {
  outline-offset: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.5rem;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 5, 16, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open a {
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-links.open .nav-cta {
    margin-top: 0.5rem;
    justify-content: center;
    min-height: 48px;
  }

  .problem-layout {
    grid-template-columns: 1fr;
  }

  .problem-left {
    position: static;
    text-align: center;
  }

  .problem-fail {
    margin-bottom: 1.5rem;
  }

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

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

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

  .proof-card {
    flex-direction: row;
  }

  .proof-card img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-left {
    text-align: center;
  }

  .cta-form {
    flex-direction: column;
    padding: 0 0.5rem;
  }

  .cta-form input {
    min-height: 48px;
    font-size: 1rem;
  }

  .cta-btn {
    min-height: 48px;
    font-size: 0.9rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.75rem;
  }

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

  .footer-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Minimum font sizes — nothing below 14px on mobile */
  .t-label {
    font-size: 0.75rem;
  }

  .problem-card-num {
    font-size: 0.75rem;
  }

  .arch-metric .t-label {
    font-size: 0.7rem;
  }

  .how-step-num span {
    font-size: 0.75rem;
  }

  .traction-tags span {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .hero-sub {
    font-size: 0.8rem;
  }

  /* Hero viz: scale down nodes, hide outer ring on mobile */
  .hv-node { transform: scale(0.7); }
  .hv-node-core { width: 70px; height: 70px; }
  .hv-node-f, .hv-node-g, .hv-node-h { display: none; }
  .hero-viz-connections { opacity: 0.5; }

  /* About page mobile */
  .about-page-hero {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
  }

  .about-page-content blockquote {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  .back-link {
    font-size: 0.8rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .t-brand {
    font-size: clamp(2.8rem, 16vw, 4.5rem);
    letter-spacing: 0.08em;
  }

  /* Hero viz: keep core + inner ring only */
  .hv-node { transform: scale(0.5); }
  .hv-node span { font-size: 0.55rem; }
  .hv-node-core { width: 60px; height: 60px; }
  .hv-node-c, .hv-node-d, .hv-node-e { display: none; }
  .hero-viz-connections { opacity: 0.35; }

  .problem-card p {
    font-size: 0.88rem;
  }

  .proof-hero-overlay {
    padding: 1.25rem 1rem 1rem;
  }

  .proof-hero-overlay h3 {
    font-size: 1rem;
  }

  .proof-hero-overlay p {
    font-size: 0.85rem;
  }

  .traction-tags {
    flex-direction: column;
    align-items: center;
  }

  .cta-contact a {
    font-size: 0.8rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 1440px) {
  .container { max-width: 1140px; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  html { scroll-behavior: auto; }

  /* Stop SVG animateMotion particles */
  .hero-viz-connections circle { display: none; }
  .org-stream { stroke-dasharray: none; }
  .hv-node { animation: none !important; }
}
