/* The legal page.
 *
 * Legal text on a dark brand site is where readability usually gets sacrificed
 * to consistency. It is not sacrificed here: the measure is capped near 68
 * characters, the body is a full 1.0625rem, and the line height is looser than
 * anywhere else on the site. Someone is reading this because they are worried
 * about their photographs — making them squint is the wrong answer to that.
 *
 * No serif anywhere, per brand.
 */

.legal-body { background: var(--bg); }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 104px 20px 96px;
}

/* ── the summary above the clauses ─────────────────────────────────────── */
.legal-hero { margin-bottom: 64px; }

.legal-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 12px 0 28px;
  color: var(--fg);
}
.legal-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--c-pink), var(--c-amber));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.legal-tldr {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
}
.legal-tldr li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  color: var(--dim);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.legal-tldr b { color: var(--fg); font-weight: 700; }

.legal-dates {
  color: var(--muted); font-size: .85rem;
  margin: 20px 0 0;
}

/* Sticky-ish jump links. Three documents on one page needs a way back to the
   top of the one you wanted. */
.legal-jump {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 26px 0 0;
}
.legal-jump a {
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--dim);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .88rem; font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.legal-jump a:hover { border-color: var(--c-pink); color: var(--fg); }

/* ── the documents ─────────────────────────────────────────────────────── */
.legal-doc {
  border-top: 1px solid var(--line);
  padding-top: 44px;
  margin-top: 44px;
  /* The jump links land on a heading, not under the fixed header. */
  scroll-margin-top: 84px;
}

.legal-h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -.01em;
  margin: 0 0 8px;
  color: var(--fg);
}

.legal-doc h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fg);
  margin: 34px 0 10px;
  letter-spacing: -.005em;
}

.legal-doc p,
.legal-list li,
.legal-steps li {
  color: var(--dim);
  font-size: 1.0625rem;
  line-height: 1.68;
  margin: 0 0 14px;
  max-width: 68ch;
}
.legal-doc b { color: var(--fg); font-weight: 700; }
.legal-doc a { color: var(--c-cyan); }

.legal-list, .legal-steps { padding-left: 1.15em; margin: 0 0 14px; }
.legal-list li, .legal-steps li { margin-bottom: 10px; }
.legal-steps li::marker { color: var(--c-pink); font-weight: 800; }

/* The deletion instructions are the one section people arrive angry looking
   for, so it is visibly its own thing rather than a subsection to scroll past. */
.legal-delete {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
}
.legal-note {
  color: var(--muted) !important;
  font-size: .95rem !important;
  border-left: 3px solid var(--c-pink);
  padding-left: 14px;
  margin-top: 18px !important;
}

.legal-contact {
  margin: 56px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  text-align: center;
}
.legal-contact a { color: var(--c-cyan); }

@media (max-width: 560px) {
  .legal { padding: 88px 16px 72px; }
  .legal-delete { padding: 24px 18px; }
}
