/*
 * SecuTest commercial landing layout.
 *
 * Loaded after every existing landing/scanner stylesheet. The scanner keeps
 * its dark cinematic rendering while the surrounding commercial sections use
 * a lighter, higher-contrast visual hierarchy.
 */

/* Hero: white commercial canvas around the unchanged scanner. */
.hero {
  min-height: 720px;
  background: #ffffff;
  color: var(--slate-950);
}
.hero-grid,
.hero-glow {
  display: none;
}

.hero .eyebrow {
  border-color: rgba(36, 99, 235, 0.18);
  background: #eef5ff;
  color: var(--blue-700);
}

.hero h1 {
  color: var(--slate-950);
}

.hero h1 span {
  background: linear-gradient(90deg, var(--blue-700), #147d96);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  color: var(--slate-600);
}

.hero-assurances li {
  color: var(--slate-700);
}

.hero-assurances svg {
  stroke: var(--green-600);
}

/* Explicitly preserve the complete scanner's dark visual system. */
.hero .scanner-shell {
  color: var(--white);
  background: rgba(15, 31, 53, 0.76);
}

/* Make the primary account entry point more prominent without changing header geometry. */
.site-header .header-actions .button.button-primary.button-small {
  min-height: 46px;
  padding: 11px 20px;
  border-color: rgba(126, 232, 255, 0.22);
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 58%, #147d96 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 820;
  letter-spacing: -0.01em;
  box-shadow:
    0 12px 28px rgba(36, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.site-header .header-actions .button.button-primary.button-small:hover {
  box-shadow:
    0 16px 34px rgba(36, 99, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Assessment coverage: full-width blue transition band. */
.signal-strip {
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #123f99 0%, #1854d1 52%, #147d96 100%);
  color: #ffffff;
}

.signal-strip-inner > p {
  color: #ffffff;
}

.signal-strip-inner span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

/* Three-step journey: white, compact and without decorative numbering. */
#how-it-works.dark-section {
  background: #ffffff;
  color: var(--slate-950);
}

#how-it-works .dark-grid {
  display: none;
}

#how-it-works .section-heading-light .section-kicker {
  color: var(--blue-600);
}

#how-it-works .section-heading-light h2 {
  color: var(--slate-950);
}

#how-it-works .dark-section-content > .section-heading > p:last-child {
  color: var(--slate-600);
}

#how-it-works .dark-section-content > .section-heading {
  margin-bottom: 30px;
}

#how-it-works .steps {
  margin-top: 0;
}

#how-it-works .steps > li {
  border-color: var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

#how-it-works .steps-interactive > li > a {
  min-height: 0;
  gap: 0;
  padding: 30px;
}

#how-it-works .steps-interactive > li > a:hover,
#how-it-works .steps-interactive > li > a:focus-visible {
  background: #f7faff;
  box-shadow: inset 0 0 0 1px rgba(36, 99, 235, 0.2), var(--shadow-sm);
}

#how-it-works .step-number {
  display: none;
}

#how-it-works .steps h3 {
  color: var(--slate-950);
}

#how-it-works .steps p {
  color: var(--slate-600);
}

#how-it-works .step-link {
  color: var(--blue-700);
}

/*
 * Pricing: four genuinely equivalent vertical cards.
 *
 * The base stylesheets originally treat the partner/remediation offers as
 * wider horizontal blocks. These rules fully reset those internal layouts so
 * they remain readable when promoted into the four-column pricing grid.
 */
.pricing-section > .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-section > .container > .section-heading,
.pricing-section > .container > :not(.pricing-grid):not(.partner-offer-card):not(.remediation-offer) {
  grid-column: 1 / -1;
}

.pricing-section .pricing-grid {
  display: contents;
}

.pricing-section .price-card,
.pricing-section .partner-offer-card,
.pricing-section .remediation-offer {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--slate-950);
  box-shadow: var(--shadow-sm);
}

/* Keep the recommended report visually selected without changing geometry. */
.pricing-section .price-card-primary {
  border-color: rgba(36, 99, 235, 0.38);
  box-shadow:
    0 18px 44px rgba(36, 99, 235, 0.10),
    inset 0 0 0 1px rgba(36, 99, 235, 0.06);
}

.pricing-section .price-card,
.pricing-section .partner-offer-card,
.pricing-section .remediation-offer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}

.pricing-section .partner-offer-copy,
.pricing-section .remediation-offer-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

/* Neutralize legacy horizontal/grid layouts from the dedicated offer sheets. */
.pricing-section .partner-offer-card,
.pricing-section .remediation-offer,
.pricing-section .partner-offer-copy,
.pricing-section .remediation-offer-copy,
.pricing-section .partner-card-actions,
.pricing-section .remediation-offer-actions {
  grid-template-columns: none;
}

.pricing-section .price-card-top {
  min-width: 0;
  padding-top: 34px;
}

.pricing-section .price-card-top > p,
.pricing-section .remediation-offer h3 {
  min-height: 2.4em;
  margin: 0 0 12px;
  color: var(--slate-950);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.pricing-section .price {
  display: flex;
  min-height: 58px;
  align-items: flex-end;
  gap: 6px;
  margin: 0;
}

.pricing-section .price strong {
  font-size: clamp(42px, 3.4vw, 50px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.pricing-section .price small {
  max-width: 72px;
  padding-bottom: 4px;
  color: var(--slate-500);
  font-size: 11px;
  line-height: 1.2;
}

.pricing-section .price-card-top > span {
  display: block;
  min-height: 3.1em;
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 12px;
  line-height: 1.45;
}

.pricing-section .recommended-label,
.pricing-section .partner-card-label,
.pricing-section .remediation-offer .section-kicker {
  position: absolute;
  top: 18px;
  left: 28px;
  right: auto;
  width: auto;
  margin: 0;
  white-space: nowrap;
}

.pricing-section .partner-price-card-top {
  padding-bottom: 0;
}

.pricing-section .partner-price-card-top > p {
  min-height: auto;
  margin-bottom: 0;
}

.pricing-section .partner-price-card-top > span {
  min-height: 0;
  margin-top: 9px;
}

.pricing-section .partner-pack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 20px;
  padding-block: 4px 2px;
}

.pricing-section .partner-pack-tier {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.pricing-section .partner-pack-tier > span {
  color: var(--slate-800);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
  white-space: nowrap;
}

.pricing-section .partner-pack-tier > strong {
  color: var(--slate-950);
  font-size: 26px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}



.pricing-section .remediation-offer-copy {
  padding-top: 34px;
}

.pricing-section .remediation-offer .section-kicker {
  max-width: calc(100% - 56px);
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
}

.pricing-section .remediation-offer h3 {
  min-height: auto;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
}

.pricing-section .remediation-offer-copy > p:not(.section-kicker) {
  margin: 0;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-section .price-card > ul,
.pricing-section .partner-offer-card ul {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 0;
  margin: 22px 0 26px;
  list-style: none;
}

.pricing-section .price-card > ul li,
.pricing-section .partner-offer-card ul li {
  position: relative;
  min-width: 0;
  padding-left: 24px;
  color: var(--slate-700);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: normal;
  word-break: normal;
}


.pricing-section .remediation-offer-scope {
  display: grid;
  gap: 8px;
  margin: 22px 0 26px;
}

.pricing-section .remediation-offer-scope span {
  position: relative;
  min-width: 0;
  padding: 0 0 0 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--slate-700);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.pricing-section .remediation-offer-scope span::before {
  content: "•";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--slate-500);
  font-weight: 400;
}

.pricing-section .price-card > .button,
.pricing-section .partner-card-actions,
.pricing-section .remediation-offer-actions {
  margin-top: auto;
}

.pricing-section .partner-card-actions,
.pricing-section .remediation-offer-actions {
  position: static;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.pricing-section .price-card > .button,
.pricing-section .partner-card-actions .button,
.pricing-section .remediation-offer-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.pricing-section .payment-note,
.pricing-section .partner-card-login,
.pricing-section .remediation-offer-actions small {
  min-width: 0;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding-top: 10px;
  color: var(--slate-500);
  font-size: 10px;
  line-height: 1.4;
  overflow-wrap: normal;
  word-break: normal;
}

.pricing-section .partner-card-login {
  display: block;
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .pricing-section > .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-section .partner-pack-tier > span {
    font-size: 14px;
  }

  .pricing-section .partner-pack-tier > strong {
    font-size: 28px;
  }

  .hero .scanner-card[data-cinematic-v3="true"] .scv3-step strong {
    font-size: clamp(12px, 1.3vw, 15px);
  }

  .hero .scanner-card[data-cinematic-v3="true"] .scv3-module small {
    font-size: clamp(12px, 1.2vw, 14px);
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  #how-it-works .steps-interactive > li > a {
    min-height: 0;
    gap: 0;
  }
}

@media (max-width: 720px) {
  .pricing-section > .container {
    grid-template-columns: 1fr;
  }

  #how-it-works .steps-interactive > li > a {
    padding: 24px;
  }

  .pricing-section .price-card,
  .pricing-section .partner-offer-card,
  .pricing-section .remediation-offer {
    padding: 24px;
  }

  .pricing-section .recommended-label,
  .pricing-section .partner-card-label,
  .pricing-section .remediation-offer .section-kicker {
    left: 24px;
  }

  .pricing-section .remediation-offer .section-kicker {
    max-width: calc(100% - 48px);
  }
}

@media (max-width: 520px) {
  .site-header .header-actions .button.button-primary.button-small {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .pricing-section .partner-pack-tier {
    gap: 10px;
  }

  .pricing-section .partner-pack-tier > span {
    font-size: 13px;
    white-space: normal;
  }

  .pricing-section .partner-pack-tier > strong {
    font-size: clamp(24px, 8vw, 28px);
  }
}

/* Scanner status hierarchy: readable lifecycle and dynamic states. */
.hero .scanner-card[data-cinematic-v3="true"] .scv3-step {
  display: flex;
  min-width: 0;
  min-height: 80px;
  flex-direction: column;
  justify-content: center;
}

.hero .scanner-card[data-cinematic-v3="true"] .scv3-step strong {
  margin-top: 0;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.045em;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.hero .scanner-card[data-cinematic-v3="true"] .scv3-step small {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.hero .scanner-card[data-cinematic-v3="true"] .scv3-module small {
  margin-top: 8px;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.055em;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .hero .scanner-card[data-cinematic-v3="true"] .scv3-step {
    min-height: 72px;
  }

  .hero .scanner-card[data-cinematic-v3="true"] .scv3-step strong {
    font-size: clamp(15px, 4.5vw, 18px);
  }

  .hero .scanner-card[data-cinematic-v3="true"] .scv3-module small {
    font-size: 14px;
  }
}