.footer {
  position: relative;
  isolation: isolate;
  border-top: 1px solid rgba(11,11,12,.08);
  padding: 52px max(32px, calc((100% - 1360px) / 2 + 16px)) 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  width: 100%;
  margin: 0;
  background: #f8f8f8;
  color: rgba(11,11,12,.7);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}
.footer-column {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  min-width: 0;
}
.footer-brand img {
  width: 184px;
  height: auto;
  display: block;
  margin-bottom: 4px;
}
.footer p {
  margin: 0;
  color: rgba(11,11,12,.7);
}
.footer-nav {
  justify-self: center;
  gap: 10px;
}
.footer-nav button {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(11,11,12,.7);
  font: inherit;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  transition: color .34s cubic-bezier(.22, 1, .36, 1);
}
.footer a {
  color: rgba(11,11,12,.7);
  text-decoration: none;
  transition: color .34s cubic-bezier(.22, 1, .36, 1), opacity .34s cubic-bezier(.22, 1, .36, 1);
}
.footer-nav button:hover,
.footer a:hover {
  color: #0b0b0c;
}
.footer-contact {
  justify-self: end;
  gap: 10px;
}
.footer-youtube {
  display: inline-flex;
  width: 50px;
  height: 34px;
  margin-top: 6px;
  border-radius: 12px;
  overflow: hidden;
  opacity: .7;
  transition: opacity .34s cubic-bezier(.22, 1, .36, 1);
}
.footer-youtube img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: opacity .34s cubic-bezier(.22, 1, .36, 1);
}
.footer-youtube:hover {
  opacity: 1;
}
.scroll-cue {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 39;
  translate: -50% 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  letter-spacing: 2.6px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .22s ease, transform .22s ease;
  animation: bounce 2s infinite;
}
.scroll-cue span { font-size: 16px; }
.scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.top-button {
  appearance: none;
  -webkit-appearance: none;
  position: fixed;
  right: 58px;
  bottom: 58px;
  z-index: 40;
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  inline-size: 56px;
  block-size: 56px;
  min-width: 56px;
  min-height: 56px;
  max-width: 56px;
  max-height: 56px;
  flex: 0 0 56px;
  aspect-ratio: 1 / 1;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9999px;
  -webkit-border-radius: 9999px;
  clip-path: none;
  -webkit-mask: none;
  mask: none;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #1fbfea 0%, #7159e1 100%);
  background-clip: padding-box;
  color: white;
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.96);
  transition: opacity .24s ease, transform .24s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: flat;
}
.top-button::before {
  content: "";
  position: absolute;
  inset: -34%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 20% 26%, #1fbfea 0 18%, transparent 40%),
    radial-gradient(ellipse at 78% 30%, #7159e1 0 22%, transparent 44%),
    radial-gradient(ellipse at 34% 78%, #35dfff 0 18%, transparent 42%),
    radial-gradient(ellipse at 76% 76%, #7159e1 0 20%, transparent 44%),
    radial-gradient(ellipse at 50% 50%, #1fbfea 0 24%, #7159e1 62%, #1fbfea 100%);
  transform: translate3d(-6%, -4%, 0) scale(1.08, 1.14) skew(-2deg, 1deg);
  transform-origin: 50% 50%;
  will-change: transform;
  animation: topButtonBlobA 3.8s ease-in-out infinite alternate;
}
.top-button::after {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 24%, rgba(255,255,255,.24), transparent 34%),
    radial-gradient(ellipse at 70% 74%, rgba(255,255,255,.12), transparent 38%),
    radial-gradient(ellipse at 66% 34%, rgba(31,191,234,.42), transparent 44%),
    radial-gradient(ellipse at 36% 68%, rgba(113,89,225,.44), transparent 48%);
  mix-blend-mode: screen;
  opacity: .7;
  transform: translate3d(5%, 3%, 0) scale(1.05, 1.12) skew(3deg, -2deg);
  transform-origin: 48% 54%;
  will-change: transform, opacity;
  animation: topButtonBlobB 2.9s ease-in-out infinite alternate-reverse;
}
.top-button span {
  position: relative;
  z-index: 1;
  display: block;
}
.top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.top-button:hover {
  opacity: .78;
  transform: translateY(-2px) scale(1);
}

@keyframes topButtonBlobA {
  0% { transform: translate3d(-6%, -4%, 0) scale(1.08, 1.14) skew(-2deg, 1deg); }
  24% { transform: translate3d(1%, -8%, 0) scale(1.16, 1.07) skew(2deg, -1deg); }
  52% { transform: translate3d(7%, 2%, 0) scale(1.1, 1.18) skew(-1deg, 3deg); }
  76% { transform: translate3d(-2%, 7%, 0) scale(1.18, 1.08) skew(3deg, -2deg); }
  100% { transform: translate3d(-7%, 1%, 0) scale(1.12, 1.16) skew(-2deg, 2deg); }
}

@keyframes topButtonBlobB {
  0% { transform: translate3d(5%, 3%, 0) scale(1.05, 1.12) skew(3deg, -2deg); opacity: .58; }
  33% { transform: translate3d(-6%, 7%, 0) scale(1.18, 1.02) skew(-2deg, 2deg); opacity: .78; }
  67% { transform: translate3d(7%, -5%, 0) scale(1.04, 1.2) skew(2deg, 3deg); opacity: .64; }
  100% { transform: translate3d(-3%, -7%, 0) scale(1.15, 1.06) skew(-3deg, -1deg); opacity: .74; }
}

@media (max-width: 640px) {
  .footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 32px 42px;
    font-size: 15px;
  }
  .footer-nav,
  .footer-contact {
    justify-self: start;
  }
  .footer-brand img {
    width: 168px;
  }
  .scroll-cue { bottom: 26px; font-size: 13px; }
  .scroll-cue span { font-size: 15px; }
  .top-button {
    right: 32px;
    bottom: 40px;
    width: 54px;
    height: 54px;
    inline-size: 54px;
    block-size: 54px;
    min-width: 54px;
    min-height: 54px;
    max-width: 54px;
    max-height: 54px;
    flex-basis: 54px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 9999px !important;
    -webkit-border-radius: 9999px !important;
    clip-path: none;
    -webkit-mask: none;
    mask: none;
    overflow: hidden;
  }
}
