.ai27-thankyou {
  --ty-navy: #14243a;
  --ty-gold: #b9985a;
  --ty-text: #394454;
  --ty-muted: #697586;
  color: var(--ty-text);
  font-family: inherit;
  line-height: 1.75;
}

.ai27-thankyou * {
  box-sizing: border-box;
}

.ai27-thankyou h1,
.ai27-thankyou h2,
.ai27-thankyou h3 {
  color: var(--ty-navy);
  line-height: 1.25;
  margin-top: 0;
}

.ai27-thankyou h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.ai27-thankyou h2 {
  font-size: clamp(27px, 3.5vw, 39px);
  margin-bottom: 20px;
}

.ai27-thankyou h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.ai27-thankyou p {
  margin: 0 0 18px;
}

.ai27-ty-hero {
  background: linear-gradient(135deg, #f7f8fa, #ffffff);
  text-align: center;
  padding: 55px 24px 45px;
}

.ai27-ty-hero > p,
.ai27-ty-membership-intro,
.ai27-ty-future > p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.ai27-ty-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  background: #e8f4ed;
  color: #28764c;
  border: 1px solid #c9e5d4;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 700;
}

.ai27-ty-eyebrow {
  color: #98743b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.ai27-ty-subtitle {
  color: var(--ty-navy);
  font-size: clamp(19px, 2.5vw, 24px);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 22px !important;
}

.ai27-ty-confirmation {
  max-width: 720px;
  margin: 30px auto 0;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid #e2e7ed;
  border-radius: 8px;
  text-align: left;
}

.ai27-ty-confirmation ul {
  margin: 0;
  padding-left: 22px;
}

.ai27-ty-confirmation li {
  padding: 4px 0;
}

.ai27-ty-divider {
  text-align: center;
  padding: 28px 20px 0;
  color: #98743b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.ai27-ty-membership {
  max-width: 920px;
  margin: 0 auto;
  padding: 35px 24px 60px;
  text-align: center;
}

.ai27-ty-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: var(--ty-navy);
  margin: 28px 0 0;
}

.ai27-ty-currency {
  font-size: 27px;
  font-weight: 700;
}

.ai27-ty-amount {
  font-size: clamp(48px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -2px;
}

.ai27-ty-period {
  font-size: 18px;
  margin-left: 8px;
}

.ai27-ty-price-note {
  color: var(--ty-muted);
  font-size: 13px;
  margin-top: 8px !important;
}

.ai27-ty-benefits {
  max-width: 650px;
  margin: 30px auto;
  padding: 25px;
  background: #f7f8fa;
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  text-align: left;
}

.ai27-ty-placeholder {
  color: var(--ty-muted);
  margin-bottom: 0 !important;
}

.ai27-ty-button {
  display: inline-block;
  padding: 15px 26px;
  background: var(--ty-navy);
  color: #fff !important;
  border: 1px solid var(--ty-navy);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.ai27-ty-button:hover {
  background: #243c5b;
  color: #fff !important;
}

.ai27-ty-small {
  color: var(--ty-muted);
  font-size: 13px;
  line-height: 1.7;
}

.ai27-ty-membership > .ai27-ty-small {
  max-width: 650px;
  margin: 20px auto 0;
}

.ai27-ty-future {
  background: var(--ty-navy);
  color: #fff;
  padding: 55px 24px;
  text-align: center;
}

.ai27-ty-future h2,
.ai27-ty-future .ai27-ty-future-subtitle {
  color: #fff;
}

.ai27-ty-future .ai27-ty-eyebrow {
  color: #e0c48f;
}

.ai27-ty-future-subtitle {
  font-size: 20px;
  font-weight: 700;
}

.ai27-ty-future .ai27-ty-small {
  color: #d0d8e2;
  margin-top: 20px;
}

.ai27-ty-closing {
  text-align: center;
  padding: 45px 24px;
  background: #f7f8fa;
}

.ai27-ty-signature {
  color: var(--ty-navy);
  font-weight: 700;
  margin-top: 20px !important;
}

@media (max-width: 767px) {
  .ai27-ty-hero {
    padding: 38px 20px 32px;
  }

  .ai27-ty-confirmation {
    padding: 22px 20px;
  }

  .ai27-ty-membership {
    padding: 30px 20px 42px;
  }

  .ai27-ty-benefits {
    padding: 20px;
  }

  .ai27-ty-button {
    width: 100%;
  }

  .ai27-ty-future {
    padding: 42px 20px;
  }
}
