/* ==========================================================================
   Legal pages — Figma 204:3598. Section-by-section, pixel-matched.
   ========================================================================== */

/* ---- Page header (204:3600) --------------------------------------------- */
.legal-header { padding: 56px 0 48px; }
.legal-header__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.legal-header__inner > * { margin: 0; }
.legal-header .breadcrumb .current { color: var(--ink); }
.legal-header__updated { color: var(--secondary); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }

/* ---- Legal body (204:3609) ---------------------------------------------- */
.legal { padding: 64px 0 80px; }
.legal__grid { display: grid; grid-template-columns: 300px minmax(0, 836px); justify-content: space-between; gap: 64px; align-items: start; }
.legal__aside {
  position: sticky; top: calc(var(--header-h) + 16px);
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px;
}
.legal__aside-title { margin: 0; font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--secondary); font-weight: 600; }
.legal__aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.legal__aside a { text-decoration: none; color: var(--secondary); font-size: var(--fs-body); line-height: var(--lh-body); }
.legal__aside a:hover { color: var(--blue-700); }
.legal__aside a.is-current { color: var(--ink); }

.legal__content { display: flex; flex-direction: column; gap: 16px; color: var(--secondary); font-size: var(--fs-body); line-height: var(--lh-body); }
.legal__content > * { margin: 0; }
.legal__content h2 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); color: var(--blue-700); }
.legal__content h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: 0; color: var(--blue-700); }
.legal__content ul, .legal__content ol { padding-left: 1.25em; }
.legal__content a { color: var(--blue-500); }

@media (max-width: 900px) {
  .legal { padding: 40px 0 64px; }
  .legal__grid { grid-template-columns: 1fr; gap: 32px; }
  .legal__aside { position: static; }
}
