/* ==========================================================================
   VERITTY.ORG — Production Stylesheet
   Modern, Accessible, High-Performance US Insurance Design System
   ========================================================================== */

:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Color Palette */
  --color-primary: #0284c7;        /* Sky 600 - Trust Blue */
  --color-primary-dark: #0369a1;   /* Sky 700 */
  --color-primary-darker: #0c4a6e; /* Sky 900 */
  --color-primary-light: #e0f2fe;  /* Sky 100 */
  --color-secondary: #0d9488;      /* Teal 600 */
  --color-secondary-dark: #0f766e; /* Teal 700 */
  --color-secondary-light: #ccfbf1;/* Teal 100 */
  
  --color-navy: #0f172a;           /* Slate 900 - High Contrast Body/Headers */
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-300: #cbd5e1;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --color-white: #ffffff;
  
  --color-success: #15803d;
  --color-success-bg: #dcfce7;
  --color-warning: #b45309;
  --color-warning-bg: #fef3c7;
  --color-danger: #b91c1c;
  --color-danger-bg: #fee2e2;

  /* Typography */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1200px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-slate-800);
  background-color: var(--color-white);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw + 0.5rem, 2.35rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.25rem, 1.65rem); }
h4 { font-size: 1.2rem; }

p {
  line-height: 1.65;
  color: var(--color-slate-700);
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

button, input, select, textarea {
  font: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-16);
}

.section-sm {
  padding-block: var(--space-10);
}

.section-bg-alt {
  background-color: var(--color-slate-50);
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-200);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background-color: var(--color-primary-light);
  color: var(--color-primary-darker);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.section-badge.secondary {
  background-color: var(--color-secondary-light);
  color: var(--color-secondary-dark);
}

.section-title {
  margin-bottom: var(--space-3);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-slate-600);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.6rem;
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  min-height: 48px;
  min-width: 48px;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-slate-100);
  color: var(--color-slate-800);
  border-color: var(--color-slate-200);
}

.btn-secondary:hover {
  background-color: var(--color-slate-200);
  color: var(--color-navy);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-slate-300);
  color: var(--color-slate-800);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  min-height: 40px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-200);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--space-4);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.03em;
}

.site-logo svg {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  color: var(--color-slate-700);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-1);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  color: var(--color-slate-700);
  min-height: 48px;
  min-width: 48px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-slate-200);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.mobile-nav-drawer a {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-slate-800);
  display: block;
  padding-block: var(--space-2);
}

.mobile-nav-drawer a.active {
  color: var(--color-primary);
}

/* Hero Carousel */
.hero-slider {
  position: relative;
  background: linear-gradient(135deg, #0b192c 0%, #1e293b 100%);
  color: var(--color-white);
  overflow: hidden;
  min-height: 580px;
}

.slider-track {
  position: relative;
  min-height: 580px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease, visibility 600ms ease;
  display: flex;
  align-items: center;
  padding-block: var(--space-12);
}

.slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-12);
}

.hero-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background-color: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.4);
  color: #38bdf8;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(2.2rem, 4vw + 0.8rem, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}

.hero-text {
  color: var(--color-slate-300);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-slate-300);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.trust-item svg {
  color: #38bdf8;
  width: 18px;
  height: 18px;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration-box,
.hero-photo-box {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  position: relative;
}

.hero-illustration-box {
  padding: var(--space-6);
  max-width: 480px;
}

.hero-photo-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.hero-photo-box:hover .hero-photo-img {
  transform: scale(1.02);
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  bottom: var(--space-6);
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  z-index: 10;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.slider-indicators {
  display: flex;
  gap: var(--space-2);
}

.indicator {
  width: 32px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.indicator.active {
  background-color: var(--color-primary);
  width: 48px;
}

.slider-pause-btn {
  background: none;
  border: none;
  color: var(--color-slate-400);
  font-size: var(--text-xs);
  cursor: pointer;
  padding: var(--space-1) var(--space-2);
}

.slider-pause-btn:hover {
  color: var(--color-white);
}

/* Homepage Product Focus Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-8);
}

.product-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--color-slate-300);
  transform: translateY(-4px);
}

/* Spotlight Card for Homeowners (Phase 3 emphasis) */
.product-card.spotlight {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-8);
  align-items: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border: 2px solid #bae6fd;
}

.product-card.card-third {
  grid-column: span 4;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.product-icon svg {
  width: 28px;
  height: 28px;
}

.product-badge {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  letter-spacing: 0.04em;
}

.product-badge.primary-focus {
  background-color: #dbeafe;
  color: #1e40af;
}

.product-badge.popular {
  background-color: #ccfbf1;
  color: #0f766e;
}

.product-badge.investment {
  background-color: #fef3c7;
  color: #92400e;
}

.product-badge.auto-secondary {
  background-color: #f1f5f9;
  color: #475569;
}

.product-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.product-desc {
  color: var(--color-slate-600);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.product-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  border-top: 1px solid var(--color-slate-100);
  padding-top: var(--space-4);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-slate-700);
}

.feature-item svg {
  color: var(--color-secondary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-slate-200);
}

/* Pricing Reference Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.pricing-card.featured {
  border: 2px solid var(--color-primary);
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  position: relative;
}

.pricing-card.featured::before {
  content: "Primary Home Focus";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.15rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pricing-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.pricing-audience {
  font-size: var(--text-xs);
  color: var(--color-slate-500);
  min-height: 36px;
  margin-bottom: var(--space-4);
}

.pricing-figure-box {
  margin-block: var(--space-4);
  padding-block: var(--space-4);
  border-block: 1px solid var(--color-slate-200);
  text-align: center;
}

.price-val {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-navy);
}

.price-period {
  font-size: var(--text-sm);
  color: var(--color-slate-500);
  font-weight: 500;
}

.price-status-badge {
  display: inline-block;
  background-color: var(--color-slate-100);
  color: var(--color-slate-700);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
}

.pricing-coverage-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.pricing-coverage-items li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-slate-600);
}

.pricing-coverage-items svg {
  color: var(--color-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Disclaimer Callout Box */
.disclaimer-box {
  background-color: var(--color-slate-100);
  border-left: 4px solid var(--color-slate-400);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-slate-700);
  line-height: 1.6;
}

.disclaimer-box.warning {
  background-color: var(--color-warning-bg);
  border-left-color: var(--color-warning);
  color: #78350f;
}

/* Feature Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  margin-block: var(--space-8);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-slate-200);
}

.comparison-table th {
  background-color: var(--color-slate-50);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-navy);
}

.comparison-table th.highlight-col {
  background-color: #f0f9ff;
  color: var(--color-primary-darker);
}

.comparison-table td {
  font-size: var(--text-sm);
  color: var(--color-slate-700);
}

.comparison-table tbody tr:hover {
  background-color: var(--color-slate-50);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-tag.std {
  background-color: #dcfce7;
  color: #166534;
}

.status-tag.opt {
  background-color: #fef3c7;
  color: #92400e;
}

.status-tag.dep {
  background-color: #f1f5f9;
  color: #475569;
}

.status-tag.na {
  color: #94a3b8;
}

/* How It Works Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -16px;
  left: var(--space-8);
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--text-sm);
}

.step-title {
  font-size: var(--text-xl);
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--color-slate-600);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-slate-300);
}

.faq-summary {
  padding: var(--space-5) var(--space-6);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-slate-400);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-content {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-slate-600);
  font-size: var(--text-base);
  line-height: 1.65;
  border-top: 1px solid var(--color-slate-100);
  padding-top: var(--space-4);
}

/* Contact & Quote Assistance Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info-card {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
}

.contact-info-card h3 {
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.contact-info-card p {
  color: var(--color-slate-300);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.contact-detail-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: var(--text-xs);
  color: var(--color-slate-400);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-detail-value {
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: 500;
}

.contact-detail-value a {
  color: #38bdf8;
}

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-slate-800);
}

.form-label .req {
  color: var(--color-danger);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  color: var(--color-slate-800);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-block: var(--space-4);
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.checkbox-label {
  font-size: var(--text-xs);
  color: var(--color-slate-600);
  line-height: 1.5;
}

.form-alert {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  display: none;
}

.form-alert.success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid #86efac;
}

.form-alert.error {
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid #fca5a5;
}

/* Legal Pages Styling */
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-12);
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  background-color: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.legal-nav-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-slate-400);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.legal-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.legal-nav-links a {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-slate-700);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}

.legal-nav-links a:hover,
.legal-nav-links a.active {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.legal-content {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-12));
}

.legal-content h1 {
  margin-bottom: var(--space-2);
}

.legal-meta {
  font-size: var(--text-sm);
  color: var(--color-slate-500);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-slate-200);
  margin-bottom: var(--space-8);
}

.legal-content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-slate-100);
}

.legal-content h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
  color: var(--color-slate-700);
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: var(--space-2);
}

/* Callout Box for Legal Review Flag */
.legal-review-flag {
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: var(--space-4);
  margin-block: var(--space-6);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: #92400e;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: var(--color-navy);
  color: var(--color-slate-400);
  font-size: var(--text-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding-block: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
}

.footer-brand p {
  color: var(--color-slate-400);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  margin-bottom: var(--space-5);
  max-width: 280px;
}

.footer-brand .site-logo {
  color: var(--color-white);
}

.footer-contact-block {
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--color-slate-300);
}

.footer-column h4 {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-column a {
  color: var(--color-slate-400);
  transition: color var(--transition-fast);
}

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

.footer-disclaimer-band {
  background-color: #09101d;
  padding-block: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-slate-400);
}

.footer-bottom {
  padding-block: var(--space-6);
  background-color: #060b14;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

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

.footer-bottom-links {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  list-style: none;
}

.footer-bottom-links a {
  color: var(--color-slate-400);
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-slate-300);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
  padding: var(--space-4) var(--space-6);
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  max-width: var(--container-max);
  margin-inline: auto;
}

.cookie-text {
  font-size: var(--text-sm);
  color: var(--color-slate-700);
}

.cookie-actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  padding-block: var(--space-4);
  background-color: var(--color-slate-50);
  border-bottom: 1px solid var(--color-slate-200);
  font-size: var(--text-xs);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: var(--space-2);
  color: var(--color-slate-400);
}

.breadcrumbs a {
  color: var(--color-slate-600);
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-slate-900);
  font-weight: 600;
}

/* Insurance Page Highlights */
.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-block: var(--space-8);
}

.feature-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.feature-box h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-navy);
}

.feature-box p {
  font-size: var(--text-sm);
  color: var(--color-slate-600);
}

/* ==========================================================================
   Responsive Breakpoints
   Tested widths: 320px, 375px, 390px, 768px, 1024px, 1440px+
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .hero-media {
    order: -1;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: span 3;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }

  .product-card.card-third {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .product-card.spotlight {
    grid-template-columns: 1fr;
  }

  .product-card.card-third {
    grid-column: span 12;
  }

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

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

  .feature-card-grid {
    grid-template-columns: 1fr;
  }

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

  .form-group-row {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-slider, .slider-track {
    min-height: auto;
  }

  .slide {
    position: relative;
    padding-bottom: var(--space-16);
  }
}

@media (max-width: 480px) {
  :root {
    --space-6: 1rem;
    --space-8: 1.25rem;
    --space-12: 2rem;
    --space-16: 2.5rem;
  }

  .btn {
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .product-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
