/* ==========================================================
   nawa legal pages: Terms of Service, Privacy Policy.
   Builds on base.css, background.css and sections.css (header, footer,
   background depth, container, type scale). This file only adds the
   two layouts these pages need: the page head (title + "last updated")
   and the long-form legal article. Copy is word for word from the
   previous site; only the look changes.
   ========================================================== */

/* ---------- Page head: title + last-updated line ---------- */
.lg-head {
  position: relative;
  padding-top: calc(var(--section-space) + var(--space-4));
  padding-bottom: var(--section-space);
}
.lg-head__inner { max-width: 46rem; }
.lg-title {
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: var(--track-tight);
  text-wrap: balance;
}
.lg-date {
  margin-top: var(--space-2);
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

/* ---------- Legal article ---------- */
.lg-body {
  position: relative;
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--line);
}
.lg-article {
  max-width: 46rem;
  padding-top: var(--section-space);
}
.lg-article > * + * { margin-top: var(--space-3); }
.lg-intro {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}
.lg-article h2 {
  margin-top: var(--space-7);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}
.lg-article p,
.lg-article li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
}
.lg-article ul {
  margin-top: var(--space-2);
  padding-left: 1.25rem;
  list-style: disc;
  display: grid;
  gap: var(--space-1);
}
.lg-article ul li { padding-left: 0.25rem; }
.lg-article a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.lg-article a:hover {
  color: var(--lime);
  text-decoration-color: var(--lime);
}
