/*
  The reading pages — privacy, support.

  They borrow the shell from styles.css (header, footer, wordmark) and add one
  thing: a single measured column. Nothing animates and nothing floats. A page
  someone is sent to by the App Store, or reaches because something is wrong,
  should open and be readable immediately.
*/

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 190px 22px 130px;
}

.doc-head {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.doc-head .kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.doc-head h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 66px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.doc-head h1 em { color: var(--blue); font-style: italic; }
.doc-head .doc-stamp {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.doc-lede {
  margin: 38px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.5;
  letter-spacing: -.01em;
}

.doc section { margin-top: 62px; }
.doc h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(27px, 3.4vw, 33px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.doc h3 {
  margin: 34px 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.doc p, .doc li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 20px; }
.doc li { margin-bottom: 9px; }
.doc li strong, .doc p strong { color: var(--ink); font-weight: 600; }
.doc a:not(.button) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(53, 106, 158, .35);
}
.doc a:not(.button):hover { text-decoration-color: var(--blue); }

/* The short version, before the long one. */
.doc-summary {
  margin: 44px 0 0;
  padding: 28px 30px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 14px 40px rgba(23,39,47,.05);
}
.doc-summary p {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.doc-summary ul { margin: 0; padding-left: 18px; }
.doc-summary li:last-child { margin-bottom: 0; }

/* Support: the two or three things most people arrive needing. */
.doc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 44px 0 0;
}
.doc-card {
  padding: 24px 24px 26px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px;
}
.doc-card small {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.doc-card strong { display: block; margin-bottom: 8px; font-size: 17px; letter-spacing: -.01em; }
.doc-card p { margin: 0; font-size: 14.5px; }

.doc-table { margin: 0 0 16px; border-top: 1px solid var(--line); }
.doc-table > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.doc-table dt, .doc-table span:first-child {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.7;
}
.doc-table span:last-child { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

.doc-foot {
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

@media (max-width: 620px) {
  .doc { padding-top: 150px; }
  .doc-table > div { grid-template-columns: 1fr; gap: 6px; }
}
