/* Sales landing page — pattern canvas (sky + tiled pattern at 50%) */

/* No scroll-reveal on this page — short viewports need the tool visible immediately. */
.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

body {
  position: relative;
  color: #fff;
  background-color: var(--stm-sky);
  background-image: none;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Fill leftover viewport height so the footer sits at the bottom when
   content is short — normal document flow, not position:sticky/fixed. */
main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url('../img/pattern.png');
  background-repeat: repeat;
  background-size: 409px 355px;
  background-position: top left;
  opacity: 0.5;
}

.brand-logo {
  height: 50px;
}

/* Logo-only header: no bar, blends into page */
header {
  position: relative;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

.nav {
  justify-content: flex-start;
  padding: 20px 0 8px;
}

.sales-hero {
  padding: 40px 0 72px;
  min-height: clamp(340px, 48vh, 480px);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.sales-hero .container {
  position: relative;
  z-index: 1;
}

.sales-hero-jiji {
  position: absolute;
  /* Pin to the right edge of the centered .container (--max), not the viewport */
  right: max(24px, calc((100% - var(--max)) / 2));
  bottom: 0;
  height: clamp(260px, 48vh, 400px);
  width: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%);
}

.sales-hero-inner {
  max-width: min(640px, 58%);
}

.sales-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 18px;
}

.sales-hero .lead {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  color: #fff;
  line-height: 1.6;
  margin-bottom: 0;
}

.sales-hero .lead--tool {
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.sales-hero .lead--support {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #fff;
}

.sales-hero .lead strong {
  color: #fff;
  font-weight: 700;
}

.try-section {
  padding: 0 0 28px;
  position: relative;
  z-index: 2;
  background: transparent;
}

.try-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 22px 18px 20px;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  color: #0C1F2A;
  background:
    radial-gradient(circle at 12% 120%, rgba(250, 165, 70, 0.55), transparent 42%),
    linear-gradient(105deg, #9BD978 0%, #7FC460 48%, #6BB54F 100%);
  box-shadow:
    0 10px 28px rgba(12, 31, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.try-banner:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(12, 31, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.try-banner:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.try-banner-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.try-shape {
  position: absolute;
  opacity: 0.28;
  mix-blend-mode: soft-light;
}

.try-shape--a {
  width: 72px;
  height: 72px;
  left: -12px;
  top: -18px;
  border-radius: 18px;
  background: #FAA546;
  transform: rotate(18deg);
  animation: try-bob 5.5s ease-in-out infinite;
}

.try-shape--b {
  width: 46px;
  height: 46px;
  left: 64px;
  bottom: -16px;
  border-radius: 50%;
  background: #fff;
  animation: try-bob 4.8s ease-in-out infinite 0.4s;
}

.try-shape--c {
  width: 34px;
  height: 34px;
  right: 28%;
  top: -10px;
  border-radius: 8px;
  background: #FAA546;
  transform: rotate(-22deg);
  animation: try-bob 6s ease-in-out infinite 0.8s;
}

@keyframes try-bob {
  0%, 100% { transform: translateY(0) rotate(var(--try-rot, 0deg)); }
  50% { transform: translateY(-5px) rotate(var(--try-rot, 0deg)); }
}

.try-shape--a { --try-rot: 18deg; }
.try-shape--c { --try-rot: -22deg; }

.try-banner-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.try-banner-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(12, 31, 42, 0.72);
}

.try-banner-title {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0C1F2A;
}

.try-banner-cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #0C1F2A;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 8px rgba(12, 31, 42, 0.2);
  transition: gap 0.18s ease, background 0.18s ease;
}

.try-banner:hover .try-banner-cta {
  gap: 12px;
  background: #163645;
}

.try-banner-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}

.try-banner:hover .try-banner-arrow {
  transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
  .try-shape { animation: none; }
  .try-banner,
  .try-banner-cta,
  .try-banner-arrow {
    transition: none;
  }
}

.glass-panel {
  border-radius: 16px;
  background: #F2F2F2;
  border: none;
  box-shadow: 0 12px 40px rgba(12, 31, 42, 0.16);
}

.offer-toast {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--offer, #FAA546);
  color: #0C1F2A;
  box-shadow: 0 2px 12px rgba(250, 165, 70, 0.28);
}

.offer-toast-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 14px;
  padding: 10px 0;
  text-align: center;
}

.offer-toast-inner:has(.btn--offer-pricing) {
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  text-align: left;
  padding: 8px 0;
}

.offer-toast-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  min-width: 0;
}

.offer-toast-inner:has(.btn--offer-pricing) .offer-toast-copy {
  flex: 1 1 auto;
}

.btn--offer-pricing {
  flex-shrink: 0;
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 800;
  background: #0c1f2a;
  border-color: #0c1f2a;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(12, 31, 42, 0.2);
}

.btn--offer-pricing:hover {
  background: #163645;
  border-color: #163645;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(12, 31, 42, 0.28);
}

.btn--offer-pricing .btn-entry-icon {
  width: 1em;
  height: 1em;
}

@media (max-width: 560px) {
  .offer-toast-inner:has(.btn--offer-pricing) {
    justify-content: center;
    text-align: center;
  }

  .offer-toast-inner:has(.btn--offer-pricing) .offer-toast-copy {
    justify-content: center;
    flex-basis: 100%;
  }
}

.offer-banner-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
  text-wrap: balance;
}

.offer-banner-meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.85;
  line-height: 1.3;
}

.quote-section {
  padding: 0 0 80px;
  margin-top: 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.quote-flow {
  max-width: 820px;
  margin: 0 auto;
}

.quote-card-body .form-field label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
  color: #0C1F2A;
  font-size: 0.93rem;
}

.quote-step {
  margin: 0 0 14px;
  overflow: hidden;
  scroll-margin-top: 72px;
}

.quote-step--result {
  overflow: visible;
  padding-bottom: 22px;
}

.recommend-compare-heading {
  margin: 0;
  padding: 20px 20px 0;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0C1F2A;
}

.quote-step.is-hidden {
  display: none;
}

.quote-step.is-locked,
.help-block.is-locked {
  position: relative;
  opacity: 0.42;
  filter: grayscale(0.2);
  pointer-events: none;
  user-select: none;
}

.quote-step.is-locked::before,
.help-block.is-locked::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: rgba(232, 244, 252, 0.18);
  pointer-events: none;
}

.help-block.is-locked .quote-step.is-locked {
  opacity: 1;
  filter: none;
}

.help-block.is-locked .quote-step.is-locked::before {
  display: none;
}

.quote-card-header {
  padding: 20px 24px 0;
}

.quote-card-header h2,
.quote-card-header h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0C1F2A;
}

.quote-card-body {
  padding: 18px 24px 24px;
}

.quote-card-body--intents,
.quote-card-body--details {
  padding-top: 22px;
}

.quote-card-body--soft-close {
  padding: 36px 24px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intent-soft-close-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #0c1f2a;
  color: #fff;
  box-shadow: 0 4px 14px rgba(12, 31, 42, 0.2);
}

.intent-soft-close-icon svg {
  width: 26px;
  height: 26px;
}

.intent-soft-close-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0c1f2a;
}

.intent-soft-close-copy {
  margin: 0;
  max-width: 28em;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(12, 31, 42, 0.72);
}

.intent-soft-close-copy a {
  color: #1e6f9a;
  font-weight: 700;
}

.full-quote-lead {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: #0C1F2A;
}

.full-quote-lead.is-hidden,
.full-quote-lead[hidden] {
  display: none;
}

.full-quote-lead a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.full-quote-lead a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tile-grid {
  display: grid;
  gap: 12px;
}

.tile-grid--2 {
  grid-template-columns: 1fr 1fr;
}

.tile-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.tile-grid--students {
  grid-template-columns: repeat(5, 1fr);
}

.tile-grid--students[hidden],
[data-students-bands][hidden] {
  display: none !important;
}

.students-custom {
  margin-top: 14px;
}

.students-custom[hidden] {
  display: none;
}

.students-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
}

.students-input-suffix {
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(12, 31, 42, 0.7);
}

.setup-students {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(12, 31, 42, 0.08);
}

.setup-students.is-hidden,
.setup-students[hidden] {
  display: none;
}

.setup-students-heading {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0C1F2A;
}

.recommend {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 22px 24px 8px;
  overflow: hidden;
}

.recommend--compare {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 16px;
  align-items: stretch;
  padding: 12px 16px 20px;
  overflow: visible;
}

.recommend-col {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 14px 12px 12px;
  border: 3px solid rgba(12, 31, 42, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(12, 31, 42, 0.08);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.recommend-col:hover {
  border-color: var(--stm-sky);
  box-shadow: 0 4px 14px rgba(12, 31, 42, 0.12);
  transform: translateY(-1px);
}

.recommend-col:has(.recommend-product-input:focus-visible) {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}

.recommend-col:has(.recommend-product-input:checked) {
  background: #fff;
  border-color: var(--accent-strong);
  box-shadow: 0 4px 16px rgba(30, 111, 154, 0.18);
}

.recommend-product-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.recommend-selected-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px -12px -12px;
  padding: 10px 12px;
  min-height: 2.5rem;
  background: transparent;
  color: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0 0 11px 11px;
  pointer-events: none;
  user-select: none;
}

.recommend-col:has(.recommend-product-input:checked) .recommend-selected-footer {
  background: var(--accent-strong);
  color: #fff;
}

.recommend-selected-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-radius: 50%;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
  box-sizing: border-box;
}

.recommend-col:has(.recommend-product-input:checked) .recommend-selected-check {
  border-color: #fff;
  background-color: var(--stm-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l3 3 6.2-6.2' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.recommend-col-head {
  /* Temporarily hidden with the ribbon — restore when bringing “Recommended” back. */
  display: none;
  align-items: flex-start;
  min-height: 2.35rem;
  margin-bottom: 12px;
}

.recommend-body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.recommend-jiji {
  position: absolute;
  right: -8px;
  bottom: -6px;
  height: 148px;
  width: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.95;
  transform-origin: 70% 90%;
  filter: drop-shadow(0 8px 16px rgba(12, 31, 42, 0.18));
}

.recommend-jiji.is-waving {
  animation: jiji-wave 0.85s ease-in-out;
}

@keyframes jiji-wave {
  0% { transform: translateX(18px) rotate(0deg); opacity: 0.4; }
  35% { transform: translateX(0) rotate(-6deg); opacity: 1; }
  55% { transform: rotate(8deg); }
  70% { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}

.recommend-ribbon {
  position: relative;
  z-index: 3;
  display: none; /* temporarily off with .recommend-col-head */
  align-items: center;
  margin: -4px 0 0 -38px;
  max-width: calc(100% + 38px);
  padding: 8px 18px 8px 14px;
  background: linear-gradient(180deg, #FFB85C 0%, var(--stm-orange, #FAA546) 55%, #E8922E 100%);
  color: #0C1F2A;
  filter: drop-shadow(0 6px 10px rgba(250, 165, 70, 0.4));
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.recommend-ribbon-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
  text-wrap: balance;
}

.recommend-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(12, 31, 42, 0.70);
}

.recommend-product {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0C1F2A;
  line-height: 1.1;
}

.recommend-product-logo {
  display: block;
  width: auto;
  height: 72px;
  max-width: 100%;
  margin: 0 0 14px;
  object-fit: contain;
  object-position: left center;
  border-radius: 10px;
}

.recommend-perks {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  align-content: start;
  flex: 1 1 auto;
}

.recommend-perks li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(12, 31, 42, 0.78);
}

.recommend-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--stm-green);
}

.recommend-price-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  margin-top: auto;
  padding: 14px 16px;
  width: 100%;
  min-height: 5.75rem;
  border-radius: 12px;
  background: rgba(127, 196, 96, 0.16);
  border: 1px solid rgba(127, 196, 96, 0.35);
  text-align: left;
  box-sizing: border-box;
}

.recommend-price-block[hidden] {
  display: none;
}

.recommend-price-block--contact {
  background: rgba(12, 31, 42, 0.06);
  border-color: rgba(12, 31, 42, 0.12);
}

.recommend-price-block--contact .recommend-price {
  margin-bottom: 0;
}

.recommend-price {
  display: block;
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0C1F2A;
  line-height: 1.1;
}

.recommend-price--cta {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.recommend-price-note {
  display: block;
  margin: 0;
  font-size: 0.88rem;
  color: rgba(12, 31, 42, 0.70);
}

.recommend-disclaimer {
  margin: 16px 16px 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(12, 31, 42, 0.62);
}

.recommend-help-prompt {
  margin: 20px 16px 4px;
  padding: 16px 12px 8px;
  border-top: 1px solid rgba(12, 31, 42, 0.1);
  text-align: center;
}

.recommend-help-title {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0c1f2a;
}

.recommend-help-lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(12, 31, 42, 0.7);
}

.recommend-intents {
  margin-top: 16px;
  text-align: left;
}

.recommend-intents.is-hidden,
.recommend-intents[hidden] {
  display: none;
}

.page-showcase .intent-actions.intent-actions--row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-showcase .intent-actions--row:has(.intent-action[hidden]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-showcase .intent-actions--row .intent-action:not(.intent-action--link) {
  min-height: 128px;
  padding: 26px 18px;
}

.page-showcase .intent-actions--row .intent-action:not(.intent-action--link) .intent-action-title {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.page-showcase .intent-action--link {
  grid-column: 1 / -1;
  min-height: 0;
  margin-top: 4px;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(12, 31, 42, 0.72);
  text-align: center;
  justify-content: center;
}

.page-showcase .intent-action--link:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
  color: #0c1f2a;
}

.page-showcase .intent-action--link .intent-action-title {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
}

.page-showcase .intent-action--link:has(input:checked) {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #0c1f2a;
}

.page-showcase .intent-action--link:has(input:checked) .intent-action-title {
  color: #0c1f2a;
  font-weight: 800;
}

.page-showcase .intent-action--link:has(input:focus-visible) {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 720px) {
  .page-showcase .intent-actions.intent-actions--row {
    grid-template-columns: 1fr;
  }

  .page-showcase .intent-actions--row .intent-action:not(.intent-action--link) {
    min-height: 0;
    padding: 16px 18px;
  }
}

.recommend-intents-rule {
  border: 0;
  border-top: 1px solid rgba(12, 31, 42, 0.12);
  margin: 18px 0 0;
}

.recommend-intents .intent-contact-alt {
  margin-top: 14px;
}

.help-block {
  margin-top: 28px;
}

.help-block.is-hidden,
.help-block[hidden] {
  display: none;
}

/* survey-2: no help-intro above intents — match normal quote-step spacing */
.page-showcase .help-block {
  margin-top: 0;
}

.help-intro {
  margin: 0 0 14px;
  padding: 4px 4px 0;
  color: #fff;
}

.help-intro.is-hidden,
.help-intro[hidden] {
  display: none;
}

.help-intro-title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.help-intro-lead {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.tile-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.contact-pref {
  margin: 0 0 18px;
}

.contact-pref.is-hidden,
.contact-pref[hidden] {
  display: none;
}

.contact-pref-label {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0C1F2A;
}

.req-mark {
  color: #b42318;
  font-weight: 700;
}

.req-mark[hidden] {
  display: none;
}

.choice-option--check {
  align-items: flex-start;
}

.choice-option--check[hidden] {
  display: none;
}

.choice-option--check input {
  margin-top: 2px;
}

.intent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.intent-actions:has(.intent-action[hidden]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intent-action {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 112px;
  padding: 22px 16px;
  border: 2px solid rgba(12, 31, 42, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 8px rgba(12, 31, 42, 0.08);
  cursor: pointer;
  text-align: center;
  user-select: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s, color 0.15s;
}

.intent-action[hidden] {
  display: none;
}

.intent-action:hover {
  border-color: var(--stm-sky);
  box-shadow: 0 4px 14px rgba(12, 31, 42, 0.12);
  transform: translateY(-1px);
}

.intent-action:has(input:focus-visible) {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}

.intent-action:has(input:checked) {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
  box-shadow: 0 2px 10px rgba(30, 111, 154, 0.35);
}

.intent-action input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.intent-action-title {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0C1F2A;
}

.intent-action:has(input:checked) .intent-action-title {
  color: #fff;
}

.intent-contact-alt {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(12, 31, 42, 0.72);
}

.intent-contact-alt a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.intent-contact-alt a:hover {
  text-decoration: underline;
}

.barrier-block {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 31, 42, 0.1);
}

.barrier-label {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0C1F2A;
}

.barrier-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  align-items: start;
}

.barrier-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.barrier-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.barrier-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(12, 31, 42, 0.78);
  line-height: 1.3;
  user-select: none;
  border-radius: 6px;
}

.barrier-option:hover {
  color: #0C1F2A;
}

.barrier-option:has(input:focus-visible) {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}

.barrier-option input {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 2px solid rgba(12, 31, 42, 0.28);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.barrier-option:hover input:not(:checked) {
  border-color: var(--stm-sky);
}

.barrier-option input:checked {
  border-color: var(--stm-sky);
  background: radial-gradient(circle at center, var(--stm-sky) 0 45%, #fff 48%);
  box-shadow: 0 0 0 1px rgba(48, 157, 216, 0.25);
}

.barrier-option:has(input:checked) {
  color: #0C1F2A;
}

.barrier-other {
  margin: 2px 0 6px;
  padding-left: 1.5rem;
  max-width: 100%;
}

.barrier-other.is-hidden,
.barrier-other[hidden] {
  display: none;
}

.barrier-other .input {
  width: 100%;
  font-size: 0.88rem;
  padding: 8px 10px;
}

@media (prefers-reduced-motion: reduce) {
  .recommend-jiji.is-waving {
    animation: none;
  }

  .recommend-col,
  .intent-action,
  .tile,
  .tile-icon,
  .choice-option,
  .choice-option input {
    transition: none;
  }

  .recommend-col:hover,
  .intent-action:hover,
  .tile:hover {
    transform: none;
  }
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
  padding: 22px 20px;
  border: 2px solid rgba(12, 31, 42, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 8px rgba(12, 31, 42, 0.08);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s, color 0.15s;
  text-align: left;
  user-select: none;
}

.tile--compact {
  min-height: 88px;
  padding: 18px 14px;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.tile:hover {
  border-color: var(--stm-sky);
  box-shadow: 0 4px 14px rgba(12, 31, 42, 0.12);
  transform: translateY(-1px);
}

.tile:has(input:focus-visible) {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}

.tile:has(input:checked) {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 2px 10px rgba(30, 111, 154, 0.35);
}

.tile:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: var(--accent-strong);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l3 3 6.2-6.2' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  box-shadow: 0 1px 3px rgba(12, 31, 42, 0.2);
  box-sizing: border-box;
  pointer-events: none;
}

.tile--compact:has(input:checked)::after {
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background-size: 11px 11px;
}

.tile:has(input:checked) .tile-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.tile:has(input:checked) .tile-title {
  color: #fff;
}

.tile:has(input:checked) .tile-desc {
  color: rgba(255, 255, 255, 0.88);
}

.tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  border-radius: 10px;
  background: rgba(48, 157, 216, 0.12);
  color: var(--accent-strong);
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.tile-icon svg {
  width: 22px;
  height: 22px;
}

.tile-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0C1F2A;
  line-height: 1.3;
}

.tile--compact .tile-title {
  font-size: 1.05rem;
}

.tile-desc {
  font-size: 0.88rem;
  color: rgba(12, 31, 42, 0.70);
  line-height: 1.45;
  font-weight: 400;
}

.quote-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 18px;
  margin-bottom: 18px;
  align-items: start;
}

.quote-contact .form-field {
  margin-top: 0;
  min-width: 0;
}

.quote-contact .form-field input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
}

.quote-contact .form-field--full {
  grid-column: 1 / -1;
}

.input--students {
  width: 100%;
  max-width: 200px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 14px 16px;
}

.quote-estimate {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(12, 31, 42, 0.04);
  border: 1px solid rgba(12, 31, 42, 0.08);
}

.quote-estimate[hidden] {
  display: none;
}

.quote-estimate-label {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(12, 31, 42, 0.70);
}

.quote-estimate-price {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0C1F2A;
  line-height: 1.15;
}

.quote-estimate--contact .quote-estimate-price {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.quote-estimate-detail {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: rgba(12, 31, 42, 0.7);
  line-height: 1.4;
}

.btn--quote {
  width: 100%;
  max-width: 320px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  background: var(--stm-green);
  border-color: var(--stm-green);
  color: #0C1F2A !important;
  font-weight: 700;
  padding: 14px 22px;
  font-size: 0.95rem;
  box-shadow: 0 1px 4px rgba(127, 196, 96, 0.35);
}

.btn--quote:hover:not(:disabled) {
  background: #93D074;
  border-color: #93D074;
  opacity: 1;
}

.btn--quote:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.page-showcase .btn--quote {
  background: #0c1f2a;
  border-color: #0c1f2a;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(12, 31, 42, 0.18);
}

.page-showcase .btn--quote:hover:not(:disabled) {
  background: #163645;
  border-color: #163645;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(12, 31, 42, 0.24);
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.choice-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid rgba(12, 31, 42, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 8px rgba(12, 31, 42, 0.08);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
  color: #0C1F2A;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  user-select: none;
}

.choice-option:hover {
  border-color: var(--stm-sky);
  box-shadow: 0 4px 14px rgba(12, 31, 42, 0.12);
}

.choice-option:has(input:focus-visible) {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}

.choice-option:has(input:checked) {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
  box-shadow: 0 2px 10px rgba(30, 111, 154, 0.35);
}

.choice-option input {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid rgba(12, 31, 42, 0.28);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.choice-option:hover input:not(:checked) {
  border-color: var(--stm-sky);
}

.choice-option input:checked {
  border-color: var(--stm-sky);
  background-color: var(--stm-sky);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l3 3 6.2-6.2' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
  box-shadow: 0 1px 3px rgba(12, 31, 42, 0.18);
}

.choice-option:has(input:checked) input:checked {
  border-color: #fff;
}

.quote-funding {
  margin-top: 14px;
}

.quote-funding-rule {
  border: 0;
  border-top: 1px solid rgba(12, 31, 42, 0.12);
  margin: 18px 0;
}

.quote-funding label {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0C1F2A;
}

.quote-consent {
  margin: 22px 0 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 31, 42, 0.1);
}

.quote-consent label {
  color: #0C1F2A !important;
}

.quote-consent a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: underline;
}

.turnstile-wrap {
  margin: 0 0 14px;
}

.turnstile-wrap.is-hidden,
.turnstile-wrap[hidden] {
  display: none;
}

.quote-required-key {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: rgba(12, 31, 42, 0.70);
}

.quote-email-note {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: rgba(12, 31, 42, 0.70);
  line-height: 1.45;
}

.quote-email-note strong {
  color: #0C1F2A;
  font-weight: 700;
  word-break: break-word;
}

.quote-status {
  margin-top: 8px;
  text-align: center;
}

.quote-thanks {
  margin: 0;
  overflow: hidden;
  scroll-margin-top: 72px;
}

.quote-thanks[hidden] {
  display: none;
}

.quote-thanks-inner {
  padding: 48px 28px 52px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.quote-thanks-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--stm-green);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(127, 196, 96, 0.4);
}

.quote-thanks-check svg {
  width: 28px;
  height: 28px;
}

.quote-thanks-title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0C1F2A;
  line-height: 1.25;
  text-wrap: balance;
}

.quote-thanks-body {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(12, 31, 42, 0.72);
}

.quote-thanks-body strong {
  color: #0C1F2A;
  font-weight: 700;
  word-break: break-word;
}

.quote-thanks-help {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(12, 31, 42, 0.70);
}

.quote-thanks-help a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.quote-thanks-help a:hover {
  text-decoration: underline;
}

a[href^="tel:"] {
  white-space: nowrap;
}

.status--ok { color: rgba(255, 255, 255, 0.95); }
.status--err { color: #fff; background: rgba(180, 40, 40, 0.85); display: inline-block; padding: 8px 14px; border-radius: 8px; }

.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.pricing-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  text-align: center;
}

/* survey-2: try black form accents (tiles, intents, focus) instead of brand blue */
.page-showcase .quote-section {
  --accent: #0c1f2a;
  --accent-strong: #0c1f2a;
  --accent-2: #163645;
  --stm-sky: #0c1f2a;
}

.page-showcase .quote-section .recommend-col:has(.recommend-product-input:checked),
.page-showcase .quote-section .intent-action:not(.intent-action--link):has(input:checked),
.page-showcase .quote-section .tile:has(input:checked),
.page-showcase .quote-section .barrier-option:has(input:checked) {
  box-shadow: 0 2px 10px rgba(12, 31, 42, 0.28);
}

.page-showcase .quote-section .recommend-col:has(.recommend-product-input:checked) {
  box-shadow: 0 4px 16px rgba(12, 31, 42, 0.2);
}

.page-showcase .quote-section .intent-action--link:has(input:checked) {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #0c1f2a;
}

/* ─── Version B: win-back / value recall ───────────────────────────── */

.page-winback .sales-hero--winback {
  padding-bottom: 48px;
  min-height: clamp(280px, 40vh, 400px);
}

.winback-section {
  padding: 0 0 28px;
}

/* survey-2: CTAs live inside the hero, flush left with the copy */
.sales-hero--survey2 {
  padding-bottom: 56px;
}

.sales-hero--survey2 .sales-hero-inner {
  max-width: min(680px, 62%);
}

.sales-hero--survey2 .winback-entry {
  margin-top: 28px;
  padding: 0;
}

.sales-hero--survey2 .winback-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 12px;
  max-width: none;
  margin: 0;
  align-items: stretch;
  justify-content: flex-start;
}

.sales-hero--survey2 .winback-entry-actions .btn {
  flex: 0 1 auto;
  min-height: 48px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding: 12px 18px;
  text-decoration: none;
}

.sales-hero--survey2 .btn--entry-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
  font-weight: 650;
  box-shadow: none;
}

.sales-hero--survey2 .btn--entry-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.sales-hero--survey2 .btn--entry-primary {
  background: #faa546;
  border-color: #faa546;
  color: #0c1f2a !important;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(250, 165, 70, 0.35);
}

.sales-hero--survey2 .btn--entry-primary:hover {
  background: #ffb85c;
  border-color: #ffb85c;
  box-shadow: 0 8px 22px rgba(250, 165, 70, 0.45);
}

.sales-hero--survey2 .btn-entry-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .sales-hero--survey2 .sales-hero-inner {
    max-width: 100%;
  }
}

/* survey-2: one-shot scroll reveals (Apple-style)
   Fade each section in as it enters while scrolling down; keep it revealed
   if the user scrolls back up. Normal document scroll — no sticky/snap. */
html:has(body.page-showcase) {
  scroll-snap-type: none;
}

.wb-showcase {
  position: relative;
  background: #fff;
  color: #0c1f2a;
}

.wb-showcase > .wb-showcase-panel {
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
  background: #fff;
  scroll-margin-top: var(--offer-toast-h, 52px);
}

.wb-showcase-panel--quote {
  display: block;
  align-items: stretch;
  min-height: auto;
  padding-top: 56px;
  padding-bottom: 72px;
  background: transparent;
  color: #fff;
  scroll-margin-top: var(--offer-toast-h, 52px);
}

.wb-showcase-layout {
  max-width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: center;
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.wb-showcase-panel.is-revealed .wb-showcase-layout {
  opacity: 1;
  transform: none;
}

.wb-showcase-media {
  margin: 0;
  position: relative;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #0c1f2a;
  overflow: hidden;
}

.wb-showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.wb-showcase-panel.is-revealed .wb-showcase-media img {
  transform: scale(1);
}

.wb-showcase-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 8px 0;
}

.wb-showcase-panel:nth-child(even) .wb-showcase-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.wb-showcase-panel:nth-child(even) .wb-showcase-media {
  order: 2;
}

.wb-showcase-panel:nth-child(even) .wb-showcase-body {
  order: 1;
}

@media (prefers-reduced-motion: reduce) {
  .wb-showcase-layout {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .wb-showcase-media img {
    transform: none;
    transition: none;
  }
}

.wb-showcase-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(12, 31, 42, 0.48);
}

.wb-showcase-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0c1f2a;
}

.wb-showcase-copy {
  margin: 18px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(12, 31, 42, 0.72);
  max-width: 36em;
}

.wb-showcase-copy--next {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 31, 42, 0.1);
}

.wb-showcase-inline-link {
  color: #1e6f9a;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wb-showcase-inline-link:hover {
  color: #0c1f2a;
}

.wb-showcase-hint {
  margin: 22px 0 0;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(12, 31, 42, 0.42);
}

.wb-showcase-moments {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.wb-showcase-moments li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 12px;
  background: rgba(12, 31, 42, 0.06);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0c1f2a;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
}

.wb-showcase-moments li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #faa546;
  box-shadow: 0 0 0 4px rgba(250, 165, 70, 0.25);
}

.wb-showcase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.wb-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(12, 31, 42, 0.14);
  background: rgba(12, 31, 42, 0.04);
  color: #0c1f2a;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(12px) scale(0.88);
}

@keyframes wb-capsule-pop {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.88);
  }
  70% {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wb-showcase-panel.is-revealed .wb-showcase-moments li,
.wb-showcase-panel.is-revealed .wb-chip {
  animation: wb-capsule-pop 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wb-showcase-panel.is-revealed .wb-showcase-moments li:nth-child(1),
.wb-showcase-panel.is-revealed .wb-chip:nth-child(1) { animation-delay: 0.18s; }
.wb-showcase-panel.is-revealed .wb-showcase-moments li:nth-child(2),
.wb-showcase-panel.is-revealed .wb-chip:nth-child(2) { animation-delay: 0.28s; }
.wb-showcase-panel.is-revealed .wb-showcase-moments li:nth-child(3),
.wb-showcase-panel.is-revealed .wb-chip:nth-child(3) { animation-delay: 0.38s; }
.wb-showcase-panel.is-revealed .wb-chip:nth-child(4) { animation-delay: 0.48s; }
.wb-showcase-panel.is-revealed .wb-chip:nth-child(5) { animation-delay: 0.58s; }
.wb-showcase-panel.is-revealed .wb-chip:nth-child(6) { animation-delay: 0.68s; }
.wb-showcase-panel.is-revealed .wb-chip:nth-child(7) { animation-delay: 0.78s; }
.wb-showcase-panel.is-revealed .wb-chip:nth-child(8) { animation-delay: 0.88s; }
.wb-showcase-panel.is-revealed .wb-chip:nth-child(9) { animation-delay: 0.98s; }

@media (prefers-reduced-motion: reduce) {
  .wb-showcase-moments li,
  .wb-chip {
    opacity: 1;
    transform: none;
  }

  .wb-showcase-panel.is-revealed .wb-showcase-moments li,
  .wb-showcase-panel.is-revealed .wb-chip {
    animation: none;
  }
}

.btn--try-puzzle {
  align-self: flex-start;
  margin-top: 18px;
  background: #0c1f2a;
  border-color: #0c1f2a;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(12, 31, 42, 0.18);
}

.btn--try-puzzle:hover {
  background: #163645;
  border-color: #163645;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(12, 31, 42, 0.24);
}

.wb-showcase .btn--entry-primary {
  align-self: flex-start;
  margin-top: 14px;
  background: #faa546;
  border-color: #faa546;
  color: #0c1f2a !important;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(250, 165, 70, 0.35);
  text-decoration: none;
}

.wb-showcase .btn--entry-primary:hover {
  background: #ffb85c;
  border-color: #ffb85c;
  box-shadow: 0 8px 22px rgba(250, 165, 70, 0.45);
}

.wb-showcase .btn-entry-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .wb-showcase > .wb-showcase-panel {
    min-height: min(92vh, 900px);
    padding: 40px 0 56px;
  }

  .wb-showcase-layout,
  .wb-showcase-panel:nth-child(even) .wb-showcase-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .wb-showcase-panel:nth-child(even) .wb-showcase-media,
  .wb-showcase-panel:nth-child(even) .wb-showcase-body {
    order: initial;
  }

  .wb-showcase-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .wb-showcase-body {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wb-showcase-media img {
    transform: none;
    transition: none;
  }
}

/* survey-3: interactive controls inside showcase panels */
.page-showcase-survey .wb-showcase[hidden],
.page-showcase-survey .wb-showcase.is-hidden,
.page-showcase-survey .wb-showcase-panel[hidden],
.page-showcase-survey .wb-showcase-panel.is-hidden,
.page-showcase-survey .quote-section[hidden],
.page-showcase-survey .quote-section.is-hidden {
  /* Showcase panels set display:flex/block, which would otherwise win over [hidden]. */
  display: none !important;
}

.page-showcase-survey .wb-showcase-actions {
  margin-top: 22px;
}

.page-showcase-survey .wb-showcase-continue {
  align-self: flex-start;
  margin-top: 18px;
  width: auto;
  min-width: min(100%, 220px);
  text-decoration: none;
}

.page-showcase-survey .wb-showcase-body .tile {
  background: rgba(12, 31, 42, 0.04);
  border-color: rgba(12, 31, 42, 0.12);
  color: #0c1f2a;
}

.page-showcase-survey .wb-showcase-body .tile:hover {
  background: rgba(12, 31, 42, 0.07);
  border-color: rgba(12, 31, 42, 0.22);
}

.page-showcase-survey .wb-showcase-body .tile-title {
  color: #0c1f2a;
}

.page-showcase-survey .wb-showcase-body .tile-desc {
  color: rgba(12, 31, 42, 0.62);
}

/* Keep selected journey tiles dark-on-light (default tile checked state uses white text). */
.page-showcase-survey .wb-showcase-body .tile:has(input:checked) {
  background: rgba(12, 31, 42, 0.08);
  border-color: #0c1f2a;
  box-shadow: 0 2px 10px rgba(12, 31, 42, 0.18);
  color: #0c1f2a;
}

.page-showcase-survey .wb-showcase-body .tile:has(input:checked) .tile-title {
  color: #0c1f2a;
}

.page-showcase-survey .wb-showcase-body .tile:has(input:checked) .tile-desc {
  color: rgba(12, 31, 42, 0.7);
}

.page-showcase-survey .wb-showcase-body .tile:has(input:checked)::after {
  border-color: #0c1f2a;
  background-color: #0c1f2a;
}

.page-showcase-survey .wb-showcase-body .winback-check:has(input:checked) {
  background: rgba(12, 31, 42, 0.08);
  border-color: #0c1f2a;
  color: #0c1f2a;
}

.page-showcase-survey .wb-showcase-body .winback-check input:checked {
  border-color: #0c1f2a;
  background-color: #0c1f2a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
}

.page-showcase-survey .try-section {
  padding: 28px 0 8px;
  scroll-margin-top: var(--offer-toast-h, 52px);
}

/* survey-3 hero: two-column layout (copy | calculator) */
.page-showcase-survey .sales-hero--survey2 {
  overflow: visible;
  min-height: 0;
}

.page-showcase-survey .sales-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px 36px;
  align-items: center;
}

.page-showcase-survey .sales-hero--survey2 .sales-hero-inner {
  max-width: none;
  min-width: 0;
}

.page-showcase-survey .sales-hero-calculator-link {
  position: relative;
  display: block;
  justify-self: stretch;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  filter: drop-shadow(0 12px 28px rgba(12, 31, 42, 0.22));
}

.page-showcase-survey .sales-hero-calculator-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--stm-sky) 20%, transparent);
  border-radius: inherit;
  pointer-events: none;
}

.page-showcase-survey .sales-hero-calculator {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(520px, 70vh);
  object-fit: contain;
  object-position: right center;
  border-radius: inherit;
  pointer-events: none;
}

@media (max-width: 960px) {
  .page-showcase-survey .sales-hero-split {
    grid-template-columns: 1fr;
  }

  .page-showcase-survey .sales-hero-visual {
    display: none;
  }
}

.page-showcase-survey .wb-showcase-layout--copy,
.page-showcase-survey .wb-showcase-panel:nth-child(even) .wb-showcase-layout--copy {
  grid-template-columns: 1fr;
  max-width: min(920px, 100%);
}

.page-showcase-survey .wb-showcase-panel[data-wb-step="missed"] {
  min-height: auto;
  align-items: flex-start;
  padding-top: 48px;
  padding-bottom: 64px;
}

.page-showcase-survey .wb-showcase-panel[data-wb-step="missed"] .wb-showcase-title {
  max-width: 18em;
}

.page-showcase-survey .wb-showcase-panel[data-wb-step="missed"] .winback-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

@media (max-width: 860px) {
  .page-showcase-survey .wb-showcase-panel[data-wb-step="missed"] .winback-check-list {
    grid-template-columns: 1fr;
  }
}

.winback-flow {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.winback-step-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(12, 31, 42, 0.45);
}

.winback-step-lead {
  margin: 8px 0 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(12, 31, 42, 0.68);
}

.winback-check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.winback-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(12, 31, 42, 0.04);
  border: 1.5px solid transparent;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(12, 31, 42, 0.82);
  transition: background 0.15s, border-color 0.15s;
  user-select: none;
}

.winback-check:hover {
  background: rgba(12, 31, 42, 0.07);
}

.winback-check:has(input:focus-visible) {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}

.winback-check:has(input:checked) {
  background: rgba(0, 163, 224, 0.1);
  border-color: rgba(0, 163, 224, 0.45);
  color: #0C1F2A;
}

.winback-check input {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 2px solid rgba(12, 31, 42, 0.28);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.winback-check input:checked {
  border-color: var(--stm-sky);
  background-color: var(--stm-sky);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.winback-continue {
  margin-top: 18px;
  width: 100%;
}

.winback-quote-intro {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.winback-quote-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 10px;
}

.winback-quote-lead {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.footer {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top-color: transparent;
  color: #fff;
}

.footer a,
.footer-copy,
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover,
.footer-bottom-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
  .sales-hero-inner { max-width: 620px; }
  .sales-hero-jiji {
    height: clamp(220px, 40vh, 320px);
    right: -40px;
    opacity: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
    mask-image: linear-gradient(to right, transparent 0%, black 35%);
  }
}

@media (max-width: 720px) {
  .tile-grid--4 { grid-template-columns: 1fr 1fr; }
  .tile-grid--students { grid-template-columns: 1fr 1fr; }
  .intent-actions { grid-template-columns: 1fr; }
  .barrier-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sales-hero {
    padding: 20px 0 24px;
    min-height: 0;
  }
  .sales-hero-inner { max-width: 100%; }
  .sales-hero-jiji { display: none; }
  .offer-banner-title {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }
  .try-section {
    padding: 0 0 22px;
  }
  .try-banner {
    flex-wrap: wrap;
    padding: 16px 16px 16px 18px;
  }
  .try-banner-cta {
    width: 100%;
    justify-content: center;
  }
  .quote-card-header,
  .quote-card-body { padding-left: 20px; padding-right: 20px; }
  .quote-card-header { padding-top: 18px; }
  .quote-card-body { padding-top: 16px; padding-bottom: 20px; }
  .quote-contact { grid-template-columns: 1fr; }
  .tile-grid--2 { grid-template-columns: 1fr; }
  .tile-grid--3 { grid-template-columns: 1fr; }
  .tile { min-height: 96px; }
  .recommend {
    padding: 18px 20px 20px;
  }
  .recommend--compare {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .recommend-jiji {
    display: none;
  }
  .recommend-perks,
  .recommend-price-block {
    max-width: none;
  }
}
