/* =============================================================
   Boon - Shared Site Footer
   =============================================================
   Ported from V5's multi-column footer formatting onto
   production's warm espresso (#0F0E0C) and parchment (#FBF7F0)
   palette with Fraunces + Satoshi typography.

   Self-contained so every page (homepage, customers, case
   studies, board, about, legal) can link /footer.css without
   depending on Tailwind or page-specific stylesheets, with zero
   animations or backdrop filters so Opera/Chrome never flicker.
   ============================================================= */

.boon-footer {
  background: #0F0E0C;
  color: #D5CCC0;
  border-top: 1px solid rgba(251, 247, 240, 0.10);
  font-family: 'Satoshi', 'Inter Tight', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  contain: layout style;
}

.boon-footer *,
.boon-footer *::before,
.boon-footer *::after {
  box-sizing: border-box;
}

.boon-footer__frame {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 72px 40px 0;
}

.boon-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.95fr);
  gap: 40px 56px;
  padding-bottom: 64px;
}

.boon-footer__intro {
  display: grid;
  gap: 18px;
  align-content: start;
  max-width: 34ch;
}

.boon-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border-radius: 6px;
  text-decoration: none;
}

.boon-footer__logo img {
  height: 24px;
  width: auto;
  display: block;
  filter: invert(1);
  opacity: 0.96;
}

.boon-footer__line {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #A39889;
}

.boon-footer__proof {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #D5CCC0;
}

.boon-footer__proof-num {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
  color: #FBF7F0;
}

.boon-footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr) minmax(0, 0.8fr);
  gap: 32px;
}

.boon-footer__label {
  margin: 0 0 12px;
  color: #A39889;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.boon-footer__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.43;
}

.boon-footer__cols a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #D5CCC0;
  text-decoration: none;
  transition: color 120ms ease-out;
}

.boon-footer__cols a:hover {
  color: #FBF7F0;
}

/* Founder call block inside "Get started" */
.boon-footer__founder {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0 14px;
}

.boon-footer__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #2A251F;
  border: 1px solid rgba(251, 247, 240, 0.18);
  display: block;
}

.boon-footer__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 64% 18%;
  transform: scale(1.85);
  transform-origin: 62% 24%;
}

.boon-footer__founder-meta {
  min-width: 0;
}

.boon-footer__founder-name {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  color: #FBF7F0;
}

.boon-footer__founder-role {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: #A39889;
}

.boon-footer__cols a.boon-footer__call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  font-size: 14px;
  font-weight: 500;
  color: #FBF7F0;
  border-bottom: 1px solid rgba(251, 247, 240, 0.34);
  padding-bottom: 2px;
  transition: color 120ms ease-out, border-color 120ms ease-out;
}

.boon-footer__cols a.boon-footer__call:hover {
  color: #FFFFFF;
  border-bottom-color: #FBF7F0;
}

.boon-footer__arrow {
  display: inline-block;
  transition: transform 180ms ease-out;
}

.boon-footer__call:hover .boon-footer__arrow {
  transform: translateX(3px);
}

.boon-footer :focus-visible {
  outline: 2px solid #FBF7F0;
  outline-offset: 3px;
  border-radius: 4px;
}

.boon-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(251, 247, 240, 0.10);
  font-size: 13px;
  line-height: 1.4;
}

.boon-footer__copy {
  color: #A39889;
}

/* Tablet: stack brand above link columns (matches V5 1024px switch) */
@media (max-width: 1023px) {
  .boon-footer__frame {
    padding: 56px 28px 0;
  }
  .boon-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
  }
  .boon-footer__cols {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 0.8fr);
    gap: 28px 24px;
  }
}

/* Phone: 2-column Explore/Legal grid + full-width founder call block (matches V5 640px switch) */
@media (max-width: 639px) {
  .boon-footer__frame {
    padding: 48px 20px 0;
  }
  .boon-footer__grid {
    gap: 32px;
    padding-bottom: 36px;
  }
  .boon-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .boon-footer__founder-col {
    grid-column: 1 / -1;
    order: 2;
    padding-top: 24px;
    border-top: 1px solid rgba(251, 247, 240, 0.08);
  }
  .boon-footer__label {
    margin-bottom: 8px;
  }
  .boon-footer__cols ul {
    gap: 4px;
  }
  .boon-footer__cols a {
    min-height: 32px;
  }
  .boon-footer__cols a.boon-footer__call {
    min-height: 36px;
  }
  .boon-footer__bottom {
    padding: 20px 0 32px;
    gap: 8px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boon-footer__cols a,
  .boon-footer__cols a.boon-footer__call,
  .boon-footer__arrow {
    transition: none;
  }
  .boon-footer__call:hover .boon-footer__arrow {
    transform: none;
  }
}

@media print {
  .boon-footer {
    display: none;
  }
}
