/* Privacy page: the landing page's paper, ink and type, set as a long-form document. */
.doc { background: var(--paper); }
.doc-bar { display: flex; align-items: center; justify-content: space-between; padding: var(--pad); }
.doc-mark img { width: clamp(40px, 4vw, 56px); height: auto; }
.doc-back { font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.doc-main { width: min(760px, 100%); margin: 0 auto; padding: clamp(32px, 8vh, 96px) var(--pad) clamp(64px, 12vh, 140px); }
.doc-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(64px, 11vw, 140px); line-height: .9; letter-spacing: -.02em; }
.doc-lead { margin-top: 20px; font-size: clamp(18px, 1.6vw, 21px); color: var(--grey); }

.doc-main h2 { font-family: var(--sans); font-size: clamp(22px, 2vw, 26px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.doc-main h3 { margin-top: 24px; font-size: 17px; font-weight: 700; }
.doc-main p, .doc-main li, .doc-main dd { font-size: 17px; line-height: 1.6; }
.doc-main p + p { margin-top: 14px; }
.doc-main h3 + p { margin-top: 6px; }
.doc-main ul { margin: 12px 0 0; padding-left: 1.1em; }
.doc-main ul li + li { margin-top: 8px; }
.doc-main a { text-underline-offset: 3px; }
.doc-main a:hover { color: var(--klein); }

/* The short version sits on Klein, like the quotes on the landing page. */
.doc-short { margin-top: clamp(40px, 7vh, 72px); padding: clamp(24px, 4vw, 40px); background: var(--klein); color: var(--paper); }
.doc-short h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3vw, 40px); }
.doc-short ul { margin-top: 18px; }

/* Numbered sections, set like a Swiss index. */
.doc-sections { list-style: none; counter-reset: s; margin: clamp(48px, 8vh, 80px) 0 0; padding: 0; }
.doc-sections > li { counter-increment: s; position: relative; padding: 28px 0 32px; border-top: 2px solid var(--ink); }
.doc-sections > li:last-child { border-bottom: 2px solid var(--ink); }
.doc-sections > li::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--grey); }
.doc-sections > li > h2 { margin-bottom: 14px; }

.doc-list { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; margin: 16px 0 0; border-top: 1px solid rgba(18, 18, 17, .18); }
.doc-list dt, .doc-list dd { margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(18, 18, 17, .18); }
.doc-list dt { font-size: 15px; font-weight: 700; padding-right: 16px; line-height: 1.6; }

mark.todo { background: #FFE58A; color: var(--ink); padding: 0 4px; }
.nowrap { white-space: nowrap; font-family: var(--mono); font-size: .9em; }

.doc-foot { display: flex; justify-content: space-between; gap: 24px; padding: var(--pad); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.doc-foot a { color: inherit; text-decoration: none; text-transform: none; letter-spacing: .02em; }

@media (max-width: 560px) {
  .doc-list { grid-template-columns: 1fr; }
  .doc-list dt { padding-bottom: 0; border-bottom: 0; }
}
