/* Sell That Cell workflow preview V1
   Preview-only styling for /phone?stc_preview=1 */

body.stc-workflow-preview {
  background:
    radial-gradient(circle at 12% 16%, rgba(10,143,53,.055), transparent 30%),
    radial-gradient(circle at 90% 72%, rgba(10,143,53,.05), transparent 28%),
    #ffffff;
  color: #071225;
}

.stc-workflow-page,
.stc-workflow-page * {
  box-sizing: border-box;
}

.stc-workflow-shell {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
  padding: 42px 0 58px;
}

.stc-workflow-top {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  margin-bottom: 28px;
}

.stc-workflow-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 126px;
  height: 54px;
  padding: 0 22px;
  border-radius: 15px;
  background: rgba(255,255,255,.86);
  color: #071225 !important;
  text-decoration: none !important;
  border: 1px solid #edf1f4;
  box-shadow: 0 12px 28px rgba(7,18,37,.08);
  font-size: 18px;
  font-weight: 850;
  justify-self: start;
}

.stc-workflow-back span:first-child {
  color: #0aa53e;
  font-size: 24px;
  line-height: 1;
}

.stc-progress-card {
  justify-self: end;
  width: min(510px, 100%);
  min-height: 58px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid #edf1f4;
  box-shadow: 0 12px 30px rgba(7,18,37,.08);
  padding: 12px 18px;
}

.stc-progress-summary {
  font-size: 17px;
  font-weight: 850;
  color: #071225;
  white-space: nowrap;
}

.stc-progress-summary strong {
  color: #0aa53e;
}

.stc-progress-track {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0;
}

.stc-progress-step {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #8b94a6;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.stc-progress-step .dot {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #a9b2c2;
  background: #ffffff;
  color: transparent;
  font-size: 0;
}

.stc-progress-step.active {
  color: #0a8f35;
}

.stc-progress-step.active .dot {
  background: #0aa53e;
  border-color: #0aa53e;
  box-shadow: 0 0 0 4px rgba(10,165,62,.12);
}

.stc-progress-track .line {
  height: 2px;
  background: #cfd6e2;
  min-width: 54px;
  transform: translateY(-11px);
}

.stc-workflow-intro-card {
  width: min(760px, 100%);
  margin: 0 auto 30px;
  padding: 38px 56px;
  text-align: center;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,253,248,.97) 56%, rgba(251,248,241,.96) 100%);
  border: 1px solid #edf1f4;
  box-shadow: 0 16px 38px rgba(7,18,37,.075);
}

.stc-workflow-intro-card h1 {
  margin: 0 0 16px;
  color: #071225;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.04em;
}

.stc-workflow-intro-card p {
  width: min(640px, 100%);
  margin: 0 auto;
  color: #526079;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
  font-weight: 600;
}

.stc-brand-grid {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  justify-content: center;
}

.stc-brand-card {
  min-height: 150px;
  border-radius: 17px;
  background: rgba(255,255,255,.92);
  border: 1px solid #edf1f4;
  box-shadow: 0 12px 30px rgba(7,18,37,.065);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none !important;
  color: #071225 !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.stc-brand-card:hover,
.stc-brand-card:focus {
  transform: translateY(-3px);
  border-color: rgba(10,143,53,.25);
  box-shadow: 0 18px 40px rgba(7,18,37,.11);
  outline: none;
}

.stc-brand-card img {
  max-width: 170px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.stc-brand-card span {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 850;
}

.stc-brand-grid .stc-brand-card:nth-child(n+5) {
  transform: translateX(calc(50% + 9px));
}

.stc-brand-grid .stc-brand-card:nth-child(n+5):hover,
.stc-brand-grid .stc-brand-card:nth-child(n+5):focus {
  transform: translateX(calc(50% + 9px)) translateY(-3px);
}

.stc-workflow-trust {
  width: min(1010px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #edf1f4;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(7,18,37,.065);
  border-radius: 17px;
  overflow: hidden;
}

.stc-trust-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 24px 34px;
}

.stc-trust-item + .stc-trust-item {
  border-left: 1px solid #dfe6ee;
}

.stc-trust-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0aa53e;
}

.stc-trust-icon svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.stc-trust-item h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
  color: #071225;
}

.stc-trust-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  color: #526079;
}

.stc-workflow-empty {
  text-align: center;
  padding: 40px 20px;
}

.stc-workflow-description {
  display: none;
}

body.stc-workflow-preview #haveQuestion,
body.stc-workflow-preview #whyChoose {
  display: none !important;
}

@media (max-width: 991px) {
  .stc-workflow-shell {
    width: min(100% - 34px, 780px);
    padding: 28px 0 42px;
  }

  .stc-workflow-top {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 26px;
  }

  .stc-workflow-back {
    min-width: 150px;
    height: 64px;
    border-radius: 20px;
    font-size: 20px;
  }

  .stc-progress-card {
    min-height: 64px;
    grid-template-columns: 145px minmax(0, 1fr);
    border-radius: 20px;
    padding: 12px 14px;
  }

  .stc-progress-summary {
    font-size: 21px;
  }

  .stc-progress-step {
    font-size: 13px;
  }

  .stc-progress-track .line {
    min-width: 34px;
  }

  .stc-workflow-intro-card {
    margin-bottom: 28px;
    padding: 46px 28px;
    border-radius: 22px;
  }

  .stc-workflow-intro-card h1 {
    font-size: clamp(32px, 7vw, 44px);
  }

  .stc-workflow-intro-card p {
    font-size: 22px;
    line-height: 1.55;
  }

  .stc-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 680px);
    gap: 16px;
  }

  .stc-brand-grid .stc-brand-card:nth-child(n+5),
  .stc-brand-grid .stc-brand-card:nth-child(n+5):hover,
  .stc-brand-grid .stc-brand-card:nth-child(n+5):focus {
    transform: none;
  }

  .stc-brand-grid .stc-brand-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }

  .stc-brand-card {
    min-height: 168px;
    border-radius: 15px;
  }

  .stc-brand-card img {
    max-width: 190px;
    max-height: 74px;
  }

  .stc-brand-card span {
    font-size: 20px;
  }

  .stc-workflow-trust {
    width: min(100%, 640px);
    grid-template-columns: 1fr;
    margin-top: 26px;
    border-radius: 17px;
  }

  .stc-trust-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px 26px;
  }

  .stc-trust-item + .stc-trust-item {
    border-left: 0;
    border-top: 1px solid #dfe6ee;
  }

  .stc-trust-item h3,
  .stc-trust-item p {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .stc-workflow-shell {
    width: calc(100% - 28px);
    padding-top: 24px;
  }

  .stc-workflow-top {
    grid-template-columns: 1fr;
  }

  .stc-workflow-back {
    width: 120px;
    min-width: 120px;
    height: 52px;
    font-size: 17px;
  }

  .stc-progress-card {
    justify-self: stretch;
    width: 100%;
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 58px;
    padding: 10px 12px;
  }

  .stc-progress-summary {
    font-size: 17px;
  }

  .stc-progress-step {
    font-size: 11px;
  }

  .stc-progress-step .dot {
    width: 13px;
    height: 13px;
  }

  .stc-progress-track .line {
    min-width: 18px;
    transform: translateY(-10px);
  }

  .stc-workflow-intro-card {
    padding: 34px 20px;
  }

  .stc-workflow-intro-card h1 {
    font-size: 31px;
  }

  .stc-workflow-intro-card p {
    font-size: 17px;
  }

  .stc-brand-grid {
    gap: 12px;
  }

  .stc-brand-card {
    min-height: 128px;
  }

  .stc-brand-card img {
    max-width: 118px;
    max-height: 54px;
  }

  .stc-brand-card span {
    font-size: 16px;
  }
}
