/* =========================================================
   Mob Media — shared components

   Header, footer, and anything used on more than one page.
   Page-specific rules stay on their page.
   Colors come from tokens.css, with a small number of deliberate
   one-off hex values noted inline where they appear.
   ========================================================= */

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.site-header a {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.site-header img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(138, 74, 243, .25));
}


/* =========================================================
   CUSTOMER FLOW HEADER
   Checkout / Order / Access use this exact treatment.
   ========================================================= */

.customer-flow-page .site-header {
  flex: 0 0 auto;
  padding: 18px 20px 8px;
}

.customer-flow-page .site-header img {
  width: min(360px, 84vw);
  max-width: none;
}


@media (max-width: 1100px) {
  .customer-flow-page .site-header img {
    width: min(290px, 78vw);
  }
}


@media (max-width: 700px) {
  .site-header {
    padding: 12px 14px;
  }

  .site-header img {
    max-width: 200px;
  }

  .customer-flow-page .site-header {
    padding: 15px 12px 7px;
  }

  .customer-flow-page .site-header img {
    width: min(240px, 76vw);
    max-width: none;
  }
}


/* -------------------------
   Shared purchase progress

   Standalone version of the approved checkout progress visual.
   Checkout itself remains untouched.
   ------------------------- */

.shared-progress {
  width: min(534px, 92%);
  margin: 0 auto 20px;
}

.shared-progress-eyebrow {
  margin-bottom: 14px;
  color: var(--accent, var(--brand-purple));
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
}

.shared-progress-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.shared-progress-track::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255,255,255,.10);
}

.shared-progress-step {
  position: relative;
  z-index: 2;
  display: flex;
  text-decoration: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.shared-progress-step b {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: #09060d;
  color: var(--brand-gold);
  font-size: 10px;
}

.shared-progress-step small {
  color: #857c8e;
  font-size: 9px;
  font-weight: 750;
}

.shared-progress-step.complete b {
  border-color: rgba(158,77,255,.62);
}

.shared-progress-step.active b {
  border-color: var(--accent, var(--brand-purple));
  background:
    color-mix(
      in srgb,
      var(--accent, var(--brand-purple)) 10%,
      #09060d
    );
  box-shadow:
    0 0 20px
    var(--glow, rgba(158,77,255,.16));
}

.shared-progress-step.active small {
  color: var(--accent, var(--brand-purple));
}

/* Homepage: step 1 active */
.shared-progress.stage-plan .shared-progress-track::before {
  background:
    linear-gradient(
      90deg,
      var(--brand-purple) 0%,
      rgba(255,255,255,.10) 1%
    );
}

/* Order confirmation: steps 1-2 complete, step 3 active */
.shared-progress.stage-order .shared-progress-track::before {
  background:
    linear-gradient(
      90deg,
      var(--brand-purple) 0%,
      var(--accent, var(--brand-purple)) 68%,
      rgba(255,255,255,.10) 69%
    );
}


/* Access: steps 1-3 complete, step 4 active */
.shared-progress.stage-access .shared-progress-track::before {
  background: var(--accent, var(--brand-purple));
}

@media (max-width: 700px) {
  .shared-progress {
    width: min(430px, 96%);
  }

  .shared-progress-eyebrow {
    margin-bottom: 16px;
  }

  .shared-progress-step b {
    width: 31px;
    height: 31px;
  }

  .shared-progress-track::before {
    top: 15px;
  }

  .shared-progress-step small {
    font-size: 8px;
  }
}


/* -------------------------
   Site footer
   ------------------------- */

.site-footer {
  position: relative;
  grid-column: 1 / -1;
  margin-top: 24px;
  padding: 16px 20px 10px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
right: 0;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      rgba(158, 77, 255, .18) 0%,
      #9e4dff 22%,
      #ef4bd9 43%,
      #28d2ff 58%,
      #9e4dff 78%,
      rgba(158, 77, 255, .18) 100%
    );

  box-shadow:
    0 0 8px rgba(239, 75, 217, .24),
    0 0 14px rgba(40, 210, 255, .18),
    0 0 22px rgba(158, 77, 255, .14);

  pointer-events: none;
    left: var(--site-footer-rail-left, 0);
    right: var(--site-footer-rail-right, 0);
    width: var(--site-footer-rail-width, auto);
    transform: var(--site-footer-rail-transform, none);

}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.site-footer-logo {
  display: block;
  width: 168px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(138, 74, 243, .18));
}

.site-footer-text {
  margin: 0;
  color: var(--muted-faint);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .02em;
}

.site-footer-text a {
  color: #a66bff;
  text-decoration: none;
}

.site-footer-text a:hover,
.site-footer-text a:focus {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .site-footer {
    margin-top: 18px;
    padding: 14px 14px 8px;
  }

  .site-footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .site-footer-logo {
    width: 100px;
  }

  .site-footer-text {
    font-size: 10.5px;
  }
}


/* -------------------------
   Cash App action button
   Used on checkout and thank-you. One definition.
   ------------------------- */

.cash-btn {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 11px;
  background: var(--notice);
  color: var(--notice-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}


/* -------------------------
   Shared page background
   ------------------------- */

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(113, 40, 190, .12), transparent 28%),
    radial-gradient(circle at 84% 8%, rgba(224, 178, 24, .08), transparent 25%),
    linear-gradient(180deg, #0b0610 0%, #050308 100%);
}
