/* Built For Senders front door: the non-tenant site header and the home page.

   EVERY selector here starts with .bfs- . This file is linked only when no tenant is resolved
   (the layout guards the <link> on brandSlug == null), and it must never restyle html, body,
   .navbar, .container, .btn, .footer, a bare element or a Bootstrap class: a live tenant's pages
   share the layout. SendersHomePageTests pins the prefix rule. Tokens come from brand.css, each
   with a literal fallback. */

/* ---------- Site header ---------- */

.bfs-site-header {
  background: #fff;
  border-bottom: 1px solid var(--bfc-border, #DDDDDD);
  margin-bottom: 1rem;
}

/* The old navbar carried mb-3 and the layout's footer is absolutely positioned, so the page body
   gets room above it. main already has pb-3 (!important), so this is a margin. */
.bfs-site-header + .container > main {
  margin-bottom: 1.5rem;
}

.bfs-site-header .bfs-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 16px;
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.bfs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bfc-ink, #262E3F);
  min-width: 0;
}

.bfs-brand:hover {
  color: var(--bfc-ink, #262E3F);
}

.bfs-brand img {
  display: block;
  flex: none;
}

.bfs-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.bfs-brand-line {
  font-size: 1.15rem;
  line-height: 1.15;
  white-space: nowrap;
}

.bfs-brand-by {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--bfc-ink-muted, #5D6472);
  white-space: nowrap;
}

.bfs-brand-pre {
  font-weight: 400;
  color: var(--bfc-ink-muted, #5D6472);
}

.bfs-brand-name {
  font-weight: 800;
  color: var(--bfc-ink, #262E3F);
}

.bfs-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 14px;
}

.bfs-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--bfc-ink, #262E3F);
  text-decoration: none;
}

.bfs-link:hover {
  color: var(--bfc-slate-hover, #43506C);
  text-decoration: underline;
}

.bfs-link:focus-visible {
  outline: 2px solid var(--bfc-slate, #546486);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */

.bfs-btn {
  display: inline-block;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid var(--bfc-ink, #262E3F);
  border-radius: 4px;
  cursor: pointer;
}

.bfs-btn:focus-visible {
  outline: 2px solid var(--bfc-slate, #546486);
  outline-offset: 2px;
}

.bfs-btn-outline {
  background: #fff;
  color: var(--bfc-ink, #262E3F);
  border-color: var(--bfc-ink, #262E3F);
}

.bfs-btn-outline:hover {
  background: var(--bfc-slate-tint, #EEF2F8);
  color: var(--bfc-ink, #262E3F);
}

.bfs-btn-solid {
  background: var(--bfc-slate, #546486);
  color: #fff;
  border-color: var(--bfc-slate, #546486);
}

.bfs-btn-solid:hover {
  background: var(--bfc-slate-hover, #43506C);
  border-color: var(--bfc-slate-hover, #43506C);
  color: #fff;
}

.bfs-btn-lg {
  font-size: 15px;
  padding: 12px 22px;
}

/* ---------- Home page ---------- */

.bfs-home {
  padding: 24px 0 48px;
  color: var(--bfc-ink, #262E3F);
}

.bfs-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bfc-ink-muted, #5D6472);
  margin: 0 0 12px;
}

.bfs-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 8px 0 8px;
}

.bfs-hero-title {
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.05;
  color: var(--bfc-ink, #262E3F);
  margin: 0;
}

.bfs-rule {
  width: 64px;
  height: 4px;
  background: var(--bfc-slate, #546486);
  margin: 20px 0;
}

.bfs-rule-short {
  width: 32px;
  height: 3px;
  background: var(--bfc-slate, #546486);
  margin: 8px 0 16px;
}

.bfs-lead {
  font-size: 1.15rem;
  color: var(--bfc-ink, #262E3F);
  margin: 0 0 12px;
}

.bfs-small {
  font-size: 0.9rem;
  color: var(--bfc-ink-muted, #5D6472);
  margin: 0 0 20px;
}

.bfs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bfs-card {
  background: #fff;
  border: 1px solid var(--bfc-border-strong, #C3CBD6);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(38, 46, 63, 0.08);
}

.bfs-card .bfs-eyebrow {
  color: var(--bfc-ink, #262E3F);
  margin-bottom: 0;
}

.bfs-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bfs-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.bfs-steps li:last-child {
  margin-bottom: 0;
}

.bfs-step-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bfc-slate, #546486);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bfs-step-title {
  font-weight: 700;
  margin: 0;
}

.bfs-step-text {
  color: var(--bfc-ink-muted, #5D6472);
  margin: 2px 0 0;
}

/* Sections */

.bfs-section {
  margin-top: 48px;
}

.bfs-section-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bfc-ink, #262E3F);
  margin: 0;
  font-size: 1.5rem;
}

.bfs-section-title + .bfs-rule {
  width: 48px;
  margin: 12px 0 24px;
}

/* Featured: the two big Trips and fundraising cards */

.bfs-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.bfs-feature {
  background: #fff;
  border: 1px solid var(--bfc-border-strong, #C3CBD6);
  border-top: 4px solid var(--bfc-slate, #546486);
  border-radius: 8px;
  padding: 28px;
}

.bfs-feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bfc-ink, #262E3F);
  margin: 0 0 6px;
}

.bfs-feature-lead {
  color: var(--bfc-ink, #262E3F);
  margin: 0 0 14px;
}

.bfs-checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bfs-checks li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--bfc-ink-muted, #5D6472);
}

.bfs-checks li:last-child {
  margin-bottom: 0;
}

.bfs-checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.4em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--bfc-slate, #546486);
  border-bottom: 2px solid var(--bfc-slate, #546486);
  transform: rotate(-45deg);
}

/* Also inside */

.bfs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.bfs-tile-card {
  background: #fff;
  border: 1px solid var(--bfc-border, #DDDDDD);
  border-radius: 8px;
  padding: 20px;
}

.bfs-tile-title {
  font-weight: 700;
  color: var(--bfc-ink, #262E3F);
  margin: 0 0 6px;
}

.bfs-tile-text {
  color: var(--bfc-ink-muted, #5D6472);
  margin: 0;
}

/* Sent to Camp: a lighter, secondary panel (no dark band) */

.bfs-stc {
  background: var(--bfc-slate-tint, #EEF2F8);
  border: 1px solid var(--bfc-border-strong, #C3CBD6);
  border-left: 4px solid var(--bfc-slate, #546486);
  border-radius: 8px;
  padding: 20px;
  color: var(--bfc-ink, #262E3F);
}

.bfs-stc-title {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--bfc-ink, #262E3F);
  margin: 0 0 10px;
}

.bfs-stc-text {
  margin: 0 0 14px;
  max-width: 62ch;
}

.bfs-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.bfs-choices li {
  margin: 0;
}

.bfs-choice-title {
  font-weight: 700;
}

.bfs-stc-line {
  color: var(--bfc-ink-muted, #5D6472);
  margin: 0 0 16px;
}

.bfs-stc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.bfs-textlink {
  font-weight: 600;
  color: var(--bfc-slate-active, #353F55);
  text-decoration: underline;
}

.bfs-textlink:hover {
  color: var(--bfc-slate-hover, #43506C);
}

.bfs-textlink:focus-visible {
  outline: 2px solid var(--bfc-slate, #546486);
  outline-offset: 2px;
}

/* Closing panel */

.bfs-closing {
  background: var(--bfc-surface-sunken, #F5F7FA);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-top: 48px;
}

.bfs-closing-title {
  font-weight: 800;
  color: var(--bfc-ink, #262E3F);
  margin: 0 0 8px;
}

.bfs-closing-text {
  color: var(--bfc-ink-muted, #5D6472);
  margin: 0 0 20px;
}

.bfs-contact {
  margin: 0;
  color: var(--bfc-ink-muted, #5D6472);
  font-size: 1.05rem;
}

.bfs-contact-email {
  color: var(--bfc-ink, #262E3F);
  font-weight: 800;
  user-select: all;
  overflow-wrap: anywhere;
}

/* ---------- Breakpoints ---------- */

@media (max-width: 419.98px) {
  .bfs-actions .bfs-btn,
  .bfs-stc-actions .bfs-btn {
    width: 100%;
  }
}

@media (min-width: 576px) {
  .bfs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bfs-stc {
    padding: 28px;
  }
}

@media (min-width: 768px) {
  .bfs-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .bfs-hero {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
  }

  .bfs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}