.docs-page {
  --docs-shell-max: var(--layout-max);
  --docs-content-max: var(--content-xl);
  --docs-text-max: var(--content-lg);
}

.docs-page .promo-bar {
  display: none;
}

.docs-page .hero {
  padding: 0 var(--shell-padding-x) var(--space-2);
}

.docs-page .hero > .hero__stage {
  max-width: var(--docs-shell-max);
  min-height: auto;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.docs-page .hero__inner {
  min-height: auto;
  align-items: center;
  gap: var(--space-2);
  padding-top: calc(var(--nav-height) + var(--space-2));
  padding-bottom: var(--space-2);
}

.docs-page .hero__content {
  max-width: var(--docs-text-max);
}

body.docs-page:not(.pdp-hero-page) .hero__title {
  max-width: var(--docs-text-max);
  font-size: var(--text-2xl);
  overflow-wrap: break-word;
  word-break: normal;
}

.docs-page .hero__subtitle {
  max-width: var(--content-md);
}

.docs-page .hero__panel {
  align-self: stretch;
  width: min(100%, var(--content-card));
  min-height: auto;
}

.docs-page .section {
  padding: var(--space-lg) 0;
}

.docs-page .section > .container {
  max-width: var(--docs-content-max);
}

.docs-page .section-heading {
  max-width: var(--docs-text-max);
  margin-bottom: var(--space-2);
}

.docs-page .section-title {
  max-width: var(--docs-text-max);
  font-size: var(--text-xl);
  overflow-wrap: break-word;
  word-break: normal;
}

.docs-page .section-subtitle {
  max-width: var(--docs-text-max);
  font-size: var(--text-md);
}

.docs-page .step-grid,
.docs-page .support-grid,
.docs-page .program-route-grid,
.docs-page .motivation-grid {
  align-items: stretch;
  gap: var(--space-base);
}

.docs-page .step-card,
.docs-page .support-card,
.docs-page .program-route-card,
.docs-page .motivation-card,
.docs-page .program-note {
  min-height: auto;
  border-radius: var(--radius-sm);
  padding: var(--space-1-5);
}

.docs-page .step-card h3,
.docs-page .support-card h3,
.docs-page .program-route-card h3,
.docs-page .motivation-card h3,
.docs-page .program-note h3 {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--font-weight-strong);
  line-height: var(--line-body);
  overflow-wrap: break-word;
  word-break: normal;
}

.docs-page .step-card p,
.docs-page .support-card p,
.docs-page .program-route-card p,
.docs-page .motivation-card p,
.docs-page .program-note p {
  font-size: var(--text-sm);
  line-height: var(--line-body);
}

.docs-page .program-note {
  margin-top: var(--space-base);
}

@media (min-width: 63.75rem) {
  .docs-page .support-grid,
  .docs-page .program-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-page .step-grid,
  .docs-page .motivation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 48.75rem) {
  .docs-page .hero {
    padding-bottom: var(--space-base);
  }

  .docs-page .hero > .hero__stage {
    min-height: auto;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .docs-page .hero__inner {
    gap: var(--space-base);
    padding-top: calc(var(--nav-height) + var(--space-base));
    padding-bottom: var(--space-base);
  }

  body.docs-page:not(.pdp-hero-page) .hero__title {
    font-size: var(--text-lg);
  }

  .docs-page .hero__subtitle {
    font-size: var(--text-sm);
  }

  .docs-page .hero__actions {
    display: grid;
    width: 100%;
  }

  .docs-page .hero__actions .btn {
    width: 100%;
  }

  .docs-page .hero__panel {
    display: none;
  }

  .docs-page .section {
    padding: var(--space-2) 0;
  }

  .docs-page .section-heading {
    margin-bottom: var(--space-1-5);
  }

  .docs-page .section-title {
    font-size: var(--text-lg);
  }

  .docs-page .step-card,
  .docs-page .support-card,
  .docs-page .program-route-card,
  .docs-page .motivation-card,
  .docs-page .program-note {
    padding: var(--space-base);
  }
}
