/* Legal pages (privacy, terms). Builds on /assets/site.css tokens. */
.legal-hero { max-width: 1240px; margin: 0 auto; padding: 88px 24px 56px; border-bottom: 1px solid var(--line); }
.legal-eyebrow { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 20px; }
.legal-title { font-size: clamp(36px, 4.4vw, 54px); font-weight: 400; line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 20px; text-wrap: balance; }
.legal-meta { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; letter-spacing: 0; }
.legal-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: .5; }

.legal-body { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 80px; padding: 56px 24px 120px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--site-nav-h, 72px) + 24px); display: flex; flex-direction: column; gap: 2px; }
.legal-toc-title { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal-toc a { font-size: 13px; line-height: 1.4; letter-spacing: 0; color: var(--muted); text-decoration: none; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); display: block; transition: color .2s, border-color .2s; }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--green); }

.legal-content { display: flex; flex-direction: column; max-width: 680px; }
.legal-section { display: flex; flex-direction: column; gap: 14px; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--site-nav-h, 72px) + 16px); }
.legal-section:first-child { padding-top: 0; }
.legal-section:last-child { border-bottom: 0; }
.legal-section-title { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.legal-content p, .legal-content li { font-size: 15px; line-height: 1.8; letter-spacing: -0.01em; color: #3A3A3A; }
.legal-content ul, .legal-content ol { padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.legal-content strong { color: var(--ink); font-weight: 500; }
.legal-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(31,77,58,.35); }
.legal-content a:hover { text-decoration-color: currentColor; }

.legal-contact { background: var(--soft); border-radius: 28px; padding: 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.legal-contact-label { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.legal-contact p { line-height: 1.7; }
.legal-contact a { font-weight: 500; }

@media (max-width: 1000px) {
  .legal-body { grid-template-columns: 180px minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 760px) {
  .legal-hero { padding: 56px 24px 40px; }
  .legal-body { grid-template-columns: 1fr; gap: 0; padding: 0 24px 88px; }
  .legal-toc { display: none; }
  .legal-meta-dot { display: none; }
  .legal-section { padding: 32px 0; gap: 12px; }
  .legal-section:first-child { padding-top: 32px; }
}
