body { background: #fbf4f8; }
main.shell { padding-top: 1rem; }
.campaign-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}
.campaign-banner {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  height: auto;
}
.scan-heading { margin-top: 1.25rem; scroll-margin-top: 1rem; }
.announcement {
  display: grid;
  grid-template-columns: 1.85rem minmax(0, 1fr);
  align-items: center;
  gap: .55rem;
  background: #fff0f7;
  border-bottom: 1px solid #e8c0d3;
  color: #652044;
  padding: .6rem clamp(.7rem, 3vw, 1.4rem);
  font-size: .875rem;
}
.announcement-icon {
  position: relative;
  width: 26px;
  height: 26px;
  color: #8e1b50;
}
.announcement-icon::before {
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: path("M 3 10 Q 3 8 5 8 H 9 L 17 4 Q 19 3 19 5 V 19 Q 19 21 17 20 L 10 16 L 12 21 Q 12.5 23 10.5 23 H 9 Q 8 23 7.5 22 L 5 16 Q 3 16 3 14 Z");
  content: "";
}
.announcement-icon::after {
  position: absolute;
  top: 11px;
  left: 21px;
  width: 4px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}
.announcement-window { overflow: hidden; }
.announcement-track { margin: 0; animation: announcement-enter 4s ease-out both; }
@keyframes announcement-enter {
  from { transform: translateX(75%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .announcement-track { animation: none; }
}

.faq details:first-of-type { margin-top: .7rem; }
.privacy-note { margin: .9rem 0 0; color: #694357; font-size: .875rem; }

#tracking-steps {
  list-style: none;
  padding: 0;
  gap: 0;
}
#tracking-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  gap: .7rem;
  padding: .65rem .55rem;
}
#tracking-steps li + li::before {
  position: absolute;
  top: -.66rem;
  inset-inline-start: 1.5rem;
  height: 1.35rem;
  border-inline-start: 2px solid #e8c0d3;
  content: "";
}
.tracking-marker {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #bd7399;
  border-radius: 50%;
  background: #fff;
  color: #733452;
  font-weight: 700;
}
.is-complete .tracking-marker { background: #f8dbea; }
[aria-current="step"] .tracking-marker { background: #a30b56; color: #fff; }
.tracking-state { display: block; color: #694357; font-size: .875rem; font-weight: 500; }

@media (min-width: 48rem) {
  html {
    min-height: 100%;
    background: #44132b;
  }
  html::before {
    position: fixed;
    inset: 0;
    content: "";
    background:
      linear-gradient(90deg, #4b153b6b, #c63d7566, #4b153b6b),
      url("./campaign.jpg?layout=wide") center / cover no-repeat;
    filter: blur(22px);
    transform: scale(1.06);
    pointer-events: none;
  }
  body {
    position: relative;
    width: min(100%, 29.5rem);
    min-height: 100vh;
    margin-inline: auto;
    box-shadow: 0 0 3.5rem #32071e73;
  }
  .brand nav a { display: none; }
}

.customer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.customer-brand img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: 50%;
  background: #fff6fa;
}
.customer-brand small {
  display: block;
  margin-top: .12rem;
  color: #ffe1ee;
  font: 500 .75rem/1.2 system-ui, sans-serif;
  letter-spacing: 0;
}

.customer-brand { flex: none; }
.quick-search {
  position: relative;
  z-index: 2;
  width: min(48%, 12rem);
  margin-inline-start: auto;
  font: 500 .875rem/1.45 system-ui, sans-serif;
}
.search-field {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding-inline: .75rem .55rem;
  border: 1px solid #f3afce;
  border-radius: 1.4rem;
  background: #fff3f9;
  color: #813250;
}
.search-field:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.search-field span {
  position: relative;
  flex: none;
  width: .79rem;
  height: .79rem;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}
.search-field span::after {
  position: absolute;
  bottom: -.2rem;
  inset-inline-end: -.19rem;
  width: .33rem;
  height: 1.6px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
  content: "";
}
.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding-block: .5rem;
  background: transparent;
  color: #38162a;
  font: inherit;
  font-size: 1rem;
}
.search-field input:focus { outline: none; }
.search-field input::placeholder { color: #79415c; }
.search-results {
  position: absolute;
  inset: calc(100% + .5rem) 0 auto auto;
  width: min(17rem, calc(100vw - 1.5rem));
  border: 1px solid #ecc7d9;
  border-radius: .85rem;
  box-shadow: 0 .55rem 1.5rem #4d0d3229;
  background: white;
  color: #38162a;
  overflow: hidden;
}
.search-results p { margin: 0; padding: .65rem .85rem; color: #694357; }
.search-results ul { list-style: none; margin: 0; padding: 0; }
.search-results a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .5rem .85rem;
  border-top: 1px solid #f1d6e4;
  color: #751542;
}
.search-results a:hover, .search-results a:focus-visible { background: #fff0f7; outline-offset: -2px; }

@media (prefers-reduced-motion: no-preference) {
  .campaign-banner {
    transform: translateY(calc(var(--banner-offset, 0px) - 4.5%));
  }
}

.is-message-result > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.message-progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
  isolation: isolate;
  padding: .7rem .25rem;
  margin: 0 0 .6rem;
  list-style: none;
}
.message-progress::before {
  position: absolute;
  z-index: -1;
  inset: 1.85rem 25% auto;
  height: 2px;
  background: #e5e2e6;
  content: "";
}
.message-progress li {
  display: grid;
  justify-items: center;
  gap: .42rem;
  color: #69646c;
  font-size: .875rem;
  font-weight: 550;
}
.message-progress-icon {
  display: grid;
  place-items: center;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid #e1dfe3;
  border-radius: 50%;
  background: #f4f3f5;
  color: #7a757e;
}
.progress-working::before {
  width: .95rem;
  height: .95rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}
.progress-working::after {
  position: absolute;
  top: 43%;
  left: 50%;
  width: .24rem;
  height: .29rem;
  border: solid currentColor;
  border-width: 0 0 1.5px 1.5px;
  content: "";
}
.progress-done::before {
  width: .7rem;
  height: .4rem;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
  content: "";
}
.message-progress li[aria-current="step"] { color: #29252d; font-weight: 750; }
.message-progress li[aria-current="step"] .message-progress-icon {
  border-color: #3d3942;
  background: #3d3942;
  color: #fff;
}
.message-progress .is-complete .message-progress-icon {
  background: #eae8ec;
  color: #57525b;
}

.scan-message-card {
  min-height: 3.25rem;
  margin: .6rem 0 0;
  padding: .9rem 1rem;
  border: 1px solid #edd9e5;
  border-radius: .75rem;
  background: #fcf7fa;
  color: #382432;
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.customer-footer {
  --footer-ink: #fff8fc;
  --footer-border: #f5a9d18c;
  margin: 0;
  padding: 1.6rem clamp(.8rem, 4vw, 1.5rem) 1rem;
  border-top: 4px solid #f5a1c9;
  background: #a10952;
  color: var(--footer-ink);
  font-size: .875rem;
}
.footer-groups, .footer-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem .95rem;
}
.customer-footer h2 {
  margin: 0 0 .5rem;
  color: #fff;
  font-size: .94rem;
  line-height: 1.45;
}
.footer-groups section {
  min-width: 0;
  padding-top: .55rem;
  border-top: 1px solid var(--footer-border);
}
.customer-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-groups li + li { margin-top: .35rem; }
.customer-footer li { overflow-wrap: anywhere; line-height: 1.5; }
.customer-footer .footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .32rem;
}
.customer-footer .footer-tags li {
  margin: 0;
  padding: .16rem .45rem;
  border: 1px solid var(--footer-border);
  border-radius: .35rem;
  font-size: .8125rem;
}
.customer-footer .footer-chat-title { margin-top: 1rem; }
.footer-extras {
  margin-top: 1.3rem;
  padding-top: .85rem;
  border-top: 1px solid var(--footer-border);
}
.footer-brand { margin: 1rem 0 0; color: #fff; font-weight: 750; }
@media (max-width: 22rem) {
  .footer-groups, .footer-extras { gap: .85rem .65rem; }
}

.customer-footer .footer-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
}
.customer-footer .footer-icons li {
  display: grid;
  place-items: center;
  margin: 0;
}
.footer-icons img {
  display: block;
  object-fit: contain;
}
.footer-social-icons li {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #fff8fc;
}
.footer-social-icons img {
  width: .94rem;
  height: .94rem;
}
.footer-browser-icons img {
  width: 1.45rem;
  height: 1.45rem;
}

.customer-footer :is(.footer-groups, .footer-extras) ul:not(.footer-icons) li {
  width: fit-content;
  max-width: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: #fff3;
  text-decoration-color: transparent;
  text-underline-offset: .2em;
  transition: background-color .15s ease, text-decoration-color .15s ease;
}
@media (hover: hover) {
  .customer-footer :is(.footer-groups, .footer-extras) ul:not(.footer-icons) li:hover {
    text-decoration: underline;
    text-decoration-color: #ffd0e7;
  }
}
.customer-footer :is(.footer-groups, .footer-extras) ul:not(.footer-icons) li:active {
  border-radius: .2rem;
  background-color: #fff2;
}
@media (prefers-reduced-motion: reduce) {
  .customer-footer :is(.footer-groups, .footer-extras) ul:not(.footer-icons) li { transition: none; }
}

.tracking-amount:not([hidden]) {
  display: grid;
  gap: .2rem;
  margin-block: .75rem;
  padding: .75rem 1rem;
  border: 1px solid #efbfd4;
  border-radius: .75rem;
  background: #fff5f9;
}

.tracking-amount strong {
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
