@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  color-scheme: light;
  
  /* Fonts */
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors - Light Theme */
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-soft: #f1f5f9;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #475569;
  
  --brand-primary: #0d9488;
  --brand-primary-dark: #0f766e;
  --brand-primary-light: #2dd4bf;
  --brand-secondary: #06b6d4;
  --brand-accent: #ea580c;
  --brand-accent-soft: #ffedd5;
  --brand-accent-dark: #c2410c;
  --white: #ffffff;
  
  /* Gradients */
  --grad-hero: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  --grad-brand: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  --grad-accent: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --grad-glow: radial-gradient(circle at 50% 50%, rgba(13, 148, 136, 0.15) 0%, transparent 60%);

  /* Visual Accents */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 20px rgba(13, 148, 136, 0.2);
  --shadow-glow-accent: 0 0 20px rgba(234, 88, 12, 0.2);
  
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --max: 1200px;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(226, 232, 240, 0.7);
  --glass-blur: 16px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  
  /* Colors - Dark Theme */
  --bg-base: #0b0f19;
  --bg-surface: #111827;
  --bg-surface-soft: #1f2937;
  --border-color: #374151;
  --border-hover: #4b5563;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  
  --brand-primary: #14b8a6;
  --brand-primary-dark: #0f766e;
  --brand-primary-light: #2dd4bf;
  --brand-secondary: #06b6d4;
  --brand-accent: #f97316;
  --brand-accent-soft: #431407;
  --brand-accent-dark: #ea580c;
  
  /* Gradients */
  --grad-hero: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  --grad-glow: radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.25) 0%, transparent 60%);

  /* Visual Accents */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(20, 184, 166, 0.3);
  --shadow-glow-accent: 0 0 25px rgba(249, 115, 22, 0.3);
  
  /* Glassmorphism */
  --glass-bg: rgba(17, 24, 39, 0.8);
  --glass-border: rgba(55, 65, 81, 0.7);
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

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

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-main);
  line-height: 1.625;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--brand-primary);
}

/* Focus outline styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--brand-primary-light);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--text-main);
  color: var(--bg-base);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  top: 16px;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-normal), border var(--transition-normal);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-main);
  min-width: max-content;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--grad-brand);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-glow);
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--bg-surface-soft);
  color: var(--text-main);
}

/* Navbar CTA button */
.nav-links .nav-cta {
  background: var(--grad-brand);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.nav-links .nav-cta:hover {
  background: var(--brand-primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--bg-surface-soft);
  border-color: var(--border-hover);
  color: var(--brand-primary);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--bg-surface-soft);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: clamp(550px, 85vh, 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--bg-base);
  padding: 60px 0;
}

/* Ambient glow backgrounds */
.hero-glow {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 60%;
  height: 80%;
  background: var(--grad-glow);
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
  animation: pulseGlow 8s infinite ease-in-out;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
  z-index: 0;
  pointer-events: none;
}

html[data-theme="dark"] .hero-bg {
  opacity: 0.08;
  mix-blend-mode: luminosity;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-base) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-content {
  position: relative;
  width: 100%;
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 3;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-1deg); }
}

.hero-visual .lab-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  width: 95%;
  max-width: 380px;
  transition: all var(--transition-normal);
}

.hero-visual .lab-card.c1 {
  align-self: flex-start;
  animation: float 6s infinite ease-in-out;
  border-left: 4px solid var(--brand-primary);
}

.hero-visual .lab-card.c2 {
  align-self: flex-end;
  animation: float-reverse 7s infinite ease-in-out;
  margin-top: -30px;
  border-left: 4px solid var(--brand-accent);
}

.hero-visual .visual-mockup {
  width: 90%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 12px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  align-self: center;
  margin-top: -20px;
  margin-bottom: -10px;
  z-index: 4;
  animation: float 8s infinite ease-in-out 1s;
  transition: all var(--transition-normal);
}

.hero-visual .visual-mockup img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
}

.hero-visual .visual-mockup:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 148, 136, 0.4);
  border-color: var(--brand-primary-light);
}

.lab-card h4 {
  margin: 0 0 12px;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lab-card h4 svg {
  width: 16px;
  height: 16px;
}

.lab-card .stat-val {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.lab-card .stat-change {
  font-size: 0.85rem;
  color: #10b981;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.lab-card .tool-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.lab-card .tool-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.lab-card .tool-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.lab-card .tool-status {
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 700;
}

.lab-card .tool-status.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

html[data-theme="dark"] .lab-card .tool-status.active {
  background: rgba(20, 184, 166, 0.15);
  color: var(--brand-primary);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  font-size: 0.8rem;
  font-family: var(--font-headings);
}

.hero .eyebrow {
  color: var(--brand-primary);
  background: var(--bg-surface-soft);
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
  font-weight: 700;
  letter-spacing: 1px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.5px;
}

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

.hero-copy {
  margin: 24px 0 0;
  max-width: 680px;
  color: var(--text-muted);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 36px;
}

/* Button Component */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.button:hover svg {
  transform: translateX(2px);
}

.button.primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(13, 148, 136, 0.35);
}

.button.secondary {
  color: var(--text-main);
  border-color: var(--border-color);
  background: var(--bg-surface);
}

.button.secondary:hover {
  background: var(--bg-surface-soft);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.micro-note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Trust Band */
.trust-band {
  width: min(var(--max), calc(100% - 32px));
  margin: -50px auto 0;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.trust-item {
  min-height: 80px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 12px 24px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.trust-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary-light);
  box-shadow: var(--shadow-md);
}

.trust-item svg {
  color: var(--brand-primary);
  width: 22px;
  height: 22px;
}

/* Layout Sections */
.section {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  padding: 100px 0;
}

.page-main {
  min-height: 60vh;
}

.page-main.narrow {
  width: min(900px, calc(100% - 32px));
  margin-inline: auto;
}

.page-main.narrow .page-hero,
.page-main.narrow .section,
.page-main.narrow .prose,
.page-main.narrow .contact-panel {
  width: 100%;
}

.page-hero {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  padding: 100px 0 60px;
  animation: fadeIn 0.6s ease forwards;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  max-width: 950px;
}

.page-hero p:last-child {
  max-width: 780px;
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-top: 16px;
}

.section.compact {
  padding-top: 20px;
  padding-bottom: 80px;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 64px;
  align-items: center;
}

.section-split p,
.section-heading p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin-top: 14px;
}

.surface {
  width: 100%;
  max-width: none;
  background: var(--bg-surface-soft);
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  margin-bottom: 48px;
  position: relative;
}

/* Feature List */
.feature-list {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 28px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-fast);
}

.feature-row:hover {
  background: rgba(13, 148, 136, 0.02);
}

.feature-row:last-child {
  border-bottom: 0;
}

.feature-row svg {
  color: var(--brand-primary);
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.feature-row strong {
  display: block;
  font-size: 1.1rem;
  font-family: var(--font-headings);
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-row span {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.timeline article {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.timeline article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.timeline article:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary-light);
  box-shadow: var(--shadow-lg);
}

.timeline article:hover::before {
  opacity: 1;
}

.timeline span,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--brand-accent-soft);
  color: var(--brand-accent-dark);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag {
  background: rgba(13, 148, 136, 0.1);
  color: var(--brand-primary);
}

.timeline h3 {
  margin-top: 18px;
  font-size: 1.35rem;
}

.timeline p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 12px;
}

/* Cards grids */
.card-grid,
.deal-grid,
.compare-grid,
.steps-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card,
.deal-card,
.compare-card,
.review-card,
.template-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.content-card:hover,
.deal-card:hover,
.compare-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary-light);
  box-shadow: var(--shadow-lg);
}

.content-card h3,
.deal-card h2,
.compare-card h3,
.review-card h2 {
  margin-top: 18px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.content-card p,
.deal-card p,
.compare-card p,
.review-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 14px 0 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-primary);
  font-weight: 700;
  font-family: var(--font-headings);
  font-size: 0.95rem;
  margin-top: auto;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* Lead Magnet */
.lead-magnet {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.signup-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.signup-form::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: var(--grad-brand);
  z-index: -1;
  opacity: 0.15;
}

.signup-form label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

input, select, textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
  outline: none;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.form-row input {
  flex: 1 1 240px;
  margin-bottom: 0;
}

.form-row .button {
  flex: 0 0 auto;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Tool Comparison Tables */
.tool-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}

.tool-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

.tool-table th,
.tool-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: middle;
}

.tool-table th {
  background: var(--bg-surface-soft);
  font-family: var(--font-headings);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
  color: var(--text-muted);
}

.tool-table tr:last-child td {
  border-bottom: 0;
}

.tool-table tbody tr:hover {
  background: rgba(13, 148, 136, 0.015);
}

.table-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--brand-primary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--bg-surface);
  min-width: max-content;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.table-button:hover {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-glow);
}

/* Review layout elements */
.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.rating {
  font-family: var(--font-headings);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--brand-primary);
  background: rgba(13, 148, 136, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius);
}

.check-list,
.plain-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  margin: 14px 0;
  font-size: 1.05rem;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  margin-top: 3px;
}

.review-verdict,
.verdict-box {
  border-radius: var(--radius-lg);
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-color);
  padding: 28px;
  margin: 32px 0;
}

.template-panel ol {
  margin: 16px 0 0;
  padding-left: 24px;
}

.template-panel li {
  margin: 10px 0;
  font-size: 1.025rem;
}

.comparison-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

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

.plain-list {
  color: var(--text-muted);
}

.plain-list li {
  margin: 10px 0;
  position: relative;
  padding-left: 20px;
}

.plain-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: bold;
}

.verdict-box {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}

.verdict-box svg {
  width: 24px;
  height: 24px;
  color: var(--brand-accent);
}

.verdict-box p {
  margin: 0;
}

.article-preview {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.article-lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Steps Grid */
.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
}

.steps-grid div {
  border-top: 4px solid var(--brand-primary);
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.steps-grid div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.steps-grid span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text-main);
  color: var(--bg-base);
  font-family: var(--font-headings);
  font-weight: 900;
  margin-bottom: 16px;
}

.idea-list {
  columns: 3 260px;
  column-gap: 24px;
}

.idea-list span {
  display: block;
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.idea-list span:hover {
  border-color: var(--brand-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Deals */
.deal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deal-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.deal-card .button {
  margin-top: auto;
  width: 100%;
}

.deal-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  margin: auto 0 20px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.deal-meta strong {
  color: var(--brand-primary);
}

/* Checklists grid */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.checklist-grid div {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.checklist-grid div:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.checklist-grid svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  margin-top: 2px;
}

/* Prose layout */
.prose {
  padding-bottom: 80px;
  font-size: 1.1rem;
}

.prose h2 {
  font-size: 1.85rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Contact Panels */
.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 80px;
}

.contact-panel > div {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

/* Site Footer */
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  border-top: 1px solid var(--border-color);
  padding: 80px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.site-footer > div {
  max-width: 420px;
}

.site-footer p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 0.98rem;
}

.footer-brand {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--brand-primary);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid.three, .deal-grid, .checklist-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero {
    min-height: auto;
    height: auto;
    padding: 120px 0 80px;
    overflow: visible;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 20px;
  }

  .hero-visual {
    align-items: center;
    width: 100%;
  }

  .hero-visual .lab-card {
    align-self: center !important;
    margin-top: 0 !important;
    width: 100%;
    max-width: 420px;
  }

  .hero-visual .visual-mockup {
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
  }
  
  .nav-links.is-open {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
  }
  
  .nav-toggle {
    display: inline-flex;
  }
  
  .section-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .lead-magnet {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
  }
  
  .review-layout {
    grid-template-columns: 1fr;
  }
  
  .compare-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .timeline, .card-grid.three, .deal-grid, .checklist-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .button {
    width: 100%;
  }
  .form-row {
    flex-direction: column;
  }
  .form-row input, .form-row .button {
    width: 100%;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Article Specific Styles
   ========================================================================== */
.article-main {
  width: 100%;
  padding: 80px 0;
  background: var(--bg-base);
}

.article-body {
  width: min(800px, calc(100% - 32px));
  margin: 0 auto;
}

.article-header {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 36px;
}

.byline {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-headings);
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 20px;
}

.article-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 24px;
}

.disclosure-note {
  background: var(--bg-surface-soft);
  border-left: 4px solid var(--brand-accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.toc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.toc-box h2 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.toc-box a {
  display: block;
  font-size: 0.98rem;
  color: var(--brand-primary);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-soft);
  width: fit-content;
  transition: all var(--transition-fast);
}

.toc-box a:hover {
  background: var(--brand-primary);
  color: var(--white);
  transform: translateX(4px);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.criteria-grid > div {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.criteria-grid strong {
  display: block;
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--brand-primary);
}

.criteria-grid span {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: block;
}

.offer-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 24px 0 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.offer-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-brand);
}

.offer-box > div {
  flex: 1 1 300px;
}

.offer-box h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.offer-box p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.offer-box .button {
  flex: 0 0 auto;
}

.ranked-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 36px 0;
}

.ranked-list article {
  display: flex;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  align-items: flex-start;
}

.ranked-list article:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary-light);
  box-shadow: var(--shadow-lg);
}

.ranked-list article > span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--white);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.1rem;
  flex: 0 0 auto;
  box-shadow: var(--shadow-glow);
}

.ranked-list article > div {
  flex: 1 1 auto;
}

.ranked-list h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.ranked-list p {
  color: var(--text-muted);
  margin: 0 0 16px;
  font-size: 0.98rem;
}

.ranked-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand-primary);
  font-family: var(--font-headings);
  font-size: 0.95rem;
}

.ranked-list a:hover {
  color: var(--brand-primary-dark);
}

.ranked-list a::after {
  content: ' →';
  transition: transform var(--transition-fast);
}

.ranked-list a:hover::after {
  transform: translateX(4px);
}

.callout-panel {
  background: var(--grad-hero);
  border: 1px solid var(--brand-primary-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 48px 0;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.callout-panel h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.callout-panel p {
  max-width: 600px;
  margin: 0 auto 24px;
  color: var(--text-muted);
}

.article-body h2 {
  font-size: clamp(1.4rem, 3.2vw, 2.05rem);
  margin-top: 48px;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

