/* ==========================================================================
   Public page frame + brand bar (final handoff, 2026-10-30)
   The public shell: a 1480px frame on a white-to-warm ground, opened by a
   brand bar that scrolls with the page. The app header (header-secure.css)
   is untouched.
   ========================================================================== */

body.ffb-body--public {
  padding-top: 0;
  background: var(--ffb-frame-bg);
}

.ffb-frame {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--ffb-frame);
  margin-inline: auto;
  padding-inline: var(--ffb-frame-pad);
}

/* -------- Brand bar -------- */

.ffb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: clamp(16px, min(3.2vw, 4vh), 48px) 4px clamp(14px, min(2.8vw, 3.4vh), 40px);
}

/* The lockup at the bar's size: a step down from the app header's 7b. */
.ffb-bar .ffb-header__brand {
  --ffb-brand-gap: 22px;
}

.ffb-bar .ffb-header__wordmark {
  font-size: var(--ffb-bar-brand-size);
}

.ffb-bar .ffb-header__endorse {
  gap: 6px;
}

.ffb-bar .ffb-header__powered {
  font-size: 10px;
}

.ffb-bar .ffb-header__logo {
  height: 42px;
}

.ffb-bar__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.ffb-bar__home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ffb-poppins);
  font-weight: 600;
  font-size: 15px;
  color: var(--ffb-navy-deep);
}

.ffb-bar__home:hover {
  color: var(--ffb-blue);
}

.ffb-bar__signin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--ffb-r-pill);
  background: var(--ffb-blue);
  font-family: var(--ffb-jakarta);
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  white-space: nowrap;
  transition: background var(--ffb-t-fast) ease;
}

.ffb-bar__signin:hover {
  background: var(--ffb-pill-blue-hover);
  color: #ffffff;
}

.ffb-bar__home svg,
.ffb-bar__signin svg {
  width: 18px;
  height: 18px;
}

/* Phones: one row (Keith, 2026-11-02). A smaller lockup, no "← Home" (the
   lockup goes home), a narrower pill. ≤375 the endorsement goes, by
   header.css's own rule. */
@media (max-width: 480px) {
  .ffb-bar {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .ffb-bar .ffb-header__brand {
    --ffb-brand-gap: 12px;
  }

  .ffb-bar .ffb-header__wordmark {
    font-size: 22px;
  }

  .ffb-bar .ffb-header__endorse {
    gap: 4px;
  }

  .ffb-bar .ffb-header__powered {
    font-size: 8px;
  }

  .ffb-bar .ffb-header__logo {
    height: 32px;
  }

  .ffb-bar__home {
    display: none;
  }

  .ffb-bar__signin {
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    font-size: 15px;
  }
}
