/* Privacy, Terms and Delete your account (legal.ts), inside the website's own
   header and footer since 2026-11-18. Only the document's insides are styled
   here, under .doc; the page frame is site.css. */

/* Centred, the user 2026-11-18: the heading and the reading column sit in the middle of the page. */
.doc-head .wrap { text-align: center; }
.doc-head h1, .doc-head .updated { margin-left: auto; margin-right: auto; text-align: center; }
.doc-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.doc-tabs a { padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--dim); box-shadow: inset 0 0 0 1px var(--edge-hi);
  transition: color 160ms var(--ease), background 160ms var(--ease); }
.doc-tabs a:hover { color: var(--chalk); background: rgba(53, 225, 255, .06); }
.doc-tabs a[aria-current="page"] { color: var(--action-ink); box-shadow: none;
  background: linear-gradient(var(--gold-hi), var(--gold) 60%, #B8862A); }
.updated { margin-top: 14px; color: var(--dim); font-size: .9rem; }

.doc { max-width: 46rem; margin: 0 auto; color: var(--body); font-size: 1.02rem; line-height: 1.7; }
.doc .lede { font-size: 1.12rem; color: var(--chalk); margin: 0; }
.doc p, .doc li { color: var(--body); }
.doc strong { color: var(--chalk); }
.doc a { color: var(--mineral); }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc section { scroll-margin-top: 96px; }
.doc h2 { font-size: .9rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  text-shadow: none; margin: 52px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--edge); }
.doc h3 { font-size: 1.05rem; margin: 24px 0 6px; text-shadow: none; }

.doc .glance { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 8px; }
.doc .glance div { padding: 16px 18px; border-radius: 16px; background: linear-gradient(var(--stone), var(--stone-lo));
  box-shadow: inset 0 0 0 1px var(--edge); }
.doc .glance b { display: block; color: var(--gold-hi); font-size: .98rem; margin-bottom: 2px; }
.doc .glance span { font-size: .94rem; }

.doc .toc { margin: 30px 0 0; padding: 18px 20px; border-radius: 16px; background: rgba(3, 21, 51, .55); box-shadow: inset 0 0 0 1px var(--edge); }
.doc .toc p { margin: 0 0 8px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 800; }
.doc .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.doc .toc li { font-size: .94rem; break-inside: avoid; margin: 0 0 4px; }
.doc .toc a { color: var(--body); text-decoration: none; }
.doc .toc a:hover { color: var(--mineral); }

.doc table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--edge); }
.doc th { color: var(--dim); font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.doc td:first-child { color: var(--chalk); font-weight: 700; width: 34%; }

.doc .steps { counter-reset: s; list-style: none; padding: 0; }
.doc .steps li { counter-increment: s; position: relative; padding: 10px 0 10px 50px; }
.doc .steps li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 34px; height: 36px;
  display: grid; place-items: center; border-radius: 7px; font-weight: 800; color: var(--tile-ink);
  background: url(/site/tile.webp) center / 100% 100%; }

.doc .contact { margin: 56px 0 0; padding: 26px 24px; border-radius: 20px; text-align: center;
  background: radial-gradient(90% 70% at 50% 0%, rgba(246, 227, 166, .14), transparent 70%), linear-gradient(180deg, #0F3168, #0B2957 55%, #081F44);
  box-shadow: inset 0 0 0 1px rgba(42, 109, 199, .7), 0 24px 50px rgba(0, 0, 0, .35); }
.doc .contact p { margin: 0 0 14px; color: var(--chalk); }
.doc .mail { display: inline-block; padding: 13px 22px; border-radius: 12px; text-decoration: none; font-weight: 800;
  letter-spacing: .04em; color: var(--action-ink); background: linear-gradient(var(--gold-hi), var(--gold) 60%, #B8862A); word-break: break-all; }

@media (max-width: 600px) {
  .doc .glance { grid-template-columns: 1fr; }
  .doc .toc ol { columns: 1; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { display: none; }
  .doc tr { padding: 8px 0; border-bottom: 1px solid var(--edge); }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { width: auto; }
}
