/* ------------------------------------------------------------------------- *
 * Standalone legal pages (/privacy, /terms, and their Italian versions).
 * styles.css loads first and provides the tokens and the .doc text styles;
 * this file only adds the page chrome those overlay sheets never needed.
 * ------------------------------------------------------------------------- */

.legal-mast {
  border-bottom: 1px solid var(--hairline);
}
.legal-mast__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.legal-title {
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -1.2px;
  margin: 22px 0 0;
}
.legal-updated {
  color: var(--ink-30);
  margin-top: 18px;
}
.legal-rule { margin: 40px 0 0; }

/* Section heads one step above the sheets' h3, because these pages are long
   enough to need a spine. The hairline above each is what lets the eye skim
   sixteen sections without counting them. */
.legal-main h2 {
  font: 300 26px/1.15 var(--serif);
  color: var(--ink);
  margin: 56px 0 0;
  padding-top: 34px;
  border-top: 1px solid var(--hairline);
  letter-spacing: -.4px;
}
.legal-main .doc-lede {
  font: 300 18px/29px var(--serif);
  color: var(--ink-72);
  margin: 36px 0 44px;
}

/* A step up from the sheets' 13.5px: these are whole pages, read for real. */
.legal-main p,
.legal-main li {
  font: 400 14.5px/24px var(--sans);
  color: var(--ink-62);
}
.legal-main p { margin: 14px 0 0; }

.legal-main ul {
  margin: 14px 0 0;
  padding-left: 20px;
}
.legal-main li { margin-top: 10px; }
.legal-main li::marker { color: var(--ink-38); }
.legal-main a {
  color: var(--ink-85);
  text-underline-offset: 3px;
}
.legal-main a:hover { color: var(--ink); }
.legal-main strong { color: var(--ink-85); font-weight: 500; }

/* Placeholders that must be replaced before launch. Not styled at all, by
   request: the class exists so a grep for "legal-todo" finds every one
   before launch, not so visitors see them. */
.legal-todo { color: inherit; }

.legal-foot {
  border-top: 1px solid var(--hairline);
}
.legal-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  padding-top: 26px;
  padding-bottom: 34px;
}

@media (max-width: 640px) {
  .legal-title { font-size: 34px; }
  .legal-main { padding-top: 48px; }
  .legal-main h2 { font-size: 22px; }
}
