/* Shared shell for the legal pages.
   They load meridian.css for the tokens, then this for a reading layout —
   the homepage's rail, sections and counters have nothing to do here. */

.legal { max-width: 68ch; margin-inline: auto; padding: clamp(48px, 8vw, 96px) var(--pad) 96px; }

.legal__back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--accent2); font-size: .88rem; margin-bottom: 34px; }
.legal__back:hover { color: var(--ink); }

.legal__mark { width: 34px; height: 34px; margin-bottom: 20px; }

.legal h1 { font-family: var(--disp); font-weight: 300; letter-spacing: -.03em;
  font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.1; margin: 0 0 10px; }
.legal .updated { color: var(--faint); font-size: .82rem; text-transform: uppercase;
  letter-spacing: .16em; margin: 0 0 40px; }

.legal h2 { font-family: var(--disp); font-weight: 400; letter-spacing: -.02em;
  font-size: 1.3rem; line-height: 1.25; margin: 42px 0 12px; }
.legal h2 span { background: none; -webkit-text-fill-color: currentColor; color: inherit; }

.legal p, .legal li { color: var(--soft); font-size: 1rem; line-height: 1.75; }
.legal p { margin: 0 0 1em; max-width: none; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal a { color: var(--accent2); }

.legal ul { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; gap: 9px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .8em; width: 9px; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent2)); }

/* Key/value block for the third parties table — reads better than prose for
   "who gets what and why". */
.legal dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 22px;
  margin: 0 0 1.4em; padding: 20px 22px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--glass); }
.legal dt { font-weight: 500; color: var(--ink); font-size: .95rem; }
.legal dd { margin: 0; color: var(--soft); font-size: .95rem; }
@media (max-width: 560px) {
  .legal dl { grid-template-columns: 1fr; gap: 4px 0; }
  .legal dd { margin-bottom: 12px; }
}

.legal__foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; }
.legal__foot a { color: var(--soft); text-decoration: none; }
.legal__foot a:hover { color: var(--accent2); }
