body.magic-vergt-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 55% 12%, rgba(126, 34, 50, 0.28), transparent 42%), var(--bg);
}

.magic-layout {
  flex: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: calc(var(--topbar-offset, 76px) + 2rem) auto 0;
  padding-bottom: 5rem;
}

.magic-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 79, 102, 0.32);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(13, 9, 16, 0.96) 9%, rgba(41, 14, 24, 0.94) 72%, rgba(71, 21, 21, 0.92));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.magic-hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  max-width: 730px;
  padding: clamp(2rem, 6vw, 5.5rem);
}

.magic-eyebrow,
.magic-section-label {
  margin: 0 0 1.3rem;
  color: #ff8d9d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.magic-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.9rem, 6.3vw, 5.8rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.magic-lead {
  max-width: 58ch;
  margin: 2rem 0 0;
  color: #e0cdd2;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.7;
}

.magic-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 2rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--accent-red);
  color: #180b12;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.magic-cta:hover,
.magic-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 79, 102, 0.3);
}

.magic-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.magic-hint {
  margin: 0.8rem 0 0;
  color: #baa8ad;
  font-size: 0.85rem;
}

.magic-orbit {
  position: absolute;
  right: -160px;
  top: 50%;
  width: 580px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 160, 173, 0.22);
  border-radius: 50%;
  transform: translateY(-50%) rotate(-24deg);
}

.magic-orbit-two {
  right: -42px;
  width: 350px;
  border-color: rgba(255, 160, 173, 0.3);
}

.magic-symbol {
  position: absolute;
  right: 30px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 79, 102, 0.25), transparent 68%);
  transform: translateY(-50%);
  color: rgba(255, 180, 190, 0.78);
  font-size: 12rem;
  line-height: 1;
}

.magic-details {
  margin-top: 5rem;
}

.magic-details-heading {
  max-width: 660px;
  margin-bottom: 2rem;
}

.magic-details h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.magic-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.magic-card {
  min-height: 225px;
  padding: 1.7rem;
  border: 1px solid rgba(255, 79, 102, 0.24);
  border-radius: 20px;
  background: rgba(20, 12, 19, 0.72);
}

.magic-card-number {
  color: #ff8d9d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.magic-card h3 {
  margin: 1.6rem 0 0.65rem;
  color: var(--text);
  font-size: 1.22rem;
}

.magic-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .magic-layout {
    margin-top: calc(var(--topbar-offset, 76px) + 1rem);
    padding-bottom: 3rem;
  }

  .magic-hero {
    min-height: 560px;
  }

  .magic-hero-content {
    padding: 2rem;
  }

  .magic-symbol {
    right: -75px;
    top: 85px;
    width: 220px;
    opacity: 0.25;
  }

  .magic-card-grid {
    grid-template-columns: 1fr;
  }

  .magic-card {
    min-height: 0;
  }
}

@media (max-width: 500px) {
  .magic-layout {
    width: min(100% - 1rem, 1120px);
  }

  .magic-hero {
    min-height: 0;
    border-radius: 20px;
  }

  .magic-hero-content {
    padding: 2.3rem 1.35rem;
  }

  .magic-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.5rem);
  }

  .magic-lead {
    margin-top: 1.5rem;
  }

  .magic-cta {
    width: 100%;
  }

  .magic-details {
    margin-top: 3.5rem;
    padding: 0 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .magic-cta {
    transition: none;
  }
}
