/* Business Support Buddy global footer
   Mobile-first foundation with every destination visible on every screen. */
.bsb-footer {
  --bsb-footer-ink: #f5f9ff;
  --bsb-footer-muted: #aebed0;
  --bsb-footer-subtle: #7f94aa;
  --bsb-footer-accent: #7fcfff;
  --bsb-footer-accent-strong: #48ddff;
  --bsb-footer-mint: #79e7bd;
  --bsb-footer-line: rgba(127, 207, 255, .14);
  position: relative;
  left: 50%;
  right: 50%;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  min-width: 0;
  margin-right: -50vw;
  margin-left: -50vw;
  overflow: clip;
  color: var(--bsb-footer-ink);
  background:
    radial-gradient(circle at 9% 4%, rgba(72, 221, 255, .12), transparent 25rem),
    radial-gradient(circle at 94% 30%, rgba(79, 131, 255, .12), transparent 30rem),
    linear-gradient(155deg, #06172b 0%, #081a31 48%, #071426 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.bsb-footer::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(72, 221, 255, .54), rgba(121, 231, 189, .42), transparent);
}

.bsb-footer,
.bsb-footer * {
  box-sizing: border-box;
}

.bsb-footer__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background-image:
    linear-gradient(rgba(127, 207, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 207, 255, .035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 64%);
}

.bsb-footer__shell {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) clamp(14px, 3.5vw, 96px) max(28px, env(safe-area-inset-bottom));
}

.bsb-footer :where(h2, h3, p, ul) {
  margin-top: 0;
}

.bsb-footer__lead {
  display: grid;
  gap: 30px;
  padding-bottom: clamp(36px, 8vw, 58px);
}

.bsb-footer__message {
  max-width: 720px;
}

.bsb-footer__brand {
  display: inline-grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.bsb-footer__brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #05172b;
  background: linear-gradient(145deg, var(--bsb-footer-accent-strong), var(--bsb-footer-mint));
  box-shadow: 0 12px 32px rgba(50, 204, 239, .18);
}

.bsb-footer__brand > span:last-child {
  display: grid;
  gap: 1px;
}

.bsb-footer__brand strong {
  font-size: .98rem;
  font-weight: 850;
  letter-spacing: -.01em;
}

.bsb-footer__brand small,
.bsb-footer__group-heading small {
  color: var(--bsb-footer-accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bsb-footer__message h2 {
  max-width: 15ch;
  margin: 24px 0 14px;
  color: var(--bsb-footer-ink);
  font-size: clamp(2rem, 10vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}

.bsb-footer__message > p {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--bsb-footer-muted);
  font-size: clamp(.98rem, 3.8vw, 1.08rem);
}

.bsb-footer__next-step {
  align-self: end;
}

.bsb-footer__next-label {
  display: block;
  margin-bottom: 10px;
  color: var(--bsb-footer-subtle);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bsb-footer__actions {
  display: grid;
  gap: 10px;
}

.bsb-footer__action {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--bsb-footer-ink);
  font-size: .94rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.bsb-footer__action--primary {
  color: #06172b;
  background: linear-gradient(120deg, #5e8ff4, #67d9ee);
  box-shadow: 0 16px 42px rgba(70, 151, 231, .2);
}

.bsb-footer__action--secondary {
  grid-template-columns: 22px minmax(0, 1fr);
  background: rgba(127, 207, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(127, 207, 255, .16);
}

.bsb-footer__context {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  color: var(--bsb-footer-muted);
  font-size: .82rem;
}

.bsb-footer__context > i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--bsb-footer-mint);
  background: rgba(121, 231, 189, .09);
}

.bsb-footer__context span {
  display: grid;
}

.bsb-footer__context small {
  color: var(--bsb-footer-subtle);
}

.bsb-footer__context a {
  color: var(--bsb-footer-accent);
  text-underline-offset: 3px;
}

.bsb-footer__context em {
  grid-column: 2;
  color: var(--bsb-footer-mint);
  font-style: normal;
}

.bsb-footer__navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.bsb-footer__group {
  min-width: 0;
  border-top: 1px solid var(--bsb-footer-line);
}

.bsb-footer__group-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  gap: 11px;
  color: var(--bsb-footer-ink);
}

.bsb-footer__group-heading > div {
  display: grid;
  gap: 1px;
}

.bsb-footer__group-heading h3 {
  margin: 0;
  color: var(--bsb-footer-ink);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
}

.bsb-footer__group-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--bsb-footer-accent);
  background: rgba(127, 207, 255, .08);
}

.bsb-footer__group-list {
  display: grid;
  gap: 3px;
  margin: -2px 0 16px;
  padding: 0;
  list-style: none;
}

.bsb-footer__group-list a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 20px;
  align-items: center;
  min-height: 56px;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--bsb-footer-muted);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.bsb-footer__group-list a > i:first-child {
  color: var(--bsb-footer-accent);
}

.bsb-footer__group-list a > i:last-child {
  color: var(--bsb-footer-subtle);
  opacity: .68;
}

.bsb-footer__trust {
  display: grid;
  gap: 0;
  margin-top: clamp(32px, 8vw, 58px);
  border-block: 1px solid var(--bsb-footer-line);
}

.bsb-footer__trust-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding-block: 18px;
}

.bsb-footer__trust-item + .bsb-footer__trust-item {
  border-top: 1px solid var(--bsb-footer-line);
}

.bsb-footer__trust-item > i {
  margin-top: 2px;
  color: var(--bsb-footer-mint);
  font-size: 1.15rem;
}

.bsb-footer__trust-item span {
  display: grid;
  gap: 2px;
}

.bsb-footer__trust-item strong {
  font-size: .9rem;
  font-weight: 850;
}

.bsb-footer__trust-item small {
  color: var(--bsb-footer-subtle);
  font-size: .78rem;
  line-height: 1.5;
}

.bsb-footer__base {
  display: grid;
  gap: 24px;
  padding-top: clamp(32px, 8vw, 54px);
}

.bsb-footer__audience,
.bsb-footer__positioning {
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bsb-footer-line);
}

.bsb-footer__audience h2,
.bsb-footer__positioning h2 {
  margin: 0;
  color: var(--bsb-footer-ink);
  font-weight: 900;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.bsb-footer__audience h2 {
  max-width: 19ch;
  font-size: clamp(1.35rem, 6vw, 1.8rem);
  line-height: 1.08;
}

.bsb-footer__audience h2 span,
.bsb-footer__positioning h2 span {
  color: var(--bsb-footer-mint);
}

.bsb-footer__audience p {
  max-width: 38ch;
  margin: 0;
  color: var(--bsb-footer-muted);
  font-size: .94rem;
}

.bsb-footer__audience .bsb-footer__outcomes {
  color: var(--bsb-footer-accent);
  font-size: .84rem;
  font-weight: 800;
}

.bsb-footer__positioning h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--bsb-footer-ink);
  font-size: clamp(1.75rem, 8vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.bsb-footer__positioning p {
  max-width: 70ch;
  margin: 0;
  color: var(--bsb-footer-muted);
  font-size: clamp(.96rem, 3.7vw, 1.04rem);
  line-height: 1.72;
}

.bsb-footer__copyright {
  display: grid;
  gap: 10px;
}

.bsb-footer__status {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  color: var(--bsb-footer-mint);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.bsb-footer__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(121, 231, 189, .09);
}

.bsb-footer__copyright p {
  max-width: 64ch;
  margin-bottom: 0;
  color: var(--bsb-footer-subtle);
  font-size: .78rem;
}

.bsb-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 2px;
}

.bsb-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--bsb-footer-muted);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.bsb-footer :where(a, button):focus-visible {
  outline: 3px solid var(--bsb-footer-accent-strong);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .bsb-footer__action:hover {
    transform: translateY(-2px);
  }

  .bsb-footer__action--primary:hover {
    color: #06172b;
    box-shadow: 0 20px 50px rgba(70, 151, 231, .28);
  }

  .bsb-footer__action--secondary:hover,
  .bsb-footer__group-list a:hover {
    color: var(--bsb-footer-ink);
    background: rgba(127, 207, 255, .11);
  }

  .bsb-footer__group-list a:hover {
    border-color: rgba(127, 207, 255, .18);
    transform: translateX(2px);
    box-shadow: 0 12px 32px rgba(1, 12, 26, .14);
  }

  .bsb-footer__legal a:hover,
  .bsb-footer__context a:hover {
    color: var(--bsb-footer-accent-strong);
  }
}

@media (min-width: 600px) {
  .bsb-footer__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bsb-footer__navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .bsb-footer__trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bsb-footer__trust-item {
    padding-inline: 18px;
  }

  .bsb-footer__trust-item:first-child {
    padding-left: 0;
  }

  .bsb-footer__trust-item + .bsb-footer__trust-item {
    border-top: 0;
    border-left: 1px solid var(--bsb-footer-line);
  }
}

@media (min-width: 960px) {
  .bsb-footer__lead {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
    align-items: end;
    gap: clamp(56px, 8vw, 120px);
  }

  .bsb-footer__navigation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 72px);
  }

  .bsb-footer__group {
    display: grid;
    grid-template-rows: 64px 1fr;
    border-top: 0;
  }

  .bsb-footer__group + .bsb-footer__group:not(.bsb-footer__group--wide) {
    position: relative;
  }

  .bsb-footer__group + .bsb-footer__group:not(.bsb-footer__group--wide)::before {
    position: absolute;
    top: 10px;
    bottom: 16px;
    left: clamp(-36px, -1.5vw, -12px);
    width: 1px;
    content: "";
    background: linear-gradient(to bottom, transparent, var(--bsb-footer-line) 12%, var(--bsb-footer-line) 88%, transparent);
  }

  .bsb-footer__group-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 64px;
  }

  .bsb-footer__group-list {
    grid-auto-rows: minmax(56px, auto);
    margin-top: 5px;
  }

  .bsb-footer__group--wide {
    display: grid;
    grid-template-rows: auto auto;
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid var(--bsb-footer-line);
  }

  .bsb-footer__group-list--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 72px);
  }

  .bsb-footer__base {
    grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "audience positioning"
      "copyright positioning";
    column-gap: clamp(48px, 6vw, 96px);
    row-gap: 34px;
    align-items: stretch;
  }

  .bsb-footer__audience {
    grid-area: audience;
    align-self: start;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .bsb-footer__positioning {
    grid-area: positioning;
    align-self: start;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .bsb-footer__positioning h2 {
    max-width: none;
    font-size: clamp(2.15rem, 3.2vw, 3rem);
  }

  .bsb-footer__positioning p {
    max-width: none;
  }

  .bsb-footer__copyright {
    grid-area: copyright;
    align-self: end;
  }

  .bsb-footer__legal {
    justify-content: flex-end;
  }
}

@media (min-width: 1600px) {
  .bsb-footer__lead {
    grid-template-columns: minmax(0, 1.45fr) minmax(440px, .55fr);
    gap: clamp(72px, 7vw, 150px);
  }

  .bsb-footer__navigation {
    gap: clamp(40px, 3.5vw, 96px);
  }

  .bsb-footer__group + .bsb-footer__group:not(.bsb-footer__group--wide)::before {
    left: clamp(-48px, -1.75vw, -20px);
  }

  .bsb-footer__group-list--wide {
    column-gap: clamp(40px, 3.5vw, 96px);
  }

  .bsb-footer__base {
    grid-template-columns: minmax(320px, .55fr) minmax(0, 1.45fr);
    column-gap: clamp(72px, 7vw, 150px);
  }

  .bsb-footer__positioning p {
    max-width: 90ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsb-footer__action,
  .bsb-footer__group-list a {
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .bsb-footer {
    border-top: 1px solid CanvasText;
    color: CanvasText;
    background: Canvas;
  }

  .bsb-footer__action,
  .bsb-footer__group,
  .bsb-footer__trust {
    border-color: CanvasText;
  }
}
