/* ============================================================
   Document pages — privacy, cookies.

   Legal text is still type. It uses the same scale, the same measure
   and the same hairlines as the rest of the site; it just sits in one
   column instead of on the 12-column stage.
   ============================================================ */

.doc {
  padding-top: 64px;
  padding-bottom: 96px;
}

.doc-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.doc-head .mark svg {
  display: block;
  height: 12px;
  width: auto;
  color: var(--ink);
}

.doc-title {
  margin: 40px 0 0;
  max-width: var(--measure);
}

/* The reading measure belongs on running text, not on the container: a
   three-column table squeezed into 34em is unreadable, and these pages are
   mostly tables. So the block is wide and the prose is capped. */
.doc-body {
  margin-top: 56px;
}

.doc-body h2 {
  font-size: var(--t-20);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink-strong);
  margin: 44px 0 12px;
}

.doc-body h2:first-child {
  margin-top: 0;
}

.doc-body p,
.doc-body li {
  font-size: var(--t-14);
  line-height: 1.55;
  color: var(--secondary);
  margin: 0 0 12px;
  max-width: var(--measure);
}

.doc-body h2,
.doc-body h3 {
  max-width: var(--measure);
}

.doc-body ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.doc-body li {
  margin-bottom: 6px;
}

.doc-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: var(--t-12);
}

.doc-body th,
.doc-body td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--secondary);
}

.doc-body th {
  color: var(--ink-strong);
  font-weight: 500;
  border-bottom-color: var(--rule);
}

/* Wide tables scroll in their own container; the page body never does. */
.doc-scroll {
  overflow-x: auto;
  max-width: 54em;
}

/* Below that, scrolling the table beats crushing its columns. */
.doc-scroll table {
  min-width: 34em;
}

/* ---- the draft notice. Delete this block and the markup that uses it
       when the text has been through review. ---- */
.doc-draft {
  border: 1px solid var(--signal);
  padding: 14px 16px;
  margin-top: 32px;
  font-size: var(--t-12);
  line-height: 1.55;
  color: var(--signal);
  max-width: var(--measure);
}

.doc-draft p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}
