
/* ========================================
  Thanks Page
======================================== */

.page-thanks {
  background: #f7f8f8;
}

.thanks {
  min-height: calc(100vh - var(--site-header-height, 80px));
  display: flex;
  align-items: center;
  padding: 120px 0;
}

.thanks__inner {
  width: 100%;
}

.thanks__content {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 72px 64px;
  background: #fff;
  text-align: center;
  box-shadow: 0 16px 50px rgba(20, 36, 40, 0.08);
}

.thanks__eyebrow {
  margin: 0 0 18px;
  color: #a58a5b;
  font-family: serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.thanks__title {
  margin: 0;
  color: #203136;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.thanks__text {
  margin: 30px 0 0;
  color: #566367;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.thanks__button-wrap {
  margin-top: 46px;
}

.page-thanks .thanks__button,
.page-thanks .thanks__button:link,
.page-thanks .thanks__button:visited {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 58px;
  padding: 14px 60px 14px 34px;
  border: 1px solid #203136;
  border-radius: 0;
  background-color: #203136;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  appearance: none;
  box-shadow: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.page-thanks .thanks__button:hover,
.page-thanks .thanks__button:focus {
  border-color: #203136;
  background-color: #fff;
  color: #203136;
  text-decoration: none;
}

.page-thanks .thanks__button:active {
  background-color: #e9eeee;
  color: #203136;
}

.page-thanks .thanks__button::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 27px;
  width: 28px;
  height: 1px;
  background-color: currentColor;
  transform: translateY(-50%);
}

.page-thanks .thanks__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 27px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* ========================================
  Responsive
======================================== */

@media screen and (max-width: 767px) {
  .thanks {
    min-height: calc(100svh - var(--site-header-height, 64px));
    padding: 80px 0;
  }

  .thanks__content {
    padding: 52px 24px;
  }

  .thanks__eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .thanks__title {
    font-size: 25px;
    line-height: 1.6;
  }

  .thanks__text {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.9;
  }

  .thanks__button-wrap {
    margin-top: 36px;
  }

  .page-thanks .thanks__button,
  .page-thanks .thanks__button:link,
  .page-thanks .thanks__button:visited {
    width: 100%;
    min-width: 0;
    min-height: 56px;
  }
}
