.why-speedwell-section {
  --swg-dark: #101827;
  --swg-text: #26364f;
  --swg-muted: #667085;
  --swg-red: #b40018;

  --swg-section-bg:
    radial-gradient(circle at top left, rgba(180, 0, 24, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);

  --swg-card-bg: rgba(255, 255, 255, 0.86);
  --swg-card-border: rgba(16, 24, 39, 0.08);
  --swg-card-shadow: 0 1rem 2.5rem rgba(16, 24, 39, 0.07);
  --swg-card-hover-shadow: 0 1.4rem 3rem rgba(16, 24, 39, 0.12);

  --swg-icon-bg:
    linear-gradient(135deg, rgba(16, 24, 39, 0.08), rgba(102, 112, 133, 0.08));

  --swg-hover-border: rgba(102, 112, 133, 0.22);

  background: var(--swg-section-bg);
}

/* Bootstrap 5.3 dark mode */
[data-bs-theme="dark"] .why-speedwell-section {
  --swg-dark: #f8fafc;
  --swg-text: #d5dbe7;
  --swg-muted: #a6afc0;

  --swg-section-bg:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 28rem),
    linear-gradient(180deg, #05070c 0%, #101827 100%);

  --swg-card-bg: rgba(255, 255, 255, 0.065);
  --swg-card-border: rgba(255, 255, 255, 0.12);
  --swg-card-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.35);
  --swg-card-hover-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.48);

  --swg-icon-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.16));

  --swg-hover-border: rgba(255, 255, 255, 0.22);
}

.why-speedwell-heading {
  max-width: 760px;
}

.why-speedwell-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--swg-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.why-speedwell-heading h2 {
  color: var(--swg-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.why-speedwell-heading h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--swg-muted);
  border-radius: 999px;
  margin: 1rem auto 0;
}

.why-speedwell-heading .lead {
  color: var(--swg-muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.why-card {
  position: relative;
  overflow: hidden;

  display: flex;
  gap: 1.25rem;

  padding: 1.5rem;
  border-radius: 1.35rem;

  background: var(--swg-card-bg);
  border: 1px solid var(--swg-card-border);
  box-shadow: var(--swg-card-shadow);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--swg-muted);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--swg-hover-border);
  box-shadow: var(--swg-card-hover-shadow);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  flex: 0 0 auto;

  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--swg-icon-bg);
  color: var(--swg-dark);

  font-size: 1.45rem;
}

.why-card h3 {
  margin-bottom: 0.55rem;
  color: var(--swg-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.why-card p {
  margin-bottom: 0;
  color: var(--swg-text);
  line-height: 1.55;
  font-size: 0.98rem;
}

@media (max-width: 575.98px) {
  .why-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .why-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.85rem;
    font-size: 1.25rem;
  }

  .why-card h3 {
    font-size: 1.05rem;
  }

  .why-card p {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-card {
    transition: none;
  }

  .why-card:hover {
    transform: none;
  }
}