/* Document pages: /privacy, /terms, /how-it-works (style guide, "Website: document pages"). */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.doc { max-width: 44rem; padding-block: clamp(1.5rem, 5vw, 3.5rem) 0; }
.doc > * { min-width: 0; }
.doc h1 { margin-top: 1rem; font-size: clamp(2.1rem, 4.8vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; }
.doc h1 em { font-style: normal; background: linear-gradient(transparent 58%, var(--secondary) 58%, var(--secondary) 92%, transparent 92%); padding-inline: .05em; }
.doc .lede { margin-top: 1.4rem; font-size: 1.2rem; color: var(--muted); }

.doc h2 { margin-top: clamp(2.5rem, 6vw, 3.5rem); padding-top: 1.4rem; border-top: 2px solid var(--ink); font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; scroll-margin-top: 1rem; }
.doc h3 { margin: 1.8rem 0 .4rem; font: italic 400 1.4rem/1.2 var(--serif); }
.doc h2 + *, .doc h3 + * { margin-top: 1rem; }
.doc h3 + * { margin-top: 0; }
.doc p, .doc ul { margin: 1rem 0 0; }
.doc h3 + ul { margin-top: 0; }
.doc ul { padding-left: 1.25rem; }
.doc li + li { margin-top: .4rem; }
.doc li::marker { color: var(--primary-ink); }
.doc a { color: var(--primary-ink); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }

/* The short version */
.short { margin-top: 2.2rem; background: var(--card); border: 2px solid var(--ink); border-radius: 1.4rem; padding: 1.4rem 1.4rem 1rem; box-shadow: 6px 6px 0 var(--secondary); }
.doc .short ul.ticks { list-style: none; padding: 0; margin: .9rem 0 0; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; padding-block: .75rem; border-top: 1px solid var(--line); margin: 0; }
.doc .ticks li + li { margin-top: 0; }
.mk { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .22rem; }
.mk-yes { color: var(--primary-ink); }
.mk-no { color: var(--secondary); }

/* Notice: the app's privacy notice look */
.doc .notice { position: relative; margin-top: 1.4rem; padding: 1rem 1.1rem 1rem 3.6rem; border: 1.5px dashed var(--ink); border-radius: 1rem; color: var(--muted); font-size: .98rem; }
.doc .notice::before { content: ""; position: absolute; left: 1rem; top: 1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--primary); }
.doc .notice::after { content: ""; position: absolute; left: 1rem; top: 1rem; width: 1.8rem; height: 1.8rem; background: var(--on-primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 9V7a4 4 0 018 0v2M5 9h10v7H5z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center / 62% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 9V7a4 4 0 018 0v2M5 9h10v7H5z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center / 62% no-repeat; }
.doc .notice strong { color: var(--ink); }

/* Tables: stacked cards on a phone, a plain table from 760px */
.dtable { width: 100%; margin-top: 1.2rem; border-collapse: collapse; }
.dtable thead { display: none; }
.dtable tbody, .dtable tr, .dtable th, .dtable td { display: block; }
.dtable tr { margin-top: 1rem; padding: 1rem 1.1rem; background: var(--card); border: 2px solid var(--ink); border-radius: 1rem; }
.dtable th[scope="row"] { text-align: left; font-weight: 700; }
.dtable td { margin-top: .7rem; }
.dtable td[data-label]::before { content: attr(data-label); display: block; margin-bottom: .3rem; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.seen { display: flex; gap: .7rem; align-items: flex-start; }
.seen .mk { margin-top: .18rem; }
.dtable-sees td { margin-top: .5rem; }
.dtable-sees td::before { display: none; }

@media (min-width: 760px) {
  .dtable { display: table; font-size: .95rem; }
  .dtable thead { display: table-header-group; }
  .dtable tbody { display: table-row-group; }
  .dtable tr { display: table-row; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
  .dtable th, .dtable td { display: table-cell; margin: 0; padding: .8rem .8rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
  .dtable thead th { padding-block: .6rem; border-bottom: 2px solid var(--ink); font: 500 .72rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .dtable td[data-label]::before { display: none; }
  .dtable td { margin: 0; }
}
