/* ─────────────────────────────────────────────────────────────
   Document pages — accessibility statement, privacy, terms.

   The same identity as the landing page, but a reading surface
   rather than a composition: one measured column, no photographic
   ground, no motion. Tokens are redeclared here because these
   pages do not carry index.html's inline stylesheet.
   ───────────────────────────────────────────────────────────── */

:root {
  --navy:      #050F1E;
  --navy-3:    #0C1626;
  --gold:      #D9B063;
  --gold-hi:   #F2D286;
  --gold-deep: #BD8F45;
  --cream:     #F6F1E9;
  --muted:     #A8B2BD;
  --dim:       #8B99A8;
  --line:      rgba(217, 176, 99, .28);
  --line-soft: rgba(217, 176, 99, .13);

  --font: 'Assistant', system-ui, sans-serif;
  --radius-pill: 999px;
  --container: 760px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--cream);
  font-size: 1.0625rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
a:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--navy); }

.legal-wrap { width: min(var(--container), 100% - 2.6rem); margin-inline: auto; }

/* ---------- masthead ---------- */
.legal-top {
  padding-block: clamp(2.2rem, 5vw, 3.4rem) clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.legal-top img { width: min(230px, 62%); height: auto; margin: 0 auto 1.6rem; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
.legal-back:hover { gap: .75rem; }
.legal-back svg { width: 15px; height: 15px; }

/* ---------- document ---------- */
.legal-main { padding-block: clamp(2.4rem, 6vw, 4rem) clamp(3rem, 7vw, 4.5rem); }

.legal-main h1 {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.legal-lead {
  color: var(--muted);
  font-size: 1.12rem;
  margin-top: 1.1rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line-soft);
}

.legal-main h2 {
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.55rem);
  line-height: 1.3;
  color: var(--gold-hi);
  margin-top: 2.8rem;
  margin-bottom: .7rem;
  text-wrap: balance;
}
.legal-main h3 {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--cream);
  margin-top: 1.6rem;
  margin-bottom: .35rem;
}
.legal-main p { color: var(--muted); margin-bottom: 1rem; }
.legal-main p strong { color: var(--cream); font-weight: 600; }

.legal-main ul { list-style: none; margin: 0 0 1.2rem; }
.legal-main li {
  position: relative;
  color: var(--muted);
  padding-inline-start: 1.35rem;
  margin-bottom: .55rem;
}
.legal-main li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .78em;
  width: 5px;
  height: 5px;
  background: var(--gold-deep);
  border-radius: 50%;
}

/* A short definition list carries the contact block far better
   than a paragraph of labelled lines, and screen readers announce
   the pairing. */
.legal-contact {
  margin: 1.4rem 0 1.2rem;
  padding: 1.4rem 1.5rem;
  background: var(--navy-3);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .5rem 1.1rem;
  align-items: baseline;
}
.legal-contact dt {
  color: var(--gold-deep);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}
.legal-contact dd { color: var(--cream); }
.legal-contact dd a { text-decoration: none; }
.legal-contact dd a:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .legal-contact { grid-template-columns: 1fr; gap: .1rem .6rem; }
  .legal-contact dd { margin-bottom: .7rem; }
}

/* Anything still waiting on the client is marked in the page
   itself, so a placeholder can never be mistaken for a fact. */
.legal-todo {
  display: inline-block;
  padding: .05rem .5rem;
  background: rgba(217, 176, 99, .16);
  border: 1px dashed var(--gold-deep);
  border-radius: 6px;
  color: var(--gold-hi);
  font-size: .92rem;
  font-weight: 600;
}

.legal-updated {
  margin-top: 2.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: .9rem;
}

/* ---------- footer ---------- */
.legal-foot {
  padding-block: 2.4rem 3rem;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.legal-foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1.6rem;
  margin-bottom: 1.1rem;
}
.legal-foot nav a { font-size: .95rem; font-weight: 600; text-decoration: none; }
.legal-foot nav a:hover { text-decoration: underline; }
.legal-foot p { color: var(--dim); font-size: .86rem; }
