/* Variant A — refactored Thank You screen
   Desktop ref: Figma 82:1914  |  Mobile ref: Figma 82:1940 */

:root {
  --ty-green-dark: #00534c;
  --ty-green: #135b53;
  --ty-beige: #efede5;
  --ty-tile: #eee7db;
  --ty-muted: #646464;
  --ty-white: #fff;
}

/* Stage wrapper ------------------------------------------------------------ */
.variant-a-stage {
  position: relative;
}

/* Expand the zen-container so variant A has room for the full 835px column.
   (Base .zen-container is capped at max-width: 750px; 865 - 30px padding = 835.) */
.zen-container:has(.variant-a-stage) {
  max-width: 865px;
}

/* Lock all top-level containers in variant A to 835px */
.variant-a-stage .header-nav,
.variant-a-stage .form-card,
.variant-a-stage .trust-badges,
.variant-a-stage .variant-a-ty-footer {
  width: 835px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Decorative patterned background, shown only on the thank-you step.
   Two-column grid of "petal" tiles drawn as a single tiling SVG. */
.variant-a-ty-bg {
  position: absolute;
  inset: -24px -24px -24px -24px;
  z-index: 0;
  pointer-events: none;
  background-color: var(--ty-beige);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 736 370' width='736' height='370'><g fill='%23eee7db'><path d='M 0 0 L 276 0 A 92 92 0 0 1 368 92 L 368 184 L 92 184 A 92 92 0 0 1 0 92 Z'/><path d='M 0 185 L 276 185 A 92 92 0 0 1 368 277 L 368 369 L 92 369 A 92 92 0 0 1 0 277 Z'/><path d='M 368 0 L 644 0 A 92 92 0 0 1 736 92 L 736 184 L 460 184 A 92 92 0 0 1 368 92 Z'/><path d='M 368 185 L 644 185 A 92 92 0 0 1 736 277 L 736 369 L 460 369 A 92 92 0 0 1 368 277 Z'/></g></svg>");
  background-size: 736px 370px;
  background-repeat: repeat;
  /* border: 1px solid rgba(19, 91, 83, 0.2); */
  border-radius: 26px;
}

/* Card overrides (only apply when variant A is on the thank-you step) ------ */
.variant-a-stage.ty-active .form-card {
  position: relative;
  z-index: 1;
  width: 835px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 60px;
  border: 0.9px solid rgba(19, 91, 83, 0.3);
  background: var(--ty-white);
  overflow: hidden;
  padding: 0;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.28);
}

.variant-a-stage.ty-active .brand-strip {
  background: var(--ty-green-dark);
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  padding-top: 20px;
  padding-bottom: 16px;
  margin: 0;
}

.variant-a-stage.ty-active .brand-strip .main-logo {
  filter: none;
  height: 67px;
  width: auto;
  max-height: none;
}

.variant-a-stage.ty-active .form-content {
  padding: 30px 50px 40px;
}

/* Hide back button, legacy decorations, external logo/footer, and trust-badges on thank-you */
.variant-a-stage.ty-active .back-btn,
.variant-a-ty .checkmark-circle,
.variant-a-ty .next-steps,
.variant-a-stage.ty-active .trust-badges,
.variant-a-stage.ty-active .variant-a-ty-top-logo,
.variant-a-stage.ty-active .variant-a-ty-footer {
  display: none;
}

/* Match the bottom spacing that variant-shell variants get via padding: 40px 24px 80px */
.zen-container:has(.variant-a-stage.ty-active) {
  padding-bottom: 80px;
}

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

.variant-a-ty-title {
  font-size: 37.72px;
  font-weight: 700;
  line-height: 1.155;
  letter-spacing: -0.0192em;
  color: var(--ty-green);
  margin: 0 0 11px;
}

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

/* Phone CTA section (inside the card) ------------------------------------- */
.variant-a-ty-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

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

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

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

.variant-a-ty-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: #f8fbf5;
  border-radius: 50%;
  box-shadow: 0 3.2px 7.7px rgba(0, 0, 0, 0.25);
  color: var(--ty-green);
}

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

.variant-a-ty-expect {
  text-align: left;
  width: 100%;
}

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

.variant-a-ty-expect-list {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
  color: var(--ty-green-dark);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.variant-a-ty-expect-list li + li {
  margin-top: 4px;
}

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

.variant-a-ty-footer-text {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ty-muted);
  max-width: 506px;
  font-weight: 400;
}

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

.variant-a-ty-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  height: 52px;
  padding: 0 18px 0 8px;
  background: var(--ty-green);
  border-radius: 18px;
  color: var(--ty-white);
  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-a-ty-phone-btn:hover,
.variant-a-ty-phone-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(19, 91, 83, 0.25);
  outline: none;
}

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

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

/* Top logo (thank-you only) ----------------------------------------------- */
.variant-a-ty-top-logo {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
 
}

.variant-a-ty-top-logo-img {
  height: 67px;
  width: auto;
}

/* Progress header cosmetic tweak on thank-you ----------------------------- */
.variant-a-stage.ty-active .header-nav {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.variant-a-stage.ty-active .meta {
  color: var(--ty-green-dark);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}

.variant-a-stage.ty-active .progress-bg {
  background: rgba(255, 255, 255, 0.3);
  height: 11px;
  border-radius: 56px;
  backdrop-filter: none;
}

.variant-a-stage.ty-active .progress-fill {
  background: #9ccd6e;
  box-shadow: none;
}

/* Hide trust-badges visually when already hidden by .trust-hidden — nothing
   new needed; the existing rule handles it. */

/* Responsive --------------------------------------------------------------- */
@media (max-width: 900px) {
  .variant-a-ty-bg {
    background-size: 424px 213px;
    inset: -16px -16px -16px -16px;
    border-radius: 20px;
  }
.variant-a-ty-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
  .variant-a-stage.ty-active .form-card {
    max-width: 100%;
    border-radius: 30px;
  }

  .variant-a-stage.ty-active .brand-strip {
    height: auto;
    padding: 10px 11px;
  }

  .variant-a-stage.ty-active .brand-strip .main-logo {
    width: 212.248px;
    height: 58.322px;
    max-height: none;
  }

  .variant-a-stage.ty-active .form-content {
    padding: 24px 24px 28px;
  }

  .variant-a-ty {
    gap: 20px;
  }

  .variant-a-ty-title {
    font-size: 26px;
    line-height: 1.34;
    letter-spacing: -0.022em;
    text-align: center;
    margin-bottom: 8px;
  }

  .variant-a-ty-body {
    font-size: 12px;
    text-align: center;
  }

  .variant-a-ty-cta-label {
    font-size: 14px;
  }

  .variant-a-ty-cta-btn {
    font-size: 18px;
    padding: 14px;
    border-radius: 16px;
    gap: 10px;
  }

  .variant-a-ty-cta-icon {
    width: 34px;
    height: 34px;
  }

  .variant-a-ty-cta-icon svg {
    width: 16px;
    height: 16px;
  }

  .variant-a-ty-expect-title {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .variant-a-ty-expect-list {
    padding-left: 20px;
    font-size: 12px;
  }

  .variant-a-stage.ty-active .header-nav {
    margin-bottom: 8px;
  }

  .variant-a-stage.ty-active .form-card,
  .variant-a-stage.ty-active .form-content {
    min-height: 0;
  }
}

