/* Falkenhof Retreat · terms page */
:root {
  --terms-cream: #fffaee;
  --terms-paper: #fffefa;
  --terms-tint: #f2eee2;
  --terms-olive: #5f7054;
  --terms-deep-olive: #465540;
  --terms-ink: #171b16;
  --terms-muted: #667064;
  --terms-line: rgba(23, 27, 22, 0.16);
  --terms-radius: 24px;
}

body.terms-document-page {
  color: var(--terms-ink);
  background: var(--terms-cream);
  font-family: "Almarai", Arial, sans-serif;
}

[data-homepage-region="01-header-and-hero-introduction"] {
  position: relative;
  z-index: 10;
  color: var(--terms-ink);
  background: var(--terms-paper);
}

[data-homepage-region="01-header-and-hero-introduction"] .hero-content {
  min-height: 124px;
  padding: 0 24px;
  overflow: visible;
  background-color: var(--terms-paper);
  background-image: none;
}

[data-homepage-region="01-header-and-hero-introduction"] .site-topbar {
  min-height: 124px;
}

[data-homepage-region="01-header-and-hero-introduction"] .hero-copy,
[data-homepage-region="01-header-and-hero-introduction"] .hero-disclaimer {
  display: none;
}

.terms-page {
  width: 100%;
  background: var(--terms-cream);
}

.terms-hero,
.terms-section {
  width: 100%;
}

.terms-hero {
  color: var(--terms-paper);
  background: var(--terms-olive);
}

.terms-hero__content,
.terms-section__inner {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.terms-hero__content {
  padding: clamp(4rem, 9vw, 8.5rem) 0 clamp(3.5rem, 7vw, 7rem);
}

.terms-kicker {
  margin: 0 0 1.35rem;
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.terms-hero h1 {
  max-width: 840px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(3.3rem, 7.2vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.terms-split > *,
.terms-columns > *,
.terms-closing > * {
  min-width: 0;
}

.terms-hero__lead {
  max-width: 660px;
  margin: 2.25rem 0 0;
  color: rgba(255, 254, 250, 0.88);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.55;
}

.terms-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  margin-top: 3.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 254, 250, 0.36);
  color: rgba(255, 254, 250, 0.85);
  font-size: 0.9rem;
}

.terms-meta__label {
  color: var(--terms-paper);
  font-weight: 700;
}

.terms-section {
  padding: clamp(4.5rem, 9vw, 8.5rem) 0;
}

.terms-section--paper {
  background: var(--terms-paper);
}

.terms-section--tint {
  background: var(--terms-tint);
}

.terms-section--dark {
  color: var(--terms-paper);
  background: var(--terms-deep-olive);
}

.terms-section--accent {
  color: var(--terms-paper);
  background: var(--terms-olive);
}

.terms-section__inner > h2,
.terms-section__heading h2,
.terms-column h2,
.terms-closing h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.terms-section__inner > .terms-kicker {
  margin-bottom: 1.25rem;
}

.terms-section__body,
.terms-definition,
.terms-column,
.terms-closing__copy {
  font-size: 1.04rem;
  line-height: 1.75;
}

.terms-section__body p,
.terms-definition p,
.terms-column p,
.terms-closing__copy p {
  max-width: 680px;
  margin: 0;
}

.terms-section__body p + p,
.terms-definition p + p,
.terms-column p + p,
.terms-closing__copy p + p {
  margin-top: 1.25rem;
}

.terms-split {
  display: grid;
  grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.terms-section__heading .terms-kicker {
  color: var(--terms-olive);
}

.terms-section--dark .terms-kicker,
.terms-section--accent .terms-kicker {
  color: rgba(255, 254, 250, 0.72);
}

.terms-definition {
  margin: 2.6rem 0 2rem;
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--terms-olive);
  background: rgba(255, 254, 250, 0.72);
}

.terms-inquiry {
  max-width: 760px;
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--terms-line);
}

.terms-inquiry > p:not(.terms-definition__label) {
  max-width: 680px;
  margin: 1rem 0 0;
  font-size: 1.04rem;
  line-height: 1.75;
}

.terms-definition__label {
  color: var(--terms-olive);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.terms-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.terms-list__item {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--terms-line);
}

.terms-list__marker {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--terms-olive);
  border-radius: 50%;
  color: var(--terms-olive);
  font-size: 0.78rem;
  font-weight: 700;
}

.terms-notice {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.terms-notice__badge {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(255, 254, 250, 0.7);
  border-radius: 50%;
  color: var(--terms-paper);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.terms-notice__content {
  max-width: 780px;
}

.terms-notice__content h2 {
  margin-bottom: 2rem;
}

.terms-notice__content p:not(.terms-kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 254, 250, 0.86);
  font-size: 1.08rem;
  line-height: 1.75;
}

.terms-notice__content p + p {
  margin-top: 1.25rem;
}

.terms-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: end;
}

.terms-column--note {
  padding: 2rem;
  border-top: 1px solid var(--terms-olive);
  background: rgba(255, 254, 250, 0.76);
}

.terms-column--note .terms-definition__label {
  margin-bottom: 1rem;
}

.terms-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: end;
}

.terms-closing__copy {
  max-width: 760px;
}

.terms-closing__copy h2 {
  margin-bottom: 2rem;
}

.terms-closing__copy cite {
  color: var(--terms-paper);
  font-style: normal;
  font-weight: 700;
}

.terms-contact {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--terms-paper);
  border-radius: 999px;
  color: var(--terms-paper);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.terms-contact:hover,
.terms-contact:focus-visible {
  color: var(--terms-deep-olive);
  background: var(--terms-paper);
  transform: translateY(-2px);
}

.terms-contact:focus-visible {
  outline: 2px solid var(--terms-paper);
  outline-offset: 4px;
}

.terms-contact__arrow {
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 900px) {
  [data-homepage-region="01-header-and-hero-introduction"] .hero-content {
    min-height: 102px;
  }

  [data-homepage-region="01-header-and-hero-introduction"] .site-topbar {
    min-height: 102px;
  }

  .terms-hero__content,
  .terms-section__inner {
    width: min(100% - 48px, 720px);
  }

  .terms-split,
  .terms-columns,
  .terms-closing {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .terms-closing {
    align-items: start;
  }

  .terms-contact {
    width: min(100%, 280px);
  }
}

@media (max-width: 600px) {
  [data-homepage-region="01-header-and-hero-introduction"] .hero-content {
    padding-inline: 16px;
  }

  [data-homepage-region="01-header-and-hero-introduction"] .site-topbar {
    min-height: 88px;
  }

  .terms-hero__content,
  .terms-section__inner {
    width: min(100% - 32px, 520px);
  }

  .terms-hero__content {
    padding-block: 4rem 3.5rem;
  }

  .terms-hero h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .terms-hero__lead {
    margin-top: 1.6rem;
    font-size: 1rem;
  }

  .terms-meta {
    margin-top: 2.5rem;
  }

  .terms-section {
    padding-block: 4rem;
  }

  .terms-section__inner > h2,
  .terms-section__heading h2,
  .terms-column h2,
  .terms-closing h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .terms-section__body,
  .terms-definition,
  .terms-inquiry > p:not(.terms-definition__label),
  .terms-column,
  .terms-closing__copy {
    font-size: 0.98rem;
  }

  .terms-definition,
  .terms-column--note {
    padding: 1.25rem;
  }

  .terms-notice {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .terms-notice__badge {
    width: 80px;
    height: 80px;
    font-size: 1.45rem;
  }

  .terms-notice__content h2 {
    margin-bottom: 1.5rem;
  }

  .terms-notice__content p:not(.terms-kicker) {
    font-size: 1rem;
  }

  .terms-list__item {
    grid-template-columns: 2.1rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .terms-list__marker {
    width: 2rem;
    height: 2rem;
  }
}
