/* Non-home shared refinements. Never loaded by index.html. */

body[class*="page-"] .dropdown-panel a[aria-current] {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

body[class*="page-"] .header-cta > .btn[aria-current="page"] {
  box-shadow: 0 0 0 3px var(--accent-soft), 0 6px 18px rgba(22, 115, 209, .20);
}

body[class*="page-"] .section-heading {
  max-width: 720px;
  margin-bottom: 48px;
  text-wrap: balance;
}

body[class*="page-"] .section-heading .subtitle {
  max-width: 66ch;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.75;
  text-wrap: pretty;
}

body[class*="page-"] .detail-hero,
body[class*="page-"] .page-hero {
  position: relative;
  isolation: isolate;
}

body[class*="page-"] .detail-hero__title,
body[class*="page-"] .page-hero .title-1 {
  text-wrap: balance;
}

body[class*="page-"] .detail-hero__desc,
body[class*="page-"] .detail-card__text,
body[class*="page-"] .feature-row__text p,
body[class*="page-"] .legal-content p {
  text-wrap: pretty;
}

body[class*="page-"] .detail-hero__actions,
body[class*="page-"] .page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

body[class*="page-"] .detail-card__footer {
  margin-top: auto;
}

body[class*="page-"] .detail-card__title,
body[class*="page-"] .feature-row__text h2,
body[class*="page-"] .legal-content h2,
body[class*="page-"] .legal-content h3 {
  text-wrap: balance;
}

body[class*="page-"] .detail-table th,
body[class*="page-"] .detail-table td {
  vertical-align: top;
}

body[class*="page-"] .detail-links a,
body[class*="page-"] .asset-chip {
  min-height: 44px;
}

body[class*="page-"] .section--navy .section-heading .subtitle {
  color: var(--silver);
}

body[class*="page-"] .detail-hero__actions .btn--outline,
body[class*="page-"] .page-hero__actions .btn--outline {
  background: transparent;
}

body[class*="page-"] .faq-item__question,
body[class*="page-"] .faq-card__trigger {
  min-height: 56px;
}

body[class*="page-"] .faq-item__answer p:last-child,
body[class*="page-"] .faq-card__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  body[class*="page-"] .section-heading {
    margin-bottom: 40px;
  }

  body[class*="page-"] .detail-hero__desc,
  body[class*="page-"] .page-hero .subtitle {
    font-size: 1rem;
    line-height: 1.7;
  }

  body[class*="page-"] .detail-hero__actions .btn,
  body[class*="page-"] .page-hero__actions .btn {
    min-height: 52px;
  }
}

@media (max-width: 480px) {
  body[class*="page-"] .detail-hero,
  body[class*="page-"] .page-hero {
    margin-top: 16px;
    margin-bottom: 48px;
  }

  body[class*="page-"] .detail-hero__actions .btn,
  body[class*="page-"] .page-hero__actions .btn {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  body[class*="page-"] .detail-hero__actions,
  body[class*="page-"] .page-hero__actions {
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[class*="page-"] *,
  body[class*="page-"] *::before,
  body[class*="page-"] *::after {
    scroll-behavior: auto !important;
  }
}
