:root {
  --text: #000000;
  --muted: #333231;
  --gold: #a97800;
  --gold-bright: #f2b300;
  --gold-2: #f6c21a;
  --gold-soft: #f8edd0;
  --line: rgba(234, 224, 206, 0.82);
  --shadow-xl: 0 28px 60px rgba(25, 20, 10, 0.08);
  --shadow-md: 0 12px 30px rgba(20, 20, 20, 0.045);
  --ease: 0.35s cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

.thank-you-body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 226, 145, 0.14) 0%, rgba(255, 226, 145, 0.05) 16%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, #f8f2e4 0%, #f4efe5 26%, #f3efe6 100%);
}

img {
  max-width: 100%;
  display: block;
}

a,
button {
  text-decoration: none;
  font-family: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(100px);
}

.page-glow-1 {
  width: 420px;
  height: 420px;
  top: -170px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 219, 109, 0.12);
}

.page-glow-2 {
  width: 280px;
  height: 280px;
  top: 110px;
  right: -120px;
  background: rgba(255, 244, 210, 0.16);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 24px 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 0;
  background: linear-gradient(
    180deg,
    rgba(248, 242, 228, 0.92),
    rgba(248, 242, 228, 0.55),
    rgba(248, 242, 228, 0)
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header-inner {
  width: 90%;
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.brand-left {
  font-size: 16px;
  font-weight: 700;
  color: #9a6900;
}

.brand-center {
  display: flex;
  justify-content: center;
}

.brand-center img {
  width: 78px;
  height: auto;
  opacity: 0.96;
}

.header-spacer {
  min-height: 1px;
}

.desktop-only {
  display: block;
}

/* Thank you */
.thank-you-main {
  padding: 18px 0 0;
}

.thank-you-wrap {
  max-width: 760px;
  text-align: center;
}

.thank-you-image {
  margin: 6px auto 26px;
  max-width: 620px;
}

.thank-you-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #9b8d6a;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(233, 225, 210, 0.9);
}

.thank-you-eyebrow {
  margin-bottom: 16px;
}

.thank-you-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.thank-you-title span {
  display: block;
  margin-top: 6px;
  color: var(--gold);
}

.thank-you-text {
  max-width: 700px;
  margin: 22px auto 0;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

.thank-you-note {
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: #8f887d;
}

/* Footer */
.site-footer {
  padding: 58px 20px 72px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid #eadfcb;
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.12);
}

.footer-logo::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid #f1e8d8;
}

.footer-logo img {
  width: 58px;
  position: relative;
  z-index: 1;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #a09a91;
}

/* Animations */
.preload-fade {
  opacity: 0;
  transform: translateY(26px);
  animation: preloadFade 0.9s cubic-bezier(.2, .8, .2, 1) forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.8s cubic-bezier(.2, .8, .2, 1),
    transform 0.8s cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes preloadFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .desktop-only {
    display: none;
  }

  .header-inner {
    width: 90%;
    grid-template-columns: 1fr;
    min-height: 66px;
    padding: 0 14px;
  }

  .brand-center {
    justify-self: center;
  }

  .brand-center img {
    width: 68px;
  }

  .thank-you-main {
    padding-top: 8px;
  }

  .thank-you-image {
    margin-bottom: 22px;
  }

  .thank-you-image img {
    border-radius: 22px;
  }

  .thank-you-title {
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -0.05em;
  }

  .thank-you-title span {
    margin-top: 4px;
  }

  .thank-you-text {
    font-size: 16px;
    line-height: 1.65;
  }

  .thank-you-note {
    font-size: 14px;
  }

  .footer-logo {
    width: 104px;
    height: 104px;
  }

  .site-footer {
    padding-top: 48px;
    padding-bottom: 56px;
  }
}