@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Exo+2:wght@200;300;400;500;600&display=swap');

:root {
  --black: #060608;
  --surface-1: #0a0a0e;
  --surface-2: #0e0e14;
  --surface-3: #141418;
  --surface-4: #1a1a20;
  --surface-5: #222228;
  --border: #161620;
  --border-light: #252530;
  --white: #f0f0f0;
  --white-pure: #ffffff;
  --grey-100: #d8d8d8;
  --grey-200: #ababab;
  --grey-300: #808080;
  --grey-400: #555555;
  --grey-500: #3a3a3a;
  --grey-600: #2a2a2a;
  --dim: #6a6a6a;
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.08);
  --red: #f87171;
  --red-dim: rgba(248, 113, 113, 0.06);
  --amber: #fbbf24;
  --amber-dim: rgba(251, 191, 36, 0.08);
  --font-display: 'Michroma', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1200px;
}

/* ============ LIGHT THEME ============ */
[data-theme="light"] {
  --black: #f5f5f3;
  --surface-1: #eeeee9;
  --surface-2: #e8e8e3;
  --surface-3: #e0e0db;
  --surface-4: #d8d8d3;
  --surface-5: #ccccc7;
  --border: #ddddd8;
  --border-light: #d0d0cb;
  --white: #111111;
  --white-pure: #000000;
  --grey-100: #222222;
  --grey-200: #444444;
  --grey-300: #666666;
  --grey-400: #888888;
  --grey-500: #aaaaaa;
  --grey-600: #cccccc;
  --dim: #b0b0b0;
  --green: #16a34a;
  --green-dim: rgba(22, 163, 74, 0.08);
  --red: #dc2626;
  --red-dim: rgba(220, 38, 38, 0.06);
  --amber: #d97706;
  --amber-dim: rgba(217, 119, 6, 0.08);
}

/* Theme-aware waveform bars */
[data-theme="light"] .waveform.white .bar { background: #111111; }
[data-theme="light"] .waveform.grey .bar { background: #999; }

/* Theme-aware nav scroll */
[data-theme="light"] .nav.scrolled {
  background: rgba(245, 245, 243, 0.92);
}

/* Theme-aware selection */
[data-theme="light"] ::selection {
  background: #ccc;
  color: #111;
}

/* Theme-aware demo tags */
[data-theme="light"] .demo__tag--before { background: rgba(220, 38, 38, 0.08); color: var(--red); }
[data-theme="light"] .demo__tag--after { background: rgba(22, 163, 74, 0.08); color: var(--green); }
[data-theme="light"] .vis-badge--invisible { background: rgba(220, 38, 38, 0.08); color: var(--red); }
[data-theme="light"] .vis-badge--weak { background: rgba(217, 119, 6, 0.08); color: var(--amber); }

/* Theme-aware demo dots */
[data-theme="light"] .demo__dot { background: var(--surface-5); }
[data-theme="light"] .demo__dot:first-child { background: #FF5F57; }
[data-theme="light"] .demo__dot:nth-child(2) { background: #FFBD2E; }
[data-theme="light"] .demo__dot:nth-child(3) { background: #27C93F; }

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-light);
  cursor: pointer;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-300);
  transition: all 0.3s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--grey-400);
  color: var(--grey-100);
}

.theme-toggle__icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-300);
  position: relative;
  transition: all 0.3s;
}

.theme-toggle__icon::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grey-300);
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
  transition: all 0.3s;
}

[data-theme="light"] .theme-toggle__icon::after {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Light mode button overrides */
[data-theme="light"] .btn--primary {
  color: #f0f0f0;
  background: #111111;
}
[data-theme="light"] .btn--primary:hover {
  background: #222;
}
/* Light mode nav__menu override — mobile only (scoped in @media below) */
[data-theme="light"] .nav__menu-link {
  color: var(--grey-400);
}
[data-theme="light"] .nav__menu-link:hover {
  color: var(--grey-500);
}
[data-theme="light"] .nav__menu-cta {
  color: #f0f0f0;
  background: #111111;
}
[data-theme="light"] .nav__menu-cta:hover {
  background: #222;
}
[data-theme="light"] .cta__submit {
  color: #f0f0f0;
  background: #111111;
}
[data-theme="light"] .cta__submit:hover {
  background: #222;
}
[data-theme="light"] .cta__form select {
  color: var(--grey-300);
}

/* Light mode waveform bar transition */
.waveform .bar { transition: background 0.4s; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-100);
  background: var(--black);
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--grey-400); color: var(--white); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 56px);
}

/* ============ WAVEFORM ICON ============ */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.waveform .bar {
  width: 3.5px;
  height: 28px;
  border-radius: 2px;
  transform-origin: center center;
}

.waveform.white .bar { background: #f0f0f0; }
.waveform.grey .bar { background: #555; }

/* Idle — gentle ambient pulse */
@keyframes bar-idle-1 { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(0.7); } }
@keyframes bar-idle-2 { 0%, 100% { transform: scaleY(0.6); } 50% { transform: scaleY(1); } }
@keyframes bar-idle-3 { 0%, 100% { transform: scaleY(0.8); } 50% { transform: scaleY(0.5); } }
@keyframes bar-idle-4 { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(0.9); } }
@keyframes bar-idle-5 { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(0.6); } }

.waveform.idle .bar:nth-child(1) { animation: bar-idle-1 2.4s ease-in-out infinite; }
.waveform.idle .bar:nth-child(2) { animation: bar-idle-2 2.4s ease-in-out infinite 0.15s; }
.waveform.idle .bar:nth-child(3) { animation: bar-idle-3 2.4s ease-in-out infinite 0.3s; }
.waveform.idle .bar:nth-child(4) { animation: bar-idle-4 2.4s ease-in-out infinite 0.15s; }
.waveform.idle .bar:nth-child(5) { animation: bar-idle-5 2.4s ease-in-out infinite; }

/* Dormant — near-flat */
@keyframes bar-dormant { 0%, 100% { transform: scaleY(0.15); } 50% { transform: scaleY(0.2); } }
.waveform.dormant .bar { animation: bar-dormant 4s ease-in-out infinite; opacity: 0.4; }

/* Thinking — slow symmetric */
@keyframes bar-think-1 { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(0.5); } }
@keyframes bar-think-2 { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(0.7); } }
@keyframes bar-think-3 { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
@keyframes bar-think-4 { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(0.7); } }
@keyframes bar-think-5 { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(0.5); } }

.waveform.thinking .bar:nth-child(1) { animation: bar-think-1 2.8s ease-in-out infinite; }
.waveform.thinking .bar:nth-child(2) { animation: bar-think-2 2.8s ease-in-out infinite 0.2s; }
.waveform.thinking .bar:nth-child(3) { animation: bar-think-3 2.8s ease-in-out infinite 0.4s; }
.waveform.thinking .bar:nth-child(4) { animation: bar-think-4 2.8s ease-in-out infinite 0.2s; }
.waveform.thinking .bar:nth-child(5) { animation: bar-think-5 2.8s ease-in-out infinite; }

/* Size variants */
.waveform.size-nav { gap: 2px; }
.waveform.size-nav .bar { width: 2.5px; height: 16px; border-radius: 1.5px; }

.waveform.size-sm { gap: 2.5px; }
.waveform.size-sm .bar { width: 3px; height: 20px; border-radius: 1.5px; }

.waveform.size-xs { gap: 2px; }
.waveform.size-xs .bar { width: 2.5px; height: 14px; border-radius: 1.5px; }

.waveform.size-xxs { gap: 1.5px; }
.waveform.size-xxs .bar { width: 2px; height: 10px; border-radius: 1px; }

.waveform.size-hero { gap: 4px; }
.waveform.size-hero .bar { width: 4px; height: 32px; border-radius: 2px; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.5s var(--ease);
}

.nav.scrolled {
  background: rgba(6, 6, 8, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

.nav__logo {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo span { color: var(--white); }

.nav__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 38px;
  height: 38px;
  position: relative;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--grey-300);
  position: absolute;
  left: 8px;
  transition: all 0.3s var(--ease);
}

.nav__burger span:nth-child(1) { top: 10px; }
.nav__burger span:nth-child(2) { top: 18px; }
.nav__burger span:nth-child(3) { top: 26px; }

.nav__burger.open span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.open span:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__menu-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 40px);
}

.nav__menu-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-200);
  transition: color 0.3s;
}

.nav__menu-link:hover { color: var(--grey-100); }

/* Nav active state */
.nav__menu-link--active {
  color: var(--white);
}

.nav__menu-cta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 8px 20px;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.nav__menu-cta:hover {
  background: var(--grey-100);
  transform: translateY(-1px);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 120px;
  position: relative;
}

.hero__inner {
  max-width: 860px;
}

.hero__tag {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-bottom: 40px;
  animation: fadeIn 1s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 32px;
  animation: fadeIn 1s var(--ease) 0.1s both;
}

.hero h1 .dim { color: var(--dim); }

.hero__sub {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey-100);
  max-width: 600px;
  margin-bottom: 48px;
  animation: fadeIn 1s var(--ease) 0.2s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  animation: fadeIn 1s var(--ease) 0.3s both;
}

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn--primary {
  color: var(--black);
  background: var(--white);
}

.btn--primary:hover {
  background: var(--grey-100);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--grey-300);
  background: transparent;
  border: 1px solid var(--border-light);
}

.btn--ghost:hover {
  border-color: var(--grey-400);
  color: var(--grey-100);
}

.btn__arrow { transition: transform 0.3s var(--ease); font-size: 14px; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============ DIVIDER ============ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 50%, transparent 100%);
  transition: background 0.4s;
}

/* ============ SECTIONS ============ */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-label span { color: var(--grey-300); margin-left: 12px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 20px;
}

.section-title .dim { color: var(--dim); }

.section-sub {
  font-weight: 400;
  font-size: 15px;
  color: var(--grey-200);
  max-width: 560px;
  line-height: 1.7;
}

/* ============ PAGE HEADER (sub-pages) ============ */
.page-header {
  padding: 160px 0 80px;
}

.page-header__tag {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-bottom: 24px;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 16px;
}

.page-header__title .dim { color: var(--dim); }

.page-header__sub {
  font-weight: 400;
  font-size: 16px;
  color: var(--grey-200);
  max-width: 600px;
  line-height: 1.8;
}

/* ============ GLASS CARD STYLE ============ */
.glass {
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .glass {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat {
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.4s;
}

[data-theme="light"] .stat {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 10px;
}

.stat__number span { color: var(--dim); }

.stat__label {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--grey-300);
  line-height: 1.5;
}

/* ============ PROBLEM ============ */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.problem__text {
  font-size: 15px;
  color: var(--grey-100);
  margin-bottom: 20px;
  line-height: 1.8;
}

.problem__text strong { color: var(--white); font-weight: 600; }

/* Demo card */
.demo {
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: all 0.4s;
}

[data-theme="light"] .demo {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.demo__header {
  padding: 12px 20px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.demo__dots { display: flex; gap: 5px; }
.demo__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-4); }

.demo__title {
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-left: auto;
}

.demo__body { padding: 24px; }

.demo__query {
  font-size: 13px;
  color: var(--grey-300);
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.demo__query strong { color: var(--grey-100); font-weight: 500; }

.demo__tag {
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.demo__tag--before { background: var(--red-dim); color: var(--red); }
.demo__tag--after { background: var(--green-dim); color: var(--green); }

.demo__response {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-200);
  padding: 16px;
  background: var(--surface-2);
  border-left: 2px solid var(--surface-5);
  margin-bottom: 8px;
}

.demo__response--good {
  border-left-color: var(--green);
  color: var(--grey-100);
}

.demo__response strong { color: var(--white); font-weight: 600; }

.demo__meta {
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.demo__meta--bad { color: var(--grey-300); }
.demo__meta--good { color: var(--grey-300); }

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}

.step {
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 36px 28px;
  transition: all 0.4s;
}

.step:hover { background: rgba(14, 14, 20, 0.7); }

[data-theme="light"] .step {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
[data-theme="light"] .step:hover { background: rgba(232, 232, 227, 0.7); }

.step__num {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--grey-300);
  margin-bottom: 20px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 14px;
}

.step__desc {
  font-weight: 400;
  font-size: 13px;
  color: var(--grey-200);
  line-height: 1.7;
}

/* ============ VISIBILITY TABLE ============ */
.vis-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  border: 1px solid var(--border);
}

.vis-table th {
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey-300);
  padding: 16px 20px;
  text-align: left;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.vis-table td {
  font-weight: 400;
  font-size: 13px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--grey-100);
}

.vis-table tr:last-child td { border-bottom: none; }

.vis-badge {
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  display: inline-block;
}

.vis-badge--invisible { background: var(--red-dim); color: var(--red); }
.vis-badge--weak { background: var(--amber-dim); color: var(--amber); }

/* ============ GROUPS ============ */
.groups__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.groups__feature {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.groups__feature:last-child { border-bottom: none; }

.groups__icon {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--grey-300);
  padding-top: 2px;
  flex-shrink: 0;
}

.groups__ftitle {
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.groups__fdesc {
  font-weight: 400;
  font-size: 13px;
  color: var(--grey-200);
  line-height: 1.6;
}

.groups__card {
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 48px 40px;
  transition: all 0.4s;
}

[data-theme="light"] .groups__card {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.groups__stat {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 8px;
}

.groups__stat-label {
  font-weight: 400;
  font-size: 14px;
  color: var(--grey-200);
  margin-bottom: 32px;
  line-height: 1.6;
}

.groups__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.groups__list li {
  font-weight: 400;
  font-size: 13px;
  color: var(--grey-100);
  display: flex;
  align-items: center;
  gap: 10px;
}

.groups__list li::before {
  content: '\2014';
  color: var(--grey-500);
}

/* ============ ROI ============ */
.roi__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}

.roi-card {
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 36px 28px;
  transition: all 0.4s;
}

.roi-card:hover { background: rgba(14, 14, 20, 0.7); }

[data-theme="light"] .roi-card {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
[data-theme="light"] .roi-card:hover { background: rgba(232, 232, 227, 0.7); }

.roi-card__icon {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--grey-300);
  margin-bottom: 20px;
}

.roi-card__title {
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.roi-card__desc {
  font-weight: 400;
  font-size: 13px;
  color: var(--grey-200);
  line-height: 1.7;
}

.roi__pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding: 32px;
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.4s;
}

[data-theme="light"] .roi__pipeline {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.roi__stage {
  text-align: center;
  flex: 1;
}

.roi__stage-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 4px;
}

.roi__stage-desc {
  font-weight: 400;
  font-size: 11px;
  color: var(--grey-300);
}

.roi__arrow {
  color: var(--grey-400);
  font-size: 16px;
  flex-shrink: 0;
  padding: 0 8px;
}

@media (max-width: 1024px) {
  .roi__grid { grid-template-columns: 1fr 1fr; }
  .roi__pipeline { flex-direction: column; gap: 16px; }
  .roi__arrow { transform: rotate(90deg); }
}

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

/* ============ PROOF ============ */
.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}

.proof-card {
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 36px 28px;
  transition: all 0.4s;
}

[data-theme="light"] .proof-card {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.proof-card__score {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 4px;
}

.proof-card__score .faded { color: var(--grey-500); font-size: 20px; }

.proof-card__slabel {
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-bottom: 24px;
}

.proof-card__name {
  font-weight: 500;
  font-size: 14px;
  color: var(--grey-100);
  margin-bottom: 4px;
}

.proof-card__type {
  font-weight: 300;
  font-size: 11px;
  color: var(--grey-300);
  margin-bottom: 20px;
}

.proof-card__finding {
  font-weight: 400;
  font-size: 13px;
  color: var(--grey-200);
  line-height: 1.7;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ============ ABOUT & TEAM ============ */
.about__intro {
  max-width: 720px;
  font-size: 15px;
  color: var(--grey-100);
  line-height: 1.8;
  margin-top: 32px;
  margin-bottom: 48px;
}

.about__intro strong { color: var(--white); font-weight: 600; }
[data-theme="light"] .about__intro strong { color: var(--black); }

/* Founders */
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.founder-card {
  display: flex;
  gap: 24px;
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 32px 28px;
  transition: all 0.4s;
}

.founder-card:hover { background: rgba(14, 14, 20, 0.7); }

[data-theme="light"] .founder-card {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
[data-theme="light"] .founder-card:hover { background: rgba(232, 232, 227, 0.7); }

.founder-card__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.08);
  filter: grayscale(20%);
  transition: filter 0.4s, border-color 0.4s;
}

.founder-card:hover .founder-card__photo {
  filter: grayscale(0%);
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .founder-card__photo {
  border: 2px solid rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .founder-card:hover .founder-card__photo {
  border-color: rgba(0, 0, 0, 0.15);
}

.founder-card__body { flex: 1; }

.founder-card__name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 6px;
}

.founder-card__role {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-bottom: 14px;
}

.founder-card__bio {
  font-weight: 400;
  font-size: 13px;
  color: var(--grey-200);
  line-height: 1.7;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.founder-card__link {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-300);
  transition: color 0.2s;
}
.founder-card__link:hover { color: var(--grey-100); }

/* Credential strip */
.cred-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.cred-strip__item {
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 24px;
  transition: all 0.4s;
}

[data-theme="light"] .cred-strip__item {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cred-strip__title {
  font-weight: 500;
  font-size: 13px;
  color: var(--grey-100);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.cred-strip__desc {
  font-weight: 400;
  font-size: 13px;
  color: var(--grey-200);
  line-height: 1.6;
}

/* ============ QUOTE ============ */
.quote-section {
  padding: 80px 0;
  text-align: center;
}

.quote__text {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 24px);
  letter-spacing: 1px;
  line-height: 1.6;
  color: var(--grey-300);
  max-width: 900px;
  margin: 0 auto;
}

.quote__text .bright { color: var(--white); }

/* ============ MID-PAGE CTA ============ */
.mid-cta {
  padding: 80px 0;
}

.mid-cta .section-title {
  margin-bottom: 16px;
}

.mid-cta .section-sub {
  max-width: none;
  margin-bottom: 32px;
}

/* ============ CTA ============ */
.cta {
  padding: clamp(80px, 10vw, 140px) 0;
}

.cta__card {
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  transition: all 0.4s;
}

[data-theme="light"] .cta__card {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 16px;
}

.cta__title .dim { color: var(--dim); }

.cta__sub {
  font-weight: 400;
  font-size: 15px;
  color: var(--grey-200);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta__form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta__form input,
.cta__form select {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 14px 16px;
  background: var(--surface-3);
  border: 1px solid var(--border-light);
  color: var(--white);
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.cta__form input::placeholder { color: var(--grey-400); }
.cta__form input:focus,
.cta__form select:focus { border-color: var(--grey-400); }
.cta__form select { color: var(--grey-400); cursor: pointer; }
.cta__form select option { background: var(--surface-2); color: var(--white); }

.cta__submit {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  border: none;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.cta__submit:hover {
  background: var(--grey-100);
  transform: translateY(-1px);
}

.cta__note {
  font-weight: 400;
  font-size: 10px;
  color: var(--grey-300);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============ CASE STUDY ============ */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 32px;
}

.case-study__card {
  background: rgba(14, 14, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 36px 28px;
  transition: all 0.4s;
}

[data-theme="light"] .case-study__card {
  background: rgba(232, 232, 227, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.case-study__label {
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 12px;
  display: inline-block;
}

.case-study__label--before { background: var(--red-dim); color: var(--red); }
.case-study__label--after { background: var(--green-dim); color: var(--green); }

.case-study__text {
  font-weight: 400;
  font-size: 14px;
  color: var(--grey-100);
  line-height: 1.7;
}

.case-study__text strong { color: var(--white); font-weight: 600; }

.case-study__note {
  font-weight: 300;
  font-size: 10px;
  color: var(--grey-300);
  letter-spacing: 1px;
  margin-top: 12px;
}

/* ============ CTA EXTRAS ============ */
.cta__contact {
  font-weight: 400;
  font-size: 13px;
  color: var(--grey-200);
  margin-bottom: 12px;
  line-height: 1.6;
}

.cta__contact a {
  color: var(--grey-100);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta__contact a:hover { color: var(--white); }

.cta__pricing {
  font-weight: 400;
  font-size: 12px;
  color: var(--grey-300);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

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

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

.footer__logo {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--dim);
}

.footer__logo span { color: var(--white); }

.footer__links { display: flex; gap: 32px; }
.footer__link {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--grey-300);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--grey-100); }

.footer__copy {
  font-weight: 400;
  font-size: 10px;
  color: var(--grey-300);
  letter-spacing: 1px;
}

/* ============ SECTION LINK ============ */
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-200);
  margin-top: 32px;
  transition: color 0.3s;
}

.section-link:hover {
  color: var(--white);
}

.section-link .btn__arrow {
  font-size: 14px;
  transition: transform 0.3s var(--ease);
}

.section-link:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav__burger { display: block; }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 6, 8, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }

  [data-theme="light"] .nav__menu {
    background: rgba(245, 245, 243, 0.95);
    border-bottom-color: rgba(0,0,0,0.08);
  }

  .nav__menu.open { max-height: 340px; }

  .nav__menu-inner { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }

  .problem__grid, .groups__grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .proof__grid { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
  .cred-strip { grid-template-columns: 1fr 1fr; }
  .case-study { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; align-items: center; text-align: center; }
  .cred-strip { grid-template-columns: 1fr; }
  .cta__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer__links { justify-content: center; flex-wrap: wrap; }
  .page-header { padding: 120px 0 60px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s var(--ease);
}

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

/* ============ PRIVACY PAGE OVERRIDES ============ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 0 120px;
}

.privacy-content h1 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
}

.privacy-content .last-updated {
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-bottom: 48px;
}

.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--white);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.privacy-content p,
.privacy-content ul {
  margin-bottom: 16px;
  color: var(--grey-100);
  font-size: 14px;
  line-height: 1.8;
}

.privacy-content ul { padding-left: 20px; }
.privacy-content li { margin-bottom: 8px; }
.privacy-content strong { color: var(--white); font-weight: 500; }
.privacy-content a { color: var(--grey-100); text-decoration: underline; text-underline-offset: 3px; }
.privacy-content a:hover { color: var(--white); }
