/* Shared site footer. Load after the native stylesheet and the landing polish. */
.cubiq-native footer#bottom .footer-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  border: 0;
  padding: clamp(112px, 11vw, 156px) 0 44px;
  background:
    radial-gradient(ellipse 84% 105% at 86% 12%, rgb(152 103 226 / 28%), transparent 72%),
    linear-gradient(112deg, #211630 0%, #301b51 37%, #4b2a80 74%, #6139a3 100%);
  /* Older engines retain the former rising silhouette. */
  clip-path: polygon(0 82px, 100% 0, 100% 100%, 0 100%);
}

/* Curved version of the ramp where CSS shape() is supported. */
@supports (clip-path: shape(from 0 82px, curve to 100% 0 with 31% 62px / 72% 12px, line to 100% 100%, line to 0 100%, close)) {
  .cubiq-native footer#bottom .footer-band {
    clip-path: shape(from 0 82px, curve to 100% 0 with 31% 62px / 72% 12px, line to 100% 100%, line to 0 100%, close);
  }
}

.cubiq-native footer#bottom .footer-band-media {
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center right;
  background-size: cover;
  opacity: .43;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 84% 112% at 92% 48%, #000 0%, rgb(0 0 0 / 75%) 43%, transparent 86%);
  mask-image: radial-gradient(ellipse 84% 112% at 92% 48%, #000 0%, rgb(0 0 0 / 75%) 43%, transparent 86%);
  transition: opacity .24s ease, filter .24s ease, background-image .24s ease;
}

.cubiq-native footer#bottom .footer-band::after {
  display: block;
  background:
    radial-gradient(ellipse 78% 80% at 5% 5%, rgb(185 149 247 / 20%), transparent 74%),
    linear-gradient(180deg, transparent 27%, rgb(19 10 35 / 31%) 100%);
}

.cubiq-native footer#bottom .footer-band-inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 1fr);
  border-color: rgb(255 255 255 / 20%);
}

.cubiq-native footer#bottom .footer-band .request-copy { max-width: none; }
.cubiq-native footer#bottom .footer-band .request-copy .pixel-heading,
.cubiq-native footer#bottom .footer-band .footer-col h4,
.cubiq-native footer#bottom .footer-band .footer-brand strong { color: #fff; }

.cubiq-native footer#bottom .footer-band .request-copy p,
.cubiq-native footer#bottom .footer-band .request-eyebrow,
.cubiq-native footer#bottom .footer-band .footer-brand p,
.cubiq-native footer#bottom .footer-band .footer-col a,
.cubiq-native footer#bottom .footer-band .socials a,
.cubiq-native footer#bottom .footer-band .wheel-caption { color: rgb(255 255 255 / 84%); }

.cubiq-native footer#bottom .footer-band .logo-mark,
.cubiq-native footer#bottom .footer-band .wheel-hub,
.cubiq-native footer#bottom .footer-band .wheel-option {
  color: #fff;
  background: rgb(255 255 255 / 13%);
  border-color: rgb(255 255 255 / 31%);
  box-shadow: none;
}
.cubiq-native footer#bottom .footer-band .wheel-option.active {
  color: #6335b5;
  background: #fff;
  border-color: #fff;
}
.cubiq-native footer#bottom .footer-band .wheel-option:hover {
  background: rgb(255 255 255 / 25%);
}
.cubiq-native footer#bottom .footer-band .wheel-option.active:hover {
  background: #fff;
}
.cubiq-native footer#bottom .footer-band .wheel-option:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.cubiq-native footer#bottom .btn-band {
  color: #6335b5;
  background: #fff;
  box-shadow: 0 12px 26px -14px rgb(12 5 27 / 64%);
}
.cubiq-native footer#bottom .btn-band:hover { color: #44207f; background: #fff; }
.cubiq-native footer#bottom .o_footer_copyright.footer-bottom {
  color: #fff;
  background: #1b112d !important;
  border-color: rgb(255 255 255 / 14%);
  --o-cc-bg-color: #1b112d;
}
.cubiq-native footer#bottom .footer-bottom p { color: rgb(255 255 255 / 70%); }

/* The appearance preference lives on <html>, not on the footer or wrapwrap.
   Keep every wallpaper choice under the same dark treatment. */
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .footer-band {
  background:
    radial-gradient(ellipse 76% 100% at 85% 10%, rgb(106 66 170 / 22%), transparent 73%),
    linear-gradient(112deg, #15101e 0%, #21162e 42%, #32204b 77%, #3c245c 100%);
}
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .footer-band-media {
  opacity: .27;
  filter: brightness(.72) saturate(.78);
  mix-blend-mode: soft-light;
}
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .footer-band::after {
  background:
    radial-gradient(ellipse 75% 74% at 7% 7%, rgb(133 91 196 / 15%), transparent 73%),
    linear-gradient(180deg, transparent 22%, rgb(7 5 13 / 44%) 100%);
}
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .footer-band .wheel-hub,
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .footer-band .wheel-option {
  color: #e6d8ff;
  background: rgb(13 9 23 / 52%);
  border-color: rgb(214 190 255 / 37%);
}
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .footer-band .wheel-option:hover {
  background: rgb(119 79 177 / 42%);
  border-color: rgb(226 211 255 / 65%);
}
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .footer-band .wheel-option.active,
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .footer-band .wheel-option.active:hover {
  color: #f8f3ff;
  background: #7954bf;
  border-color: #c5a9fc;
  box-shadow: 0 0 0 4px rgb(172 129 255 / 16%), 0 8px 22px rgb(5 3 11 / 34%);
}
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .footer-band .wheel-option:focus-visible {
  outline-color: #c5a9fc;
}
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .btn-band {
  color: #f8f3ff;
  background: #7954bf;
  box-shadow: 0 12px 30px -13px rgb(5 3 11 / 77%);
}
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .btn-band:hover {
  color: #fff;
  background: #8d67d1;
}
html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .o_footer_copyright.footer-bottom {
  background: #0c0915 !important;
  --o-cc-bg-color: #0c0915;
}

@media (max-width: 920px) {
  .cubiq-native footer#bottom .footer-band { padding-top: 100px; }
  .cubiq-native footer#bottom .footer-band-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .cubiq-native footer#bottom .footer-band { padding-top: 90px; }
  .cubiq-native footer#bottom .footer-band .request-copy .pixel-heading {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.1;
  }
  .cubiq-native footer#bottom .footer-band .request-wheel-wrap { margin: 8px auto 0; }
  .cubiq-native footer#bottom .footer-band-media {
    opacity: .28;
    -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 68%), transparent 95%);
    mask-image: linear-gradient(to bottom, rgb(0 0 0 / 68%), transparent 95%);
  }
  html[data-cubiq-theme="dark"] .cubiq-native footer#bottom .footer-band-media {
    opacity: .17;
  }
}
