/* Support, privacy, terms and legal notice: the homepage's look (light grey page, white cards,
   rounded heavy type), set for reading. Colour only as fills, never as text. */
:root {
  color-scheme: light;
  --page: #f5f4f9;
  --card: #ffffff;
  --ink: #1c1c1e;
  --text: #3a3a40;
  --soft: #6b6b72;
  --line: #e6e5ec;
  --tint: #eeedf4;
  --green: #81da50;
  --round: "Nunito", ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 500 17px/1.7 var(--round); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, summary:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Top bar, as on the homepage */
.top { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--page) 80%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 21px; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; gap: 22px; font-weight: 700; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--soft); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }
.badge-link { display: inline-flex; flex: 0 0 auto; border-radius: 8px; }

/* The document */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(36px, 7vw, 72px) 0 clamp(56px, 9vw, 96px); }
.eyebrow { display: block; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 900; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(36px, 6.4vw, 54px); line-height: 1.04; }
.doc .lead { margin: 18px 0 0; font-size: clamp(18px, 2.2vw, 20px); line-height: 1.6; color: var(--soft); max-width: 58ch; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.meta li { font-size: 13px; font-weight: 800; color: var(--soft); background: var(--tint); border-radius: 99px; padding: 5px 12px; line-height: 1.4; }

.card { background: var(--card); border-radius: 24px; padding: clamp(22px, 4vw, 30px); box-shadow: 0 1px 0 rgba(28, 28, 30, .03), 0 18px 40px -32px rgba(40, 30, 80, .35); }
.summary { margin-top: 36px; }
.summary h2 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--text); line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") 50% / 14px no-repeat; }
.ticks b { color: var(--ink); font-weight: 800; }

.toc { margin-top: 18px; padding-block: 20px; }
.toc h2 { font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; columns: 2; column-gap: 28px; }
.toc li { counter-increment: toc; break-inside: avoid; }
.toc a { display: flex; gap: 10px; padding: 5px 0; font-weight: 700; font-size: 15px; line-height: 1.45; text-decoration: none; color: var(--text); }
.toc a::before { content: counter(toc); flex: 0 0 auto; min-width: 18px; color: var(--soft); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--ink); }

.doc section { margin-top: clamp(40px, 6vw, 56px); scroll-margin-top: 84px; counter-increment: part; }
.doc { counter-reset: part; }
.doc section > h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(23px, 3vw, 27px); line-height: 1.2; margin-bottom: 14px; }
.doc section > h2::before { content: counter(part); flex: 0 0 auto; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; letter-spacing: 0; color: var(--soft); transform: translateY(-3px); }
.doc.plain section > h2::before { display: none; }
.doc h3 { font-size: 18px; letter-spacing: -0.01em; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc p { margin: 0 0 14px; }
.doc ul.list { margin: 0 0 14px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.doc ul.list li { position: relative; padding-left: 22px; }
.doc ul.list li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: #c9c8d2; }
.doc strong { color: var(--ink); font-weight: 800; }

/* One card per use of data: what, why, on what basis, for how long */
.uses { display: grid; gap: 14px; margin: 18px 0 8px; }
.use h3 { margin: 0 0 12px; font-size: 18px; }
.use .facts { margin: 0; }
.use .facts dt { font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); padding-top: 2px; }
.use .facts div { grid-template-columns: 9em 1fr; padding: 12px 0; }
.use .facts div:first-child { padding-top: 0; }
.use .facts div:last-child { padding-bottom: 0; }

.facts { margin: 16px 0 6px; padding: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 12em 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts div:last-child { padding-bottom: 0; }
.facts dt { font-weight: 800; color: var(--ink); }
.facts dd { margin: 0; color: var(--text); }
.card > .facts { margin: 0; }

.note { margin: 18px 0; padding: 16px 20px; border-radius: 18px; background: var(--tint); color: var(--text); font-size: 16px; line-height: 1.6; }
.note strong { color: var(--ink); }

/* Support */
.contact { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; }
.contact h2 { font-size: 22px; margin-bottom: 4px; }
.contact p { margin: 0; color: var(--soft); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; }
.button:hover { background: #000; }
.faq { margin-top: 18px; padding-block: 6px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; font-weight: 800; font-size: 17px; line-height: 1.4; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1e' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") 50% / 14px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 18px; padding-right: 44px; }

/* Footer, as on the homepage */
footer { padding-block: 34px calc(34px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; }
footer .wrap { display: flex; gap: 14px 18px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-left: auto; }
footer a { text-decoration: none; font-weight: 700; }
footer a:hover, footer a[aria-current="page"] { color: var(--ink); }
@media (max-width: 860px) { .top nav { display: none; } .top .badge-link { margin-left: auto; } footer .wrap { flex-direction: column; text-align: center; gap: 12px; } footer nav { margin-left: 0; justify-content: center; } }

@media (max-width: 720px) {
  .toc ol { columns: 1; }
  .facts div, .use .facts div { grid-template-columns: 1fr; gap: 2px; }
  .facts div { padding: 12px 0; }
  .contact .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .faq summary::after { transition: none; } }
@media print {
  .top, footer, .toc { display: none; }
  body { background: #fff; font-size: 12pt; }
  .card { box-shadow: none; border: 1px solid var(--line); }
  .doc { padding: 0; }
}
