/* Shared marketing footer, rendered by marketing-footer.js.
   Every rule is scoped to .site-footer.sf so it wins over the older .site-footer rules in
   site.css, and the footer looks the same on pages that do not load site.css. */
.site-footer.sf {
  --sf-bg: #10201a;
  --sf-ink: #e9f1ed;
  --sf-soft: #cbdad3;
  --sf-muted: #91a99f;
  --sf-line: rgb(255 255 255 / 9%);
  --sf-mint: #6bd0b0;
  --sf-on: #07130f;
  margin-top: auto;
  padding: 40px 0 0;
  color: var(--sf-ink);
  background:
    radial-gradient(760px 320px at 88% 0, rgb(107 208 176 / 9%), transparent 70%), var(--sf-bg);
  border: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
}
.site-footer.sf a {
  color: inherit;
  text-decoration: none;
}
.site-footer.sf ul {
  display: block;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer.sf p {
  margin: 0;
}
.site-footer.sf :focus-visible {
  outline: 2px solid var(--sf-mint);
  outline-offset: 3px;
  border-radius: 8px;
}
.site-footer.sf .sf-i {
  flex: none;
}
.site-footer.sf .sf-wrap {
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
}

/* Optional call-to-action strip: add data-footer-cta to the footer element. */
.site-footer.sf .sf-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 36px;
  padding: 24px 30px;
  background: linear-gradient(110deg, rgb(107 208 176 / 17%), rgb(122 162 227 / 9%));
  border: 1px solid rgb(107 208 176 / 28%);
  border-radius: 24px;
}
.site-footer.sf .sf-cta h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--sf-ink);
}
.site-footer.sf .sf-cta p {
  margin-top: 4px;
  color: var(--sf-soft);
}
.site-footer.sf .sf-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer.sf .sf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-weight: 600;
  border-radius: 99px;
  transition:
    transform 0.15s,
    background 0.15s,
    border-color 0.15s,
    filter 0.15s;
}
.site-footer.sf .sf-primary {
  color: var(--sf-on);
  background: var(--sf-mint);
}
.site-footer.sf .sf-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.site-footer.sf .sf-ghost {
  border: 1.5px solid rgb(255 255 255 / 22%);
}
.site-footer.sf .sf-ghost:hover {
  background: rgb(255 255 255 / 7%);
  border-color: rgb(255 255 255 / 40%);
}

/* Main grid */
.site-footer.sf .sf-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1.4fr;
  gap: 28px 40px;
  align-items: start;
}
.site-footer.sf .sf-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.site-footer.sf .sf-logo img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.site-footer.sf .sf-brand p {
  max-width: 34ch;
  margin: 12px 0 14px;
  color: var(--sf-soft);
}
.site-footer.sf .sf-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  background: rgb(255 255 255 / 6%);
  border: 1px solid var(--sf-line);
  border-radius: 99px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.site-footer.sf .sf-mail svg {
  color: var(--sf-mint);
}
.site-footer.sf .sf-mail:hover {
  background: rgb(107 208 176 / 12%);
  border-color: rgb(107 208 176 / 40%);
}
.site-footer.sf .sf-h {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sf-muted);
}
.site-footer.sf .sf-col li a {
  display: inline-flex;
  padding: 3px 0;
  font-weight: 500;
  color: var(--sf-ink);
  transition:
    color 0.15s,
    transform 0.15s;
}
.site-footer.sf .sf-col li a:hover {
  color: var(--sf-mint);
  transform: translateX(3px);
}
.site-footer.sf .sf-product ul {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0 28px;
}
.site-footer.sf .sf-trust {
  display: grid;
  gap: 8px;
}
.site-footer.sf .sf-trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--sf-soft);
  background: rgb(255 255 255 / 4%);
  border: 1px solid var(--sf-line);
  border-radius: 14px;
}
.site-footer.sf .sf-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--sf-mint);
  background: rgb(107 208 176 / 14%);
  border-radius: 9px;
}

/* Explore: link pills grouped by topic */
.site-footer.sf .sf-explore {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 36px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--sf-line);
}
.site-footer.sf .sf-explore summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sf-muted);
  cursor: default;
  list-style: none;
}
.site-footer.sf .sf-explore summary::-webkit-details-marker {
  display: none;
}
.site-footer.sf .sf-explore summary svg {
  display: none;
  transition: transform 0.2s;
}
.site-footer.sf .sf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.site-footer.sf .sf-tag {
  display: inline-flex;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--sf-soft);
  background: rgb(255 255 255 / 3%);
  border: 1px solid var(--sf-line);
  border-radius: 99px;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.15s;
}
.site-footer.sf .sf-tag:hover {
  color: #fff;
  background: rgb(107 208 176 / 13%);
  border-color: rgb(107 208 176 / 45%);
  transform: translateY(-1px);
}

/* Bottom bar */
.site-footer.sf .sf-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
  padding: 16px 0 18px;
  font-size: 13.5px;
  color: var(--sf-muted);
  border-top: 1px solid var(--sf-line);
}
.site-footer.sf .sf-copy {
  order: -1;
}
.site-footer.sf .sf-social {
  display: flex;
  gap: 8px;
}
.site-footer.sf .sf-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--sf-soft);
  border: 1px solid var(--sf-line);
  border-radius: 50%;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.15s;
}
.site-footer.sf .sf-social a:hover {
  color: var(--sf-mint);
  background: rgb(107 208 176 / 14%);
  border-color: rgb(107 208 176 / 50%);
  transform: translateY(-2px);
}
.site-footer.sf .sf-social svg {
  width: 17px;
  height: 17px;
}
.site-footer.sf .sf-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font: inherit;
  font-weight: 500;
  color: var(--sf-soft);
  background: none;
  border: 1px solid var(--sf-line);
  border-radius: 99px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.site-footer.sf .sf-top:hover {
  color: #fff;
  background: rgb(255 255 255 / 7%);
}

@media (max-width: 1040px) {
  .site-footer.sf .sf-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer.sf .sf-brand {
    grid-column: 1 / -1;
  }
  .site-footer.sf .sf-explore {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .site-footer.sf {
    padding: 32px 0 env(safe-area-inset-bottom, 0);
  }
  .site-footer.sf .sf-wrap {
    width: min(1180px, 100% - 36px);
  }
  .site-footer.sf .sf-cta {
    padding: 20px 20px;
    border-radius: 20px;
  }
  .site-footer.sf .sf-btns,
  .site-footer.sf .sf-btn {
    width: 100%;
    justify-content: center;
  }
  .site-footer.sf .sf-grid {
    gap: 24px 20px;
  }
  .site-footer.sf .sf-security {
    grid-column: 1 / -1;
  }
  .site-footer.sf .sf-col {
    grid-column: 1 / -1;
  }
  .site-footer.sf .sf-col:not(.sf-security) ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .site-footer.sf .sf-trust {
    gap: 2px;
  }
  .site-footer.sf .sf-trust li {
    padding: 4px 0;
    background: none;
    border: 0;
  }
  .site-footer.sf .sf-explore {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 24px;
    padding-top: 4px;
  }
  .site-footer.sf .sf-explore details {
    border-bottom: 1px solid var(--sf-line);
  }
  .site-footer.sf .sf-explore summary {
    margin: 0;
    padding: 16px 2px;
    cursor: pointer;
  }
  .site-footer.sf .sf-explore summary svg {
    display: block;
  }
  .site-footer.sf .sf-explore details[open] summary svg {
    transform: rotate(180deg);
  }
  .site-footer.sf .sf-tags {
    padding-bottom: 16px;
  }
  .site-footer.sf .sf-bar {
    margin-top: 16px;
    padding-bottom: 20px;
  }
  .site-footer.sf .sf-copy {
    flex-basis: 100%;
    order: 3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer.sf *,
  .site-footer.sf *::before {
    transition: none !important;
  }
}
