/* =========================================
   LEGAL PAGE
========================================= */

.site-header {
  background: var(--navy);
  color: var(--white);
}

.site-header::before {
  display: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.lang-switch {
  color: var(--white);
}

.brand__mark {
  filter: brightness(0) invert(1);
}

main {
  min-height: 100svh;
  padding: clamp(120px, 10vw, 150px) 24px 100px;
  background: var(--ivory);
  color: var(--text);
}

.legal-page__inner {
  width: min(820px, 100%);
  margin-inline: auto;
}

.legal-page__eyebrow {
  margin: 0 0 1rem;

  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;

  color: var(--gold);
}

h1,
h2 {
  font-family: var(--font-body);
  font-weight: 400;
}

h1 {
  margin: 0 0 2.5rem;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
}

h2 {
  margin: 3.2rem 0 1.2rem;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.2;
}

p,
li {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  font-weight: 300;
  line-height: 1.9;
}

p {
  margin: 0 0 1.3rem;
}

ul {
  margin: 1.2rem 0 0;
  padding-inline-start: 1.5rem;
}

li + li {
  margin-top: 0.55rem;
}

a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

a:hover,
a:focus-visible {
  color: var(--gold);
}

/* =========================================
   BACK BUTTON
========================================= */

.legal-page__back {
  margin: 5.5rem 0 0;
  text-align: center;
}

.legal-page__back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 0.85rem 1.6rem;

  border: 1px solid var(--gold);
  border-radius: 4px;

  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;

  color: var(--navy);
  background: transparent;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.legal-page__back-button:hover,
.legal-page__back-button:focus-visible {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

/* =========================================
   FOOTER OVERRIDE
========================================= */

.footer {
  padding-top: 5vh;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
  .site-header__inner {
    min-height: 72px;
  }

  main {
    padding: 110px 20px 80px;
  }

  h1 {
    margin-bottom: 2rem;
  }

  h2 {
    margin-top: 2.6rem;
  }
}
