.fd-page-hero {
  --fd-hero-pad-y: clamp(1rem, 1.4vw, 1.45rem);
  --fd-hero-pad-x: clamp(1rem, 1.8vw, 1.75rem);
  position: relative;
  padding: var(--fd-hero-pad-y) var(--fd-hero-pad-x);
  color: #f5fbff;
  border-radius: 0;
  background: var(--fd-gradient-accent);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.fd-page-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 360px);
  gap: 1rem 1.5rem;
  align-items: start;
}

.fd-page-hero__content {
  min-width: 0;
}

.fd-page-hero__aside {
  min-width: 0;
  display: grid;
  gap: 0.8rem;
  justify-items: stretch;
  align-content: start;
  width: 100%;
  max-width: 360px;
  justify-self: end;
}

.fd-page-hero__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 249, 255, 0.7);
}

.fd-page-hero__title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.fd-page-hero__description {
  margin: 0.65rem 0 0;
  max-width: 70rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(240, 249, 255, 0.82);
}

.fd-hero-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 0;
  border: 1px solid rgba(240, 249, 255, 0.16);
  background: rgba(248, 252, 255, 0.1);
  color: rgba(240, 249, 255, 0.86);
  box-shadow: none;
}

.fd-hero-card strong {
  color: #ffffff;
  font-weight: 800;
}

.fd-hero-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0.65rem;
  align-items: stretch;
  width: 100%;
}

.fd-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1rem;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.fd-hero-btn:hover {
  transform: translateY(-1px);
}

.fd-hero-btn--primary {
  background: linear-gradient(135deg, #1c7ed6, #22c1b8);
  color: #ffffff;
  border: 0;
}

.fd-hero-btn--primary:hover {
  background: linear-gradient(135deg, #1f73c0, #1daea6);
  color: #ffffff;
}

.fd-hero-btn--ghost {
  background: rgba(248, 252, 255, 0.08);
  color: #f7fcff;
  border: 1px solid rgba(248, 252, 255, 0.18);
}

.fd-hero-btn--ghost:hover {
  background: rgba(248, 252, 255, 0.15);
  color: #ffffff;
}

.fd-hero-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(240, 249, 255, 0.2);
}

.fd-hero-nav a,
.fd-hero-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.38rem 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: rgba(240, 249, 255, 0.8);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.fd-hero-nav a:hover,
.fd-hero-nav button:hover,
.fd-hero-nav a.is-active,
.fd-hero-nav a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 1600px) {
  .fd-page-hero__top {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 420px);
    gap: 1.25rem 2rem;
  }

  .fd-page-hero__aside {
    max-width: 420px;
  }

  .fd-hero-actions {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 1099.98px) {
  .fd-page-hero__top {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 1rem;
  }

  .fd-page-hero__aside {
    max-width: 300px;
  }
}

@media (max-width: 991.98px) {
  .fd-page-hero {
    padding: 1rem;
  }

  .fd-page-hero__title {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .fd-page-hero__description {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .fd-hero-actions {
    grid-template-columns: 1fr;
  }

  .fd-hero-nav {
    gap: 0.65rem 1rem;
  }

  .fd-page-hero__top {
    grid-template-columns: 1fr;
  }

  .fd-page-hero__aside {
    max-width: none;
    justify-self: stretch;
  }
}
