/* ================================================================
  VS SQUARESPACE — page-specific styles (Stack B / 2026)
  Loaded ONLY on this page, so the header/footer overrides below are
  safely page-scoped. Brand UI uses --color-* / --js-* tokens.
================================================================ */

/* ----------------------------------------------------------------
  PAGE CHROME — centered, logo-only fixed header (focused lead-capture
  landing: no nav, no login, no header CTA). Scroll CTA lives in dock.
---------------------------------------------------------------- */
.header__content > .header__column:not(:first-child) {
  display: none !important;
}

.header__content {
  justify-content: center !important;
}

.header__content > .header__column:first-child {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}

.header__brand {
  margin: 0 auto;
}

/* Header is NOT sticky on this page — it sits at the top and scrolls
   away with the page instead of following the scroll. The persistent
   CTA is handled by the bottom dock. */
.header,
.header.is-scrolling {
  position: absolute !important;
  backdrop-filter: none !important;
}

/* Mobile: nudge the centered logo down from the very top edge */
@media (max-width: 767px) {
  .header {
    padding-top: 14px;
  }
}

/* Scroll CTA dock (revealed once the hero scrolls out of view) */
.vs-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.vs-dock.is-visible {
  transform: translateY(0);
}

.vs-dock__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: calc(var(--js-padding) * 0.875) var(--js-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--js-padding) * 1.5);
  flex-wrap: wrap;
}

.vs-dock__text {
  color: var(--color-secondary);
  font-size: calc(var(--font-base-size) * 0.9375);
  font-weight: 500;
}

.vs-dock__btn {
  flex: none;
}

/* Keep the footer clear of the fixed dock */
.footer {
  padding-bottom: calc(var(--js-padding) * 8) !important;
}

@media (max-width: 575px) {
  .vs-dock__inner {
    gap: calc(var(--js-padding) * 0.75);
    padding: calc(var(--js-padding) * 0.75);
  }

  .vs-dock__text {
    font-size: calc(var(--font-base-size) * 0.8125);
    text-align: center;
  }
}

/* ----------------------------------------------------------------
  HERO
---------------------------------------------------------------- */
.vs-squarespace .vs-hero {
  position: relative;
  overflow: hidden;
}

.vs-squarespace .vs-hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}

.vs-squarespace .vs-hero__glow--green {
  width: 620px;
  height: 620px;
  top: 12%;
  right: -8%;
  background: radial-gradient(closest-side, rgba(var(--js-color-green-dark-rgba), 0.1), transparent 72%);
}

/* Bottom-left glow removed — kept the hero uniformly dark so it blends
   into the partners strip and the rest of the page (no seam). */

.vs-squarespace .vs-hero__grid {
  position: relative;
  z-index: 1;
}

.vs-squarespace .vs-hero__copy {
  text-align: center;
}

.vs-squarespace .vs-hero__copy .js-section__badge-wrapper {
  margin-bottom: 1rem;
}

.vs-squarespace .vs-hero__copy .js-section__title {
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  line-height: 1.05;
}

.vs-squarespace .vs-hero__lead {
  max-width: 34rem;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .vs-squarespace .vs-hero__copy {
    text-align: left;
  }

  .vs-squarespace .vs-hero__lead {
    margin-left: 0;
  }
}

/* Email + Start Now bar (pill with a button inside) */
.vs-squarespace .vs-cta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  margin: calc(var(--js-padding) * 1.75) auto 0;
  padding: 8px 8px 8px 18px;
  background: var(--js-color-bright);
  border: 1px solid rgba(var(--js-color-black-rgb), 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vs-squarespace .vs-cta-bar:focus-within {
  border-color: var(--js-color-green);
  box-shadow: 0 0 0 3px rgba(var(--js-color-green-rgb), 0.28);
}

.vs-squarespace .vs-cta-bar__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  outline: none;
  background: transparent;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--js-color-grey);
  padding: 8px 4px;
}

.vs-squarespace .vs-cta-bar__input::placeholder {
  color: rgba(var(--js-color-grey-rgb), 0.5);
}

.vs-squarespace .vs-cta-bar .button {
  flex: none;
  white-space: nowrap;
}

.vs-squarespace .vs-hero__micro {
  margin-top: calc(var(--js-padding) * 1);
  opacity: 0.7;
}

@media (min-width: 992px) {
  .vs-squarespace .vs-cta-bar {
    margin-left: 0;
  }
}

@media (max-width: 479px) {
  .vs-squarespace .vs-cta-bar {
    flex-wrap: wrap;
  }

  .vs-squarespace .vs-cta-bar .button {
    width: 100%;
    justify-content: center;
  }
}

/* ----------------------------------------------------------------
  HERO MOCKUP — a browser that rotates through real Jumpseller theme
  storefronts (hi-res, crisp), layered in front of two dimmed store
  designs for depth.
---------------------------------------------------------------- */
.vs-squarespace .vs-hero__stage {
  position: relative;
  max-width: 560px;
  margin: calc(var(--js-padding) * 2) auto 0;
}

/* Dimmed store designs peeking behind the main browser */
.vs-squarespace .vs-hero__stack {
  position: absolute;
  inset: 0;
  border-radius: var(--js-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--js-color-bright-rgb), 0.08);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
  z-index: 0;
}

.vs-squarespace .vs-hero__stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(0.5) saturate(0.85);
}

.vs-squarespace .vs-hero__stack--a {
  transform: translate(30px, -24px) rotate(3deg) scale(0.95);
  opacity: 0.72;
}

.vs-squarespace .vs-hero__stack--b {
  transform: translate(-30px, 24px) rotate(-3deg) scale(0.95);
  opacity: 0.66;
}

/* Front browser window */
.vs-squarespace .vs-browser {
  position: relative;
  z-index: 1;
  background: var(--js-color-grey);
  border: 1px solid rgba(var(--js-color-bright-rgb), 0.1);
  border-radius: var(--js-radius-lg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.vs-squarespace .vs-browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(var(--js-color-bright-rgb), 0.08);
}

.vs-squarespace .vs-browser__dots {
  display: flex;
  gap: 6px;
}

.vs-squarespace .vs-browser__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--js-color-bright-rgb), 0.2);
}

.vs-squarespace .vs-browser__url {
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(var(--js-color-bright-rgb), 0.06);
  font-family: var(--font-secondary);
  font-size: 12px;
  color: rgba(var(--js-color-bright-rgb), 0.5);
}

/* Rotating store designs (cross-fade) */
.vs-squarespace .vs-browser__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--js-color-grey);
}

.vs-squarespace .vs-browser__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.vs-squarespace .vs-browser__shot.is-active {
  opacity: 1;
}

/* Floating value chips */
.vs-squarespace .vs-floatchip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--js-color-bright);
  color: var(--js-color-grey);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.vs-squarespace .vs-floatchip .ph {
  color: var(--js-color-green-dark);
  font-size: 17px;
}

.vs-squarespace .vs-floatchip--tr {
  top: -14px;
  right: -6px;
}

.vs-squarespace .vs-floatchip--bl {
  bottom: -16px;
  left: -6px;
}

@media (max-width: 991px) {
  .vs-squarespace .vs-floatchip,
  .vs-squarespace .vs-hero__stack {
    display: none;
  }

  .vs-squarespace .vs-hero__stage {
    margin-top: calc(var(--js-padding) * 3);
  }
}

/* Trust strip */
.vs-squarespace .vs-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
  margin-top: calc(var(--js-padding) * 4);
  padding-top: calc(var(--js-padding) * 3);
  border-top: 1px solid var(--color-border);
}

.vs-squarespace .vs-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-secondary);
}

.vs-squarespace .vs-trust__item .ph {
  color: var(--color-accent);
  font-size: 19px;
}

/* Partner logos: reuses the homepage .js-partners strip via include
   (styled in base.css), so no page-specific rules are needed here. */

/* ----------------------------------------------------------------
  ADVANTAGE CARDS
---------------------------------------------------------------- */
.vs-squarespace .vs-adv .js-cards__wrapper {
  height: 100%;
}

.vs-squarespace .vs-adv .js-cards__icon i {
  line-height: 1;
}

/* ----------------------------------------------------------------
  COMPARISON MATRIX
---------------------------------------------------------------- */
.vs-squarespace .vs-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vs-squarespace .vs-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-secondary);
}

.vs-squarespace .vs-table th,
.vs-squarespace .vs-table td {
  padding: calc(var(--js-padding) * 1.25) calc(var(--js-padding) * 1.5);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.vs-squarespace .vs-table thead th {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: calc(var(--font-base-size) * 1.125);
  color: var(--color-main);
  border-bottom: 1px solid var(--color-main-op2);
  white-space: nowrap;
}

.vs-squarespace .vs-table thead .vs-th-sq {
  color: var(--color-secondary-op7);
}

.vs-squarespace .vs-table tbody th[scope="row"] {
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--color-main);
  width: 34%;
}

.vs-squarespace .vs-table td {
  color: var(--color-secondary);
}

/* Highlighted Jumpseller column */
.vs-squarespace .vs-col-js {
  background: var(--js-color-green-tint);
  color: var(--color-main);
  font-weight: 500;
}

.vs-squarespace .vs-table thead th.vs-col-js {
  color: var(--color-main);
  border-bottom-color: rgba(var(--js-color-green-rgb), 0.4);
  border-top-left-radius: var(--js-radius-md);
  border-top-right-radius: var(--js-radius-md);
}

.vs-squarespace .vs-table tbody tr:last-child .vs-col-js {
  border-bottom: 0;
  border-bottom-left-radius: var(--js-radius-md);
  border-bottom-right-radius: var(--js-radius-md);
}

/* Yes / no indicators */
.vs-squarespace .vs-ico {
  margin-right: 0.45em;
  font-weight: 700;
  position: relative;
  top: 2px;
}

.vs-squarespace .vs-col-js .vs-ico {
  color: var(--js-color-green);
}

.vs-squarespace .vs-col-sq .vs-ico {
  color: var(--color-main-op4);
}

.vs-squarespace .vs-col-sq {
  color: var(--color-secondary-op7);
}

/* ----------------------------------------------------------------
  MERCHANTS SHOWCASE
---------------------------------------------------------------- */
.vs-squarespace .vs-merchants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.vs-squarespace .vs-merchant {
  display: block;
  border-radius: var(--js-radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-main-op05);
  transition: var(--js-transition);
}

.vs-squarespace .vs-merchant:hover {
  transform: translateY(-6px);
  border-color: var(--color-main-op2);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6);
}

.vs-squarespace .vs-merchant img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.vs-squarespace .vs-merchant__name {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
}

/* ----------------------------------------------------------------
  RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 575px) {
  .vs-squarespace .vs-table th,
  .vs-squarespace .vs-table td {
    padding: calc(var(--js-padding) * 0.875) calc(var(--js-padding) * 1);
    font-size: calc(var(--font-base-size) * 0.9375);
  }
}
