/* The "Top of the board" panel on its own, right before "Start here".

The panel used to sit in the right column of the dark hero. Now it stands on
its own as a card on the page background, immediately before the "Start here /
Quick answer" section, and the hero keeps the headline and the profile rail.
The card follows the theme in both the light and the dark theme.
*/
.bf-hero__inner { grid-template-columns: minmax(0, 1fr); }
.bf-hero__copy { max-width: 900px; }

.bf-topboard {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 0;
}
.bf-topboard .bf-hero__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: none;
}
.bf-topboard .bf-panel__head { border-bottom-color: var(--line); }
.bf-topboard .bf-panel__title { color: var(--ink); }
.bf-topboard .bf-freshness {
  background: var(--brand-tint);
  color: var(--brand-deep);
  border-color: transparent;
}
html[data-theme="dark"] .bf-topboard .bf-panel__title { color: var(--ink); }
html[data-theme="dark"] .bf-topboard .bf-freshness {
  background: var(--good-tint);
  color: var(--good);
  border-color: transparent;
}

/* The house paints the panel with a translucent white gradient for the dark
   hero; on the page background the panel is a plain card of the theme. */
html[data-theme="dark"] .bf-topboard .bf-hero__panel {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .bf-topboard { padding: 28px 20px 0; }
}
