/* Shared inner-page chrome — frosted header, static banner, section bands */

.page-inner .site-main {
  position: relative;
  z-index: 1;
  margin-top: 0;
  min-height: auto;
  background: transparent;
}

.page-inner .site-header.is-immersive .site-header__clip--dark,
.page-inner .site-header.is-transitioning .site-header__clip--dark {
  background: rgba(0, 0, 50, 0.58);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

.page-inner .site-header.is-solid .site-header__clip--dark {
  visibility: hidden;
  pointer-events: none;
}

.page-inner .site-header.is-solid .site-header__clip--light {
  visibility: visible;
  pointer-events: auto;
  background: var(--bg-base);
}

.inner-stage {
  --inner-banner-h: clamp(32rem, 75vh, 42rem);
  position: relative;
  z-index: 0;
}

.inner-banner__viewport {
  position: relative;
  min-height: var(--inner-banner-h);
  overflow: hidden;
}

.inner-banner__panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: var(--inner-banner-h);
  padding-bottom: var(--quick-bar-h);
}

/* Inner page hero titles — constrained + centered */
.page-inner .inner-banner__inner > h1,
.page-about [id="about-hero-title"] {
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (max-width: 520px) {
  .inner-stage {
    --inner-banner-h: clamp(28rem, 68vh, 36rem);
  }
}

/* Banner content — tabs, subtitle, support line. The locked HTML uses Tailwind
   utilities that are not in the compiled app.css, so express them as BEM here. */
.inner-banner__tabs {
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  row-gap: 0.375rem;
}

.inner-banner__tabs a {
  border-radius: var(--radius-brand, 4px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 50, 0.2);
  padding: 0.45rem 0.75rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s;
}

.inner-banner__tabs a:hover {
  border-color: var(--color-accent, silver);
  background: rgba(0, 0, 50, 0.45);
}

.inner-banner__tabs-sep {
  user-select: none;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-accent, silver) 60%, transparent);
}

.inner-banner__sub {
  margin: 0.5rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: #fff;
}

.inner-banner__support {
  margin: 0.25rem auto 1.25rem;
  max-width: 42rem;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 640px) {
  .inner-banner__tabs-sep {
    display: none;
  }

  .inner-banner__tabs a {
    padding: 0.25rem 0.55rem;
    font-size: 0.55rem;
  }
}

.inner-band {
  scroll-margin-top: var(--header-h);
}

/* Inner page content sections: 64px each side → 128px between sections */
.page-inner .inner-band > div:first-child,
.page-inner .site-main > section > div:first-child {
  padding-block: var(--spacing-section-y);
}

/* Banner has no section bottom pad — first band gets full 128px top */
.page-inner .inner-band.inner-band--bridge > div:first-child {
  padding-block: 8rem var(--spacing-section-y) !important;
}

.inner-band--bridge {
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(210, 218, 235, 0.55), transparent 68%),
    linear-gradient(180deg, #d8e0ef 0%, #e2e8f4 10%, #eaedf6 22%, #f1f4fa 38%, #f7f9fc 55%, #fcfdfe 72%, #ffffff 88%);
}

.inner-band--soft {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 18%, #f8fafc 28%, #f0f3f8 42%, #e8edf5 58%, #f2f5f9 78%, #fafbfd 92%, #ffffff 100%);
}

.inner-band--alt {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 18%, #f9fafc 28%, #f1f4f9 42%, #e9edf5 58%, #f3f6fa 78%, #fbfcfd 92%, #ffffff 100%);
}

.page-inner .info-band {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(210, 218, 235, 0.35), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 35%, #ffffff 100%);
}

.page-inner .info-intro--no-video {
  display: block;
}

.page-inner .info-intro--no-video .info-brand {
  max-width: 36rem;
  text-align: center;
  margin-inline: auto;
}

.inner-faq details {
  border: 1px solid rgba(192, 192, 192, 0.65);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.98), transparent 50%),
    linear-gradient(160deg, #ffffff 0%, #f7f9fc 100%);
  padding: 1rem 1.15rem;
  box-shadow: 0 10px 24px rgba(0, 0, 80, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.inner-faq details:hover {
  border-color: rgba(192, 192, 192, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 80, 0.1);
}

.inner-faq summary::-webkit-details-marker {
  display: none;
}

.inner-faq details[open] summary {
  margin-bottom: 0.65rem;
}

/* FAQ questions → 20px accordion title (beats the inline text-[…] utility). */
.inner-faq summary {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem); /* 20px */
}

/* FAQ answers → 18px, solid near-black content (the slot builder tags them
   meta-gray at text-body-sm by default). Beats the injected utilities. */
.inner-faq details p,
.inner-faq details li {
  font-size: clamp(1rem, 1.6vw, 1.125rem); /* 18px */
  color: var(--text-main, #212121);
}

/* Inner-page course cards — slightly richer than flat locked homepage cards */
.page-inner .course-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.98), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  border-color: rgba(192, 192, 192, 0.7);
  box-shadow: 0 12px 28px rgba(0, 0, 80, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-inner .course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 80, 0.12);
}

.page-inner .course-card__cta {
  /* Push the CTA to the bottom of the equal-height card so every
     "Learn More" button lines up regardless of title/description length. */
  margin-top: auto;
  background: var(--primary-brand);
  color: #fff;
  border-color: var(--primary-brand);
}

.page-inner .course-card__cta:hover {
  background: #000070;
  box-shadow: 0 8px 18px rgba(0, 0, 80, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .page-inner .course-card:hover {
    transform: none;
  }
}

/* inner-step layout/type → Tailwind in HTML; keep gradient surface if needed via TW */

/* (legacy inner-step rules removed — utilities in HTML) */
