:where(.CompareBTF, body) .fmg-compare-btf {
  --fmg-navy: var(--fmg-color-ink-900, #141633);
  --fmg-purple: var(--fmg-color-accent, #7334f0);
  --fmg-ink: #111827;
  --fmg-body: var(--fmg-color-ink-700, #374151);
  --fmg-line: var(--fmg-color-line, #e5e7eb);
  --fmg-soft: color-mix(in srgb, var(--fmg-purple), transparent 94%);
  --fmg-soft2: color-mix(in srgb, var(--fmg-navy), transparent 96%);
  font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--fmg-body);
  line-height: 1.65;
  margin-top: 20px;
}

:where(.CompareBTF, body) .fmg-compare-btf a {
  color: var(--fmg-purple);
  text-decoration: none;
}

:where(.CompareBTF, body) .fmg-compare-btf a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:where(.CompareBTF, body) .fmg-compare-btf .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 0;
}

:where(.CompareBTF, body) .fmg-compare-btf .card {
  background:
    radial-gradient(
      140% 92% at 6% -10%,
      rgba(255, 255, 255, 0.66) 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(
      158deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(246, 250, 255, 0.88) 52%,
      rgba(237, 244, 255, 0.8) 100%
    );
  border: 1px solid var(--fmg-line);
  border-radius: var(--fmg-radius-lg, 24px);
  box-shadow:
    var(--fmg-shadow-glass, 0 18px 45px rgba(0, 0, 0, 0.06)),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  padding: clamp(18px, 2.2vw, 28px);
  margin: 0 0 16px;
  position: relative;
  overflow: hidden;
}

:where(.CompareBTF, body) .fmg-compare-btf h2,
:where(.CompareBTF, body) .fmg-compare-btf h3 {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--fmg-navy);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

:where(.CompareBTF, body) .fmg-compare-btf h2 {
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.18;
}

:where(.CompareBTF, body) .fmg-compare-btf h3 {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  margin: 0;
}

:where(.CompareBTF, body) .fmg-compare-btf p {
  margin: 0 0 10px;
}

:where(.CompareBTF, body) .fmg-compare-btf .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fmg-soft);
  border: 1px solid color-mix(in srgb, var(--fmg-purple), transparent 82%);
  color: var(--fmg-navy);
  border-radius: var(--fmg-pill-radius, 999px);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

:where(.CompareBTF, body) .fmg-compare-btf .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

:where(.CompareBTF, body) .fmg-compare-btf .mini {
  background: linear-gradient(180deg, #fff, var(--fmg-soft2));
  border: 1px solid var(--fmg-line);
  border-radius: var(--fmg-radius-md, 18px);
  padding: 14px;
}

:where(.CompareBTF, body) .fmg-compare-btf .mini .top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

:where(.CompareBTF, body) .fmg-compare-btf .ico {
  width: 34px;
  height: 34px;
  border-radius: var(--fmg-radius-sm, 12px);
  background: color-mix(in srgb, var(--fmg-purple), transparent 88%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
}

:where(.CompareBTF, body) .fmg-compare-btf .mini p {
  margin: 0;
  font-size: 14px;
}

:where(.CompareBTF, body) .fmg-compare-btf .mini strong {
  color: var(--fmg-ink);
  font-weight: 900;
}

:where(.CompareBTF, body) .fmg-compare-btf .callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--fmg-radius-md, 18px);
  border: 1px solid color-mix(in srgb, var(--fmg-purple), transparent 82%);
  background: var(--fmg-soft);
}

:where(.CompareBTF, body) .fmg-compare-btf .callout .title {
  font-weight: 900;
  color: var(--fmg-navy);
  margin: 0 0 2px;
  font-size: 14px;
}

:where(.CompareBTF, body) .fmg-compare-btf .callout p {
  margin: 0;
  font-size: 14px;
}

:where(.CompareBTF, body) .fmg-compare-btf .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

:where(.CompareBTF, body) .fmg-compare-btf .plink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--fmg-pill-radius, 999px);
  border: var(--fmg-border-subtle, 1px solid rgba(20, 22, 51, 0.14));
  background: var(--fmg-color-surface, #fff);
  color: var(--fmg-navy);
  font-weight: 900;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: var(--fmg-shadow-soft, 0 10px 25px rgba(0, 0, 0, 0.04));
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

:where(.CompareBTF, body) .fmg-compare-btf .plink:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--fmg-purple), transparent 65%);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.06);
}

/* FAQ styles mapped to control-plane classes to ensure centralized control */
:where(.CompareBTF, body) .fmg-compare-btf .fmg-cp-faq-details {
  margin: 10px 0;
}

:where(.CompareBTF, body) .fmg-compare-btf .fmg-cp-faq-summary {
  font-weight: 900;
  color: var(--fmg-navy);
}

:where(.CompareBTF, body) .fmg-compare-btf .fmg-cp-faq-a {
  color: var(--fmg-body);
}

@media (max-width: 900px) {
  :where(.CompareBTF, body) .fmg-compare-btf .grid {
    grid-template-columns: 1fr;
  }
}
