/* Presence Brief: shared chrome on top of the house tokens (../styles.css).
   Scoped to the bf- prefix, mirroring public/story/story.css's ss- prefix
   for the equivalent role, so page-specific styles never collide with it. */

body { margin: 0; background: var(--page-bg); }

.bf-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 0.5px solid var(--rule);
  background: var(--white);
  flex-wrap: wrap; row-gap: 10px;
}
.bf-wordmark {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 18px; color: var(--ink); text-decoration: none;
  white-space: nowrap;
}
.bf-topbar-right {
  font-family: var(--sans); font-size: 12px; color: var(--ink-faint);
}
.bf-topbar-nav {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; row-gap: 8px;
}
.bf-topbar-link {
  font-family: var(--ui); font-size: 13px; color: var(--ink-mid); text-decoration: underline;
  white-space: nowrap;
}
.bf-topbar-link:hover { color: var(--navy); }

.bf-topbar-balance { font-family: var(--ui); font-size: 12.5px; color: var(--ink-mid); }
.bf-topbar-buy { background: transparent; border: 1px solid var(--rule); border-radius: 6px; padding: 5px 12px;
  font-family: var(--ui); font-size: 12.5px; font-weight: 500; color: var(--slate); cursor: pointer; }
.bf-topbar-buy:hover { border-color: var(--steel); color: var(--navy); }

@media (max-width: 480px) {
  .bf-topbar { padding: 14px 16px; }
  .bf-topbar-nav { gap: 10px 14px; }
}

/* Shared footer, condensed version of the public .pl-footer used site-wide,
   scoped bf- so it never collides with it. Identical structure to Story's
   ss-footer -- kept as a separate copy per the platform's per-app
   duplication convention (docs/platform/solution-design.md section 9), not
   because the content differs. */
.bf-footer {
  background: #fff; border-top: 0.5px solid var(--rule);
  padding: 22px 24px; margin-top: 48px;
}
.bf-footer-row {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 14px; max-width: 980px; margin: 0 auto;
}
.bf-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.bf-footer-links a { font-family: var(--sans); font-size: 12.5px; color: var(--ink-faint); text-decoration: none; }
.bf-footer-links a:hover { color: var(--navy); }
.bf-footer-legal {
  font-family: var(--serif); font-style: italic; font-size: 11.5px;
  color: var(--ink-faint); max-width: 980px; margin: 10px auto 0;
}

/* Confidentiality note (spec.md section 9 point 7), surfaced at ingest.
   Deliberately louder than a footnote -- it is a published privacy claim,
   not a caveat, and the platform's convention for a claim that must not be
   missed is a bordered callout (see .dg-short in public/story/new/index.html
   for the equivalent treatment of a different but similarly load-bearing
   notice). */
.bf-confidentiality {
  margin-bottom: 28px; border: 0.5px solid var(--rule); border-left: 3px solid var(--steel);
  border-radius: 8px; background: var(--fill-bg); padding: 14px 18px;
}
.bf-confidentiality p { font-family: var(--sans); font-size: 13px; line-height: 1.55; color: var(--ink-mid); margin: 0; }
.bf-confidentiality p + p { margin-top: 8px; }
.bf-confidentiality strong { color: var(--ink); font-weight: 600; }
