/* ---------- legal pages (privacy / terms) ---------- */
/* These pages reuse the shared .landing/.nav/.footer chrome, so the Folio
   theme for that chrome lives here (the landing itself uses its own .f-*
   classes). The z-index lifts the content above the fixed .bg-field. */
.landing.legal {
  position: relative; z-index: 1; min-height: 100vh; background: var(--bg);
  color: var(--ink); overflow-x: hidden;
}
.legal .nav-wrap {
  position: sticky; top: 0; z-index: 20; display: flex; justify-content: center;
  background: rgba(252, 252, 251, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.legal .nav {
  width: 100%; max-width: 1120px; display: flex; align-items: center; gap: 22px;
  height: 66px; padding: 0 28px; background: none; border: none; box-shadow: none; border-radius: 0;
}
.legal .nav-brand { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.legal .logo { flex: none; object-fit: contain; }
.legal .brand-name { font-family: 'Newsreader', serif; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.legal .nav-link { color: var(--ink2); font-size: 14.5px; font-weight: 500; }
.legal .nav-link:hover { color: var(--ink); }
.legal .nav-cta { flex: none; }
.legal .footer {
  max-width: 1120px; margin: 56px auto 0; padding: 36px 28px 44px; display: flex;
  align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line);
}
.legal .footer-brand { display: flex; align-items: center; gap: 9px; }
.legal .footer-tag { color: var(--ink3); font-size: 13.5px; }
.legal .footer-links { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.legal .footer-links a { color: var(--ink2); font-size: 13.5px; }
.legal .footer-links a:hover { color: var(--ink); }
.legal .footer-copy { width: 100%; color: var(--ink3); font-size: 12.5px; margin-top: 6px; }

.legal-wrap { max-width: 820px; margin: 40px auto 0; padding: 0 24px; }
.legal-card { border-radius: var(--r-xl); padding: 48px clamp(22px, 5vw, 64px) 56px; }

.legal-head { margin-bottom: 8px; }
.legal-title { font-size: clamp(30px, 4.5vw, 42px); margin: 12px 0 0; }
.legal-updated { color: var(--ink3); font-size: 13.5px; margin: 12px 0 0; }

.legal-body h2 {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 38px 0 12px;
}
.legal-body h2:first-of-type { margin-top: 40px; }
.legal-body > p:first-of-type { font-size: 16.5px; color: var(--ink); margin-bottom: 8px; }
.legal-body p {
  color: var(--ink2);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.legal-body ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--ink2);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal-body li { margin: 0 0 8px; }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-body a { text-decoration: underline; }

@media (max-width: 720px) {
  .legal-card { padding: 36px 22px 44px; }
}
