/* Shared styling for the standalone legal pages — privacy-policy.html and
   terms.html.
 *
 * These two pages are deliberately NOT sections of the single-page site in
 * index.html. The links to them are quoted in an SMS opt-in message and are
 * read by the carrier compliance reviewers who approve the texting campaign, so
 * each has to be a real URL that answers on its own, loads in well under a
 * second, and shows the policy text with no scripting. index.html is ~6 MB of
 * inlined images behind a client-side router; nothing about it suits that job.
 *
 * The palette and type here mirror :root and body in index.html. If the site's
 * colours change there, change them here too — the two files are joined by
 * appearance only, on purpose, so a legal page can never be broken by an edit
 * to the reservation app. */

:root {
  --gold: #d5b85a;
  --gold-light: #f3e19e;
  --cream: #f4eee0;
  --black: #0a0a08;
  --charcoal: #16110a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */

.legal-top {
  border-bottom: 1px solid rgba(213, 184, 90, 0.3);
  background: rgba(10, 10, 8, 0.97);
  padding: 1.1rem 2rem;
  text-align: center;
}

.legal-top a.legal-home {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.legal-top a.legal-home:hover {
  color: var(--gold-light);
}

.legal-top p {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 238, 224, 0.35);
}

/* ── Body ── */

main.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 1.75rem 4rem;
}

main.legal h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-align: center;
}

.legal-updated {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 238, 224, 0.35);
}

.legal-rule {
  margin: 2rem auto 2.5rem;
  max-width: 220px;
  border-top: 1px solid rgba(213, 184, 90, 0.3);
  text-align: center;
}

.legal-rule span {
  position: relative;
  top: -0.85rem;
  background: var(--black);
  padding: 0 0.8rem;
  color: var(--gold);
  font-size: 0.9rem;
}

main.legal h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.6rem 0 0.85rem;
}

main.legal h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin: 1.8rem 0 0.6rem;
}

main.legal p {
  margin-bottom: 1rem;
  color: rgba(244, 238, 224, 0.82);
}

main.legal ul {
  margin: 0 0 1.15rem 1.35rem;
  color: rgba(244, 238, 224, 0.82);
}

main.legal li {
  margin-bottom: 0.5rem;
}

main.legal strong {
  color: var(--gold-light);
  font-weight: 700;
}

main.legal a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(213, 184, 90, 0.35);
}

main.legal a:hover {
  color: var(--gold-light);
}

/* The mandated SMS clause. Boxed so a compliance reviewer, or a guest who
   followed the link out of a text message, finds it without reading the whole
   policy. The wording inside is the reviewed script — see the comment above it
   in the page itself. */
.legal-callout {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(122, 96, 28, 0.3);
  border-left: 2px solid rgba(213, 184, 90, 0.6);
  background: rgba(213, 184, 90, 0.055);
}

.legal-callout h2,
.legal-callout h3 {
  margin-top: 0;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-contact {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(122, 96, 28, 0.22);
  font-size: 1rem;
}

/* ── Footer ── */

footer.legal-foot {
  background: var(--charcoal);
  border-top: 1px solid rgba(122, 96, 28, 0.18);
  text-align: center;
  padding: 2rem;
}

footer.legal-foot p {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  line-height: 1.9;
  text-transform: uppercase;
  color: rgba(244, 238, 224, 0.3);
}

footer.legal-foot a {
  color: var(--gold);
  opacity: 0.7;
  text-decoration: none;
  border-bottom: 1px solid rgba(213, 184, 90, 0.3);
}

footer.legal-foot a:hover {
  opacity: 1;
}

footer.legal-foot .sep {
  color: rgba(244, 238, 224, 0.2);
  padding: 0 0.45rem;
}

@media (max-width: 640px) {
  body {
    font-size: 1.02rem;
  }

  main.legal {
    padding: 2.5rem 1.25rem 3rem;
  }
}
