/* =========================================================
   LEGAL PAGES + SITE FOOTER + OFFER DISCLAIMER
   ========================================================= */

.rr-offer-disclaimer {
  width: min(1040px, 100%);
  margin: 22px auto 0;
  padding: 0 18px;
  text-align: center;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: rgba(21, 33, 43, 0.48);
}

.rr-site-footer,
.rr-site-footer * {
  box-sizing: border-box;
}

.rr-site-footer {
  width: 100%;
  padding: 58px 28px 30px;
  background: #f6f1e8;
  border-top: 1px solid rgba(42, 44, 41, 0.08);
  color: #292c29;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rr-site-footer__inner {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.rr-site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, auto);
  gap: clamp(56px, 8vw, 128px);
  align-items: end;
  padding-bottom: 42px;
}

.rr-site-footer__identity {
  min-width: 0;
}

.rr-site-footer__accent {
  display: block;
  width: 38px;
  height: 1px;
  margin: 0 0 20px;
  background: rgba(209, 125, 89, 0.76);
}

.rr-site-footer__brand {
  margin: 0;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 3vw, 43px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: #292c29;
}

.rr-site-footer__project {
  margin: 19px 0 0;
  max-width: 390px;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(42, 44, 41, 0.60);
}

.rr-site-footer__details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  padding-bottom: 2px;
}

.rr-site-footer__email {
  color: #292c29;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 4px;
}

.rr-site-footer__email:hover,
.rr-site-footer__email:focus-visible {
  text-decoration: underline;
  text-decoration-color: rgba(209, 125, 89, 0.72);
}

.rr-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
}

.rr-site-footer__links a {
  position: relative;
  color: rgba(42, 44, 41, 0.64);
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 4px;
}

.rr-site-footer__links a:hover,
.rr-site-footer__links a:focus-visible {
  color: #292c29;
  text-decoration: underline;
  text-decoration-color: rgba(209, 125, 89, 0.72);
}

.rr-site-footer__bottom {
  display: flex;
  align-items: center;
  min-height: 47px;
  border-top: 1px solid rgba(42, 44, 41, 0.10);
}

.rr-site-footer__copyright {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: rgba(42, 44, 41, 0.43);
}

/* Legal document pages */

body.rr-legal-site {
  margin: 0;
  min-height: 100%;
  background: #faf7f1;
  color: #15212b;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.rr-legal-header {
  width: 100%;
  padding: 28px 24px;
  border-bottom: 1px solid rgba(21, 33, 43, 0.08);
  background: #faf7f1;
}

.rr-legal-header__inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

.rr-legal-header__brand {
  color: #15212b;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.rr-legal-page {
  width: 100%;
  padding: 72px 24px 96px;
  background:
    radial-gradient(circle at 88% 0%, rgba(204, 116, 76, 0.045), transparent 29%),
    #faf7f1;
}

.rr-legal-document {
  width: min(820px, 100%);
  margin: 0 auto;
}

.rr-legal-document__header {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(21, 33, 43, 0.10);
}

.rr-legal-document__header h1 {
  margin: 0;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(48px, 7vw, 72px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #15212b;
}

.rr-legal-document__content {
  padding-top: 34px;
  font-size: 16px;
  line-height: 1.72;
  color: #34434d;
}

.rr-legal-document__content p {
  margin: 0 0 17px;
}

.rr-legal-document__content .rr-legal-updated {
  margin-bottom: 28px;
  color: rgba(52, 67, 77, 0.62);
  font-size: 14px;
}

.rr-legal-document__content h2 {
  margin: 47px 0 17px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #15212b;
}

.rr-legal-document__content h3 {
  margin: 29px 0 10px;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  color: #15212b;
}

.rr-legal-document__content ul {
  margin: 4px 0 20px;
  padding-left: 24px;
}

.rr-legal-document__content li {
  margin: 7px 0;
  padding-left: 3px;
}

.rr-legal-document__content a {
  color: #8d4e33;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .rr-offer-disclaimer {
    margin-top: 18px;
    padding: 0 10px;
    font-size: 11.75px;
    line-height: 1.45;
  }

  .rr-site-footer {
    padding: 44px 20px 24px;
  }

  .rr-site-footer__main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 34px;
  }

  .rr-site-footer__accent {
    width: 34px;
    margin-bottom: 18px;
  }

  .rr-site-footer__brand {
    font-size: 34px;
  }

  .rr-site-footer__project {
    margin-top: 16px;
    font-size: 14px;
  }

  .rr-site-footer__details {
    align-items: flex-start;
    gap: 17px;
    padding-bottom: 0;
  }

  .rr-site-footer__email {
    font-size: 14.5px;
  }

  .rr-site-footer__links {
    justify-content: flex-start;
    gap: 20px;
  }

  .rr-site-footer__bottom {
    min-height: 45px;
  }

  .rr-legal-header {
    padding: 22px 20px;
  }

  .rr-legal-page {
    padding: 50px 20px 72px;
  }

  .rr-legal-document__header {
    padding-bottom: 24px;
  }

  .rr-legal-document__header h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .rr-legal-document__content {
    padding-top: 28px;
    font-size: 15.5px;
    line-height: 1.68;
  }

  .rr-legal-document__content h2 {
    margin-top: 40px;
    font-size: 28px;
  }

  .rr-legal-document__content h3 {
    margin-top: 26px;
    font-size: 16.5px;
  }
}
