/* Variant B — refactored Thank You screen
   Desktop ref: Figma 118:837 */

:root {
  --tyb-bg: #fbfbfb;
  --tyb-glow: #82a07c;
  --tyb-card-border: #E1F0D3;
  --tyb-green: #135b53;
  --tyb-green-dark: #00534c;
  --tyb-muted: #646464;
  --tyb-white: #fff;
  --tyb-phone-bg: rgba(19, 91, 83, 0.1);
  --tyb-phone-inner: #f8fbf5;
}

/* Stage wrapper: anchors the decorative glow layer */
.variant-shell-b.ty-active {
  position: relative;
}

/* Lock the card to 835px on thank-you (progress bar keeps its form-step width) */
.variant-shell-b.ty-active .variant-card {
  max-width: 835px;
}

/* Decorative green glow layer behind the card -------------------------- */
.variant-b-ty-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.variant-b-ty-glow::before,
.variant-b-ty-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tyb-glow);
  border-radius: 50%;
  filter: blur(76px);
}

/* Lower tight halo */
.variant-b-ty-glow::before {
  bottom: 80px;
  width: 793px;
  height: 88px;
  opacity: 0.7;
}

/* Larger softer halo */
.variant-b-ty-glow::after {
  bottom: 140px;
  width: 793px;
  height: 201px;
  opacity: 0.5;
  filter: blur(34px);
}

/* Keep chrome above the glow */
.variant-shell-b.ty-active .variant-top-logo,
.variant-shell-b.ty-active .variant-progress-wrap-dash,
.variant-shell-b.ty-active .variant-card {
  position: relative;
  z-index: 1;
}

/* Top logo on thank-you ------------------------------------------------- */
.variant-shell-b.ty-active .variant-top-logo {
  margin-bottom: 36px;
}

.variant-shell-b.ty-active .variant-logo-img {
  height: 67px;
  max-width: none;
}

/* Progress bar on thank-you keeps the form-step dash styling; match card width */
.variant-shell-b.ty-active .variant-progress-wrap-dash {
  max-width: 835px;
  margin-bottom: 32px;
}

/* Card overrides on thank-you ----------------------------------------- */
.variant-shell-b.ty-active .variant-card {
  width: 835px;
  border-radius: 60px;
  border: 1px solid var(--tyb-card-border);
  background: var(--tyb-white);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  padding: 20px 0;
}

.variant-shell-b.ty-active .variant-card-body {
  padding: 40px 50px;
}

/* Hide legacy bits in case they linger */
.variant-b-ty .checkmark-circle,
.variant-b-ty .next-steps {
  display: none;
}

/* Thank-you content --------------------------------------------------- */
.variant-b-ty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  text-align: center;
}

.variant-b-ty-title {
  margin: 0 0 11px;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.036;
  letter-spacing: -0.017em;
  color: var(--tyb-green);
}

.variant-b-ty-body {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--tyb-muted);
}

/* Call to action (inside card) ---------------------------------------- */
.variant-b-ty-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.variant-b-ty-cta-label {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--tyb-green-dark);
}

.variant-b-ty-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px;
  background: var(--tyb-green);
  border-radius: 20.8px;
  color: var(--tyb-white);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.77;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.variant-b-ty-cta-btn:hover,
.variant-b-ty-cta-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(19, 91, 83, 0.3);
  outline: none;
}

.variant-b-ty-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4.4px;
  background: var(--tyb-phone-inner);
  border-radius: 41px;
  box-shadow: 0 3.2px 7.7px rgba(0, 0, 0, 0.25);
  color: var(--tyb-green);
}

.variant-b-ty-cta-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Expectations section (inside card) ---------------------------------- */
.variant-b-ty-expect {
  align-self: stretch;
  text-align: left;
  margin-top: 0;
  padding-top: 24px;
  border-top: 1px solid var(--tyb-card-border);
}

.variant-b-ty-expect-title {
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--tyb-green);
}

.variant-b-ty-expect-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.variant-b-ty-expect-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--tyb-muted);
}

.variant-b-ty-expect-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  display: block;
  object-fit: contain;
}

/* Footer CTA row (outside the card) ----------------------------------- */
.variant-b-ty-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 835px;
  max-width: 100%;
  margin: 24px auto 72px;
  padding: 0 4px;
}

.variant-b-ty-footer-text {
  margin: 0;
  max-width: 506px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--tyb-muted);
  font-weight: 400;
}

.variant-b-ty-footer-text strong {
  font-weight: 600;
  color: var(--tyb-muted);
}

.variant-b-ty-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  height: 52px;
  padding: 0 18px 0 8px;
  background: var(--tyb-phone-bg);
  border-radius: 18px;
  color: var(--tyb-green);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.variant-b-ty-phone-btn:hover,
.variant-b-ty-phone-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(19, 91, 83, 0.18);
  outline: none;
}

.variant-b-ty-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--tyb-phone-inner);
  border-radius: 50%;
  box-shadow: 0 2.7px 6.7px rgba(0, 0, 0, 0.25);
  color: var(--tyb-green);
}

.variant-b-ty-phone-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .variant-b-ty-glow::before {
    width: 361px;
    max-width: 90%;
    height: 125px;
    bottom: 120px;
    filter: blur(28px);
  }

  .variant-b-ty-glow::after {
    width: 341px;
    max-width: 88%;
    height: 121px;
    bottom: 140px;
    filter: blur(15px);
  }

  .variant-shell-b.ty-active .variant-top-logo {
    margin-bottom: 30px;
  }

  .variant-shell-b.ty-active .variant-logo-img {
    height: 49px;
  }

  .variant-shell-b.ty-active .variant-progress-wrap-dash {
    max-width: 380px;
    margin-bottom: 24px;
  }

  .variant-shell-b.ty-active .variant-card {
    width: auto;
    max-width: 380px;
    min-height: 0;
    border-radius: 30px;
    padding: 12px 0;
  }

  .variant-shell-b.ty-active .variant-card-body {
    padding: 40px 20px;
  }

  .variant-b-ty {
    gap: 24px;
    text-align: center;
  }

  .variant-b-ty-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.338;
    letter-spacing: -0.022em;
    text-align: center;
    margin: 0 0 8px;
  }

  .variant-b-ty-body {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
  }

  .variant-b-ty-cta {
    gap: 10px;
  }

  .variant-b-ty-cta-label {
    font-size: 16px;
  }

  .variant-b-ty-cta-btn {
    font-size: 14px;
    padding: 14px;
    border-radius: 14px;
    gap: 8px;
  }

  .variant-b-ty-cta-icon {
    padding: 3px;
  }

  .variant-b-ty-cta-icon svg {
    width: 18px;
    height: 18px;
  }

  .variant-b-ty-expect {
    text-align: left;
    padding-top: 18px;
  }

  .variant-b-ty-expect-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
  }

  .variant-b-ty-expect-list {
    gap: 8px;
  }

  .variant-b-ty-expect-list li {
    font-size: 16px;
    gap: 10px;
  }

  .variant-b-ty-expect-icon {
    width: 20px;
    height: 20px;
    margin-top: 1px;
  }

  .variant-b-ty-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin: 18px auto 48px;
    padding: 0 16px;
  }

  .variant-b-ty-footer-text {
    max-width: 308px;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
  }

  .variant-b-ty-footer-text strong {
    font-size: 9px;
  }

  .variant-b-ty-phone-btn {
    height: 34px;
    width: auto;
    padding: 0 14px 0 6px;
    border-radius: 12px;
    font-size: 12px;
    gap: 8px;
    justify-content: center;
    white-space: nowrap;
  }

  .variant-b-ty-phone-num {
    white-space: nowrap;
  }

  .variant-b-ty-phone-icon {
    width: 24px;
    height: 24px;
    box-shadow: 0 1.8px 4.4px rgba(0, 0, 0, 0.25);
  }

  .variant-b-ty-phone-icon svg {
    width: 13px;
    height: 13px;
  }
}
