.fmg-ans-hero {
  font-family: var(--fmg-font-head);
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    color-mix(in srgb, var(--fmg-topic-accent), white 95%) 100%
  );
  border: 1px solid var(--fmg-line);
  border-radius: 12px;
  padding: 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  box-shadow: var(--fmg-shadow-card);
  position: relative;
  z-index: 1;
}

.fmg-ans-hero h1 {
  color: var(--fmg-ink);
  font-weight: 800;
  font-size: 2.2rem;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fmg-hero-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--fmg-topic-accent);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.fmg-ans-hero p {
  font-family: var(--fmg-font-body);
  color: var(--fmg-ink-2);
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 65ch;
  margin: 0 0 1.5rem 0;
  font-weight: 400;
}

.fmg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--fmg-brand-1), var(--fmg-brand-2));
  color: #ffffff !important;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(115, 52, 240, 0.25);
}

.fmg-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(115, 52, 240, 0.4);
}

.fmg-cta:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--fmg-topic-accent), white 30%);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .fmg-ans-hero {
    padding: 1.5rem;
  }

  .fmg-ans-hero h1 {
    font-size: 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .fmg-cta {
    width: 100%;
  }
}
