/* Homepage only: shared public/admin styles and tab behaviour stay intact. */
.home-page {
  line-height: 1.6;
  padding-bottom: 0;
}

.home-page *, .home-page *::before, .home-page *::after {
  box-sizing: border-box;
}

.home-page #main {
  max-width: 1150px;
  padding: clamp(12px, 3vw, 32px) clamp(12px, 2.5vw, 24px) 40px;
}

.home-page .topbar { padding: 0; }
.home-page .topbar__inner { width: 100%; }
.home-page .topbar__btn { font-size: .875rem; }
.home-page .topbar__nav { min-width: 0; }

.home-page .hero__body { padding: clamp(16px, 3vw, 32px); }
.home-page .hero__intro { display: block; }
.home-page .hero__intro h1 { line-height: 1.15; }
.home-page .hero__intro .hero__sub {
  max-width: 72ch;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

.home-page .hero__tabbar { padding-inline: 12px; }
.home-page .hero__tab { min-height: 48px; }
.home-page .hero__tabstatus { line-height: 1.3; }
.home-page .hero__divider { margin-block: 24px; }
.home-page .mb-release { padding: clamp(16px, 2.5vw, 26px); }
.home-page .mb-release__heading { min-width: 0; }
.home-page .mb-release__heading h2 {
  line-height: 1.2;
  letter-spacing: .015em;
  text-wrap: balance;
}

.home-page .mb-release__lead { max-width: 72ch; line-height: 1.7; }
.home-page .mb-release__lead + .mb-release__lead { margin-top: 12px; }
.home-page .mb-release__badges { margin-top: 22px; gap: 8px; }
.home-page .mb-release__highlights {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.home-page .mb-highlight { padding: 18px; }
.home-page .mb-highlight__label { font-size: .75rem; }
.home-page .mb-highlight strong { font-size: 1rem; line-height: 1.4; }
.home-page .mb-highlight p, .home-page .dh-onramp__card p {
  font-size: 1rem;
  line-height: 1.65;
  color: #bac4d6;
  opacity: 1;
}

.home-page .dh-onramp {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin-top: 24px;
}
.home-page .dh-onramp__card { padding: 22px; }
.home-page .dh-onramp__card--install { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.home-page .dh-onramp__card h3 { margin-block: 8px 12px; line-height: 1.4; }
.home-page .dh-onramp__card p + p { margin-top: 10px; }
.home-page .dh-onramp__eyebrow { font-size: .75rem; }
.home-page .dh-terminal { min-width: 0; }
.home-page .dh-command { font-size: .8125rem; line-height: 1.8; }
.home-page .dh-terminal__bar { min-height: 36px; height: auto; }
.home-page .dh-terminal__foot { flex-wrap: wrap; }
.home-page .dh-pilot__facts { gap: 8px; margin-top: 18px; }
.home-page .dh-pilot__facts span { font-size: .8125rem; }
.home-page .dh-actions { margin-top: 24px; gap: 12px; }
.home-page .dh-primary-action { min-width: 0; max-width: 100%; }
.home-page .mb-pill { font-size: .875rem; }

.home-page .dh-latest {
  margin-top: 20px;
  padding: 14px 16px;
  font-size: .875rem;
  gap: 5px 10px;
  color: #abb7cb;
}
.home-page .dh-latest__label { flex-basis: 100%; color: #ebd689; }
.home-page .dh-latest__message { flex-basis: 100%; color: #d4deed; }
.home-page .dh-latest .mb-release__meta-sep { display: none; }

.home-page .dh-thanks {
  margin-top: 28px;
  padding: 6px 0 6px 18px;
  border-left: 3px solid #e2c65d;
}
.home-page .dh-thanks h3 { margin: 0 0 7px; color: #f2dda0; font-size: 1.125rem; line-height: 1.4; }
.home-page .dh-thanks p { max-width: 65ch; margin: 0; opacity: 1; color: #c7d0df; }
.home-page .dh-thanks--origins a {
  color: #9be7ff;
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, .46);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.home-page .dh-thanks--origins a:visited { color: #9be7ff; }
.home-page .dh-thanks--origins a:hover {
  color: #d8f7ff;
  text-decoration-color: #22d3ee;
}
.home-page .dh-thanks--origins .dh-credit-links {
  margin: 12px 0 14px;
  line-height: 1.7;
}
.home-page .dh-credit { margin-top: 20px; font-size: .8125rem; line-height: 1.7; color: #aab7cc; opacity: 1; }

.home-page .home-sections { display: grid; gap: 24px; margin-top: 24px; }
.home-page .home-sections > .card { margin: 0 !important; padding: clamp(18px, 3vw, 28px); }
.home-page .home-sections > .card > h2 { margin-top: 0; }
.home-page .forum-widget__link { padding: 14px 16px; }
.home-page .forum-widget__name { line-height: 1.5; }
.home-page .forum-widget__head { flex-wrap: wrap; gap: 10px; }
.home-page .mediabot-pulse__topic-title { line-height: 1.5; }
.home-page .mediabot-pulse__featured-summary { line-height: 1.65; }
.home-page .mediabot-pulse__featured-main > div:last-child { min-width: 0; }
.home-page .mediabot-pulse__featured-cta { white-space: normal; }
.home-page .egg-news__body { max-width: 76ch; line-height: 1.7; }
.home-page .egg-news__body + .egg-news__body { margin-top: 12px; }
.home-page .egghead, .home-page .linkhead { flex-wrap: wrap; }
.home-page .eggtitles { min-width: 0; }
.home-page .linklist li { line-height: 1.65; }

.home-page :is(h1, h2, h3, p, a, .dh-latest, .forum-widget__meta, .eggtitle, .eggdesc, .linkdesc, .linkmeta, .mediabot-pulse__topic-title) {
  overflow-wrap: anywhere;
}
.home-page a:focus-visible, .home-page button:focus-visible {
  outline: 2px solid #9be7ff;
  outline-offset: 3px;
}

/* The tribute follows the content, including when text is enlarged. */
.home-page .fixed-footer { position: static; line-height: 1.6; }
.home-page .fixed-footer__quote { padding-top: 18px; }
.home-page .fixed-footer__right { padding-bottom: 18px; }

@media (max-width: 900px) {
  .home-page .dh-onramp { grid-template-columns: minmax(0, 1fr); }
  .home-page .topbar { position: static; }
}

@media (max-width: 660px) {
  .home-page .mb-release__highlights { grid-template-columns: minmax(0, 1fr); }
  .home-page .mb-release__top { flex-direction: column; }
  .home-page .dh-onramp__card { padding: 16px; }
  .home-page .mb-download-card__top { flex-wrap: wrap; }
  .home-page .mb-previous-release { padding: 16px; }
  .home-page .fixed-footer__right { justify-content: flex-start; }
  .home-page .fixed-footer__msg { flex-basis: 100%; }
}

@media (max-width: 420px) {
  .home-page .hero__tabbar { flex-wrap: wrap; padding-inline: 4px; overflow: visible; }
  .home-page .hero__tab { flex: 1 1 auto; font-size: .8125rem; padding-inline: 8px; }
  .home-page .hero__tab--primary { flex-basis: auto; }
  .home-page .mediabot-pulse__featured-main { flex-direction: column; }
  .home-page .dh-terminal__mode { display: none; }
  .home-page .topbar__btn { padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
}
