/* Frigate brand palette: green, turquoise, mint and white. */
#top .fe-footer {
  --footer-green: #00503d;
  --footer-turquoise: #40e0d0;
  --footer-mint: #c9f6ec;
  --fe-cut: 30px;
  position: relative;
  isolation: isolate;
  margin: 16px clamp(12px, 1.6vw, 24px) 20px;
  overflow: hidden;
  border-radius: 22px;
  clip-path: var(--fe-corner-shape);
  background: var(--footer-green);
  color: #fff;
  font-family: Outfit, sans-serif;
}
#top .fe-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 62% 94%, #40e0d04d, transparent 46%),
    radial-gradient(ellipse at 20% 110%, #c9f6ec26, transparent 48%);
}
#top .fe-footer-content {
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(48px, 8vw, 112px) clamp(24px, 6.5vw, 96px) 24px;
}
#top .fe-footer p { margin: 0; }
#top .fe-footer a { color: inherit; text-decoration: none; }
#top .fe-footer a:focus-visible {
  outline: 2px solid var(--footer-turquoise);
  outline-offset: 5px;
  border-radius: 3px;
}
#top .fe-footer .fe-footer-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--footer-mint);
  font-size: 12px;
  line-height: 1.5;
}
#top .fe-footer-eyebrow span { color: var(--footer-turquoise); }
#top .fe-footer .fe-footer-heading {
  max-width: 660px;
  font-family: "Didact Gothic", sans-serif;
  font-size: clamp(29px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
#top .fe-footer-heading span { color: var(--footer-mint); }
#top .fe-footer-contact-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin-top: clamp(48px, 7vw, 100px);
}
#top .fe-footer-contact > p {
  margin-bottom: 7px;
  color: var(--footer-mint);
  font-size: 12px;
  line-height: 1.5;
}
#top .fe-footer-contact > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  max-width: 100%;
  font-size: clamp(16px, 1.65vw, 21px);
  overflow-wrap: anywhere;
}
#top .fe-footer-contact > a span { color: var(--footer-turquoise); }
#top .fe-footer-nav,
#top .fe-footer-social,
#top .fe-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
}
#top .fe-footer-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.4;
}
#top .fe-footer .fe-footer-wordmark {
  display: block;
  width: 100%;
  margin-top: clamp(48px, 7vw, 100px);
}
#top .fe-footer-wordmark img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}
#top .fe-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 44px);
  color: var(--footer-mint);
  font-size: 11px;
  line-height: 1.6;
}
#top .fe-footer-meta { column-gap: 22px; }
#top .fe-footer-social { column-gap: 16px; }
#top .fe-footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
#top .fe-footer a:hover { color: var(--footer-turquoise); }
@media (min-width: 960px) {
  #top .fe-footer-contact-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
  }
  #top .fe-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  #top .fe-footer-meta { justify-content: flex-end; }
}
@media (max-width: 480px) {
  #top .fe-footer { --fe-cut: 22px; border-radius: 16px; }
  #top .fe-footer-nav { column-gap: 22px; row-gap: 4px; }
  #top .fe-footer-nav > a { font-size: 14px; }
  #top .fe-footer-meta { align-items: flex-start; flex-direction: column; }
}
