/* Shared layout for the legal/document pages (imprint, privacy).
   Tokens come from styles.css — keep this file tiny. */

.doc-header{ border-bottom: 1px solid var(--hair); background: var(--paper); }
.doc-header-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 16px; padding-bottom: 16px;
}
.doc-back{
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
}
.doc-back:hover{ color: var(--cobalt); }

.legal{ max-width: 780px; margin: 0 auto; padding: 72px 44px 100px; }
.legal .legal-kicker{
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--cobalt); margin-bottom: 20px;
}
.legal h1{ font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.02em; }
.legal .legal-updated{
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 16px; margin-bottom: 8px;
}
/* padding shorthand, not padding-top: the global section{} rule sets a 96px
   (72px on mobile) padding-bottom that would otherwise leak in here and make
   every legal section wildly asymmetric. */
.legal section{ margin-top: 44px; border-top: 1px solid var(--hair); padding: 26px 0 0; }
.legal h2{ font-size: 21px; margin-bottom: 14px; }
.legal h3{ font-size: 16px; margin: 22px 0 8px; }
.legal p{ font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.legal p + p{ margin-top: 12px; }
.legal p strong{ color: var(--ink); font-weight: 500; }
.legal ul{ margin: 12px 0; padding-left: 20px; list-style: square; }
.legal li{ font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 8px; }
.legal li::marker{ color: var(--cobalt); }
.legal a{ text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 3px; }
.legal a:hover{ color: var(--cobalt); text-decoration-color: var(--cobalt); }

@media (max-width: 900px){
  .legal{ padding: 52px 24px 72px; }
}
