/* Public site chrome (October 2026 redesign board, "public" shell): the 64px
   header with nav, Sign in, Start for free and the phone menu, and the navy
   footer. Markup comes from lib/cb-public.js. Needs lib/cb-fonts.css. */
.cbp-header {
  position: sticky; top: 0; z-index: 50;
  height: 64px; box-sizing: border-box;
  display: flex; align-items: center; gap: 24px;
  padding: 0 24px;
  background: #fff; border-bottom: 1px solid #D4DAE3;
  font-family: 'Public Sans', system-ui, sans-serif; color: #0E2535; line-height: normal;
  -webkit-font-smoothing: antialiased;
}
.cbp-header a { color: inherit; text-decoration: none; }
.cbp-brand { min-height: 44px; display: flex; align-items: center; }
.cbp-brand span {
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; line-height: normal;
  border: 1.5px solid #0E2535; padding: 6px 10px; border-radius: 3px;
}
.cbp-nav { display: flex; gap: 20px; font-size: 15px; }
.cbp-nav a { color: #5A6B7B; display: inline-flex; align-items: center; min-height: 44px; }
.cbp-nav a:hover { color: #0E2535; }
.cbp-spacer { flex: 1; }
.cbp-signin { font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.cbp-start {
  height: 40px; padding: 0 16px; border-radius: 6px;
  background: #0E2535; color: #fff !important;
  font-size: 15px; font-weight: 600; display: inline-flex; align-items: center;
}
.cbp-menu-btn {
  display: none; width: 44px; height: 44px; flex: none;
  border: 1px solid #D4DAE3; background: #fff; border-radius: 6px;
  color: #0E2535; cursor: pointer; padding: 0; font-size: 18px; font-family: inherit;
  align-items: center; justify-content: center;
}
.cbp-menu-scrim { position: fixed; inset: 0; z-index: 60; }
.cbp-menu {
  position: fixed; z-index: 61; top: 52px; left: 8px; right: 8px;
  background: #fff; border: 1px solid #D4DAE3; border-radius: 8px;
  box-shadow: 0 12px 32px rgba(9, 26, 40, 0.16); overflow: hidden;
  font-family: 'Public Sans', system-ui, sans-serif;
}
.cbp-menu[hidden], .cbp-menu-scrim[hidden] { display: none; }
.cbp-menu a {
  display: flex; align-items: center; min-height: 48px; box-sizing: border-box;
  padding: 12px 16px; border-bottom: 1px solid #EEF1F5;
  font-size: 15px; font-weight: 500; line-height: 1.4; color: #0E2535; text-decoration: none;
}
.cbp-menu a:hover { background: #F7F8FA; }

/* The page fills at least the viewport, footer at the bottom (board frame:
   a flex column with the footer last). */
body.cbp-page { min-height: 100vh; display: flex; flex-direction: column; }
body.cbp-page > .cbp-footer { margin-top: auto; }
.cbp-footer {
  background: #0E2535; color: #fff;
  padding: 32px 24px;
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
  font-family: 'Public Sans', system-ui, sans-serif; font-size: 13px; line-height: normal;
  -webkit-font-smoothing: antialiased;
}
.cbp-footer p { max-width: 360px; line-height: 1.6; color: #C9D3DE; margin: 0; }
.cbp-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.cbp-footer a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.cbp-footer a:hover { text-decoration: underline; }

/* Board "msg" template (a closed or invalid page): heading, muted line and
   a secondary button, in the 560px column at the left of the 960 content. */
.cbp-msg { max-width: 560px; font-family: 'Public Sans', system-ui, sans-serif; color: #0E2535; text-align: left; }
.cbp-msg h1 { margin: 0; font: 600 28px/1.2 'Source Serif 4', Georgia, serif; letter-spacing: normal; color: #0E2535; text-wrap: balance; }
.cbp-msg p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: #5A6B7B; text-wrap: pretty; }
.cbp-msg-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.cbp-btn {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px; box-sizing: border-box;
  border: 1px solid #D4DAE3; border-radius: 6px; background: #fff; color: #0E2535;
  font-size: 15px; font-weight: 600; line-height: normal; text-decoration: none;
}
.cbp-btn:hover { border-color: #0E2535; }
.cbp-btn:focus-visible { outline: 2px solid #C9A84C; outline-offset: 2px; }

/* Below desktop the nav links move into the menu; Start for free stays in
   the header at every width. On a phone Sign in lives in the menu only. */
@media (max-width: 1023px) {
  .cbp-nav { display: none; }
  .cbp-menu-btn { display: inline-flex; }
}
@media (max-width: 700px) {
  .cbp-header { gap: 12px; padding: 0 16px; }
  .cbp-signin { display: none; }
  .cbp-start { white-space: nowrap; }
}
/* Wider than a phone the menu drops from the right edge (board pub-menu 1440). */
@media (min-width: 701px) {
  .cbp-menu { top: 58px; left: auto; right: 24px; width: 340px; }
}
@media (max-width: 767px) {
  .cbp-msg h1 { font-size: 24px; }
}
