/* Shared by the long pages (privacy, terms, support): the same type, rules and lists. Loaded after styles.css. */
.top { justify-content: space-between !important; }
.doc-mast { font-family: var(--display); font-weight: 600; font-size: 40px; letter-spacing: .02em; text-decoration: none; line-height: 1; color: var(--bone); text-transform: none; }
.doc { max-width: 680px; margin-inline: auto; padding-block: clamp(32px, 6vw, 72px) clamp(72px, 9vw, 120px); }
.doc-head { display: flex; flex-direction: column; gap: 18px; padding-bottom: clamp(36px, 5vw, 56px); }
.doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 72px); line-height: 1; margin: 0; }
.doc-lede { margin: 0; max-width: 34ch; font-family: var(--display); font-style: italic; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.4; color: var(--ash); text-wrap: pretty; }
.doc section { display: flex; flex-direction: column; gap: 14px; padding-block: 36px; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.doc h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.2vw, 30px); line-height: 1.15; margin: 0 0 4px; text-wrap: balance; }
.doc h3 { font-family: var(--sans); font-weight: 500; font-size: 17px; color: var(--bone); margin: 14px 0 0; }
.doc p, .doc li, .doc dd { margin: 0; color: var(--ash); }
.doc strong { font-weight: 500; color: var(--bone); }
.doc p a, .doc li a, .doc dd a { color: var(--bone); text-underline-offset: 3px; }

/* The short version: five promises, each with a serif lead line */
.short { list-style: none; margin: 0; padding: 0; }
.short li { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.short li:first-child { border-top-color: var(--bone); }
.short strong { display: block; margin-bottom: 4px; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; }

/* On this page */
.doc section.has-toc { padding-bottom: 0; }
.toc { border-top: 1px solid var(--line); margin-top: 8px; }
.toc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; font-family: var(--display); font-size: 22px; line-height: 1.25; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--ash); transition: transform .25s; flex: none; }
.toc[open] summary::after { transform: rotate(45deg); }
.toc ul { list-style: none; margin: 0; padding: 0 0 14px; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; }
.toc a { display: block; padding: 9px 0; color: var(--ash); text-decoration: none; font-size: 16px; line-height: 1.35; }
.toc a:hover { color: var(--bone); }

/* Lists and two-column facts */
.dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dots li { position: relative; padding-left: 20px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--rouge); }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.facts:not(:last-child) div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--bone); font-weight: 500; }

.mail { font-family: var(--display); font-size: clamp(30px, 6vw, 40px); line-height: 1.1; margin: 4px 0 6px !important; }
.mail a { color: var(--bone); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.doc .join { margin: 6px 0 0; }
.doc .join-note { text-align: left; }

@media (max-width: 640px) {
  .toc ul { columns: 1; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .toc summary::after { transition: none; } }

/* Steps to follow in the app: numbered, the number in the display serif */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: step; position: relative; padding-left: 34px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.06em; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--bone); }
.doc .steps li { color: var(--bone); }
.doc .quiet { font-size: .9375rem; }

/* Footer of the long pages: where you are, and the other pages */
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot nav a[aria-current="page"] { color: var(--ash); text-decoration: none; }
