/* ============================================================
   BURST — shared styles for the legal pages (imprint, privacy).
   Deliberately plain: these pages are read, not admired. They
   reuse the tokens and fonts from styles.css, which must be
   loaded first.
   ============================================================ */

.legal {
  width: min(760px, 90vw);
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(48px, 9vh, 96px)) 0 clamp(64px, 10vh, 120px);
}

.legal__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim);
}
.legal__eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.legal__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 6.5vw, 64px);
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--heading);
}

.legal__updated {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-faint);
}

/* A short note to the site owner. Visible on purpose — it must not
   be possible to publish these pages without noticing the gaps. */
.legal__todo {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--orange);
  border-radius: 14px;
  background: color-mix(in srgb, var(--orange) 8%, transparent);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
}
.legal__todo strong { color: var(--heading); }

.legal h2 {
  margin-top: clamp(36px, 5vh, 52px);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--heading);
}
.legal h3 {
  margin-top: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
}
.legal p,
.legal li {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
}
.legal ul {
  margin-top: 8px;
  padding-left: 0;
  list-style: none;
}
.legal li { position: relative; padding-left: 20px; }
.legal li::before {
  content: "";
  position: absolute; left: 4px; top: 0.72em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-faint);
}
.legal a { color: var(--orange); text-underline-offset: 3px; }

/* Fields the owner must fill in before publishing */
.fill {
  padding: 1px 7px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--orange) 16%, transparent);
  color: var(--heading);
  font-size: 0.94em;
  font-weight: 600;
  white-space: nowrap;
}

.legal__table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.legal__table th,
.legal__table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--text-dim);
}
.legal__table th {
  color: var(--heading);
  font-weight: 600;
  white-space: nowrap;
}
/* Tables must never push the page sideways on a phone */
.legal__scroll { overflow-x: auto; }

.legal__back {
  display: inline-block;
  margin-top: clamp(40px, 6vh, 64px);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
}
.legal__back:hover { color: var(--heading); }

@media (max-width: 640px) {
  .legal h2 { font-size: 17px; }
  .legal p, .legal li { font-size: 14.5px; }
}
