/* ============================================================
   ZOLLHOF Impact Fellowship — legal subpages (Imprint / Privacy)
   Reuses styles.css (frame, nav, footer, palette, buttons).
   Adds readable long-form typography on the same black lattice.
   ============================================================ */

/* back link in nav (replaces nav__links on legal pages) */
.nav__back {
  display: flex; align-items: center; gap: 9px; background: var(--cream);
  padding: 0 clamp(16px, 1.8vw, 28px);
  border-right: var(--line) solid var(--ink);
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background .2s;
}
.nav__back:hover { background: var(--lilac); }
@media (max-width: 860px) { .nav__back { display: none; } }

/* hero band */
.legalhero { grid-template-columns: 1fr; }
.legalhero .cell {
  background: var(--ink); color: #fff;
  padding: clamp(40px, 6vw, 96px) var(--cell) clamp(30px, 4vw, 56px);
  display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 18px);
}
.legalhero .label { color: var(--lilac); }
.legalhero h1 { color: #fff; font-size: clamp(46px, 9vw, 120px); line-height: 0.88; letter-spacing: -0.045em; text-transform: uppercase; }
.legalhero p { color: rgba(255,255,255,.82); font-size: clamp(14px, 1.2vw, 17px); font-weight: 500; line-height: 1.55; max-width: 62ch; text-transform: none; }

/* quick-facts grid (imprint) */
.facts { grid-template-columns: repeat(3, 1fr); }
.facts .cell { padding: var(--cell); display: flex; flex-direction: column; gap: 10px; min-height: clamp(150px, 16vw, 210px); }
.facts .cell:nth-child(1) { background: var(--lilac-2); }
.facts .cell:nth-child(2) { background: var(--sage-2); }
.facts .cell:nth-child(3) { background: var(--cream-deep); }
.facts .label { color: var(--ink-soft); }
.facts h2 { font-size: clamp(17px, 1.5vw, 21px); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; }
.facts p, .facts a { font-size: 15px; line-height: 1.55; color: var(--ink); text-transform: none; font-weight: 500; }
.facts b { font-weight: 800; }
.facts a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr; } }

/* long-form body */
.legal { grid-template-columns: 1fr; }
.legal__body { background: var(--cream); padding: clamp(34px, 4.4vw, 76px) var(--cell); }
.legal__wrap { max-width: 80ch; margin-inline: auto; display: flex; flex-direction: column; gap: clamp(26px, 3vw, 44px); }
.legal__lead { font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; line-height: 1.5; color: var(--ink); text-transform: none; }
.legal__updated { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }

.legal section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.legal h2 {
  font-size: clamp(21px, 2.3vw, 31px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.06; color: var(--ink);
  margin-top: clamp(8px, 1.2vw, 16px); padding-top: clamp(14px, 1.8vw, 24px); border-top: var(--line) solid var(--ink);
}
.legal h3 { font-size: clamp(16.5px, 1.45vw, 19px); text-transform: none; letter-spacing: -0.01em; color: var(--ink); margin-top: 6px; }
.legal h4 { font-size: 15px; font-weight: 800; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.legal p, .legal li { font-size: clamp(14.5px, 1.12vw, 16.5px); line-height: 1.62; color: var(--ink-soft); text-transform: none; }
.legal ul { padding-left: 1.25em; display: flex; flex-direction: column; gap: 6px; }
.legal ul li::marker { color: var(--orange); }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal b, .legal strong { color: var(--ink); font-weight: 800; }
.legal address { font-style: normal; color: var(--ink-soft); line-height: 1.6; font-size: clamp(14.5px, 1.12vw, 16.5px); }

/* table of contents (privacy) */
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; }
.legal__toc a {
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 7px 13px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none;
  transition: background .2s, color .2s;
}
.legal__toc a:hover { background: var(--lilac); }
