/* ============================================================
   ai42labs Design System v1.0
   Based on AI42LABS_BRAND_GUIDE_CONSOLIDATED v2.0 (2026-02-08)
   49 validated assets, WCAG 2.1 AA compliant
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --ai42-blue: #1145FB;
  --ai42-blue-hover: #0043D1;
  --ai42-blue-active: #0035A3;
  --ai42-blue-light: rgba(17, 69, 251, 0.08);
  --ai42-blue-border: rgba(17, 69, 251, 0.2);
  --ai42-black: #000000;
  --ai42-white: #FFFFFF;

  /* Slate Neutrals */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  /* Semantic Colors */
  --success: #22C55E;
  --success-light: #F0FDF4;
  --warning: #F59E0B;
  --warning-light: #FFFBEB;
  --error: #EF4444;
  --error-light: #FEF2F2;
  --info: #1145FB;
  --info-light: rgba(17, 69, 251, 0.06);

  /* Product Accent Colors */
  --p1-accent: #1145FB;     /* Pure brand — flagship */
  --p2-accent: #1E40AF;     /* Deep blue — intelligence */
  --p2-signal-red: #EF4444;
  --p2-signal-green: #22C55E;
  --p2-signal-amber: #F59E0B;
  --p3-accent: #059669;     /* Emerald — growth/SEO */
  --p3-accent-hover: #047857;
  --p4-accent: #7C3AED;     /* Violet — relationships */
  --p4-accent-hover: #6D28D9;
  --p5-accent: #0F172A;     /* Slate 900 — privacy/security */
  --p5-accent-secondary: #1E293B;
  --p6-accent: #1145FB;     /* Pure brand — brand service */

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

  /* Layout */
  --max-width: 1280px;
  --nav-height: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate-600);
  background: var(--ai42-white);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--ai42-black);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 3rem; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: var(--space-md); color: var(--slate-600); }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }
.text-mono { font-family: var(--font-mono); }
.text-muted { color: var(--slate-500); }
.text-brand { color: var(--ai42-blue); }
.text-center { text-align: center; }

a {
  color: var(--ai42-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--ai42-blue-hover); }
a:focus-visible {
  outline: 2px solid var(--ai42-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  padding: var(--space-4xl) 0;
  background: var(--slate-50);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--ai42-white);
  border-bottom: 1px solid var(--slate-200);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ai42-black);
  text-decoration: none;
}
.nav-logo .labs { color: var(--ai42-blue); }

.nav-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ai42-black); }

/* --- Sub-brand --- */
.sub-brand {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.25rem;
}
.sub-brand .ai42 { color: var(--ai42-black); }
.sub-brand .separator { color: var(--slate-400); margin: 0 2px; }
.sub-brand .product { color: var(--slate-600); font-weight: 500; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--ai42-blue);
  outline-offset: 2px;
}

.btn-sm { height: 32px; padding: 0 12px; font-size: 0.8125rem; }
.btn-md { height: 40px; padding: 0 20px; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 1rem; }
.btn-xl { height: 56px; padding: 0 36px; font-size: 1.0625rem; }

.btn-primary {
  background: var(--ai42-blue);
  color: var(--ai42-white);
}
.btn-primary:hover { background: var(--ai42-blue-hover); color: var(--ai42-white); }
.btn-primary:active { background: var(--ai42-blue-active); }

.btn-secondary {
  background: transparent;
  color: var(--ai42-blue);
  border: 1.5px solid var(--ai42-blue);
}
.btn-secondary:hover { background: var(--ai42-blue-light); color: var(--ai42-blue); }

.btn-ghost {
  background: transparent;
  color: var(--slate-600);
  border: 1.5px solid var(--slate-200);
}
.btn-ghost:hover { background: var(--slate-50); border-color: var(--slate-300); color: var(--slate-700); }

.btn-dark {
  background: var(--ai42-black);
  color: var(--ai42-white);
}
.btn-dark:hover { background: var(--slate-800); color: var(--ai42-white); }

.btn-success {
  background: var(--success);
  color: var(--ai42-white);
}

/* Product-specific CTA buttons */
.btn-p2 { background: var(--p2-accent); color: var(--ai42-white); }
.btn-p2:hover { background: #1a3a9e; color: var(--ai42-white); }
.btn-p3 { background: var(--p3-accent); color: var(--ai42-white); }
.btn-p3:hover { background: var(--p3-accent-hover); color: var(--ai42-white); }
.btn-p4 { background: var(--p4-accent); color: var(--ai42-white); }
.btn-p4:hover { background: var(--p4-accent-hover); color: var(--ai42-white); }
.btn-p5 { background: var(--p5-accent); color: var(--ai42-white); }
.btn-p5:hover { background: var(--p5-accent-secondary); color: var(--ai42-white); }

/* --- Cards --- */
.card {
  background: var(--ai42-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  transition: all 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.card-elevated {
  background: var(--ai42-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}
.card-elevated:hover { box-shadow: var(--shadow-lg); }

.card-featured {
  background: var(--ai42-white);
  border: 2px solid var(--ai42-blue);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.pricing-card {
  background: var(--ai42-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border: 2px solid var(--ai42-blue);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
  z-index: 1;
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-2px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ai42-blue);
  color: var(--ai42-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ai42-black);
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ai42-black);
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.pricing-price .currency {
  font-size: 1.25rem;
  font-weight: 600;
  vertical-align: super;
}
.pricing-price .period {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate-500);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: var(--space-lg);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-xl);
}
.pricing-features li {
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--slate-600);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.pricing-features li::before {
  content: "\2713";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Status Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-live {
  background: var(--success-light);
  color: #15803D;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.badge-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

.badge-launching {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid rgba(17, 69, 251, 0.2);
}

.badge-coming-soon {
  background: var(--warning-light);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-ideation {
  background: var(--slate-100);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}

.badge-new {
  background: var(--ai42-blue);
  color: var(--ai42-white);
}

/* Signal badges (P2) */
.signal-red { background: var(--error-light); color: #B91C1C; border: 1px solid rgba(239, 68, 68, 0.3); }
.signal-green { background: var(--success-light); color: #15803D; border: 1px solid rgba(34, 197, 94, 0.3); }
.signal-amber { background: var(--warning-light); color: #B45309; border: 1px solid rgba(245, 158, 11, 0.3); }
.signal-neutral { background: var(--slate-100); color: var(--slate-600); border: 1px solid var(--slate-200); }

/* --- Hero Section --- */
.hero {
  padding: var(--space-4xl) 0 var(--space-3xl);
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--slate-500);
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.hero-dark {
  background: var(--ai42-black);
  color: var(--ai42-white);
  padding: var(--space-4xl) 0 var(--space-3xl);
  text-align: center;
}
.hero-dark h1 { color: var(--ai42-white); }
.hero-dark .subtitle { color: var(--slate-400); }

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--slate-200);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.tab:hover { color: var(--ai42-black); }
.tab.active {
  color: var(--ai42-blue);
  border-bottom-color: var(--ai42-blue);
  font-weight: 600;
}

.tab-content { display: none; padding: var(--space-xl) 0; }
.tab-content.active { display: block; }

/* --- Waiting List Form --- */
.waitlist-form {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
}

.waitlist-form h3 {
  margin-bottom: var(--space-sm);
}

.waitlist-form p {
  color: var(--slate-500);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.waitlist-input-group {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-input-group input[type="email"] {
  flex: 1;
  height: 44px;
  padding: 0 var(--space-md);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--ai42-white);
  color: var(--slate-700);
  transition: border-color 0.15s;
}
.waitlist-input-group input[type="email"]:focus {
  outline: none;
  border-color: var(--ai42-blue);
  box-shadow: 0 0 0 3px var(--ai42-blue-light);
}
.waitlist-input-group input[type="email"]::placeholder { color: var(--slate-400); }

.discount-tag {
  display: inline-block;
  background: var(--warning-light);
  color: #92400E;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-top: var(--space-sm);
}

/* --- Solution Card (for P1 portfolio) --- */
.solution-card {
  background: var(--ai42-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: all 0.2s ease;
}
.solution-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.solution-card .solution-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.solution-card .solution-name {
  font-weight: 600;
  color: var(--ai42-black);
  font-size: 1rem;
}

.solution-card .solution-price {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ai42-black);
  font-size: 1.125rem;
}

.solution-card .solution-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin: 0;
}

/* --- Feature Grid --- */
.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--ai42-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.feature-text p {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin: 0;
}

/* --- Testimonial / Trust --- */
.trust-section {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.trust-logos {
  display: flex;
  gap: var(--space-2xl);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0.5;
}

.metric-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.metric-card {
  text-align: center;
  padding: var(--space-lg);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ai42-blue);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* --- Cross-sell Footer --- */
.cross-sell {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  padding: var(--space-3xl) 0;
}

.cross-sell h3 {
  text-align: center;
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.cross-sell .cross-sell-subtitle {
  text-align: center;
  color: var(--slate-500);
  font-size: 0.875rem;
  margin-bottom: var(--space-xl);
}

.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 960px;
  margin: 0 auto;
}

.cross-sell-card {
  background: var(--ai42-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.cross-sell-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
  transform: translateY(-1px);
}

.cross-sell-card .cs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cross-sell-card .cs-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ai42-black);
}

.cross-sell-card .cs-tagline {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0;
}

.cross-sell-card .cs-price {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-700);
}

/* --- Footer --- */
.footer {
  background: var(--ai42-black);
  color: var(--slate-400);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .nav-logo { font-size: 1.5rem; }
.footer-brand .nav-logo .labs { color: var(--ai42-blue); }
.footer-brand p {
  color: var(--slate-400);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
  max-width: 320px;
}

.footer-col h5 {
  color: var(--ai42-white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--space-sm); }
.footer-col ul a {
  color: var(--slate-400);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--ai42-white); }

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: scale(1); }
  .metric-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .cross-sell-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero .subtitle { font-size: 1.0625rem; }
  .section, .section-alt { padding: var(--space-3xl) 0; }
  .grid-2, .grid-3, .grid-6 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .metric-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .cross-sell-grid { grid-template-columns: 1fr; }
  .waitlist-input-group { flex-direction: column; }
  .tabs { gap: 0; }
  .tab { padding: var(--space-sm) var(--space-md); font-size: 0.8125rem; }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 1.75rem; }
  .hero { padding: var(--space-3xl) 0 var(--space-2xl); }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-xl { width: 100%; }
}

/* --- Print --- */
@media print {
  .nav, .cross-sell, .footer { display: none; }
  body { font-size: 11pt; }
  .hero { padding: 24pt 0; }
  .section { padding: 16pt 0; }
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .card, .pricing-card, .solution-card { border-width: 2px; }
  .badge { border-width: 2px; }
}
