.whaleshot-site-footer-v2 {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #092b42, #0d3b57);
  color: #fff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

/* Never paint legacy server placeholders while public content is hydrating. */
footer.wrap.footer {
  display: none !important;
}

/* Do not paint stale server placeholders before current public settings hydrate. */
html:not(.ws-public-current) body {
  visibility: hidden !important;
  opacity: 0 !important;
}

html.ws-public-current body {
  visibility: visible;
  opacity: 1;
  transition: opacity 160ms ease-out;
}

html:not(.ws-home-current) #featuredCreators,
html:not(.ws-home-current) #homeWorkflow,
html:not(.ws-home-current) #testimonialTrack {
  visibility: hidden !important;
}

/* Match the final brand treatment before the settings script hydrates. */
.brand [data-brand-prefix] + [data-brand-accent] {
  display: inline-flex;
  align-items: center;
}

.brand [data-brand-prefix] + [data-brand-accent]::before {
  content: "|";
  display: inline-block;
  margin: 0 11px;
  color: rgba(39, 79, 104, 0.34);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}

/* Glacier-blue homepage canvas selected from the local color preview. */
body.demo-home,
body.demo-home main,
body.demo-home main > .section,
body.demo-home #how.band,
body.demo-home section:has(#testimonialTrack),
body.demo-home .cta {
  background: #f3f8fb !important;
}

/* Add quiet brand color to the content cards without breaking the white canvas. */
#homeWorkflow .step {
  background: linear-gradient(145deg, #f8fcff 0%, #eef8fd 100%);
  border-color: #d4eaf5;
  box-shadow: 0 10px 28px rgba(24, 112, 157, 0.06);
}

#homeWorkflow .step:nth-child(2) {
  background: linear-gradient(145deg, #f9fbff 0%, #f0f5ff 100%);
}

#homeWorkflow .step:nth-child(3) {
  background: linear-gradient(145deg, #f7fdff 0%, #ebf8fb 100%);
}

#homeWorkflow .step:nth-child(4) {
  background: linear-gradient(145deg, #f8fcff 0%, #edf6ff 100%);
}

#testimonialTrack .testimonial {
  background: linear-gradient(145deg, #fbfdff 0%, #f1f8fc 100%);
  border-color: #d5e9f3;
  box-shadow: 0 10px 28px rgba(24, 112, 157, 0.055);
}

/* Keep the standalone workflow page in the same glacier-blue system. */
body.demo-workflow,
body.demo-workflow .intro,
body.demo-workflow #workflowSteps,
body.demo-workflow .faq,
body.demo-workflow .cta {
  background: #f3f8fb !important;
}

body.demo-workflow .step,
body.demo-workflow .qa {
  background: linear-gradient(145deg, #fbfdff 0%, #eef8fd 100%);
  border-color: #d4eaf5;
  box-shadow: 0 10px 28px rgba(24, 112, 157, 0.055);
}

.whaleshot-site-footer-v2::before {
  content: "";
  position: absolute;
  top: -360px;
  left: -290px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(90, 203, 242, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.ws-footer-inner {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.ws-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(318px, auto);
  justify-content: space-between;
  gap: 80px;
  padding: 54px 0 42px;
}

.ws-footer-brand {
  max-width: 510px;
}

.ws-footer-brand-line {
  display: flex;
  align-items: center;
  gap: 13px;
}

.ws-footer-logo {
  display: block;
  width: 50px;
  height: 50px;
  padding: 5px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.06);
}

.ws-footer-brand-name strong {
  display: block;
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.01em;
}

.ws-footer-brand-name span {
  display: block;
  margin-top: 3px;
  color: #75d2f4;
  font-size: 12px;
  letter-spacing: 0.13em;
}

.ws-footer-description {
  margin: 21px 0 0;
  color: #b7cfdd;
  font-size: 14px;
  line-height: 1.9;
}

.ws-footer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ws-footer-services a {
  padding: 7px 10px;
  border: 1px solid rgba(119, 214, 248, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: #cce6f0;
  font-size: 12px;
  text-decoration: none;
}

.ws-footer-services a:hover,
.ws-footer-services a:focus-visible {
  border-color: rgba(117, 210, 244, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ws-footer-police-record {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ws-footer-police-badge {
  width: 18px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
}

.ws-footer-heading {
  margin: 2px 0 18px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.ws-footer-contact {
  min-width: 318px;
  justify-self: end;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ws-footer-contact .ws-footer-heading {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.ws-footer-contact-intro {
  margin: 7px 0 15px;
  color: #9ebccc;
  font-size: 11px;
  line-height: 1.6;
}

.ws-footer-qr-list {
  display: grid;
  grid-template-columns: repeat(var(--ws-footer-qr-columns, 2), 132px);
  justify-content: center;
  gap: 14px;
}

.ws-footer-qr-list[data-count="1"] { --ws-footer-qr-columns: 1; }
.ws-footer-qr-list[data-count="2"] { --ws-footer-qr-columns: 2; }
.ws-footer-qr-list[data-count="3"] { --ws-footer-qr-columns: 3; }

@media (max-width: 1050px) and (min-width: 621px) {
  .ws-footer-main[data-qr-count="3"] {
    grid-template-columns: 1fr;
  }

  .ws-footer-main[data-qr-count="3"] .ws-footer-contact {
    justify-self: center;
  }
}

.ws-footer-qr-card {
  position: relative;
  width: 132px;
  padding: 11px 11px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  text-align: center;
  box-shadow: 0 13px 28px rgba(1, 24, 39, 0.2);
}

.ws-footer-qr-media {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d9e9f0;
  border-radius: 10px;
  background: #fff;
}

.ws-footer-qr-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ws-footer-qr-placeholder {
  padding: 8px;
  color: #7895a6;
  font-size: 11px;
  line-height: 1.35;
}

.ws-footer-qr-card strong {
  display: block;
  margin-top: 10px;
  color: #10364d;
  font-size: 14px;
  line-height: 1.35;
}

.ws-footer-qr-card small {
  display: block;
  margin-top: 3px;
  color: #7892a1;
  font-size: 11px;
  line-height: 1.4;
}

.ws-footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.ws-footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 0;
  color: #91adbd;
  font-size: 12px;
  line-height: 1.7;
}

.ws-footer-records {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 18px;
}

.ws-footer-filing-entity {
  color: #91adbd;
}

.ws-footer-records a {
  color: #a9c5d3;
  text-decoration: none;
}

.ws-footer-records a:hover,
.ws-footer-records a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .ws-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .ws-footer-contact {
    grid-column: auto;
    width: fit-content;
    min-width: 318px;
  }

  .ws-footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .ws-footer-records {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .brand [data-brand-prefix] + [data-brand-accent]::before {
    margin: 0 6px;
    font-size: 11px;
  }

  .ws-footer-inner {
    width: min(1180px, calc(100% - 28px));
  }

  .ws-footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 42px 0 32px;
  }

  .ws-footer-contact {
    grid-column: auto;
    justify-self: start;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
  }

  .ws-footer-qr-list {
    grid-template-columns: repeat(2, minmax(0, 142px));
    justify-content: start;
    gap: 12px;
  }

  .ws-footer-qr-list[data-count="1"] {
    grid-template-columns: minmax(0, 142px);
    justify-content: center;
  }

  .ws-footer-qr-list[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 142px));
    justify-content: center;
  }

  .ws-footer-qr-list[data-count="3"] .ws-footer-qr-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .ws-footer-qr-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 142px;
  }

  .ws-footer-qr-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}

