/* Legal document pages. Loaded AFTER style.css, which supplies the palette,
   fonts, background and footer; this file only adds the reading layout.
   Long-form text wants a much narrower measure than the signup panel, so the
   column is capped near 68 characters. */

.legal .bg::after {
  background: linear-gradient(180deg, rgba(16,15,14,.90) 0%, rgba(16,15,14,.94) 100%);
}

.doc {
  width: min(46rem, 100%);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.15rem, 5vw, 2rem) 2.5rem;
  color: var(--bone-dim);
  font-size: .95rem;
  line-height: 1.68;
}

.doc__back,
.doc__foot a {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 2px solid var(--blood);
  padding-bottom: .15rem;
}
.doc__back:hover,
.doc__foot a:hover { color: var(--spray); border-color: var(--spray); }
.doc__back { margin-bottom: 2rem; }
.doc__foot { margin-top: 2.5rem; }

.doc__title {
  margin: 0 0 .6rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.8rem, 6.5vw, 2.6rem);
  line-height: .98;
  color: var(--bone);
}
.doc__intro {
  margin: 0 0 2rem;
  font-size: 1.02rem;
  color: var(--bone);
  max-width: 62ch;
}

.doc h2 {
  margin: 2.25rem 0 .6rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.05rem, 3.4vw, 1.25rem);
  line-height: 1.15;
  color: var(--bone);
}
.doc h3 {
  margin: 1.6rem 0 .4rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blood);
}
.doc p  { margin: 0 0 1rem; max-width: 68ch; }
.doc ul { margin: 0 0 1rem; padding-left: 1.1rem; max-width: 68ch; }
.doc li { margin-bottom: .4rem; }
.doc li::marker { color: var(--blood); }
.doc strong { color: var(--bone); font-weight: 700; }
.doc a { color: var(--bone); text-underline-offset: 2px; }
.doc a:hover { color: var(--spray); }
