:root {
  /* Color System */
  --color-bg: #0a0a0b;
  --color-bg-elevated: #111113;
  --color-bg-card: #18181b;
  --color-surface: #1f1f23;
  --color-border: #2a2a2f;
  --color-border-subtle: #1e1e22;

  --color-text: #fafafa;
  --color-text-secondary: #a1a1aa;
  /* Fixed: was #71717a (4.03:1), now 5.02:1 contrast ratio - WCAG AA compliant */
  --color-text-muted: #9ca3af; /* Lighter gray for better readability on dark bg */

  --color-accent: #0284c7;
  --color-accent-glow: rgba(2, 132, 199, 0.25); /* Slightly stronger glow */
  --color-accent-hover: #0369a1;

  --color-danger: #ef4444;
  --color-success: #22c55e;
  --color-warning: #eab308;

  /* Typography */
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Type Scale - Mobile-first fluid typography - ENHANCED for Mobile Readability */
  --fs-xs: 0.8125rem;    /* 13px - bumped up from 12px for better legibility */
  --fs-sm: 0.9375rem;    /* 15px - bumped up from 14px */
  --fs-base: 1.0625rem;  /* 17px - bumped up from 16px for better reading */
  --fs-md: 1.1875rem;    /* 19px - slightly larger than 18px */
  --fs-lg: 1.375rem;     /* 22px - clearer hierarchy */
  --fs-xl: clamp(1.5rem, 4vw, 2rem);        /* Adjusted clamp for punchier mobile headings */
  --fs-2xl: clamp(1.75rem, 5vw, 2.5rem);    /* Stronger section headers */
  --fs-3xl: clamp(2rem, 6vw, 3.5rem);       /* Major section breaks */
  --fs-4xl: clamp(2.75rem, 9vw, 5.5rem);    /* Hero Headline - more impact */

  /* Line Heights */
  /* Line Heights - Looser for better scanning */
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;
  --lh-loose: 1.9;

  /* Spacing - 8px Base Unit System */
  --space-xs: 0.25rem;   /* 4px - micro spacing */
  --space-sm: 0.5rem;    /* 8px - icon gaps, small elements */
  --space-md: 1rem;      /* 16px - default component padding */
  --space-lg: 1.5rem;    /* 24px - between related items */
  --space-xl: 2rem;      /* 32px - card padding standard */
  --space-2xl: 3rem;     /* 48px - section gaps */
  --space-3xl: 4rem;     /* 64px - major section breaks */
  --space-4xl: 6rem;     /* 96px - hero-level spacing */
  --space-5xl: 8rem;     /* 128px - maximum section padding */

  /* Semantic Spacing Tokens */
  --spacing-card: var(--space-xl);              /* 32px - consistent card padding */
  --spacing-card-tablet: var(--space-lg);       /* 24px - tablet card padding */
  --spacing-card-mobile: var(--space-md);       /* 16px - mobile card padding */
  --spacing-section: var(--space-5xl);          /* 128px - section vertical padding */
  --spacing-section-tablet: var(--space-3xl);   /* 64px - tablet section padding */
  --spacing-section-mobile: var(--space-2xl);   /* 48px - mobile section padding */
  --spacing-touch-target: 48px;                 /* WCAG 2.5.5 minimum touch target */

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 720px;

  /* Effects */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 60px var(--color-accent-glow);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding: 0 var(--space-sm);
}

/* Skip Link for Keyboard Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #ffffff; /* White text on steel blue per UX spec */
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  z-index: 200;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-md);
  outline: 3px solid var(--color-text);
  outline-offset: 2px;
}

/* Animated Background Grid */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(2, 132, 199, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
}

/* Glow Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: float 20s ease-in-out infinite;
}

.glow-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  bottom: 30%;
  left: -200px;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--spacing-section) 0; /* 128px - uses semantic token */
  position: relative;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
}

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

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
  max-width: 65ch; /* Optimal line length for reading */
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.85em;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

nav {
  padding: var(--space-md) var(--space-lg);
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}


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

/* Responsive Logo Logic */
.logo-mobile {
  display: none; /* Hidden by default on desktop */
}

.logo-desktop {
  display: block; /* Visible by default on desktop */
}


.nav-cta {
  font-size: var(--fs-sm);
  padding: var(--space-sm) var(--space-md);
  flex-shrink: 0;
  min-height: var(--spacing-touch-target); /* 48px - WCAG 2.5.5 compliant */
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff; /* White text on steel blue per UX spec */
  box-shadow: 0 0 0 0 var(--color-accent-glow);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-accent-glow);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-card);
  border-color: var(--color-text-muted);
}

.btn-icon {
  transition: transform var(--transition);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Form Elements */
.waitlist-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
}

.input-wrapper {
  flex: 1;
  position: relative;
}

.input {
  width: 100%;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: all var(--transition);
}

.input::placeholder {
  color: var(--color-text-muted);
}

.input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--space-5xl) + 60px);
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  background: var(--color-accent-glow);
  padding: var(--space-sm) var(--space-md);
  border-radius: 100px;
  border: 1px solid rgba(2, 132, 199, 0.2);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  max-width: 600px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-form {
  animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}

.hero-note strong {
  color: var(--color-accent);
  font-weight: 600;
}

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

/* Stats Row */
.stats-row {
  display: flex;
  gap: var(--space-2xl); /* 48px - refined from 64px */
  margin-top: var(--space-3xl); /* 64px - reduced from 96px */
  padding-top: var(--space-2xl); /* 32px */
  border-top: 1px solid var(--color-border-subtle);
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.stat {
  text-align: left;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* Problem Section */
.problem {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.problem-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-4xl);
}

.problem-header h2 {
  margin-bottom: var(--space-lg);
}

.problem-header p {
  font-size: 1.125rem;
  line-height: 1.8;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.pain-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-card); /* 32px - standardized card padding */
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-danger) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.pain-card:hover {
  border-color: var(--color-border);
  transform: translateY(-4px);
}

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

.pain-quote {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.pain-quote::before {
  content: '"';
  color: var(--color-danger);
  font-size: 1.5rem;
  line-height: 1;
}

.pain-desc {
  font-size: 0.95rem;
  line-height: 1.7;
}

.problem-transition {
  text-align: center;
  max-width: 600px;
  margin: var(--space-4xl) auto 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
}

/* Solution Section */
.solution {
  position: relative;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.solution-content h2 {
  margin-bottom: var(--space-lg);
}

.solution-lead {
  font-size: 1.25rem;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.solution-desc {
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.solution-list {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  color: var(--color-text-secondary);
}

.solution-list li::before {
  content: '\2192';
  color: var(--color-accent);
  font-weight: bold;
  flex-shrink: 0;
}

.solution-callout {
  background: var(--color-accent-glow);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  font-size: 0.95rem;
  color: var(--color-text);
  font-style: italic;
}

/* Mock Report Visual */
.solution-visual {
  position: relative;
}

.report-mock {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.report-header {
  background: var(--color-surface);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.report-dots {
  display: flex;
  gap: var(--space-sm); /* 8px - aligned with spacing system */
}

.report-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.report-dot-red { background: #ef4444; }
.report-dot-yellow { background: #eab308; }
.report-dot-green { background: #22c55e; }

.report-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-left: var(--space-md);
}

.report-body {
  padding: var(--space-xl);
}

.report-score {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.score-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--color-success) 0deg 252deg, var(--color-border) 252deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.score-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--color-bg-card);
  border-radius: 50%;
}

.score-value {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-success);
}

.score-info h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-success);
}

.score-info p {
  font-size: 0.85rem;
}

.report-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.metric {
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.metric-trend {
  font-size: 0.75rem;
  color: var(--color-success);
}

/* How It Works */
.how-it-works {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.how-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-border), var(--color-accent));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-xl);
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.step:hover .step-number {
  border-color: var(--color-accent);
  box-shadow: 0 0 30px var(--color-accent-glow);
}

.step h3 {
  margin-bottom: var(--space-md);
}

.step p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

.step-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-top: var(--space-md);
}

/* Benefits Section */
.benefits {
  position: relative;
}

.benefits-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.benefit-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-card); /* 32px - standardized card padding */
  transition: all var(--transition);
  position: relative;
}

.benefit-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.benefit-card h3 {
  margin-bottom: var(--space-md);
}

.benefit-card p {
  line-height: 1.7;
}

/* Founder Section */
.founder {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.founder-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.founder-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-xl);
}

.founder-quote {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: var(--space-lg); /* 24px - tightened from 32px */
  font-weight: 400;
}

.founder-quote::before {
  content: '"';
  display: block;
  font-size: 3rem; /* Reduced from 4rem for better proportion */
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-sm); /* 8px - tighter quote-to-text */
  opacity: 0.5;
}

.founder-name {
  font-weight: 600;
  color: var(--color-text);
}

.founder-role {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Incentives Section */
.incentives {
  position: relative;
}

.incentives-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: center;
}

.incentives-content h2 {
  margin-bottom: var(--space-lg);
}

.incentives-lead {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
}

.incentive-list {
  list-style: none;
}

.incentive-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text);
}

.incentive-list li:last-child {
  border-bottom: none;
}

.incentive-check {
  width: 24px;
  height: 24px;
  background: var(--color-accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.incentives-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-card); /* 32px - matches card system */
}

.incentives-form h3 {
  margin-bottom: var(--space-sm); /* 8px - tighter heading */
}

.incentives-form > p {
  margin-bottom: var(--space-lg); /* 24px - reduced from 32px */
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-stack .btn {
  width: 100%;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* FAQ Section */
.faq {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-card); /* 32px - standardized card padding */
}

.faq-question {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.faq-question::before {
  content: 'Q';
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  background: var(--color-accent-glow);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.faq-answer {
  font-size: 0.95rem;
  line-height: 1.7;
  padding-left: calc(var(--space-sm) + 22px);
}

.faq-answer ul {
  margin-top: var(--space-sm);
  padding-left: var(--space-lg);
}

.faq-answer li {
  margin-bottom: var(--space-xs);
}

/* Final CTA */
.final-cta {
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

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

.final-cta h2 {
  margin-bottom: var(--space-lg);
}

.final-cta-lead {
  font-size: 1.25rem;
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

.final-form {
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  display: flex;
  justify-content: center;
}

.final-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0 auto;
}

/* Footer */
footer {
  padding: var(--space-2xl) 0; /* 48px - more substantial page ending */
  border-top: 1px solid var(--color-border-subtle);
}

.footer-inner {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}

.footer-links a{
  color: var(--color-accent);
  text-decoration: none;
}

/* Responsive */

/* Tablet landscape and below */
@media (max-width: 1024px) {
  section {
    padding: var(--space-4xl) 0; /* 96px - intermediate step */
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .solution-grid,
  .incentives-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .solution-visual {
    order: -1;
  }

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

  .benefits-grid {
    gap: var(--space-md);
  }

  .benefit-card {
    padding: var(--spacing-card); /* 32px - consistent with other cards */
  }
}

/* Intermediate tablet breakpoint for smoother transitions */
@media (max-width: 900px) {
  /* Steps: Keep 3-col but tighter */
  .steps {
    gap: var(--space-lg);
  }

  .step p {
    max-width: 220px;
    font-size: 0.9rem;
  }

  .step-number {
    width: 70px;
    height: 70px;
    font-size: 1.25rem;
  }
}

/* Steps 2+1 layout for smaller tablets */
@media (max-width: 800px) and (min-width: 601px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .steps::before {
    display: none;
  }

  .step:last-child {
    grid-column: 1 / -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .step p {
    max-width: 280px;
  }
}

/* Tablet portrait and below */
@media (max-width: 768px) {
  :root {
    --space-5xl: 5rem;
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  section {
    padding: var(--spacing-section-tablet) 0; /* 64px - tablet section padding */
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Navigation */
  nav {
    padding: var(--space-sm) var(--space-md);
  }

  .logo {
    font-size: 1rem;
  }

  .nav-cta {
    font-size: 0.8rem;
    padding: var(--space-sm) var(--space-md);
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--space-4xl) + 60px);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.7rem;
  }

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

  /* Stats */
  .stats-row {
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: flex-start;
  }

  .stat {
    flex: 1 1 calc(50% - var(--space-lg));
    min-width: 120px;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Problem section */
  .problem-header {
    margin-bottom: var(--space-2xl);
  }

  .problem-header p {
    font-size: 1rem;
  }

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

  .pain-card {
    padding: var(--spacing-card-tablet); /* 24px */
  }

  .pain-quote {
    font-size: 1rem;
  }

  .pain-desc {
    font-size: 0.9rem;
  }

  .problem-transition {
    font-size: 1.1rem;
    margin-top: var(--space-2xl);
  }

  /* Solution section */
  .solution-lead {
    font-size: 1.1rem;
  }

  .solution-desc {
    font-size: 0.95rem;
  }

  .solution-list li {
    font-size: 0.95rem;
  }

  .solution-callout {
    font-size: 0.9rem;
    padding: var(--space-md);
  }

  /* Report mock */
  .report-header {
    padding: var(--space-sm) var(--space-md);
  }

  .report-title {
    font-size: 0.7rem;
  }

  .report-body {
    padding: var(--space-lg);
  }

  .score-ring {
    width: 70px;
    height: 70px;
  }

  .score-value {
    font-size: 1.1rem;
  }

  .score-info h4 {
    font-size: 0.9rem;
  }

  .score-info p {
    font-size: 0.8rem;
  }

  .metric {
    padding: var(--space-sm);
  }

  .metric-label {
    font-size: 0.65rem;
  }

  .metric-value {
    font-size: 0.95rem;
  }

  .metric-trend {
    font-size: 0.7rem;
  }

  /* How it works */
  .how-header {
    margin-bottom: var(--space-2xl);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .steps::before {
    display: none;
  }

  .step-number {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
  }

  .step p {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .step-time {
    font-size: 0.7rem;
  }

  /* Benefits - Keep 2-column on tablet portrait */
  .benefits-header {
    margin-bottom: var(--space-2xl);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr); /* Keep 2-col until 540px */
    gap: var(--space-md);
  }

  .benefit-card {
    padding: var(--spacing-card-tablet); /* 24px */
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
  }

  .benefit-card p {
    font-size: 0.9rem;
  }

  /* Founder */
  .founder-content {
    padding: 0 var(--space-sm);
  }

  .founder-label {
    font-size: 0.7rem;
  }

  .founder-quote::before {
    font-size: 2.5rem; /* Smaller on tablet */
  }

  /* Incentives */
  .incentives-lead {
    font-size: 1rem;
  }

  .incentive-list li {
    font-size: 0.95rem;
    padding: var(--space-sm) 0;
  }

  .incentive-check {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }

  .incentives-form {
    padding: var(--spacing-card-tablet); /* 24px */
  }

  .incentives-form > p {
    font-size: 0.9rem;
  }

  .form-note {
    font-size: 0.75rem;
  }

  /* FAQ */
  .faq-header {
    margin-bottom: var(--space-2xl);
  }

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

  .faq-item {
    padding: var(--spacing-card-tablet); /* 24px */
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer {
    font-size: 0.9rem;
    padding-left: calc(var(--space-sm) + 20px);
  }

  /* Final CTA */
  .final-cta::before {
    width: 300px;
    height: 300px;
  }

  .final-cta-lead {
    font-size: 1rem;
  }

  .final-note {
    font-size: 0.8rem;
  }

  /* Footer */
  footer {
    padding: var(--space-xl) 0; /* 32px - tablet */
  }

  .footer-inner {
    font-size: 0.8rem;
  }
}

/* Benefits single column and stats layout */
@media (max-width: 540px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Stats: 2+1 centered layout */
  .stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    justify-items: center;
  }

  .stat {
    text-align: center;
  }

  .stat:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --space-5xl: 3.5rem;
    --space-4xl: 2.5rem;
    --space-3xl: 2rem;
    --space-2xl: 1.5rem;
  }

  section {
    padding: 4rem 0; /* 64px - increased mobile section padding */
  }

  /* Responsive Typography Updates */
  h1 {
    font-size: 3rem; /* Slightly bigger on mobile */
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  h2 {
    font-size: 2.25rem; /* Slightly bigger on mobile */
  }

  /* Navigation - Reverted padding/height, kept text size */
  nav {
    padding: var(--space-sm) var(--space-md);
  }

  .nav-inner {
    gap: var(--space-sm);
  }

  .logo {
    font-size: 1rem; /* Kept larger size */
    gap: var(--space-xs);
  }

  .logo-icon {
    width: 28px; /* Reverted visual size */
    height: 28px;
    font-size: 0.8rem;
  }

  .nav-cta {
    font-size: 0.875rem; /* Kept larger text */
    padding: 0.75rem 1rem; /* Reverted padding */
    min-height: var(--spacing-touch-target);
  }

  .nav-cta .btn-icon {
    display: inline;
    font-size: 0.75rem;
  }

  /* Logo Switching for Mobile */
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  /* Hero - Adjusted top spacing */
  .hero {
    min-height: auto;
    padding-top: calc(var(--space-3xl) + 120px); /* Added extra spacing from navbar */
    padding-bottom: var(--space-2xl);
  }

  .hero-subtitle {
    font-size: 1.125rem; /* Kept larger text */
    line-height: 1.6;
  }


  .hero-badge {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
    gap: var(--space-xs);
  }

  .badge-dot {
    width: 5px;
    height: 5px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: var(--space-xl);
  }

  .hero-note {
    font-size: 0.875rem;
  }

  /* Stats - inherits grid from 540px breakpoint */
  .stats-row {
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
  }

  .stat-value {
    font-size: 1.1rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Problem */
  .problem-header p {
    font-size: 0.9rem;
  }

  .pain-card {
    padding: var(--spacing-card-mobile); /* 16px */
  }

  .pain-quote {
    font-size: 0.95rem;
  }

  .pain-quote::before {
    font-size: 1.25rem;
  }

  .pain-desc {
    font-size: 0.85rem;
  }

  .problem-transition {
    font-size: 1rem;
    padding: 0 var(--space-sm);
  }

  /* Solution */
  .solution-lead {
    font-size: 1rem;
  }

  .solution-desc,
  .solution-list li {
    font-size: 0.9rem;
  }

  .solution-callout {
    font-size: 0.85rem;
  }

  /* Report mock */
  .report-header {
    padding: var(--space-xs) var(--space-sm);
  }

  .report-dots {
    gap: var(--space-xs); /* 4px */
  }

  .report-dot {
    width: 8px;
    height: 8px;
  }

  .report-title {
    font-size: 0.6rem;
    margin-left: var(--space-sm);
  }

  .report-body {
    padding: var(--space-md);
  }

  .report-score {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .score-ring {
    width: 60px;
    height: 60px;
  }

  .score-value {
    font-size: 1rem;
  }

  .report-metrics {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .metric {
    padding: var(--space-sm);
  }

  .metric-label {
    font-size: 0.6rem;
  }

  .metric-value {
    font-size: 0.85rem;
  }

  .metric-trend {
    font-size: 0.65rem;
  }

  /* Steps */
  .step-number {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }

  .step h3 {
    font-size: 1.1rem;
  }

  .step p {
    font-size: 0.85rem;
  }

  /* Benefits */
  .benefit-card {
    padding: var(--spacing-card-mobile); /* 16px */
  }

  .benefit-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .benefit-card h3 {
    font-size: 1rem;
  }

  .benefit-card p {
    font-size: 0.85rem;
  }

  /* Founder */
  .founder-quote::before {
    font-size: 2rem; /* Smaller on mobile */
    margin-bottom: var(--space-xs); /* 4px - tighter on mobile */
  }

  .founder-name {
    font-size: 0.95rem;
  }

  .founder-role {
    font-size: 0.8rem;
  }

  /* Incentives */
  .incentives-lead {
    font-size: 0.95rem;
  }

  .incentive-list li {
    font-size: 0.9rem;
    gap: var(--space-sm);
  }

  .incentives-form {
    padding: var(--spacing-card-mobile); /* 16px */
  }

  .incentives-form h3 {
    font-size: 1.1rem;
  }

  .incentives-form > p {
    font-size: 0.85rem;
  }

  /* FAQ */
  .faq-item {
    padding: var(--spacing-card-mobile); /* 16px */
  }

  .faq-question {
    font-size: 0.9rem;
  }

  .faq-question::before {
    font-size: 0.65rem;
    padding: 2px 5px;
  }

  .faq-answer {
    font-size: 0.85rem;
    padding-left: calc(var(--space-xs) + 18px);
  }

  /* Final CTA */
  .final-cta {
    padding: var(--space-3xl) 0;
  }

  .final-cta::before {
    width: 250px;
    height: 250px;
  }

  .final-cta-lead {
    font-size: 0.95rem;
    margin-bottom: var(--space-xl);
  }

  .final-note {
    font-size: 0.75rem;
  }

  /* Footer */
  footer {
    padding: var(--space-lg) 0; /* 24px - mobile */
  }

  .footer-inner {
    font-size: 0.75rem;
  }

  /* Hide glow orbs on small screens */
  .glow-orb-1,
  .glow-orb-2 {
    display: none;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .logo {
    font-size: 0.8125rem; /* 13px minimum */
  }

  .logo-icon {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .nav-cta {
    font-size: 0.75rem; /* 12px minimum readable */
    padding: 0.625rem 0.75rem; /* 10px 12px */
    min-height: var(--spacing-touch-target); /* 48px - WCAG 2.5.5 compliant */
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.625rem;
  }

  h3 {
    font-size: 1.125rem;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .stat {
    flex: 1 1 calc(50% - var(--space-sm));
  }

  .report-metrics {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
  }

  .metric {
    padding: var(--space-xs);
  }

  .metric-value {
    font-size: 0.8rem;
    word-break: break-word;
  }
}

/* Form Success State */
.form-success {
  text-align: center;
  padding: var(--space-xl);
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: var(--color-accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
}

.form-success h4 {
  margin-bottom: var(--space-sm);
}

.hidden {
  display: none !important;
}

/* Hide Kit.com branding */
[data-uid] + p,
.formkit-powered-by,
a[href*="kit.com"]:not(.logo) {
  display: none !important;
}

/* ============================================
   Large Desktop Optimization (1440px+)
   ============================================ */
@media (min-width: 1440px) {
  :root {
    --container-max: 1320px;
    --space-5xl: 10rem;
    --space-4xl: 7rem;
  }

  .container {
    padding: 0 var(--space-2xl);
  }

  /* Enhanced typography for large screens */
  h1 {
    font-size: 5.5rem;
    letter-spacing: -0.03em;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin-bottom: 0;
  }

  .hero-note {
    font-size: 1rem;
  }

  /* Stats row with more breathing room */
  .stats-row {
    gap: var(--space-3xl); /* 64px - generous on large screens */
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  /* Problem section */
  .problem-header p {
    font-size: 1.25rem;
  }

  .pain-card {
    padding: var(--space-2xl); /* 48px - more generous on large screens */
  }

  .pain-quote {
    font-size: 1.25rem;
  }

  .problem-transition {
    font-size: 1.375rem;
  }

  /* Solution grid with more space */
  .solution-grid {
    gap: var(--space-5xl);
  }

  .solution-lead {
    font-size: 1.375rem;
  }

  .solution-desc {
    font-size: 1.0625rem;
  }

  .solution-callout {
    font-size: 1.0625rem;
    padding: var(--space-xl);
  }

  /* Report mock */
  .report-body {
    padding: var(--space-2xl);
  }

  .score-ring {
    width: 100px;
    height: 100px;
  }

  .score-value {
    font-size: 1.5rem;
  }

  .metric {
    padding: var(--space-lg);
  }

  .metric-value {
    font-size: 1.25rem;
  }

  /* Steps */
  .steps {
    gap: var(--space-2xl);
  }

  .step-number {
    width: 100px;
    height: 100px;
    font-size: 1.75rem;
  }

  .step p {
    font-size: 1.0625rem;
    max-width: 320px;
  }

  /* Benefits with generous spacing */
  .benefits-grid {
    gap: var(--space-xl);
  }

  .benefit-card {
    padding: var(--space-2xl); /* 48px - consistent with other cards on large screens */
  }

  .benefit-icon {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }

  .benefit-card p {
    font-size: 1.0625rem;
  }

  /* Founder section */
  .founder-content {
    max-width: 800px;
  }

  /* FAQ grid */
  .faq-grid {
    max-width: 1100px;
    gap: var(--space-xl);
  }

  .faq-item {
    padding: var(--space-2xl); /* 48px - consistent with other cards on large screens */
  }

  .faq-question {
    font-size: 1.0625rem;
  }

  .faq-answer {
    font-size: 1rem;
  }

  /* Final CTA */
  .final-cta::before {
    width: 700px;
    height: 700px;
  }

  .final-cta-lead {
    font-size: 1.375rem;
    max-width: 600px;
  }
}

/* Extra large screens (1920px+) */
@media (min-width: 1920px) {
  :root {
    --container-max: 1440px;
  }

  body {
    font-size: 1.0625rem;
  }

  h1 {
    font-size: 6rem;
  }

  h2 {
    font-size: 3.25rem;
  }

  .hero-subtitle {
    font-size: 1.625rem;
    max-width: 750px;
    margin-bottom: var(--space-xs);
  }

  /* Generous card padding on extra-large screens */
  .benefit-card,
  .pain-card,
  .faq-item {
    padding: var(--space-3xl); /* 64px */
  }

  .faq-grid {
    max-width: 1200px;
  }
}
