.pricing-hero {
  background-color: #0A2540;
  color: #fff;
  padding: 64px 24px 56px;
  text-align: center;
}

.pricing-hero h1 {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}

.pricing-hero h1 mark {
  background: none;
  color: #FBBF24;
}

.pricing-hero p {
  font-size: 18px;
  opacity: 0.8;
  margin: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Toggle ── */

.pricing-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  position: relative;
}

.pricing-toggle__label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  transition: color 0.2s ease;
}

.pricing-toggle__label--active {
  color: #0A2540;
  font-weight: 600;
}

.pricing-toggle__track {
  width: 44px;
  height: 24px;
  background: #d1d5db;
  border-radius: 12px;
  position: relative;
  transition: background 0.2s ease;
}

.pricing-toggle[aria-checked="true"] .pricing-toggle__track {
  background: #FBBF24;
}

.pricing-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.pricing-toggle[aria-checked="true"] .pricing-toggle__thumb {
  transform: translateX(20px);
}

.pricing-toggle__badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(251, 191, 36, 0.15);
  color: #92400e;
  padding: 3px 8px;
  border-radius: 100px;
}

/* ── Pricing section ── */

.pricing-section {
  padding: 48px 24px 0;
}

.pricing-anchor {
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
  max-width: 620px;
  margin: 0 auto 40px;
}

.pricing-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Grid ── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

/* ── Cards ── */

.pricing-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  border: 2px solid #FBBF24;
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.12);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #FBBF24;
  color: #0A2540;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 16px;
}

.pricing-card__name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #0A2540;
}

.pricing-card__tagline {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 16px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.pricing-card__amount {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #0A2540;
  line-height: 1;
  letter-spacing: -1px;
}

.pricing-card__period {
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
}

.pricing-card__billing-note {
  font-size: 13px;
  color: #9ca3af;
  margin: 6px 0 0;
}

.pricing-card__who {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* ── Feature list ── */

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.pricing-card__features li {
  font-size: 14px;
  line-height: 1.4;
  padding: 7px 0 7px 28px;
  position: relative;
  color: #374151;
}

.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2322c55e'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") no-repeat center;
  background-size: 18px;
}

.pricing-card__features-divider {
  font-size: 11px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0A2540 !important;
  padding-left: 0 !important;
  margin-top: 14px;
  padding-top: 12px !important;
  border-top: 1px solid #e5e7eb;
}

.pricing-card__features li.pricing-card__features-divider:first-child {
  margin-top: 0;
  padding-top: 7px !important;
  border-top: none;
}

.pricing-card__features-divider::before {
  display: none !important;
}

.pricing-card__feature-desc {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.35;
  margin-top: 1px;
}

/* ── CTA button ── */

.pricing-card__cta {
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.pricing-card__cta.hcp-button--outline.hcp-button--blue {
  border: 2px solid #0A2540;
  color: #0A2540;
  background: transparent;
}

.pricing-card__cta.hcp-button--outline.hcp-button--blue:hover {
  background: #0A2540;
  color: #fff;
}

.pricing-card__cta.hcp-button--yellow {
  background: #FBBF24;
  color: #0A2540;
  border: 2px solid #FBBF24;
}

.pricing-card__cta.hcp-button--yellow:hover {
  background: #f59e0b;
  border-color: #f59e0b;
}

.pricing-card__guarantee {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  margin: 10px 0 0;
}

/* ── Bespoke section ── */

.pricing-bespoke {
  background: #0A2540;
  color: #fff;
  padding: 56px 24px;
  text-align: center;
  margin-top: 56px;
}

.pricing-bespoke .container {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-bespoke h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
}

.pricing-bespoke p {
  font-size: 16px;
  opacity: 0.75;
  margin: 0 0 24px;
  line-height: 1.5;
}

.pricing-bespoke .hcp-button {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.pricing-bespoke .hcp-button:hover {
  background: #FBBF24;
  border-color: #FBBF24;
  color: #0A2540;
}

/* ── Responsive ── */

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
    order: -1;
  }
}

@media (max-width: 575px) {
  .pricing-hero {
    padding: 48px 24px 40px;
  }

  .pricing-bespoke {
    padding: 44px 24px;
  }

  .pricing-bespoke h2 {
    font-size: 22px;
  }
}

/* ── Dark mode ── */

[data-theme="dark"] .pricing-card {
  background: #162232;
  border-color: #1E3148;
}

[data-theme="dark"] .pricing-card--featured {
  border-color: #FBBF24;
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.08);
}

[data-theme="dark"] .pricing-card__name {
  color: #fff;
}

[data-theme="dark"] .pricing-card__amount {
  color: #fff;
}

[data-theme="dark"] .pricing-card__header {
  border-bottom-color: #1E3148;
}

[data-theme="dark"] .pricing-card__features li {
  color: #d1d5db;
}

[data-theme="dark"] .pricing-card__features-divider {
  color: #FBBF24 !important;
  border-top-color: #1E3148;
}

[data-theme="dark"] .pricing-anchor {
  color: #9ca3af;
}

[data-theme="dark"] .pricing-card__who {
  color: #9ca3af;
}

[data-theme="dark"] .pricing-card__guarantee {
  color: #6b7280;
}

[data-theme="dark"] .pricing-card__feature-desc {
  color: #6b7280;
}

[data-theme="dark"] .pricing-card__cta.hcp-button--outline.hcp-button--blue {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

[data-theme="dark"] .pricing-card__cta.hcp-button--outline.hcp-button--blue:hover {
  background: #FBBF24;
  border-color: #FBBF24;
  color: #0A2540;
}

[data-theme="dark"] .pricing-toggle__label {
  color: #9ca3af;
}

[data-theme="dark"] .pricing-toggle__label--active {
  color: #fff;
}

[data-theme="dark"] .pricing-toggle__track {
  background: #374151;
}

[data-theme="dark"] .pricing-toggle__badge {
  background: rgba(251, 191, 36, 0.15);
  color: #FBBF24;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pricing-card {
    background: #162232;
    border-color: #1E3148;
  }

  :root:not([data-theme="light"]) .pricing-card--featured {
    border-color: #FBBF24;
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.08);
  }

  :root:not([data-theme="light"]) .pricing-card__name,
  :root:not([data-theme="light"]) .pricing-card__amount {
    color: #fff;
  }

  :root:not([data-theme="light"]) .pricing-card__header {
    border-bottom-color: #1E3148;
  }

  :root:not([data-theme="light"]) .pricing-card__features li {
    color: #d1d5db;
  }

  :root:not([data-theme="light"]) .pricing-card__features-divider {
    color: #FBBF24 !important;
    border-top-color: #1E3148;
  }

  :root:not([data-theme="light"]) .pricing-anchor {
    color: #9ca3af;
  }

  :root:not([data-theme="light"]) .pricing-card__who {
    color: #9ca3af;
  }

  :root:not([data-theme="light"]) .pricing-card__guarantee {
    color: #6b7280;
  }

  :root:not([data-theme="light"]) .pricing-card__feature-desc {
    color: #6b7280;
  }

  :root:not([data-theme="light"]) .pricing-card__cta.hcp-button--outline.hcp-button--blue {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
  }

  :root:not([data-theme="light"]) .pricing-card__cta.hcp-button--outline.hcp-button--blue:hover {
    background: #FBBF24;
    border-color: #FBBF24;
    color: #0A2540;
  }

  :root:not([data-theme="light"]) .pricing-toggle__label {
    color: #9ca3af;
  }

  :root:not([data-theme="light"]) .pricing-toggle__label--active {
    color: #fff;
  }

  :root:not([data-theme="light"]) .pricing-toggle__track {
    background: #374151;
  }

  :root:not([data-theme="light"]) .pricing-toggle__badge {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
  }
}
