/* Jomber information pages (Privacy, Contact, 404): loaded after styles.css, which brings the
   fonts, tokens, header, button and footer. Only what a long text page needs is added here. */

.pg__header { border-bottom: 1px solid var(--line); }
.pg .footer { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
.footer__links a[aria-current="page"] { color: var(--tang); text-decoration-thickness: 2px; }

.doc { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 9vw, 112px); }
.doc__in { max-width: calc(760px + 2 * var(--gutter)); }
.doc h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); margin-bottom: 16px; }
.doc h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); margin: 48px 0 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.doc h3 { font-size: 1.1875rem; margin: 28px 0 10px; }
.doc p, .doc ul { margin-bottom: 14px; }
.doc p, .doc li, .doc td { overflow-wrap: anywhere; }
.doc ul { list-style: disc; padding-left: 1.25em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--tang); }
.doc a { color: var(--cobalt); text-underline-offset: 3px; }
.doc a:hover { color: var(--cobalt-deep); }
.doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875em;
  background: var(--sand); padding: .1em .35em; border-radius: 6px; white-space: nowrap;
}
.doc__meta { color: var(--ink-2); font-size: .9375rem; }
.doc__mail { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem); letter-spacing: -.02em; margin: 8px 0 28px; }
.doc__mail a { text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* A value that is not set in site.json yet: impossible to miss on a preview. */
.todo { background: #ffd84d; color: var(--ink); padding: 0 .3em; border-radius: 4px; font-weight: 700; }

/* Tables: a grid on wide screens, one card per row on phones */
.tw { margin: 18px 0 22px; }
.doc table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; }
.doc th { text-align: left; font-weight: 700; padding: 10px 14px; background: var(--sand); }
.doc td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
@media (max-width: 719.98px) {
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc tr { border: 1px solid var(--line); border-radius: 16px; padding: 6px 0; margin-bottom: 12px; background: var(--white); }
  .doc td { border: 0; padding: 6px 16px; }
  .doc td::before { content: attr(data-label); display: block; font-size: .8125rem; font-weight: 700; color: var(--ink-2); margin-bottom: 2px; }
}
@media (min-width: 720px) {
  .tw { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); }
}

/* 404 */
.doc--nf { display: grid; place-items: center; min-height: 60vh; text-align: center; }
.nf { display: grid; justify-items: center; gap: 4px; }
.nf__mark { width: 88px; height: 88px; margin-bottom: 20px; }
.nf p { color: var(--ink-2); max-width: 26em; }
.nf__act { margin-top: 16px; }
.doc .nf__act a { color: var(--ink); }
