/* WS Thank You — только сетка и типографика. Кнопка: глобальный класс .ws-btn + токены из assets/css/ws-buttons.css (:root --ws-btn-*) */

:root {
  --ws-thank-pad: clamp(1rem, 2.8vw, 2rem);
  --ws-thank-copy-max: 50rem;
}

.ws-thank {
  background:
    radial-gradient(circle at top, #fff4d8 0, #fff 55%) fixed,
    #fff;
  color: #111;
}

.ws-thank__hero {
  padding: clamp(1.75rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3rem);
}

.ws-thank__container {
  box-sizing: border-box;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 var(--ws-thank-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ws-thank__card {
  box-sizing: border-box;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 1.75rem;
  background:
    linear-gradient(135deg, #fffaf0 0%, #ffffff 35%, #f5fbff 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ws-thank__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: #f2a729;
}

.ws-thank__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ws-thank__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #b16a00;
}

.ws-thank__title {
  margin: 0 0 1rem;
  max-width: 28ch;
  font-family: var(--font-head, "Roboto Slab", serif);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--h-track, 0);
  color: #111;
}

.ws-thank__lead {
  box-sizing: border-box;
  max-width: var(--ws-thank-copy-max);
  margin: 0 auto 0.875rem;
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: var(--txt-size, 1rem);
  line-height: 1.6;
  font-weight: 500;
  color: #111;
}

.ws-thank__lead:last-of-type {
  margin-bottom: 0.5rem;
}

.ws-thank__note {
  max-width: var(--ws-thank-copy-max);
  margin: 0.75rem auto 1.5rem;
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: clamp(0.9375rem, 2vw, 1rem);
  line-height: 1.5;
  font-weight: 600;
  color: #111;
}

/* Кнопка — та же разметка и стили, что у ws-inline-note (ws-inline-note.css + ws-buttons.css) */
.ws-thank .ws-inline-note__button {
  margin-top: 0.75rem;
}

.ws-thank__button {
  transform: translateY(0);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
  transition:
    box-shadow 160ms ease,
    transform 160ms ease,
    background-color 160ms ease;
}

.ws-thank__button:hover,
.ws-thank__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

@media (max-width: 480px) {
  .ws-thank__hero {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .ws-thank__title {
    max-width: 100%;
  }

  .ws-thank .ws-inline-note__button {
    max-width: 100%;
  }
}
