/* Variant C — Thank You screen
   Figma ref: 118:1027 */

:root {
  --tyc-bg: #fbfbfb;
  --tyc-glow-1: #8e9a8c;
  --tyc-glow-2: #758c70;
  --tyc-card-border: #e1f0d3;
  --tyc-strip: #e4eeed;
  --tyc-green: #135b53;
  --tyc-green-dark: #00534c;
  --tyc-muted: #646464;
  --tyc-white: #fff;
  --tyc-pill-bg: #e1f0d3;
  --tyc-phone-btn-bg: #135b53;
  --tyc-phone-icon-bg: #f8fbf5;
}

/* Stage wrapper */
.variant-shell-c.ty-active {
  position: relative;
}

.variant-shell-c.ty-active .variant-card {
  max-width: 835px;
}

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

.variant-c-ty-glow::before,
.variant-c-ty-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.variant-c-ty-glow::before {
  bottom: 80px;
  width: 835px;
  height: 95px;
  background: var(--tyc-glow-1);
  opacity: 0.5;
  filter: blur(73px);
}

.variant-c-ty-glow::after {
  bottom: 140px;
  width: 835px;
  height: 218px;
  background: var(--tyc-glow-2);
  opacity: 0.3;
  filter: blur(38px);
}

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

.variant-shell-c.ty-active .variant-progress-wrap-dash {
  max-width: 835px;
  margin-bottom: 32px;
}

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

.variant-shell-c.ty-active .variant-card-strip-c {
  background: var(--tyc-strip);
  height: 109px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.variant-shell-c.ty-active .variant-logo-inside {
  height: 67px;
  width: auto;
  max-width: none;
}

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

/* Hide legacy bits */
.variant-shell-c.ty-active .checkmark-circle,
.variant-shell-c.ty-active .thank-you-container > .thank-you-title,
.variant-shell-c.ty-active .thank-you-container > .thank-you-text {
  display: none;
}

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

/* Title + subtitle */
.variant-c-ty-header {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: center;
  width: 100%;
}

.variant-c-ty-title {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.036;
  letter-spacing: -0.0173em;
  color: var(--tyc-green);
}

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

/* CTA section --------------------------------------------------------- */
.variant-c-ty-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

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

.variant-c-ty-cta-text u {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.variant-c-ty-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px;
  background: var(--tyc-phone-btn-bg);
  border-radius: 21px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

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

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

.variant-c-ty-phone-num {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.77;
  color: var(--tyc-white);
  white-space: nowrap;
}

/* Expectations section ------------------------------------------------ */
.variant-c-ty-expect {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  text-align: left;
}

.variant-c-ty-expect-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--tyc-pill-bg);
  border-radius: 34px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  color: var(--tyc-green);
  width: fit-content;
}

.variant-c-ty-expect-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 4px;
}

.variant-c-ty-expect-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.variant-c-ty-expect-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.variant-c-ty-expect-text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--tyc-muted);
}

/* Responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .variant-c-ty-glow::before {
    width: 90%;
    height: 80px;
    bottom: 100px;
    filter: blur(40px);
  }

  .variant-c-ty-glow::after {
    width: 88%;
    height: 140px;
    bottom: 120px;
    filter: blur(20px);
  }

  .variant-shell-c.ty-active .variant-progress-wrap-dash {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .variant-shell-c.ty-active .variant-card {
    width: auto;
    max-width: 100%;
    border-radius: 30px;
  }

  .variant-shell-c.ty-active .variant-card-strip-c {
    height: 80px;
  }

  .variant-shell-c.ty-active .variant-logo-inside {
    height: 48px;
  }

  .variant-shell-c.ty-active .variant-card-body-c {
    padding: 24px 20px 32px;
  }

  .variant-c-ty {
    gap: 24px;
  }

  .variant-c-ty-title {
    font-size: 28px;
    letter-spacing: -0.02em;
  }

  .variant-c-ty-body {
    font-size: 16px;
    font-weight: 300;
  }

  .variant-c-ty-cta-text {
    font-size: 18px;
  }

  .variant-c-ty-phone-btn {
    padding: 14px;
    border-radius: 16px;
  }

  .variant-c-ty-phone-icon {
    width: 34px;
    height: 34px;
  }

  .variant-c-ty-phone-icon svg {
    width: 18px;
    height: 18px;
  }

  .variant-c-ty-phone-num {
    font-size: 16px;
  }

  .variant-c-ty-expect-pill {
    font-size: 14px;
    padding: 6px 14px;
  }

  .variant-c-ty-expect-icon {
    width: 24px;
    height: 24px;
  }

  .variant-c-ty-expect-text {
    font-size: 16px;
    font-weight: 300;
  }
}
