/* Museum Companion — shared across the landing page and the legal documents.
   Palette lifted from src/constants/theme.ts so the site and the app agree. */

:root {
  --room: #0b0b0c; /* gallery dark */
  --plinth: #131314; /* raised surface */
  --ink: #f5f3ef; /* warm off-white */
  --muted: #9c9791;
  --brass: #c8a45c; /* museum-placard brass, used sparingly */
  --rule: #2c2c2e;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Tombstone label metadata: how museum labels actually set their fields. */
  --tomb: 0.6875rem/1.5 var(--sans);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--room);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--serif);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brass);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:focus-visible,
.badge:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* The eyebrow used above every title, set like a museum field label. */
.field {
  font: var(--tomb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Legal documents ─────────────────────────────────────────── */

.doc {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem 6rem;
}

.doc h1 {
  font: 400 italic clamp(2rem, 6vw, 2.75rem) / 1.15 var(--serif);
  margin: 0 0 2.5rem;
  letter-spacing: -0.01em;
}

.doc h2 {
  font: 500 1.0625rem/1.4 var(--sans);
  letter-spacing: 0.01em;
  margin: 3rem 0 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.doc p,
.doc li {
  color: #ded9d2;
}

.doc ul {
  padding-left: 1.1rem;
}

.doc li {
  margin: 0.4rem 0;
}

.doc strong {
  color: var(--ink);
  font-weight: 600;
}

.doc footer {
  margin-top: 4.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font: var(--tomb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.doc footer a {
  color: var(--muted);
  text-decoration: none;
}

.doc footer a:hover {
  color: var(--brass);
}
