.compare-hero {
  padding-top: 88px;
  padding-bottom: 72px;
}

.compare-hero .page-hero-inner {
  align-items: center;
}

.compare-hero h1 {
  max-width: 820px;
  font-size: clamp(3.1rem, 7vw, 5.6rem);
}

.compare-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.compare-hero-actions .button.secondary.light {
  border-color: rgba(219, 234, 254, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.compare-card-label,
.comparison-eyebrow,
.product-type {
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare-hero-card .compare-card-label {
  display: block;
  margin-bottom: 14px;
  color: #93c5fd;
}

.comparison-guide {
  padding-bottom: 72px;
}

.comparison-eyebrow {
  margin-bottom: 12px !important;
}

.product-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin-inline: auto;
}

.product-comparison-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.product-comparison-card.focusflow-choice {
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  padding: clamp(28px, 4vw, 42px);
  border-color: rgba(59, 130, 246, 0.46);
  background:
    radial-gradient(circle at 90% 12%, rgba(45, 212, 191, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(96, 165, 250, 0.12), rgba(255, 255, 255, 0.95));
  box-shadow: 0 24px 64px rgba(37, 99, 235, 0.14);
}

.product-comparison-card.focusflow-choice::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #2dd4bf);
}

.product-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.product-card-topline h3 {
  margin: 7px 0 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1;
}

.product-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 950;
}

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

.product-badge.max-features {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(7, 17, 34, 0.16);
}

.product-summary {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.product-comparison-card dl {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
}

.product-comparison-card dl div {
  display: grid;
  grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid #e5edf6;
}

.product-comparison-card dt {
  color: var(--navy);
  font-weight: 950;
}

.product-comparison-card dd {
  margin: 0;
  color: var(--ink-soft);
}

.product-source {
  width: fit-content;
  margin-top: auto;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: #cbd5e1;
  text-underline-offset: 4px;
}

.product-source:hover,
.product-source:focus-visible,
.product-source.focusflow-link {
  color: #2563eb;
}

.focusflow-value-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  margin: -2px 0 22px;
  padding: 10px 14px;
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 999px;
  background: rgba(236, 254, 255, 0.84);
  color: #0f5361;
  font-size: 0.88rem;
  font-weight: 760;
}

.focusflow-value-line strong {
  color: #075985;
  font-weight: 950;
}

.focusflow-value-line .value-check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0f766e;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1;
}

.institutional-card {
  background: #fbfdff;
}

.comparison-method-note {
  max-width: 900px;
  margin: 28px auto 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.65;
  text-align: center;
}

.decision-section {
  background: #eef8f6;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.decision-grid article {
  padding: 28px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.decision-grid article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #dff7ef;
  color: #0f766e;
  font-weight: 950;
}

.decision-grid h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.35rem;
}

.decision-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.compare-final-cta {
  width: min(calc(100% - 40px), 1120px);
  margin: 72px auto;
  padding: clamp(42px, 7vw, 72px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 18%, rgba(45, 212, 191, 0.2), transparent 34%),
    var(--navy);
  color: #ffffff;
  text-align: center;
}

.compare-final-cta .comparison-eyebrow {
  color: #93c5fd;
}

.compare-final-cta h2 {
  max-width: 760px;
  margin: 0 auto 14px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.compare-final-cta > p:not(.comparison-eyebrow) {
  max-width: 680px;
  margin: 0 auto 24px;
  color: #cbd5e1;
}

.compare-final-cta > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.compare-final-cta .button.secondary {
  border-color: rgba(219, 234, 254, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (max-width: 820px) {
  .compare-hero {
    padding: 74px 18px 58px;
  }

  .product-comparison-grid,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .product-comparison-card.focusflow-choice {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .compare-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.6rem);
  }

  .compare-hero-actions .button,
  .compare-final-cta .button {
    width: 100%;
  }

  .product-comparison-card {
    padding: 22px;
    border-radius: 22px;
  }

  .product-card-topline {
    flex-direction: column;
  }

  .product-comparison-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .focusflow-value-line {
    align-items: flex-start;
    border-radius: 16px;
  }

  .compare-final-cta {
    width: min(calc(100% - 28px), 1120px);
    margin-block: 48px;
    padding: 38px 22px;
    border-radius: 24px;
  }
}
