/* Provyx Website Styles - Light Theme */

/* ============================================
   CSS Variables (Brand Guidelines)
   ============================================ */
:root {
  /* Brand Colors */
  --color-navy: #1B2A4A;
  --color-navy-light: #2A3D66;
  --color-navy-dark: #0F1B33;
  --color-teal: #0EA5E9;
  --color-teal-dark: #0284C7;
  --color-teal-light: #38BDF8;
  --color-link: #0369A1; /* M108: body links on light backgrounds, 5.93:1 on white (teal #0EA5E9 is 2.77:1) */

  /* Light Theme Colors */
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-bg-card-hover: #F1F5F9;

  /* Text Colors */
  --color-text-primary: #1B2A4A;
  --color-text-secondary: #64748B;
  --color-text-muted: #94A3B8;

  /* Border Colors */
  --color-border: #E2E8F0;
  --color-border-light: #CBD5E1;

  /* Semantic */
  --color-white: #ffffff;
  --color-gray-100: #F1F5F9;
  --color-gray-300: #CBD5E1;
  --color-gray-500: #64748B;
  --color-gray-700: #334155;
  --color-gray-900: #0F172A;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --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.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

/* ============================================
   Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-primary);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--alt {
  background-color: var(--color-bg-secondary);
}

.section--dark {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section--gray {
  background-color: var(--color-bg-secondary);
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.header__logo-icon {
  height: 32px;
  width: 32px;
  flex-shrink: 0;
}

.header__logo-text {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.header__logo-text:hover {
  color: var(--color-navy);
}

.nav {
  display: none;
}

.nav--desktop {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-teal);
}

.header__cta {
  display: none;
}

/* Mobile menu button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle__icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  position: relative;
  transition: background-color var(--transition-fast);
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  transition: transform var(--transition-base);
}

.menu-toggle__icon::before {
  top: -7px;
}

.menu-toggle__icon::after {
  bottom: -7px;
}

/* Mobile menu open state */
.menu-toggle.active .menu-toggle__icon {
  background-color: transparent;
}

.menu-toggle.active .menu-toggle__icon::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .menu-toggle__icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile navigation */
.nav--mobile {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  opacity: 1;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.nav--mobile.active {
  transform: translateX(0);
  display: flex;
}

.nav--mobile .nav__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.nav--mobile .nav__list li {
  display: block;
  width: 100%;
}

.nav--mobile .nav__link {
  font-size: 1.25rem;
  color: var(--color-text-primary);
  padding: 0.5rem 0;
  display: block;
}

.nav--mobile .btn {
  width: 100%;
  margin-top: 2rem;
  font-size: 1.125rem;
  padding: 1rem 1.5rem;
}

/* Navigation Dropdown */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.nav__dropdown-toggle:hover {
  color: var(--color-teal);
}

.nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav__item--dropdown:hover .nav__dropdown-toggle svg,
.nav__item--dropdown.active .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  margin-top: 0.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 200;
}

.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown.active .nav__dropdown {
  opacity: 1;
  visibility: visible;
}

.nav__dropdown-item {
  display: block;
  padding: 0.625rem 1rem;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.nav__dropdown-item:hover {
  color: var(--color-teal);
  background-color: var(--color-bg-secondary);
}

/* Mobile dropdown styles */
.nav--mobile .nav__item--dropdown {
  width: 100%;
}

.nav--mobile .nav__dropdown-toggle {
  font-size: 1.25rem;
  color: var(--color-text-primary);
  padding: 0.5rem 0;
  width: 100%;
  justify-content: space-between;
}

.nav--mobile .nav__dropdown-toggle svg {
  width: 16px;
  height: 16px;
}

.nav--mobile .nav__dropdown {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.nav--mobile .nav__item--dropdown.active .nav__dropdown {
  max-height: 400px;
}

.nav--mobile .nav__dropdown-item {
  padding: 0.75rem 0 0.75rem 1rem;
  font-size: 1rem;
  border-left: 2px solid var(--color-border);
  margin-left: 0.5rem;
}

.nav--mobile .nav__dropdown-item:hover {
  background-color: transparent;
  border-left-color: var(--color-teal);
}

/* Desktop styles */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav--desktop {
    display: block;
  }

  .nav--mobile {
    display: none;
  }

  .header__cta {
    display: block;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn--primary {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-teal-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

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

.btn--secondary:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-navy);
}

.btn--white:hover {
  background-color: var(--color-gray-100);
  color: var(--color-navy);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding-top: 8rem;
  padding-bottom: var(--space-4xl);
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 60%, var(--color-bg-secondary) 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(14, 165, 233, 0.04) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 60%, rgba(27, 42, 74, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__eyebrow,
.section__eyebrow,
.cta-section__eyebrow {
  margin: 0 0 var(--space-sm);
  color: var(--color-teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__title {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-md);
}

@media (min-width: 640px) {
  .hero__subtitle {
    font-size: 1.125rem;
    padding: 0;
  }
}

.hero__subtitle-line {
  display: block;
}

@media (min-width: 640px) {
  .hero__subtitle-line {
    white-space: nowrap;
  }
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.hero__risk-reversal {
  margin: var(--space-md) 0 0;
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero__proof {
  max-width: 590px;
  margin: var(--space-xl) auto 0;
  padding-left: var(--space-md);
  border-left: 3px solid rgba(14, 165, 233, 0.45);
  text-align: left;
}

.hero__proof p {
  margin: 0 0 var(--space-xs);
  color: var(--color-text-primary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.hero__proof cite {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-style: normal;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3.5rem;
  }

  .hero__buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.375rem;
  }
}

/* ============================================
   Problem Section
   ============================================ */
.problems {
  text-align: center;
  background-color: var(--color-bg-secondary);
}

.problems__header {
  margin-bottom: var(--space-3xl);
}

.problems__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .problems__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  padding: var(--space-xl);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: all var(--transition-base);
}

.problem-card:hover {
  border-color: #ef4444;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.problem-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(239, 68, 68, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  color: #ef4444;
}

.problem-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.problem-card__text {
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.problems__solution {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-top: var(--space-xl);
}

@media (min-width: 640px) {
  .problems__solution {
    font-size: 2.5rem;
  }
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
  text-align: center;
  background-color: var(--color-bg-primary);
}

.how-it-works__header {
  margin-bottom: var(--space-3xl);
}

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

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

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

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-teal);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.step__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.step__text {
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* ============================================
   Services Section
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: block;
  padding: var(--space-xl);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  text-decoration: none;
}

.service-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-teal);
}

.service-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.service-card__text {
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.service-card__subtitle {
  font-size: 0.875rem;
  color: var(--color-teal);
  margin: 0.25rem 0 0.5rem 0;
  font-weight: 500;
}

/* ============================================
   Who It's For / Not For
   ============================================ */
.section--fit {
  background-color: var(--color-bg-primary);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fit-card {
  padding: var(--space-xl);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.fit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.fit-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-teal);
}

.fit-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.fit-card__text {
  color: var(--color-text-secondary);
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.fit-not {
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-border);
}

.fit-not__text {
  color: var(--color-text-secondary);
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.fit-not__text strong {
  color: var(--color-text-primary);
}

/* ============================================
   Social Proof / Use Cases Section
   ============================================ */
.social-proof {
  text-align: center;
  background-color: var(--color-bg-primary);
}

.personas {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .personas {
    grid-template-columns: repeat(3, 1fr);
  }
}

.persona {
  padding: var(--space-xl);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.persona__role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.persona__quote {
  font-size: 1.125rem;
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.founder-note {
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  padding: var(--space-xl);
  background-color: var(--color-bg-secondary);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-md);
  text-align: left;
}

.founder-note__text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

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

/* Testimonial styling */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial {
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.03) 100%);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-md);
}

.testimonial__quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-md) 0;
  line-height: 1.6;
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-teal);
  font-style: normal;
}

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

@media (min-width: 640px) {
  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.metric__value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: var(--space-xs);
}

.metric__label {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

/* ============================================
   CTA Section (Navy background)
   ============================================ */
.cta-section {
  text-align: center;
  background-color: var(--color-navy);
  color: var(--color-white);
  scroll-margin-top: 5rem;
}

.cta-section__header {
  margin-bottom: var(--space-3xl);
}

.cta-section__title {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 680px;
  margin: 0 auto;
}

.cta-section__eyebrow {
  color: #7DD3FC;
}

.cta-section__proof {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  margin-top: var(--space-lg);
  text-align: center;
}

/* CTA form overrides for navy bg */
.cta-section .form__label {
  color: var(--color-white);
}

.cta-section .form__input,
.cta-section .form__select,
.cta-section .form__textarea {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.cta-section .form__input::placeholder,
.cta-section .form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cta-section .form__input:focus,
.cta-section .form__select:focus,
.cta-section .form__textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
}

/* ============================================
   Forms
   ============================================ */
.form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-muted);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__select option {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form__submit {
  width: 100%;
  margin-top: var(--space-md);
}

.form__proof {
  font-size: 0.8125rem;
  color: var(--color-text-muted, #94a3b8);
  text-align: center;
  margin-top: var(--space-sm);
}

.form__privacy {
  margin: var(--space-sm) 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.homepage-proof {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.cta-repeat p {
  max-width: 640px;
  margin: var(--space-sm) auto var(--space-xl);
  color: var(--color-text-secondary);
}

/* ============================================
   Footer (Navy background)
   ============================================ */
.footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  /* Visual audit 2026-10-28: seven fixed columns overflowed the page by 23px between 1024 and 1199px. */
  .footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .footer__grid {
    grid-template-columns: 1.5fr repeat(6, minmax(0, 1fr));
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.footer__logo-icon {
  height: 32px;
  width: auto;
  flex-shrink: 0;
}

.footer__logo-text {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.footer__logo-text:hover {
  color: var(--color-white);
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

.footer__contact {
  margin-top: var(--space-md);
  font-size: 0.9375rem;
}

.questions-list a:not([class]),
.cta-section a:not([class]) {
  color: var(--color-teal-light);
}

.footer__contact a {
  color: var(--color-teal-light);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-teal-light);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer__social a:hover {
  color: var(--color-teal-light);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

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

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-2xl {
  margin-bottom: var(--space-2xl);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:hidden {
    display: none;
  }

  .md\:block {
    display: block;
  }
}

/* ============================================
   Page-Specific Styles
   ============================================ */

/* Interior page hero */
.page-hero {
  padding-top: 8rem;
  padding-bottom: var(--space-3xl);
  text-align: center;
  background-color: var(--color-bg-secondary);
}

.page-hero__title {
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.page-hero__subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero__date {
  font-size: 0.875rem;
  color: var(--color-text-muted, #94a3b8);
  margin-top: var(--space-sm);
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-teal);
}

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

.breadcrumb__current {
  color: var(--color-text-secondary);
}

/* Content sections */
.content {
  padding: var(--space-3xl) 0;
}

.content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.content h2:first-child {
  margin-top: 0;
}

.content ul,
.content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
  color: var(--color-text-secondary);
}

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

.content p {
  color: var(--color-text-secondary);
}

/* Form checkboxes */
.form__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  cursor: pointer;
  user-select: none;
}

.form__checkbox input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--color-teal);
  cursor: pointer;
}

/* Contact form styling */
.contact-form .form__label {
  color: var(--color-text-primary);
}

.contact-info h3 {
  color: var(--color-text-primary);
}

.contact-info p {
  color: var(--color-text-secondary);
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   Pricing Page Styles
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.page-hero--pricing .page-hero__title {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero--pricing .page-hero__subtitle {
  max-width: 760px;
}

.pricing-jump-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.pricing-jump-links a {
  padding: 0.625rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-text-primary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  transition: border-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.pricing-jump-links a:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  box-shadow: var(--shadow-sm);
}

#provider-data,
#physician-outreach,
#event-marketing {
  scroll-margin-top: 5rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.875rem 2rem;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

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

.pricing-card--featured {
  border-color: var(--color-teal);
  position: relative;
  box-shadow: 0 0 0 1px var(--color-teal), 0 12px 30px -14px rgba(14, 165, 233, 0.45);
}

.pricing-card--featured:hover {
  box-shadow: 0 0 0 1px var(--color-teal), 0 14px 34px -14px rgba(14, 165, 233, 0.5);
}

.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 0.3125rem 0.875rem;
  font-size: 0.625rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

/* The price is the loudest element in the card. */
.pricing-card__price {
  font-size: 3.375rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-teal);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0;
}

/* Non-numeric prices ("Custom") sit smaller so real figures lead. */
.pricing-card__price--text {
  font-size: 2.5rem;
  letter-spacing: -0.035em;
}

.pricing-card__period {
  color: var(--color-text-primary);
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0.875rem 0 0.25rem;
}

.pricing-card__rate {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin: 0 0 var(--space-lg);
}

.pricing-card__features {
  list-style: none;
  margin: var(--space-lg) 0 var(--space-lg);
  padding: 0;
  text-align: left;
}

.pricing-card__period + .pricing-card__features,
.pricing-card__rate + .pricing-card__features {
  margin-top: 0;
}

.pricing-card__features li {
  position: relative;
  padding: 0 0 0.6875rem 1.5rem;
  color: var(--color-text-secondary);
  font-size: 0.90625rem;
  line-height: 1.45;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.375rem;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--color-teal);
  border-bottom: 2px solid var(--color-teal);
  transform: rotate(-45deg);
}

.pricing-proof {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-xl);
}

/* margin-top:auto pins CTAs to a shared baseline regardless of list length. */
.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Stated order minimum, directly under the tier grid. */
.pricing-floor {
  margin-top: 1.625rem;
  text-align: center;
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.pricing-floor strong {
  color: var(--color-text-primary);
  font-weight: 700;
}

.pricing-testimonial {
  max-width: 860px;
  margin: 2rem auto 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-teal);
}

.pricing-testimonial blockquote {
  margin: 0;
  color: var(--color-text-primary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  transition: color var(--transition-base);
}

.pricing-testimonial__link {
  display: block;
  color: inherit;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.pricing-testimonial__link:hover blockquote {
  color: var(--color-teal);
}

.pricing-testimonial__link:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 6px;
}

.pricing-testimonial figcaption {
  margin-top: 0.75rem;
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.pricing-testimonial figcaption strong {
  color: var(--color-text-primary);
}

/* Premium managed-project anchor above the standard volume tiers. */
.pricing-managed {
  margin-top: 2.125rem;
  margin-bottom: 2rem;
  padding: 1.75rem 3rem;
  background-color: var(--color-navy);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 4rem;
  align-items: center;
  color: var(--color-white);
}

.pricing-managed h3 {
  margin: 0 0 0.5rem;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.pricing-managed__description {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #B6C2D4;
  max-width: 40rem;
}

.pricing-managed__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-managed__price {
  margin: 0;
  color: var(--color-teal);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.pricing-managed__period {
  margin: -0.4rem 0 0;
  color: #B6C2D4;
  font-size: 0.8125rem;
  line-height: 1.2;
}

.pricing-managed .btn {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .pricing-managed {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
  }

  .pricing-managed__price {
    font-size: 1.875rem;
  }
}

/* Pricing section header */
.pricing-section__header {
  margin-bottom: 2rem;
}

.pricing-section__header h2 {
  margin-bottom: 0.5rem;
}

.pricing-section__header p {
  color: var(--color-text-secondary);
  max-width: 640px;
}

/* Pricing callout boxes */
/* Neutral border: these sit below the pilot band and must not compete with it. */
.pricing-callout {
  margin-top: 1.25rem;
  padding: 1.375rem 1.625rem;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-border);
}

.pricing-callout + .pricing-callout {
  margin-top: 1.5rem;
}

.pricing-callout p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

.pricing-callout p + p {
  margin-top: 0.5rem;
}

.pricing-callout p:first-child:not(:last-child) {
  margin-bottom: 0.75rem;
}

.pricing-callout strong {
  color: var(--color-text-primary);
}

.bg-light .pricing-callout {
  background: #fff;
}

/* ============================================
   Feature Grid (Service Pages)
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: var(--space-xl);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.feature-card__title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.feature-card__text {
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* ============================================
   Benefits List
   ============================================ */
.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits-list li {
  padding: var(--space-md) 0;
  padding-left: var(--space-xl);
  position: relative;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

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

.benefits-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 700;
}

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

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.trust-bar__item svg {
  color: var(--color-teal);
  flex-shrink: 0;
}

/* ============================================
   Hero Card (Homepage visual)
   ============================================ */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .hero .hero__content {
    text-align: left;
    max-width: none;
  }
  .hero .hero__buttons {
    justify-content: flex-start;
  }
  .hero .hero__proof {
    margin-left: 0;
    margin-right: 0;
  }
}

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

.hero-card-wrapper {
  width: 100%;
  max-width: 380px;
}

.hero-card__eyebrow {
  margin: 0 0 var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.hero-card__verification {
  position: relative;
  width: 178px;
  height: 30px;
  margin: 0 0 var(--space-sm);
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.07);
  color: #0369A1;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-card__verification-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.hero-card__verification-state--running {
  animation: hcStatusOut 0.25s ease forwards;
  animation-delay: 3.25s;
}

.hero-card__verification-state--complete {
  opacity: 0;
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  animation: hcStatusIn 0.3s ease forwards;
  animation-delay: 3.35s;
}

.hero-card__verification-spinner {
  width: 11px;
  height: 11px;
  border: 2px solid rgba(14, 165, 233, 0.25);
  border-top-color: #0EA5E9;
  border-radius: 50%;
  animation: hcSpin 0.75s linear infinite;
}

.hero-card__verification-check {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.5625rem;
}

.hero-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(27, 42, 74, 0.08), 0 4px 12px rgba(27, 42, 74, 0.04);
  opacity: 0;
  transform: translateY(12px);
  animation: hcAppear 0.6s ease forwards;
  animation-delay: 0.2s;
}

.hero-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.hero-card__dot {
  width: 10px;
  height: 10px;
  background: #0EA5E9;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
  animation: hcDotPulse 2s ease infinite;
  animation-delay: 3.5s;
}

.hero-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1B2A4A;
}

.hero-card__address {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 0.15rem;
}

.hero-card__divider {
  height: 1px;
  background: #E2E8F0;
  margin: 0;
}

.hero-card__rows {
  padding: 0.5rem 0;
}

.hero-card__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.5rem;
  opacity: 0;
  transform: translateX(-8px);
  animation: hcSlide 0.45s ease forwards;
}

.hero-card__check {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  color: #0EA5E9;
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-card__label {
  font-size: 0.75rem;
  color: #64748B;
  min-width: 56px;
}

.hero-card__value {
  font-size: 0.8125rem;
  color: #1B2A4A;
  font-weight: 500;
}

.hero-card__footer {
  padding: 0.6rem 1.5rem;
  border-top: 1px solid #E2E8F0;
  font-size: 0.6875rem;
  color: #94A3B8;
  opacity: 0;
  animation: hcFade 0.4s ease forwards;
  animation-delay: 3.4s;
}

.hero-card--flagged {
  max-width: 340px;
  margin: 0.75rem auto 0;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  animation: hcFlagged 0.5s ease forwards;
  animation-delay: 3.8s;
  border-color: rgba(239, 68, 68, 0.3);
}

.hero-card--flagged .hero-card__header {
  padding: 0.75rem 1.25rem;
}

.hero-card__dot--flagged {
  background: #EF4444 !important;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.4) !important;
  animation: none !important;
}

.hero-card__name--flagged {
  text-decoration: line-through;
  color: #94A3B8 !important;
  font-size: 0.8125rem !important;
}

.hero-card__address--flagged {
  color: #EF4444;
  font-size: 0.6875rem;
}

@keyframes hcAppear {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hcSlide {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hcFade {
  to { opacity: 1; }
}

@keyframes hcFlagged {
  to { opacity: 0.7; transform: translateY(0) scale(0.97); }
}

@keyframes hcStatusOut {
  to { opacity: 0; transform: translateY(-4px); }
}

@keyframes hcStatusIn {
  to { opacity: 1; }
}

@keyframes hcSpin {
  to { transform: rotate(360deg); }
}

@keyframes hcDotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(14, 165, 233, 0.5); }
  50% { box-shadow: 0 0 16px rgba(14, 165, 233, 0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .hero-card__row,
  .hero-card__footer,
  .hero-card--flagged,
  .hero-card__verification-state--complete {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-card__verification-state--running {
    display: none;
  }

  .hero-card__verification-spinner,
  .hero-card__dot {
    animation: none;
  }
}

/* Restored homepage validation card and customer proof */
.hero-card-wrapper { max-width: 430px; }
.hero-card__dot { animation-delay: 4.4s; }

.hero-card__sources {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(82px, 1.55fr);
  align-items: center;
  gap: 0.2rem;
  padding: 0.75rem 0.7rem 0.65rem;
  border-top: 1px solid #F1F5F9;
}

.hero-card__source {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: #64748B;
  font-size: 0.5rem;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(3px);
  animation: hcSourceConfirm 0.35s ease forwards;
  animation-delay: var(--source-delay);
}

.hero-card__source:not(:nth-child(5))::after {
  content: "\2713";
  position: absolute;
  top: 8px;
  right: -4px;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  font-size: 0.45rem;
  font-weight: 800;
  line-height: 12px;
}

.hero-card__source-icon {
  display: flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border: 1px solid #CBD5E1;
  border-radius: 50%;
  background: #FFFFFF;
  color: #1B2A4A;
  box-shadow: 0 1px 3px rgba(27, 42, 74, 0.06);
}

.hero-card__source-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.hero-card__source-result {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.35rem 0.4rem;
  border-radius: 999px;
  background: #ECFDF5;
  color: #047857;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.05;
  opacity: 0;
  transform: scale(0.95);
  animation: hcSourceResult 0.4s ease forwards;
  animation-delay: 1.95s;
}

.hero-card__source-result svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: #10B981;
  stroke: #FFFFFF;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-card__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-card__validator {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  color: #0F766E;
  font-size: 0.5625rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  animation: hcFade 0.3s ease forwards;
}

.hero-card__validator--email { animation-delay: 3.45s; }
.hero-card__validator--phone { animation-delay: 3.7s; }

.hero-card__validator-mark {
  display: grid;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  place-items: center;
  border-radius: 50%;
  background: #0D9488;
  color: #FFFFFF;
  font-size: 0.48rem;
  font-weight: 800;
}

.hero-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  animation-delay: 3.95s;
}

.hero-card__operating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #475569;
  font-weight: 600;
}

.hero-card__operating-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.hero-card--flagged { animation-delay: 4.3s; }

.hero-trust {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1100px;
  margin: 1rem auto 0;
}

.hero-trust__brands { justify-self: start; text-align: left; }
.hero-trust__label {
  margin: 0 0 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-trust__logos { display: flex; align-items: center; gap: 1rem; }
.hero-trust__logo {
  display: block;
  flex-shrink: 0;
  background-color: var(--color-navy);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.hero-trust__logo-link { display: block; border-radius: var(--radius-sm); }
.hero-trust__logo-link:focus-visible { outline: 3px solid rgba(14, 165, 233, 0.35); outline-offset: 4px; }
.hero-trust__logo--engagedmd {
  width: 142px;
  height: 25px;
  -webkit-mask-image: url('/assets/logos/engagedmd-logo.svg');
  mask-image: url('/assets/logos/engagedmd-logo.svg');
}
.hero-trust__proof {
  display: block;
  width: 100%;
  max-width: 380px;
  justify-self: center;
  color: inherit;
  text-decoration: none;
  text-align: left;
}
.hero-trust__proof blockquote {
  margin: 0 0 0.25rem;
  color: var(--color-text-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}
.hero-trust__attribution { margin: 0; color: var(--color-text-secondary); font-size: 0.75rem; line-height: 1.45; }
.hero-trust__proof:hover blockquote { color: var(--color-teal-dark); }
.hero-trust__proof:focus-visible { outline: 3px solid rgba(14, 165, 233, 0.35); outline-offset: 6px; border-radius: var(--radius-sm); }

@keyframes hcSourceConfirm { to { opacity: 1; transform: translateY(0); } }
@keyframes hcSourceResult { to { opacity: 1; transform: scale(1); } }

@media (max-width: 1023px) and (min-width: 640px) {
  .hero-card__sources { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero-card__source-result { grid-column: 1 / -1; justify-self: center; min-width: 126px; margin-top: 0.2rem; }
  .hero-card__row { gap: 0.55rem; padding-right: 1rem; padding-left: 1rem; }
  .hero-card__label { min-width: 48px; }
  .hero-card__validator { font-size: 0; }
}

@media (max-width: 639px) {
  .hero .hero__visual { display: none; }
  .hero-trust { grid-template-columns: 1fr; gap: 0.5rem; margin-top: 1.5rem; padding: 0 var(--space-md); }
  .hero-trust__logos { justify-content: flex-start; }
  .hero-trust__proof blockquote { font-size: 0.9375rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card__source,
  .hero-card__source-result,
  .hero-card__validator { opacity: 1; transform: none; animation: none; }
}

/* ============================================
   Programmatic Landing Page Styles
   ============================================ */

/* Pain Stats - Hero Section */
.pain-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 3rem auto;
  text-align: center;
}

@media (max-width: 768px) {
  .pain-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .pain-stats {
    grid-template-columns: 1fr;
  }
}

.pain-stat {
  padding: 1.5rem;
}

.pain-stat__number {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .pain-stat__number {
    font-size: 4.5rem;
  }
}

.pain-stat__label {
  display: block;
  font-size: 1rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Solution Stats - Card Style */
.solution-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto;
  padding: 2.5rem;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}

@media (max-width: 768px) {
  .solution-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

.solution-stat__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .solution-stat__number {
    font-size: 2.75rem;
  }
}

.solution-stat__label {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
  }
}

/* Comparison Table - Red/Green Styling */
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 1rem 0;
  margin: 2rem 0;
  min-width: 500px;
}

.comparison-table thead th {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
}

.comparison-table thead th:first-child {
  background-color: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.comparison-table thead th:last-child {
  background-color: rgba(14, 165, 233, 0.08);
  color: var(--color-teal);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.comparison-table tbody td {
  padding: 0.875rem 1.5rem;
  vertical-align: top;
}

.comparison-table tbody td:first-child {
  background-color: rgba(239, 68, 68, 0.04);
  color: var(--color-text-secondary);
}

.comparison-table tbody td:last-child {
  background-color: rgba(14, 165, 233, 0.04);
  color: var(--color-text-primary);
}

.comparison-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius-md);
}

.comparison-table tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius-md) 0;
}

/* FAQ Section - Accordion */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

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

.faq-item__question {
  cursor: pointer;
  padding: var(--space-lg) 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

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

.faq-item__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-teal);
  flex-shrink: 0;
  margin-left: var(--space-md);
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-item__question::after {
  content: '\2212';
}

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

.faq-item__answer p {
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* Legacy flat FAQ fallback */
.faq-section h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.faq-section h3:first-child {
  margin-top: 0;
}

.faq-section p {
  color: var(--color-text-secondary);
}

/* CTA Group */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-group {
    flex-direction: row;
    justify-content: center;
  }
}

/* Text Utilities */
.text-muted {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Provider directory card grid */
.provider-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .provider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .provider-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.provider-card {
  display: block;
  padding: var(--space-xl);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
}

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

.provider-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.provider-card__count {
  font-size: 0.875rem;
  color: var(--color-teal);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.provider-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* Related links section */
.related-links {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-xl);
}

.related-links__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.related-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-links__list a {
  color: var(--color-link);
  font-size: 0.9375rem;
  font-weight: 500;
}

.related-links__list a:hover {
  color: var(--color-teal-dark);
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Data points list */
.data-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.data-points li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-xl);
  position: relative;
  color: var(--color-text-secondary);
}

.data-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--color-teal);
  border-radius: var(--radius-full);
}

/* Section header pattern */
.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

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

.section__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Content Sections (use case & hub pages)
   ============================================ */
.content-section {
  padding: var(--space-4xl) 0;
}

.content-section.bg-light {
  background-color: var(--color-bg-secondary);
}

.content-section p {
  max-width: 800px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.content-section h2 {
  margin-bottom: var(--space-xl);
}

/* Subtitle (use case hero, generic) */
.subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Outbound references / sources section */
.outbound-references {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  margin-top: var(--space-lg);
}

.outbound-references h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.outbound-references ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.outbound-references a {
  color: var(--color-teal);
  font-size: 0.875rem;
  font-weight: 500;
}

.outbound-references a:hover {
  color: var(--color-teal-dark);
}

/* ============================================
   Comparison & Alternative Page Components
   (CROReport visual style, adapted for light theme)
   ============================================ */

/* Badge pill (hero top) */
.comp-badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-teal);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

/* Verdict box ("The Short Version") */
.verdict-box {
  background: rgba(14, 165, 233, 0.04);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  text-align: left;
}

.verdict-box__icon {
  width: 44px;
  height: 44px;
  background: var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--color-white);
}

.verdict-box__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.verdict-box__text strong {
  color: var(--color-teal);
}

/* Stats grid (4 metric cards) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.stat-card__number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card__number--red { color: #dc2626; }
.stat-card__number--green { color: #16a34a; }
.stat-card__number--amber { color: #d97706; }
.stat-card__number--teal { color: var(--color-teal); }

.stat-card__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* Enhanced comparison table (navy header, color tags) */
.comparison-table--enhanced {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  font-size: 0.9rem;
}

.comparison-table--enhanced thead th {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.comparison-table--enhanced thead th:first-child {
  border-radius: var(--radius-md) 0 0 0;
}

.comparison-table--enhanced thead th:last-child {
  border-radius: 0 var(--radius-md) 0 0;
}

.comparison-table--enhanced tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  color: var(--color-text-secondary);
}

.comparison-table--enhanced tbody tr:nth-child(even) {
  background: var(--color-bg-secondary);
}

.comparison-table--enhanced .td-factor {
  font-weight: 600;
  color: var(--color-navy);
}

/* Color tags (inline in table cells) */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 4px;
  vertical-align: middle;
  white-space: nowrap;
}

.tag--red { background: rgba(220, 38, 38, 0.1); color: #dc2626; }
.tag--green { background: rgba(22, 163, 74, 0.1); color: #16a34a; }
.tag--amber { background: rgba(217, 119, 6, 0.12); color: #d97706; }
.tag--teal { background: rgba(14, 165, 233, 0.1); color: var(--color-teal); }

/* Company card (deep dive wrapper) */
.company-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.company-card--highlight {
  border: 2px solid var(--color-teal);
}

.company-card--warning {
  border: 2px solid #dc2626;
}

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

.company-card__logo {
  width: 52px;
  height: 52px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-card__logo img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.company-card__logo--text {
  font-weight: 700;
  font-size: 0.6rem;
  color: var(--color-navy);
  text-align: center;
  line-height: 1.2;
}

.company-card__info h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.company-card__meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Nested content styling within company cards */
.company-card h4 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  color: var(--color-navy);
}

.company-card p {
  max-width: none;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

/* Alert boxes (danger, warning, info, success) */
.alert-box {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  display: flex;
  gap: 14px;
}

.alert-box__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.alert-box__content h3 {
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-navy);
  font-size: 0.95rem;
}

.alert-box__content p {
  margin: 0;
  font-size: 0.9rem;
  max-width: none;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.alert-box--danger {
  background: rgba(220, 38, 38, 0.06);
  border-left: 4px solid #dc2626;
}

.alert-box--warning {
  background: rgba(217, 119, 6, 0.06);
  border-left: 4px solid #d97706;
}

.alert-box--info {
  background: rgba(27, 42, 74, 0.04);
  border-left: 4px solid var(--color-navy);
}

.alert-box--success {
  background: rgba(22, 163, 74, 0.06);
  border-left: 4px solid #16a34a;
}

/* Quote blocks (positive / negative) */
.quote-block {
  background: var(--color-bg-secondary);
  border-left: 4px solid var(--color-navy);
  padding: 18px 22px;
  margin: var(--space-xl) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quote-block--positive {
  border-left-color: #16a34a;
  background: rgba(22, 163, 74, 0.04);
}

.quote-block--negative {
  border-left-color: #dc2626;
  background: rgba(220, 38, 38, 0.04);
}

.quote-block__text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--color-text-primary);
}

.quote-block__source {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.quote-block__source a {
  color: var(--color-teal);
}

/* Recommendation grid (pros / cons) */
.rec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

@media (max-width: 768px) {
  .rec-grid {
    grid-template-columns: 1fr;
  }
}

.rec-box {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 2px solid;
}

.rec-box--use {
  background: rgba(22, 163, 74, 0.04);
  border-color: #16a34a;
}

.rec-box--skip {
  background: rgba(220, 38, 38, 0.04);
  border-color: #dc2626;
}

.rec-box h3 {
  font-size: 0.95rem;
  margin: 0 0 var(--space-md);
}

.rec-box--use h3 { color: #16a34a; }
.rec-box--skip h3 { color: #dc2626; }

.rec-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rec-box li {
  padding: 5px 0 5px 18px;
  position: relative;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

.rec-box li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--color-text-muted);
}

/* Bottom line box (navy gradient) */
.bottom-line {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding: var(--space-3xl);
  border-radius: var(--radius-lg);
  margin: var(--space-2xl) 0;
}

.bottom-line h3 {
  color: var(--color-teal-light);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.bottom-line p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: none;
  margin-bottom: var(--space-md);
}

.bottom-line ul {
  margin: 14px 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
}

.bottom-line li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.bottom-line strong {
  color: var(--color-white);
}

/* Questions list (navy background) */
.questions-list {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  margin: var(--space-2xl) 0;
}

.questions-list h3 {
  color: var(--color-teal-light);
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.questions-list ol {
  padding-left: 20px;
  margin: 0;
}

.questions-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.questions-list strong {
  color: var(--color-white);
}

/* Section label (uppercase eyebrow) */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
}

/* Key Takeaways block (top-of-article, LLM-extractable summary) */
.key-takeaways {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.02) 100%);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-left: 4px solid var(--color-teal);
  padding: var(--space-xl) var(--space-2xl);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 0 0 var(--space-xl) 0;
}

.key-takeaways__heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin: 0 0 var(--space-md) 0;
}

.key-takeaways__list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: none;
}

.key-takeaways__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
  line-height: 1.55;
}

.key-takeaways__list li:last-child {
  margin-bottom: 0;
}

.key-takeaways__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 700;
}

/* TLDR block (single-sentence answer for AI Overview / featured snippet) */
.tldr-block {
  background: rgba(14, 165, 233, 0.05);
  border-left: 4px solid var(--color-teal);
  padding: var(--space-lg) var(--space-xl);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 0 0 var(--space-xl) 0;
}

.tldr-block p {
  margin: 0;
  color: var(--color-navy);
  line-height: 1.55;
}

.tldr-block strong {
  color: var(--color-teal);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-right: 0.5rem;
}

/* AEO/GEO Content Blocks */
.definition-block {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06) 0%, rgba(14, 165, 233, 0.02) 100%);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-left: 4px solid var(--color-teal);
  padding: var(--space-2xl);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: var(--space-xl) 0;
}

.definition-block h3 {
  margin-bottom: var(--space-md);
  color: var(--color-navy);
}

.definition-block p {
  margin: 0 0 var(--space-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.definition-block p:last-child {
  margin-bottom: 0;
}

.stat-block {
  list-style: none;
  margin: var(--space-xl) 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .stat-block {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-block li {
  padding: var(--space-lg);
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.stat-block li strong {
  display: block;
  font-size: 1.5rem;
  color: var(--color-teal);
  margin-bottom: var(--space-xs);
}

.stat-source {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.step-block {
  margin: var(--space-xl) 0;
}

.step-block h3 {
  margin-bottom: var(--space-lg);
  color: var(--color-navy);
}

.step-block ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-block li {
  counter-increment: step;
  padding: var(--space-md) var(--space-md) var(--space-md) 3.5rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.step-block li:last-child {
  border-bottom: none;
}

.step-block li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: var(--space-md);
  width: 2rem;
  height: 2rem;
  background-color: var(--color-teal);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

/* Responsive table wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Generic content tables inside resource/article sections */
.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.content-section table thead th {
  background: var(--color-navy);
  color: #fff;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
}
.content-section table tbody td {
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  vertical-align: top;
}
.content-section table tbody tr:nth-child(even) {
  background: var(--color-bg-secondary);
}

/* Testimonial blocks (expert quotes with attribution) */
.testimonial-block {
  background: var(--color-bg-secondary);
  border-left: 4px solid var(--color-teal);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.testimonial-block__text {
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

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

/* Scroll-triggered CTA bar */
.scroll-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.875rem var(--space-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  z-index: 999;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.scroll-cta-bar.visible {
  transform: translateY(0);
}

.scroll-cta-bar p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.scroll-cta-bar .btn {
  white-space: nowrap;
}

.scroll-cta-bar__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}

.scroll-cta-bar__close:hover {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .scroll-cta-bar {
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: 0.75rem var(--space-md);
    text-align: center;
  }
  .scroll-cta-bar p {
    font-size: 0.8125rem;
    flex-basis: 100%;
  }
}

/* Consent banner */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  z-index: 10000;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.consent-banner p {
  margin: 0;
  font-size: 0.875rem;
}

.consent-banner a {
  color: var(--color-teal);
  text-decoration: underline;
}

.consent-banner__actions {
  display: flex;
  gap: var(--space-sm);
}

.consent-banner__btn {
  padding: 0.375rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.consent-banner__btn--accept {
  background: var(--color-teal);
  color: var(--color-white);
}

.consent-banner__btn--deny {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .consent-banner {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    text-align: left;
  }
  .consent-banner p {
    font-size: 0.6875rem;
    line-height: 1.35;
  }
  .consent-banner__actions {
    flex-shrink: 0;
    gap: 0.25rem;
  }
  .consent-banner__btn {
    padding: 0.3125rem 0.625rem;
    font-size: 0.6875rem;
  }
}

@media (max-width: 639px) {
  .hero {
    padding-top: 5.5rem;
  }
  .hero__title {
    font-size: 2.25rem;
  }
  .hero__subtitle {
    margin-bottom: var(--space-xl);
  }
  .hero__proof {
    margin-top: var(--space-lg);
  }
}

/* Page meta (publication dates) */
.page-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

/* Visually hidden (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;
}

/* ===================================================================
   GLOSSARY
   =================================================================== */

.glossary-related-terms {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.glossary-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.glossary-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-navy);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.glossary-tag:hover {
  background: rgba(14, 165, 233, 0.08);
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.author-bio {
  background: var(--color-bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.author-bio h3 {
  margin-bottom: var(--space-sm);
}

.author-bio p {
  margin: 0 0 var(--space-xs);
  color: var(--color-text-secondary);
}

/* ============================================
   Product Mockups (browser frames)
   ============================================ */
.browser-frame {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(27,42,74,0.10), 0 1px 4px rgba(0,0,0,0.05);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.browser-frame__bar {
  background: #1E293B;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.browser-frame__dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.browser-frame__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.browser-frame__dot--red { background: #FF5F56; }
.browser-frame__dot--yellow { background: #FFBD2E; }
.browser-frame__dot--green { background: #27C93F; }
.browser-frame__url {
  flex: 1;
  background: #334155;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 10px;
  color: #94A3B8;
  font-family: 'SF Mono', Monaco, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.specialty-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.mockup-hero {
  background: linear-gradient(135deg, #006498, #004d75);
  padding: 20px 16px;
  color: #fff;
}
.mockup-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.mockup-hero__h1 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.mockup-hero__sub {
  font-size: 10px;
  opacity: 0.75;
  line-height: 1.4;
}
.mockup-products {
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mockup-product {
  background: var(--color-bg-secondary);
  border-radius: 6px;
  padding: 10px 8px;
  text-align: center;
}
.mockup-product__name {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}
.mockup-product__stat {
  font-size: 9px;
  color: var(--color-text-secondary);
}
.mockup-cta {
  padding: 4px 16px 14px;
  text-align: center;
}
.mockup-cta__btn {
  display: inline-block;
  background: #006498;
  color: #fff;
  padding: 6px 16px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
}

.form-mockup { padding: 20px 24px; }
.form-mockup__header { text-align: center; margin-bottom: 16px; }
.form-mockup__title { font-size: 14px; font-weight: 700; color: var(--color-text-primary); margin-bottom: 4px; }
.form-mockup__subtitle { font-size: 11px; color: var(--color-text-secondary); }
.form-mockup__field { margin-bottom: 10px; }
.form-mockup__label { display: block; font-size: 10px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 3px; }
.form-mockup__input { width: 100%; padding: 7px 10px; border: 1.5px solid var(--color-border); border-radius: 5px; font-size: 12px; color: var(--color-text-primary); background: #fff; }
.form-mockup__input--prefilled { background: #EFF6FF; border-color: #93C5FD; color: #1E40AF; }
.form-mockup__prefill-badge { display: inline-block; font-size: 8px; background: #DBEAFE; color: #1E40AF; padding: 1px 5px; border-radius: 3px; margin-left: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.capacity-meter { margin: 12px 0 16px; text-align: center; }
.capacity-meter__bar { height: 6px; background: var(--color-border); border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.capacity-meter__fill { height: 100%; background: linear-gradient(90deg, #006498, #0088CC); border-radius: 3px; width: 63%; }
.capacity-meter__text { font-size: 11px; font-weight: 700; color: #006498; }

.confirm-mockup { padding: 28px 24px; text-align: center; }
.confirm-mockup__icon { width: 40px; height: 40px; background: #ECFDF5; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.confirm-mockup__icon svg { width: 20px; height: 20px; stroke: #059669; }
.confirm-mockup__title { font-size: 15px; font-weight: 700; color: var(--color-text-primary); margin-bottom: 4px; }
.confirm-mockup__sub { font-size: 11px; color: var(--color-text-secondary); margin-bottom: 16px; }
.confirm-mockup__buttons { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.confirm-mockup__btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 5px; font-size: 10px; font-weight: 600; }
.confirm-mockup__btn--primary { background: #006498; color: #fff; }
.confirm-mockup__btn--secondary { background: var(--color-bg-secondary); color: var(--color-text-primary); }
.confirm-mockup__share-label { font-size: 9px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.confirm-mockup__share-btns { display: flex; gap: 6px; justify-content: center; }
.confirm-mockup__share-btn { width: 32px; height: 32px; background: var(--color-bg-secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.mockup-label { text-align: center; font-size: 0.8125rem; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 1rem; }
.mockup-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }

/* Compact pricing cards used on service pages (label + description, no feature list).
   The grid/card/price rules live in the pricing card system above; do not redeclare
   them here or they silently override it. Use --compact to downsize the price instead. */
.pricing-card--compact { padding: 1.75rem 1.5rem; }
.pricing-card--compact .pricing-card__price { font-size: 1.875rem; letter-spacing: -0.03em; }
.pricing-card__label { font-size: 1rem; font-weight: 800; color: var(--color-text-primary); margin: 0.5rem 0 0.375rem; }
.pricing-card__desc { font-size: 0.8125rem; line-height: 1.5; color: var(--color-text-secondary); }

@media (max-width: 768px) {
  .specialty-showcase { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .mockup-duo { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Content Figures — SEO Image System */
.content-figure { margin: 2rem 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg-secondary); border: 1px solid var(--color-border); }
.content-figure img { display: block; width: 100%; height: auto; }
.content-figure figcaption { padding: 0.75rem 1rem; font-size: 0.8125rem; color: var(--color-text-secondary); text-align: center; border-top: 1px solid var(--color-border); background: var(--color-bg-primary); }

/* Approved homepage positioning and full-viewport laptop layout (2026-09-29). */
.homepage .hero{padding-top: 3.5rem;}
.homepage .hero .hero__title{font-size:clamp(2.2rem,3.5vw,3.1rem);line-height:1.14;letter-spacing:-.035em;}
.homepage .hero .hero__subtitle{font-size:1.15rem;line-height:1.65;max-width:560px;}
.homepage .hero__grid{align-items:center;}
.homepage .hero-trust{box-sizing:border-box;max-width:1100px;margin:2rem auto 0;padding:1.35rem 1.7rem;background:#fff;border:1px solid #E2E8F0;border-radius:12px;gap:2rem;grid-template-columns:1fr 1.25fr;}
.homepage .hero-trust__logos{gap:2rem;flex-wrap:wrap;}
.homepage .hero-trust__label{margin-bottom:.9rem;}
.homepage .hero-trust__proof{max-width:none;justify-self:stretch;border-left:1px solid #E2E8F0;padding-left:2rem;}
.homepage .hero-trust__proof blockquote{font-size:1.08rem;}
.homepage .hero-trust__btl-image{object-fit:contain;width:110px;height:44px;}
.homepage .hero__example{font-size:.7rem;color:#64748B;margin:0 0 .6rem;text-align:right;}
@media(max-width:767px){.homepage .hero{padding-top:2rem}
.homepage .hero-trust{grid-template-columns:1fr;padding:1.15rem;gap:1.1rem;text-align:left}
.homepage .hero-trust__proof{border-left:0;border-top:1px solid #E2E8F0;padding:1rem 0 0}
.homepage .hero-trust__logos{gap:1.5rem}
.homepage .hero .hero__title{font-size:2.25rem}
.homepage .hero-trust__brands{justify-self:stretch}
}
.homepage .hero{padding-top:6.2rem;}
.homepage .hero .hero__subtitle{padding:0;margin-left:0;}
.homepage .hero-trust__btl-image{filter:brightness(0) saturate(100%);opacity:.82;}
.homepage .hero-trust{margin-top:1.25rem;}
@media(max-width:767px){.homepage .hero{padding-top:6rem}
.homepage .hero .hero__subtitle{margin-left:auto}
}
@media(min-width:1024px){.homepage .hero{padding-top:5.5rem;padding-bottom:1.7rem;}
.homepage .hero__grid{grid-template-columns:1.25fr .85fr;gap:2.25rem;align-items:center;}
.homepage .hero .hero__title{font-size:clamp(2.15rem,3.05vw,2.8rem);margin-bottom:1.05rem;line-height:1.12;}
.homepage .hero .hero__subtitle{font-size:1.04rem;line-height:1.55;margin-bottom:1.5rem;}
.homepage .hero-card-wrapper{max-width:365px;}
.homepage .hero-card__header{padding:.75rem 1rem;}
.homepage .hero-card__sources{padding:.5rem .5rem;}
.homepage .hero-card__row{padding:.4rem 1rem;}
.homepage .hero-card__footer{padding:.6rem 1rem;}
.homepage .hero-card--flagged{margin-top:.6rem;}
.homepage .hero__example{margin-bottom:.35rem;font-size:.65rem;}
.homepage .hero-trust{margin-top:1rem;padding:.9rem 1.25rem;gap:1.5rem;}
.homepage .hero-trust__proof{padding-left:1.5rem;}
.homepage .hero-trust__proof blockquote{font-size:.88rem;line-height:1.45;}
.homepage .hero-trust__label{margin-bottom:.35rem;}
.homepage .hero-trust__btl-image{height:34px;width:90px;}
.homepage .hero-trust__logo--engagedmd{width:130px;height:24px;}
}
.homepage .hero .pain-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;max-width:1100px;margin:1rem auto 0;padding:0;}
.homepage .hero .pain-stat{display:flex;flex-direction:column;align-items:center;gap:.2rem;text-decoration:none;color:inherit;padding:.2rem .5rem;}
.homepage .hero .pain-stat__number{font-size:2.35rem;line-height:1.05;font-weight:800;}
.homepage .hero .pain-stat__label{font-size:.82rem;text-transform:none;letter-spacing:0;color:#1B2A4A;font-weight:700;}
.homepage .pain-stat__detail{font-size:.69rem;line-height:1.35;color:#64748B;}
@media(max-width:639px){.homepage .hero .pain-stats{gap:.5rem;padding:0 .7rem}
.homepage .hero .pain-stat__number{font-size:1.8rem}
.homepage .hero .pain-stat__label{font-size:.72rem}
.homepage .pain-stat__detail{font-size:.62rem}
.homepage .hero .pain-stat{padding:.2rem 0}
}
@media(min-width:1024px){.homepage .hero-card-wrapper{zoom:.76;max-width:430px;}
.homepage .hero__grid{align-items:center;}
.homepage .hero-trust{margin-top:.8rem;}
.homepage .hero .pain-stats{margin-top:.7rem;}
}
@media(min-width:1024px){.homepage .hero{min-height:100svh;box-sizing:border-box;padding:clamp(88px,11vh,112px) 0 24px;display:flex;}
.homepage .hero>.container{width:100%;max-width:1440px;display:flex;flex-direction:column;gap:clamp(18px,2.6vh,30px);}
.homepage .hero__grid{width:100%;max-width:none;flex:1;grid-template-columns:1.18fr .82fr;gap:clamp(32px,4vw,64px);align-items:center;}
.homepage .hero .hero__title{font-size:clamp(38px,4.8vh,56px);line-height:1.12;margin-bottom:clamp(20px,3vh,30px);}
.homepage .hero .hero__subtitle{font-size:clamp(17px,2.25vh,22px);line-height:1.55;max-width:650px;margin-bottom:clamp(24px,3.5vh,38px);}
.homepage .hero-card-wrapper{zoom:clamp(.76,calc(100vh / 950px),1);max-width:470px;}
.homepage .hero-trust{width:100%;max-width:none;margin:0;padding:clamp(16px,2.3vh,24px) 24px;gap:28px;}
.homepage .hero-trust__proof blockquote{font-size:clamp(14px,1.8vh,18px);line-height:1.5;}
.homepage .hero-trust__label{margin-bottom:10px;}
.homepage .hero-trust__logo--engagedmd{width:155px;height:30px;}
.homepage .hero-trust__btl-image{width:105px;height:42px;}
.homepage .hero .pain-stats{width:100%;max-width:none;margin:0;gap:24px;}
.homepage .hero .pain-stat{gap:5px;padding:0 8px;}
.homepage .hero .pain-stat__number{font-size:clamp(38px,5.7vh,60px);}
.homepage .hero .pain-stat__label{font-size:clamp(14px,1.9vh,18px);}
.homepage .pain-stat__detail{font-size:clamp(12px,1.6vh,15px);}
}
@media(min-width:1024px){.homepage .hero>.container{padding-left:clamp(32px,5vw,80px);padding-right:clamp(32px,5vw,80px);}
.homepage .hero .hero__title{font-size:clamp(40px,5.35vh,58px);}
}

/* ============================================
   Pay After Approval (homepage section, hero line, pricing strip)
   ============================================ */
.hero__guarantee {
  margin: var(--space-md) 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.pay-after__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 900px) {
  .pay-after__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.pay-after__grid > * {
  min-width: 0;
}

.pay-after__points {
  display: grid;
  gap: var(--space-lg);
}

.pay-after__card .service-card__icon {
  margin-bottom: var(--space-md);
}

.pay-after__card .service-card__icon svg {
  stroke: var(--color-teal);
  fill: none;
}

.pay-after__contrast {
  margin: var(--space-sm) 0 0;
  padding: 0 var(--space-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.pay-after__visual {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

/* Visible by default; main.js arms the pause only when it can also release it on scroll. */
.pay-after__visual.is-armed:not(.is-visible) .tl,
.pay-after__visual.is-armed:not(.is-visible) .tl__step {
  animation-play-state: paused;
}

.tl {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(27, 42, 74, 0.08), 0 4px 12px rgba(27, 42, 74, 0.04);
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  animation: hcAppear 0.6s ease forwards;
  animation-delay: 0.1s;
}

.tl__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.tl__name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1B2A4A;
}

.tl__sub {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 0.15rem;
}

.tl__step {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0;
  opacity: 0;
  transform: translateX(-8px);
  animation: hcSlide 0.45s ease forwards;
}

.tl__step::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 34px;
  bottom: -6px;
  width: 2px;
  background: #E2E8F0;
}

.tl__step:last-child::before {
  display: none;
}

.tl__step:nth-child(1) { animation-delay: 0.4s; }
.tl__step:nth-child(2) { animation-delay: 0.8s; }
.tl__step:nth-child(3) { animation-delay: 1.2s; }
.tl__step:nth-child(4) { animation-delay: 1.6s; }
.tl__step:nth-child(5) { animation-delay: 2.4s; }

.tl__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  color: #0EA5E9;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.tl__label {
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1B2A4A;
}

.tl__detail {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748B;
  margin-top: 0.1rem;
}

.tl__due {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #F1F5F9;
  color: #64748B;
  white-space: nowrap;
}

.tl__step--pay .tl__dot {
  background: #0D9488;
  color: #FFFFFF;
}

.tl__step--pay .tl__due {
  background: rgba(13, 148, 136, 0.12);
  color: #0F766E;
}

.tl__foot {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  font-size: 0.75rem;
  color: #64748B;
}

.tl__foot strong {
  color: #1B2A4A;
}

@media (prefers-reduced-motion: reduce) {
  .pay-after__visual .tl,
  .pay-after__visual .tl__step {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.pay-after-strip {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.pay-after-strip__eyebrow {
  margin: 0 0 var(--space-xl);
  color: var(--color-teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pay-after-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pay-after-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

.pay-after-stat {
  padding: 0 var(--space-md);
}

.pay-after-stat__big {
  display: block;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .pay-after-stat__big {
    font-size: 2.125rem;
  }
}

.pay-after-stat__detail {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  max-width: 320px;
  margin: 0 auto;
}

.pricing-card__terms {
  color: #0F766E;
  font-size: 0.8125rem;
  font-weight: 600;
  margin: calc(-1 * var(--space-md)) 0 var(--space-lg);
}

.pricing-managed__terms {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1rem;
}

.pay-when {
  margin: var(--space-2xl) 0;
}

.pay-when__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .pay-when__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pay-when__card {
  padding: var(--space-xl);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.pay-when__card--provyx {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-glow);
}

.pay-when__label {
  margin: 0 0 var(--space-md);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.pay-when__card--provyx .pay-when__label {
  color: var(--color-teal);
}

.pay-when__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.pay-when__step {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #F1F5F9;
  color: var(--color-text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.pay-when__card--provyx .pay-when__step {
  background: rgba(14, 165, 233, 0.1);
  color: #0F766E;
}

.pay-when__arrow {
  width: 18px;
  height: 2px;
  background: var(--color-border);
  position: relative;
  flex-shrink: 0;
}

.pay-when__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--color-border);
}

.pay-when__note {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

/* Visual audit fixes (2026-10-28): V03 figure zoom, V08/V09/V10/V11 mobile overflow. */
.content-figure img { cursor: zoom-in; }
.content-figure figcaption .figure-zoom-link { display: inline-block; margin-left: 0.5rem; font-weight: 600; color: var(--color-link); white-space: nowrap; }
.figure-zoom { position: fixed; inset: 0; z-index: 2147483000; background: rgba(15, 27, 51, 0.94); overflow: auto; -webkit-overflow-scrolling: touch; padding: 3.75rem 1rem 1.5rem; }
.figure-zoom[hidden] { display: none; }
.figure-zoom__img { display: block; width: 1200px; max-width: none; height: auto; margin: 0 auto; background: #fff; border-radius: 8px; }
.figure-zoom__caption { color: #fff; text-align: center; font-size: 0.875rem; line-height: 1.5; max-width: 1200px; margin: 0.75rem auto 0; }
.figure-zoom__close { position: fixed; top: 0.75rem; right: 0.75rem; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px; background: #fff; color: var(--color-navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media (min-width: 1280px) { .figure-zoom__img { width: min(1400px, 96vw); } }
@media (max-width: 768px) {
  h1, h2, h3 { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 14 6 6; }
  a, code { overflow-wrap: anywhere; }
  code { white-space: pre-wrap; }
  .comparison-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .stat-card { min-width: 0; padding: var(--space-lg) var(--space-md); }
  .stat-card__number { font-size: 1.75rem; overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.25rem; }
  .stats-grid { grid-template-columns: 1fr; }
}
