/* ============================================================
   TTCC — LEGAL PAGES
   privacy-policy.html and any other plain text document: one centred
   700px column, the same treatment the blog posts use. The shell (top
   bar, menu panel, search overlay, footer) comes from base.css +
   nav.css + footer.css, shared with every page.
   ============================================================ */

/* The gutter lives out here, as margin, so it sits beside the column
   rather than inside it — with border-box in force, padding on the column
   would come straight out of its 700px measure. */
.legal {
  margin: 0 var(--gutter);
  padding-top: calc(var(--topbar-h) + 90px);   /* clears the fixed top bar */
  padding-bottom: 120px;
}

.legal__inner {
  max-width: 700px;
  margin: 0 auto;
}

.legal__title {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
  color: #000000;
}

.legal__updated {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #8a8a8a;
}

.legal__rule {
  margin: 40px 0 0;
  border: 0;
  border-top: 1px solid #e6e6e6;
}

/* ----- Body -----
   Numbered headings carry the space above them, so the document reads as
   a run of sections without any wrapper per section. */
.legal__heading {
  margin-top: 56px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #000000;
}

.legal__text {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #000000;
}

/* The first paragraph sits under the rule, not under a heading. */
.legal__rule + .legal__text {
  margin-top: 40px;
}

/* Emails read as links in running text. */
.legal__text a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 1300px) {
  .legal__title {
    font-size: 40px;
  }
}

@media (max-width: 900px) {
  /* The column is the page now, inside .legal's gutter. */
  .legal__inner {
    max-width: none;
  }

  .legal__title {
    font-size: 34px;
  }

  .legal__heading {
    margin-top: 44px;
  }
}

@media (max-width: 700px) {
  .legal {
    padding-bottom: 80px;
  }

  .legal__title {
    font-size: 28px;
  }
}
