/* SBC brand layer — sits on top of the Webflow base styles */
:root {
  --sbc-blue: #0098ea;
  --sbc-blue-deep: #0077b8;
}

.sbc-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--color--gray-1);
  text-decoration: none;
}

.sbc-brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: block;
  border-radius: 50%;
  box-shadow: 0 6px 18px -6px rgba(0, 152, 234, .55);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.sbc-brand:hover .sbc-brand-mark {
  transform: rotate(-8deg) scale(1.04);
}

.sbc-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.sbc-brand-name {
  font-family: var(--_typography---font-family--heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--color--gray-1);
}

.sbc-brand-tagline {
  margin-top: .3rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color--gray-3);
}

.sbc-brand.is-footer .sbc-brand-mark {
  width: 48px;
  height: 48px;
}

.sbc-brand.is-footer .sbc-brand-name {
  font-size: 1.625rem;
}

.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem 1rem;
}

.footer-copyright .copyright-link {
  color: inherit;
}

.footer-copyright .copyright-link:hover {
  color: var(--sbc-blue);
}

.sbc-copyright-sep {
  opacity: .35;
}

@media screen and (max-width: 479px) {
  .sbc-brand-mark { width: 34px; height: 34px; }
  .sbc-brand-name { font-size: 1.2rem; }
  .sbc-brand-tagline { font-size: .5625rem; letter-spacing: 1.2px; }
  .sbc-copyright-sep { display: none; }
  .footer-copyright { flex-direction: column; align-items: flex-start; }
}

.sbc-hero-mark {
  border-radius: 50%;
  box-shadow: 0 18px 40px -12px rgba(0, 152, 234, .6);
}

.sbc-footer-pitch {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 360px;
}

.sbc-footer-pitch strong {
  font-family: var(--_typography---font-family--heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.4px;
  color: var(--color--gray-1);
}

.sbc-footer-pitch strong::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: .75rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sbc-blue), #406ae4);
}

.sbc-footer-pitch span {
  color: var(--color--gray-3);
  font-size: 1rem;
  line-height: 1.55;
}

.sbc-footer-tagline {
  max-width: 340px;
  color: var(--color--gray-3);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Accessible, visually hidden text (used for SEO-friendly headings) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Homepage hero: one <h1> wrapping the visual title parts */
h1.hero-caption-title { margin: 0; letter-spacing: var(--_typography---h1--letter-spacing); }
h1.hero-caption-title .hero-title { display: block; }

/* Industry strip (replaces the template's placeholder client logos) */
.sbc-industry {
  flex: none;
  color: var(--color--gray-3);
  font-family: var(--_typography---font-family--heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.sbc-industry::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 2.5rem;
  border-radius: 50%;
  background: var(--sbc-blue);
  vertical-align: middle;
}

/* Integrations section: SBC logo as the central hub */
.integration-icon-round.sbc-integration-mark {
  background-image: none;
  box-shadow: 0 18px 40px -12px rgba(0, 152, 234, .6);
}

.sbc-integration-mark .integration-center-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* About page: larger security badges that still fit their column */
.security-image-list {
  justify-content: flex-end;
  min-width: 0;
}

.security-image {
  flex: 0 1 124px;
  min-width: 0;
  width: auto;
  height: auto;
  aspect-ratio: 1;
}

@media screen and (max-width: 767px) {
  .security-image-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 479px) {
  .security-image {
    flex-basis: 96px;
  }
}

/* About page "at a glance": keep each card's icon at the right edge */
.grid-statistics-info .statistics-icon-round {
  justify-self: end;
  margin-left: auto;
}

/* Home bento: "Smart alerts" notification stack, cycled by a script in index.astro */
.sbc-alert-stack {
  display: grid;
  width: 100%;
  margin-bottom: 1.5rem;
}

.sbc-alert {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 2.5rem .75rem .75rem;
  background: #fff;
  border: 1px solid var(--color--gray-5);
  border-radius: 1rem;
  box-shadow: 0 10px 24px -12px rgba(11, 26, 51, .18);
  transform-origin: 50% 100%;
  transition:
    transform .6s cubic-bezier(.22, 1, .36, 1),
    opacity .6s cubic-bezier(.22, 1, .36, 1),
    background-color .6s ease,
    box-shadow .6s ease;
  will-change: transform, opacity;
}

.sbc-alert > * {
  transition: opacity .4s ease;
}

.sbc-alert[data-pos="0"] {
  z-index: 3;
  transform: none;
}

.sbc-alert[data-pos="1"] {
  z-index: 2;
  transform: translateY(10px) scale(.94);
  background-color: #fbfcfd;
  box-shadow: 0 6px 16px -10px rgba(11, 26, 51, .14);
}

.sbc-alert[data-pos="2"] {
  z-index: 1;
  transform: translateY(20px) scale(.88);
  background-color: #f6f8fa;
  box-shadow: 0 6px 16px -10px rgba(11, 26, 51, .14);
}

.sbc-alert:not([data-pos="0"]) > * {
  opacity: 0;
}

.sbc-alert[data-pos="0"] > * {
  transition-delay: .15s;
}

/* The outgoing card shrinks away, then re-enters silently at the back */
.sbc-alert[data-pos="exit"] {
  z-index: 4;
  transform: translateY(-6px) scale(.9);
  opacity: 0;
}

.sbc-alert.is-resetting,
.sbc-alert.is-resetting > * {
  transition: none;
}

.sbc-alert-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
  color: #fff;
}

.sbc-alert-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.sbc-alert-icon.is-success {
  background: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 6px 14px -6px rgba(5, 150, 105, .6);
}

.sbc-alert-icon.is-info {
  background: linear-gradient(135deg, #38bdf8, #0086d1);
  box-shadow: 0 6px 14px -6px rgba(0, 134, 209, .6);
}

.sbc-alert-icon.is-warning {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: 0 6px 14px -6px rgba(217, 119, 6, .6);
}

.sbc-alert-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.sbc-alert-label {
  font-size: .75rem;
  line-height: 1.3;
  color: #6b7785;
}

.sbc-alert-title {
  font-size: .9375rem;
  line-height: 1.35;
  font-weight: 600;
  color: #1d1d1d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* About hero: short one-line title, sized down from the default h1 */
.about-hero-title {
  font-size: var(--_typography---h2--h2);
  line-height: 1.15;
}

/* Desktop: calmer section headings. Hero titles keep their original sizes. */
@media screen and (min-width: 992px) {
  :root {
    --_typography---h2--h2: 2.25rem;
    --_typography---h3--h3: 1.875rem;
  }

  .about-hero-title { font-size: 3rem; }
  .hero-feature-title { font-size: 2.5rem; }
}
