/* ============================================
   EabhaSeq - "Poetic Science" Design System
   Where clinical precision meets artistic beauty
   ============================================ */

/* ============================================
   CSS Custom Properties - Design Tokens
   ============================================ */

:root {
  /* === TYPOGRAPHY - Font Families === */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* === TYPOGRAPHY - Display Scale (Dramatic) === */
  --text-hero: clamp(3.5rem, 8vw + 1rem, 7rem);
  --text-hero-line-height: 0.95;
  --text-hero-letter-spacing: -0.03em;
  --text-hero-weight: 300;

  --text-display-1: clamp(2.75rem, 5vw + 1rem, 4.5rem);
  --text-display-1-line-height: 1.05;
  --text-display-1-letter-spacing: -0.025em;

  --text-display-2: clamp(2rem, 3.5vw + 0.5rem, 3rem);
  --text-display-2-line-height: 1.1;
  --text-display-2-letter-spacing: -0.02em;

  --text-display-3: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  --text-display-3-line-height: 1.2;
  --text-display-3-letter-spacing: -0.015em;

  /* === TYPOGRAPHY - Body Scale === */
  --text-lg: 1.333rem;
  --text-lg-line-height: 1.65;

  --text-base: 1rem;
  --text-base-line-height: 1.7;

  --text-sm: 0.875rem;
  --text-sm-line-height: 1.6;

  --text-xs: 0.75rem;
  --text-xs-line-height: 1.5;

  /* === TYPOGRAPHY - Special === */
  --text-overline: 0.6875rem;
  --text-overline-letter-spacing: 0.2em;

  --text-stat: clamp(3rem, 6vw, 5rem);
  --text-stat-line-height: 1;
  --text-stat-letter-spacing: -0.04em;

  --text-nav: 0.875rem;
  --text-button: 0.9375rem;

  /* === COLORS - Backgrounds (Warm Paper Tones) === */
  --color-bg-primary: #FDFCFB;
  --color-bg-secondary: #FAF8F5;
  --color-bg-tertiary: #F5F2ED;
  --color-bg-muted: #EDE8E0;
  --color-bg-accent: #E6E0D6;

  /* === COLORS - Text (Warm Grays) === */
  --color-text-primary: #2C2825;
  --color-text-secondary: #4A4541;
  --color-text-tertiary: #6B6560;
  --color-text-muted: #8A847D;

  /* === COLORS - Terracotta Accent === */
  --color-accent-primary: #C4654A;
  --color-accent-dark: #A8543D;
  --color-accent-light: #D4806A;
  --color-accent-soft: #E8B8A8;
  --color-accent-wash: rgba(196, 101, 74, 0.08);

  /* === COLORS - Sage (Unexpected Moment) === */
  --color-unexpected: #7D9B8A;
  --color-unexpected-light: #A8BFB0;
  --color-unexpected-wash: rgba(125, 155, 138, 0.1);

  /* === COLORS - Gradients === */
  --gradient-primary: linear-gradient(135deg, #C4654A 0%, #D4806A 100%);
  --gradient-sage: linear-gradient(135deg, #7D9B8A 0%, #A8BFB0 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(196, 101, 74, 0.04) 0%, transparent 100%);
  --gradient-warm: linear-gradient(180deg, #FAF8F5 0%, #FDFCFB 100%);

  /* === BORDERS === */
  --border-subtle: 1px solid rgba(44, 40, 37, 0.06);
  --border-visible: 1px solid rgba(44, 40, 37, 0.10);
  --border-accent: 1px solid rgba(196, 101, 74, 0.25);
  --border-hairline: 1px solid rgba(44, 40, 37, 0.08);

  /* === SHADOWS (Warm) === */
  --shadow-sm: 0 1px 2px rgba(44, 40, 37, 0.04);
  --shadow-md: 0 4px 12px rgba(44, 40, 37, 0.06);
  --shadow-lg: 0 8px 30px rgba(44, 40, 37, 0.08);
  --shadow-glow: 0 0 60px rgba(196, 101, 74, 0.08);

  /* === SPACING - Breathing Rhythm === */
  --breath-minimal: clamp(3rem, 8vh, 6rem);
  --breath-standard: clamp(5rem, 12vh, 10rem);
  --breath-dramatic: clamp(8rem, 20vh, 16rem);

  --section-padding-y: clamp(6rem, 15vh, 12rem);
  --section-padding-x: clamp(1.5rem, 5vw, 4rem);

  /* === LAYOUT === */
  --container-max: 1400px;
  --content-max: 900px;
  --prose-max: 65ch;
  --margin-left: clamp(2rem, 8vw, 8rem);
  --margin-right: clamp(1.5rem, 4vw, 4rem);

  /* === TRANSITIONS === */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-slower: 800ms cubic-bezier(0.4, 0, 0.2, 1);

  /* === BLUR === */
  --blur-sm: 8px;
  --blur-md: 16px;
  --blur-lg: 32px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--text-base-line-height);
  color: var(--color-text-secondary);
  background: var(--color-bg-primary);
  overflow-x: hidden;
}

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

::selection {
  background: rgba(196, 101, 74, 0.15);
  color: var(--color-text-primary);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Typography Classes
   ============================================ */

.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Display Typography */
.text-hero {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: var(--text-hero-weight);
  line-height: var(--text-hero-line-height);
  letter-spacing: var(--text-hero-letter-spacing);
  color: var(--color-text-primary);
}

.text-display-1 {
  font-family: var(--font-display);
  font-size: var(--text-display-1);
  font-weight: 400;
  line-height: var(--text-display-1-line-height);
  letter-spacing: var(--text-display-1-letter-spacing);
  color: var(--color-text-primary);
}

.text-display-2 {
  font-family: var(--font-display);
  font-size: var(--text-display-2);
  font-weight: 400;
  line-height: var(--text-display-2-line-height);
  letter-spacing: var(--text-display-2-letter-spacing);
  color: var(--color-text-primary);
}

.text-display-3 {
  font-family: var(--font-display);
  font-size: var(--text-display-3);
  font-weight: 500;
  line-height: var(--text-display-3-line-height);
  letter-spacing: var(--text-display-3-letter-spacing);
  color: var(--color-text-primary);
}

/* Body Typography */
.text-lg {
  font-size: var(--text-lg);
  line-height: var(--text-lg-line-height);
}

.text-sm {
  font-size: var(--text-sm);
  line-height: var(--text-sm-line-height);
}

.text-xs {
  font-size: var(--text-xs);
  line-height: var(--text-xs-line-height);
}

/* Special Typography */
.text-overline {
  font-family: var(--font-body);
  font-size: var(--text-overline);
  font-weight: 500;
  letter-spacing: var(--text-overline-letter-spacing);
  text-transform: uppercase;
  color: var(--color-accent-primary);
}

.text-stat {
  font-family: var(--font-display);
  font-size: var(--text-stat);
  font-weight: 300;
  line-height: var(--text-stat-line-height);
  letter-spacing: var(--text-stat-letter-spacing);
  color: var(--color-text-primary);
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-sage {
  background: var(--gradient-sage);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Italic emphasis for "poetic" feel */
.text-emphasis {
  font-style: italic;
  font-weight: 400;
}

/* Mono for technical content */
.text-mono {
  font-family: var(--font-mono);
  font-size: 0.875em;
  letter-spacing: 0.02em;
}

/* ============================================
   Layout Components
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--margin-left);
  padding-right: var(--margin-right);
}

.container-narrow {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
}

section {
  position: relative;
  z-index: 1;
}

/* Section spacing with breathing rhythm */
.section-breath {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.section-breath-lg {
  padding-top: var(--breath-dramatic);
  padding-bottom: var(--breath-dramatic);
}

/* Hairline dividers */
.hairline {
  height: 1px;
  background: var(--color-bg-muted);
  margin: var(--breath-standard) 0;
}

.hairline-accent {
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent-primary), transparent);
  width: 120px;
}

/* ============================================
   Background Animation (Simplified)
   ============================================ */

.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gradient-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: orbFloat 30s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent-wash) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-unexpected-wash) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -10s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent-soft) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  opacity: 0.08;
  animation-delay: -20s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.02); }
  66% { transform: translate(-20px, 30px) scale(0.98); }
}

/* Particles and DNA helix containers */
.dna-helix, .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
}

/* Hidden utilities */
.hidden-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-base);
}

.nav.scrolled {
  background: rgba(253, 252, 251, 0.92);
  backdrop-filter: blur(var(--blur-md)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(1.2);
  border-bottom: var(--border-subtle);
  padding: 1rem 0;
}

.nav.nav-hidden {
  transform: translateY(-100%);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-fast);
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.logo-accent {
  font-weight: 500;
  font-style: italic;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: 500;
  color: var(--color-text-tertiary);
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-primary);
  transition: var(--transition-base);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

/* Nav CTA */
.nav-cta {
  background: var(--gradient-primary);
  color: white !important;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  transition: var(--transition-base);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1002;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: var(--transition-base);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-primary);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-text-primary);
  transition: var(--transition-fast);
  padding: 0.5rem 1rem;
}

.mobile-menu a:hover {
  color: var(--color-accent-primary);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu-cta {
  font-family: var(--font-body);
  font-size: 1rem !important;
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  background: var(--color-accent-primary);
  color: var(--color-bg-primary) !important;
  border-radius: 6px;
  transition: var(--transition-base);
}

.mobile-menu-cta:hover {
  background: var(--color-accent-dark);
  color: var(--color-bg-primary) !important;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: calc(var(--breath-standard) + 5rem) var(--section-padding-x) var(--breath-standard);
  overflow: visible;
}

.hero-content {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  padding-left: calc(var(--margin-left) - var(--section-padding-x));
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

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

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

.hero-badge span:last-child {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

/* Hero Title */
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: var(--text-hero-weight);
  line-height: var(--text-hero-line-height);
  letter-spacing: var(--text-hero-letter-spacing);
  color: var(--color-text-primary);
  margin-bottom: 2rem;
  max-width: 14ch;
}

.title-line {
  display: block;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.title-line.gradient-text {
  font-style: italic;
  font-weight: 400;
}

/* Hero Description */
.hero-description {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--text-lg-line-height);
  color: var(--color-text-secondary);
  max-width: 48ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: var(--breath-standard);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  padding-top: 2rem;
  border-top: var(--border-hairline);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  color: var(--color-text-primary);
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-top: 0.4rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-bg-muted);
  align-self: center;
}

/* Hero Visual - DNA breaks right edge */
.hero-visual {
  position: absolute;
  right: -10vw;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 85%;
  pointer-events: none;
}

.dna-visualization {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
  border-radius: 20px 0 0 20px;
}

.dna-visualization canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Subtle edge fade */
.dna-visualization::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(90deg, var(--color-bg-primary), transparent);
  z-index: 1;
  pointer-events: none;
}

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

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: 500;
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: var(--border-visible);
}

.btn-secondary:hover {
  background: var(--color-bg-secondary);
  border-color: var(--color-accent-primary);
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

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

.btn-large {
  padding: 1.1rem 2.25rem;
  font-size: 1rem;
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
  margin-bottom: var(--breath-standard);
}

.section-header.centered {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-overline);
  font-weight: 500;
  letter-spacing: var(--text-overline-letter-spacing);
  text-transform: uppercase;
  color: var(--color-accent-primary);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-display-1);
  font-weight: 400;
  line-height: var(--text-display-1-line-height);
  letter-spacing: var(--text-display-1-letter-spacing);
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.section-description {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--text-base-line-height);
  color: var(--color-text-secondary);
  max-width: var(--prose-max);
}

.section-header.centered .section-description {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Features Section (Editorial Layout)
   ============================================ */

.features {
  background: var(--gradient-warm);
  padding: var(--section-padding-y) 0;
}

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

/* Editorial Feature Layout */
.features-editorial {
  display: flex;
  flex-direction: column;
  gap: var(--breath-standard);
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Alternating layout */
.feature-item:nth-child(even) {
  direction: rtl;
}

.feature-item:nth-child(even) > * {
  direction: ltr;
}

/* Feature Number */
.feature-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--color-accent-primary);
  opacity: 0.15;
  min-width: 100px;
}

/* Feature Content */
.feature-content {
  max-width: 600px;
}

.feature-content h3 {
  font-family: var(--font-body);
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.feature-content p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}

.feature-metric {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent-primary);
  padding: 0.5rem 0;
  border-top: var(--border-hairline);
  display: inline-block;
}

/* Legacy card support (fallback) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-bg-primary);
  border: var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-display-3);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
  background: var(--color-bg-secondary);
  padding: var(--section-padding-y) 0;
}

/* Product Sections */
.product-section {
  margin-bottom: var(--breath-standard);
}

.product-section.foundation-model {
  margin-top: var(--breath-standard);
  padding-top: var(--breath-standard);
  border-top: var(--border-hairline);
}

.product-header {
  max-width: 700px;
  margin-bottom: 3rem;
}

.product-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  background: var(--color-bg-tertiary);
  border-radius: 4px;
  color: var(--color-text-tertiary);
  margin-bottom: 1.25rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: var(--text-display-2);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.product-description {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 60ch;
}

/* Process Flow */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  background: var(--color-bg-primary);
  border-radius: 12px;
  border: var(--border-subtle);
  transition: var(--transition-base);
}

.process-step:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--color-accent-primary);
  opacity: 0.4;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-display-3);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.step-content p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* Hide step visual for cleaner look */
.step-visual {
  display: none;
}

/* Process connectors simplified */
.process-connector {
  display: flex;
  justify-content: flex-start;
  padding-left: 40px;
  height: 40px;
}

.process-connector svg {
  width: 2px;
  height: 100%;
}

/* Foundation Features */
.foundation-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-bg-muted);
  border-radius: 12px;
  overflow: hidden;
}

.foundation-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
  background: var(--color-bg-primary);
  transition: var(--transition-base);
}

.foundation-feature:hover {
  background: var(--color-bg-secondary);
}

.foundation-feature svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent-primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.foundation-feature h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.foundation-feature p {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

/* ============================================
   Conditions Section
   ============================================ */

.conditions {
  background: var(--color-bg-primary);
  padding: var(--section-padding-y) 0;
}

.conditions .section-header {
  max-width: 600px;
  margin-left: auto;
  text-align: right;
  padding-right: var(--margin-right);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: var(--breath-standard);
}

.condition-category {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.condition-category.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: var(--border-hairline);
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.category-icon.aneuploidies {
  background: var(--color-accent-wash);
}

.category-icon.microdeletions {
  background: var(--color-unexpected-wash);
}

.category-icon.monogenic {
  background: rgba(196, 101, 74, 0.06);
}

.category-icon svg {
  width: 20px;
  height: 20px;
}

.category-icon.aneuploidies svg { stroke: var(--color-accent-primary); }
.category-icon.microdeletions svg { stroke: var(--color-unexpected); }
.category-icon.monogenic svg { stroke: var(--color-accent-light); }

.category-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-display-3);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.25rem;
}

.condition-count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  letter-spacing: 0.02em;
}

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

.condition-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-bottom: var(--border-subtle);
}

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

.condition-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--color-bg-tertiary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--color-accent-primary);
  min-width: 50px;
  text-align: center;
}

.more-conditions {
  color: var(--color-text-muted) !important;
  font-style: italic;
  justify-content: center !important;
  padding-top: 1rem !important;
}

.conditions-cta {
  margin-top: var(--breath-standard);
  text-align: center;
}

.conditions-cta p {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  max-width: 60ch;
  margin: 0 auto;
}

/* ============================================
   Evidence/Metrics Section
   ============================================ */

.metrics {
  background: var(--color-bg-secondary);
  padding: var(--section-padding-y) 0;
}

.metrics .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--breath-standard);
}

/* Comparison Table */
.comparison-table {
  max-width: 800px;
  margin: 0 auto var(--breath-standard);
  background: var(--color-bg-primary);
  border: var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  background: var(--color-bg-tertiary);
  border-bottom: var(--border-subtle);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: var(--border-subtle);
}

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

.comparison-col {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
}

.comparison-col.header {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.comparison-col.header.highlight {
  background: var(--color-accent-wash);
  color: var(--color-accent-dark);
}

.comparison-col.label {
  color: var(--color-text-secondary);
}

.comparison-col.value {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--color-text-tertiary);
}

.comparison-col.value.highlight {
  background: rgba(196, 101, 74, 0.04);
  color: var(--color-accent-primary);
}

/* Metrics Showcase */
.metrics-showcase {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto var(--breath-standard);
}

.metrics-visual {
  display: flex;
  justify-content: center;
}

.accuracy-ring {
  position: relative;
  width: 220px;
  height: 220px;
}

.accuracy-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  stroke: var(--color-bg-muted);
}

.ring-progress {
  stroke: var(--color-accent-primary);
  stroke-linecap: round;
  transition: stroke-dashoffset 2s ease-out;
}

.accuracy-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.accuracy-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-text-primary);
}

.accuracy-percent {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-text-primary);
}

.accuracy-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-top: 0.5rem;
}

/* Metric Details */
.metrics-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metric-item {
  background: var(--color-bg-primary);
  border: var(--border-subtle);
  border-radius: 10px;
  padding: 1.25rem;
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.metric-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.metric-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.metric-badge.excellent {
  background: var(--color-accent-wash);
  color: var(--color-accent-primary);
}

.metric-badge.good {
  background: var(--color-unexpected-wash);
  color: var(--color-unexpected);
}

.metric-bar {
  height: 4px;
  background: var(--color-bg-muted);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  width: 0;
  transition: width 1.5s ease;
}

.metric-values {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

/* Validation Methods */
.validation-methods {
  text-align: center;
}

.validation-methods h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.method-card {
  padding: 1.25rem;
  background: var(--color-bg-primary);
  border: var(--border-subtle);
  border-radius: 8px;
  text-align: center;
  transition: var(--transition-base);
}

.method-card:hover {
  border-color: var(--color-accent-light);
}

.method-icon {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-accent-primary);
  margin-bottom: 0.35rem;
}

.method-name {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

/* ============================================
   Tech Specs Section
   ============================================ */

.tech-specs {
  background: var(--color-bg-primary);
  padding: var(--section-padding-y) 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-bg-muted);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: var(--breath-standard);
}

.spec-card {
  background: var(--color-bg-primary);
}

.spec-header {
  background: var(--color-bg-tertiary);
  padding: 1.25rem 1.5rem;
  border-bottom: var(--border-subtle);
}

.spec-header h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.spec-content {
  padding: 1.5rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: var(--border-subtle);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

.spec-value {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-primary);
}

/* Impact Showcase */
.impact-showcase {
  background: var(--color-bg-secondary);
  border-radius: 16px;
  padding: 3rem;
}

.impact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.impact-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-display-3);
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.impact-header p {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.impact-card {
  text-align: center;
}

.impact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.impact-stat {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 0.25rem;
}

.impact-label {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  line-height: 1.4;
}

/* ============================================
   Get Started Section
   ============================================ */

.get-started {
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-accent-wash) 100%);
  padding: var(--breath-dramatic) 0;
}

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

.get-started .section-header {
  margin-bottom: 3rem;
}

/* CTA Cards */
.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cta-card {
  background: var(--color-bg-primary);
  border: var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-base);
}

.cta-card:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cta-card.featured {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-sm);
}

.cta-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.cta-icon svg {
  width: 26px;
  height: 26px;
  stroke: white;
}

.cta-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.cta-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cta-card .btn {
  width: 100%;
}

/* Main CTA */
.get-started-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-bg-primary);
  border-top: var(--border-hairline);
  padding-top: 4rem;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
}

.footer-column a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  padding: 0.4rem 0;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: var(--border-hairline);
}

.copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
}

.footer-badges .badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.3rem 0.6rem;
  background: var(--color-bg-tertiary);
  border-radius: 4px;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 100px;
}

/* ============================================
   Responsive Design - Mobile Excellence
   ============================================ */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
  :root {
    --margin-left: clamp(1.5rem, 5vw, 3rem);
    --margin-right: clamp(1.5rem, 5vw, 3rem);
    --section-padding-y: clamp(5rem, 12vh, 8rem);
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    padding-left: 0;
  }

  .metrics-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .conditions-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .conditions .section-header {
    text-align: left;
    margin-left: 0;
    padding-right: 0;
  }

  .foundation-features {
    grid-template-columns: 1fr;
  }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
  :root {
    /* Refined mobile typography */
    --text-hero: clamp(2.5rem, 10vw, 4rem);
    --text-display-1: clamp(2rem, 7vw, 3rem);
    --text-display-2: clamp(1.5rem, 5vw, 2.25rem);
    --text-display-3: clamp(1.25rem, 4vw, 1.75rem);
    --text-lg: 1.125rem;
    --text-base-line-height: 1.75;
    --section-padding-y: clamp(4rem, 10vh, 6rem);
    --breath-standard: clamp(3rem, 8vh, 5rem);
  }

  /* Navigation */
  .nav {
    padding: 1rem 0;
  }

  .nav.scrolled {
    padding: 0.75rem 0;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .logo-text {
    font-size: 1.125rem;
  }

  /* Hero Section - Centered and beautiful on mobile */
  .hero {
    min-height: auto;
    padding: calc(5rem + 60px) var(--section-padding-x) var(--breath-standard);
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-badge {
    justify-content: center;
    margin-bottom: 2rem;
  }

  .hero-title {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
  }

  .title-line {
    display: block;
  }

  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    font-size: var(--text-base);
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 2.5rem;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
  }

  .stat {
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    border-bottom: var(--border-hairline);
  }

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

  .stat-divider {
    display: none;
  }

  .stat-value {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .stat-suffix {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  /* Section Headers */
  .section-header {
    text-align: center;
    margin-bottom: var(--breath-standard);
  }

  .section-header.centered {
    max-width: 100%;
  }

  .section-title {
    font-size: var(--text-display-1);
  }

  .section-description {
    max-width: 100%;
  }

  /* Editorial Features - Elegant mobile stack */
  .features-editorial {
    gap: 2.5rem;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
    padding: 1.5rem;
    background: var(--color-bg-primary);
    border-radius: 12px;
    border: var(--border-subtle);
  }

  .feature-item:nth-child(even) {
    direction: ltr;
  }

  .feature-number {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.2;
  }

  .feature-content {
    max-width: 100%;
  }

  .feature-content h3 {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .feature-content p {
    font-size: var(--text-sm);
    line-height: 1.65;
  }

  .feature-metric {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
  }

  /* Process Steps */
  .process-step {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .step-number {
    font-size: 2rem;
  }

  .step-content h3 {
    font-size: 1.125rem;
  }

  /* Product Sections */
  .product-header {
    text-align: center;
    margin-bottom: 2rem;
  }

  .product-title {
    font-size: var(--text-display-2);
  }

  .product-description {
    max-width: 100%;
  }

  /* Foundation Features */
  .foundation-features {
    gap: 1px;
    border-radius: 12px;
  }

  .foundation-feature {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .foundation-feature svg {
    margin: 0 auto;
  }

  /* Conditions */
  .condition-category {
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border-radius: 12px;
  }

  .category-header {
    text-align: center;
  }

  .category-icon {
    margin: 0 auto 0.75rem;
  }

  .condition-list li {
    padding: 0.75rem 0;
    font-size: var(--text-sm);
  }

  .condition-code {
    font-size: 0.7rem;
    min-width: 45px;
  }

  /* Metrics / Evidence */
  .metrics-showcase {
    gap: 2.5rem;
  }

  .metrics-visual {
    order: -1;
  }

  .accuracy-ring {
    width: 180px;
    height: 180px;
  }

  .accuracy-number {
    font-size: 3rem;
  }

  .accuracy-percent {
    font-size: 1.25rem;
  }

  .metrics-details {
    gap: 0.75rem;
  }

  .metric-item {
    padding: 1rem;
  }

  /* Comparison Table - Card style on mobile */
  .comparison-table {
    border-radius: 12px;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-col {
    padding: 0.875rem 1rem;
  }

  .comparison-col.header {
    display: none;
  }

  .comparison-col.header.highlight {
    display: flex;
  }

  .comparison-row {
    display: flex;
    flex-direction: column;
    border-bottom: var(--border-visible);
    padding: 0.5rem 0;
  }

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

  .comparison-col.label {
    background: transparent;
    font-weight: 600;
    color: var(--color-text-primary);
    padding-bottom: 0.25rem;
  }

  .comparison-col.value {
    padding-top: 0.25rem;
  }

  .comparison-col.value.highlight {
    background: transparent;
    font-weight: 600;
  }

  /* Validation Methods */
  .validation-methods h3 {
    font-size: 1rem;
  }

  .methods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .method-card {
    padding: 1rem;
  }

  .method-icon {
    font-size: 1.5rem;
  }

  .method-name {
    font-size: 0.7rem;
  }

  /* Tech Specs */
  .specs-grid {
    border-radius: 12px;
  }

  .spec-header {
    padding: 1rem 1.25rem;
  }

  .spec-header h3 {
    font-size: 1rem;
  }

  .spec-content {
    padding: 1rem 1.25rem;
  }

  .spec-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.6rem 0;
  }

  /* Impact Grid */
  .impact-showcase {
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }

  .impact-header h3 {
    font-size: 1.25rem;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .impact-icon {
    width: 40px;
    height: 40px;
  }

  .impact-icon svg {
    width: 20px;
    height: 20px;
  }

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

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

  /* CTA Cards */
  .cta-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-card {
    padding: 1.5rem;
  }

  .cta-icon {
    width: 44px;
    height: 44px;
  }

  .cta-card h3 {
    font-size: 1.125rem;
  }

  .get-started-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .get-started-cta .btn {
    width: 100%;
  }

  /* Footer */
  .footer {
    padding-top: 3rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-tagline {
    max-width: 100%;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
    text-align: left;
  }

  .footer-column h4 {
    margin-bottom: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.25rem 0;
  }

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

  /* Buttons - Larger touch targets */
  .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
  }

  .btn-large {
    padding: 1.1rem 2rem;
  }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
  :root {
    --text-hero: clamp(2rem, 11vw, 3rem);
    --text-display-1: clamp(1.75rem, 8vw, 2.5rem);
    --section-padding-x: 1.25rem;
    --section-padding-y: clamp(3rem, 8vh, 5rem);
  }

  .hero {
    padding-top: calc(4rem + 50px);
  }

  .hero-badge span:last-child {
    font-size: 0.65rem;
  }

  .hero-title {
    line-height: 1;
  }

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

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

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

  .feature-item {
    padding: 1.25rem;
  }

  .feature-number {
    font-size: 2rem;
  }

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

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .impact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .impact-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .impact-stat {
    margin-bottom: 0;
  }

  /* Conditions - Horizontal scroll hint on smallest screens */
  .condition-list li {
    font-size: 0.8rem;
  }

  .condition-code {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    min-width: 40px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Larger tap targets */
  .nav-links a {
    padding: 0.5rem;
  }

  .btn {
    min-height: 48px;
  }

  /* Remove hover-only effects */
  .feature-card:hover,
  .process-step:hover,
  .method-card:hover,
  .cta-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  /* Visible focus states */
  .btn:focus-visible,
  a:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 2px;
  }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: calc(4rem + 50px);
    padding-bottom: 3rem;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .stat {
    border-bottom: none;
    width: auto;
    padding: 0.5rem 1.5rem;
  }

  .stat:not(:last-child) {
    border-right: var(--border-hairline);
  }
}

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

  .reveal,
  .fade-in,
  .feature-item {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
  .bg-animation,
  .hero-visual,
  .nav,
  .grain-overlay {
    display: none !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  section {
    page-break-inside: avoid;
  }
}
