
/* =========================================
   LOWCOMMISSION — BUY HERO
   Arctic Editorial Animation System
========================================= */

.sp-bh-hero {
  --sp-bh-ink: #183B4E;
  --sp-bh-dark: #10293A;
  --sp-bh-ice: #9CC7DA;
  --sp-bh-green: #1F7A5A;
  --sp-bh-muted: #6D8794;

  width: 100%;
  max-width: 640px;
  position: relative;
  isolation: isolate;
  font-family: 'Inter', sans-serif;
  color: #242C32;
}

/* KICKER */

.sp-bh-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--sp-bh-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.sp-bh-kicker-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--sp-bh-ice);
  transform-origin: left;
}

/* MAIN HEADING */

.sp-bh-heading {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--sp-bh-ink) !important;
  font-family: 'Inter Tight', sans-serif !important;
  font-size: clamp(39px, 4.3vw, 57px) !important;
  font-weight: 800 !important;
  line-height: 1.07 !important;
  letter-spacing: -2.3px !important;
  overflow: visible;
}

/* Explicit span styling overrides existing site rules */

.sp-bh-heading .sp-bh-line {
  display: block !important;
  color: var(--sp-bh-ink) !important;
  margin: 0;
}

.sp-bh-heading .sp-bh-mask {
  display: inline-block !important;
  color: inherit;
  position: relative;
}

.sp-bh-heading .sp-bh-line-1 {
  margin-bottom: 3px;
}

.sp-bh-heading .sp-bh-line-2 {
  margin-bottom: 5px;
}

.sp-bh-heading .sp-bh-accent {
  color: var(--sp-bh-ink) !important;
}

.sp-bh-highlight {
  display: inline-block !important;
  position: relative;
  color: var(--sp-bh-ink) !important;
  background: linear-gradient(
    105deg,
    #183B4E 0%,
    #376D85 50%,
    #183B4E 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sp-bh-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 4px;
  border-radius: 5px;
  background: var(--sp-bh-ice);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 850ms cubic-bezier(.2,.8,.2,1);
}

.sp-bh-heading .sp-bh-subline {
  display: inline-block !important;
  color: #496574 !important;
  font-size: .57em !important;
  font-weight: 650 !important;
  letter-spacing: -1.15px !important;
  line-height: 1.25 !important;
}

/* KICKER ANIMATION */

.sp-bh-hero .sp-bh-kicker-line {
  transition: transform 700ms ease;
}

/* DEAL TAGS */

.sp-bh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 19px;
}

.sp-bh-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 9px 13px;
  border: 1px solid #D9E6EC;
  border-radius: 7px;
  background: rgba(247,250,251,.82);
  color: var(--sp-bh-ink);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -.1px;
  box-shadow: 0 3px 12px rgba(16,41,58,.035);
  transition:
    transform 250ms ease,
    background 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.sp-bh-tag svg {
  display: block;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--sp-bh-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sp-bh-tag:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: var(--sp-bh-ice);
  box-shadow: 0 8px 20px rgba(24,59,78,.09);
}

/* TRUST LINE */

.sp-bh-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--sp-bh-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1px;
}

.sp-bh-trust-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sp-bh-green);
  box-shadow: 0 0 0 4px rgba(31,122,90,.10);
}

.sp-bh-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #A8BBC4;
}

/* =========================================
   ENTRANCE ANIMATIONS
========================================= */

.sp-bh-hero .sp-bh-line {
  overflow: hidden;
}

.sp-bh-hero .sp-bh-mask {
  transform: translateY(115%);
  opacity: 0;
  transition:
    transform 850ms cubic-bezier(.19,1,.22,1),
    opacity 650ms ease;
}

.sp-bh-hero.in .sp-bh-line-1 .sp-bh-mask {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 150ms;
}

.sp-bh-hero.in .sp-bh-line-2 .sp-bh-mask {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 350ms;
}

.sp-bh-hero.in .sp-bh-line-3 .sp-bh-mask {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 550ms;
}

.sp-bh-hero.in .sp-bh-highlight::after {
  transform: scaleX(1);
  transition-delay: 950ms;
}

.sp-bh-hero.in .sp-bh-kicker-line {
  transform: scaleX(1);
}

/* TAG STAGGER */

.sp-bh-tag {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 550ms ease,
    transform 550ms cubic-bezier(.2,.8,.2,1);
}

.sp-bh-hero.in .sp-bh-tag {
  opacity: 1;
  transform: translateY(0);
}

.sp-bh-hero.in .sp-bh-tag:nth-child(1) {
  transition-delay: 850ms;
}

.sp-bh-hero.in .sp-bh-tag:nth-child(2) {
  transition-delay: 970ms;
}

.sp-bh-hero.in .sp-bh-tag:nth-child(3) {
  transition-delay: 1090ms;
}

.sp-bh-hero.in .sp-bh-tag:nth-child(4) {
  transition-delay: 1210ms;
}

/* DRAW CHECKMARKS */

.sp-bh-tag svg path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 500ms ease;
}

.sp-bh-hero.in .sp-bh-tag svg path {
  stroke-dashoffset: 0;
  transition-delay: 1150ms;
}

.sp-bh-hero.in .sp-bh-tag:nth-child(2) svg path {
  transition-delay: 1270ms;
}

.sp-bh-hero.in .sp-bh-tag:nth-child(3) svg path {
  transition-delay: 1390ms;
}

.sp-bh-hero.in .sp-bh-tag:nth-child(4) svg path {
  transition-delay: 1510ms;
}

/* TRUST LINE REVEAL */

.sp-bh-trust {
  opacity: 0;
  transform: translateY(7px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.sp-bh-hero.in .sp-bh-trust {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1450ms;
}

/* =========================================
   MOBILE — 390PX
========================================= */

@media (max-width: 600px) {

  .sp-bh-hero {
    max-width: 100%;
  }

  .sp-bh-kicker {
    font-size: 9px;
    margin-bottom: 17px;
    letter-spacing: 1.7px;
  }

  .sp-bh-heading {
    font-size: clamp(35px, 9.3vw, 43px) !important;
    letter-spacing: -1.7px !important;
    line-height: 1.1 !important;
  }

  .sp-bh-heading .sp-bh-subline {
    font-size: .59em !important;
    letter-spacing: -.8px !important;
    line-height: 1.3 !important;
  }

  .sp-bh-highlight::after {
    height: 3px;
    bottom: -4px;
  }

  .sp-bh-tags {
    gap: 8px;
    margin-top: 25px;
    margin-bottom: 18px;
  }

  .sp-bh-tag {
    min-height: 37px;
    padding: 8px 10px;
    font-size: 11px;
    gap: 6px;
  }

  .sp-bh-tag svg {
    width: 14px;
    height: 14px;
  }

  .sp-bh-trust {
    gap: 8px;
    font-size: 10px;
    line-height: 1.7;
  }
}

/* SMALL MOBILE */

@media (max-width: 360px) {

  .sp-bh-heading {
    font-size: 34px !important;
    letter-spacing: -1.4px !important;
  }

  .sp-bh-tags {
    gap: 7px;
  }

  .sp-bh-tag {
    font-size: 10px;
    padding: 8px;
  }
}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

  .sp-bh-hero *,
  .sp-bh-hero *::before,
  .sp-bh-hero *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }

  .sp-bh-highlight::after {
    transform: scaleX(1) !important;
  }
}


/* LC integration (v3.10.0) */
/* failsafe: if JS never adds .in, show everything after 3s */
@keyframes spBhFailsafe{to{opacity:1;transform:none}}
.sp-bh-hero:not(.in) .sp-bh-mask,.sp-bh-hero:not(.in) .sp-bh-tag,.sp-bh-hero:not(.in) .sp-bh-trust{animation:spBhFailsafe .01s linear 3s forwards}
.lc-shot .sp-bh-mask,.lc-shot .sp-bh-tag,.lc-shot .sp-bh-trust{opacity:1!important;transform:none!important;transition:none!important}
/* site CSS has '.sp h1 span{display:block;color:accent}' */
/* accent colours come from ChatGPT rules; only line wrappers reset */
.sp .sp-bh-heading .sp-bh-line{display:block}
.sp-bh-hero + .sp-ctas{margin-top:22px}
/* LC: make 'Priced to Sell' pop — underline no longer clipped by the line mask, slow teal→green shimmer */
.sp-bh-heading .sp-bh-line-2{padding-bottom:10px;margin-bottom:0}
.sp-bh-highlight{background:linear-gradient(100deg,#183B4E 0%,#2F7FA0 30%,#1F7A6A 50%,#2F7FA0 70%,#183B4E 100%) 0 0/220% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.sp-bh-hero.in .sp-bh-highlight{animation:spBhShimmer 6s ease-in-out 1.4s infinite}
@keyframes spBhShimmer{0%,100%{background-position:0 0}50%{background-position:100% 0}}
.sp-bh-highlight::after{height:5px;bottom:-4px;background:linear-gradient(90deg,#9CC7DA,#1F7A6A)}
@media (prefers-reduced-motion:reduce){.sp-bh-hero.in .sp-bh-highlight{animation:none}}

/* 3.46.5 (Anti Imtiaz VN 21 Nov 11:28; copy = ChatGPT pick): buyer promise line under the H1 */
.sp-bh-promise{margin:18px 0 0 !important;max-width:46ch;color:#33444E;font-size:clamp(15.5px,.3vw + 13px,17.5px);line-height:1.6;animation:spBhPromise .7s cubic-bezier(.2,.8,.2,1) .55s both}
.sp-bh-promise strong{color:var(--sp-bh-ink);font-weight:750}
@keyframes spBhPromise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.sp-bh-promise{animation:none}}
