/* 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(0,0,0,.0) 0%, rgba(0,0,0,.0) 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(--smoke);
  font-size: 1rem;
  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(--ivory);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: .15rem;
}
.doc__back:hover,
.doc__foot a:hover { color: var(--gold-hot); border-color: var(--gold-hot); }
.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(2.4rem, 9vw, 3.4rem); text-transform: uppercase;
  line-height: .98;
  color: var(--ivory);
}
.doc__intro {
  margin: 0 0 2rem;
  font-size: 1.02rem;
  color: var(--ivory);
  max-width: 62ch;
}

.doc h2 {
  margin: 2.25rem 0 .6rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.35rem, 4.4vw, 1.6rem); text-transform: uppercase; letter-spacing: .02em;
  line-height: 1.15;
  color: var(--ivory);
}
.doc h3 {
  margin: 1.6rem 0 .4rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
}
.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(--gold); }
.doc strong { color: var(--ivory); font-weight: 700; }
.doc a { color: var(--ivory); text-underline-offset: 2px; }
.doc a:hover { color: var(--gold-hot); }

/* controller identity block + processor table */
.doc .controller {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: rgba(232, 174, 30, .06);
  max-width: 68ch;
}
.doc .controller p { margin: 0 0 .35rem; }
.doc .controller p:last-child { margin: 0; }
.doc table { width: 100%; max-width: 68ch; border-collapse: collapse; margin: 0 0 1.25rem; font-size: .92rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--hair); }
.doc th { color: var(--ivory); font-weight: 700; }
.doc__updated { font-size: .88rem; }
@media (max-width: 560px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { display: none; }
  .doc tr { padding: .5rem 0; border-bottom: 1px solid var(--hair); }
  .doc td { border: 0; padding: .15rem 0; }
  .doc td:first-child { color: var(--ivory); font-weight: 700; }
}
