/* Shared by the legal and help pages. Tokens match auth.css and index.html. */
:root {
  --bg: #ffffff; --bg-soft: #faf8f9; --card: #ffffff; --ink: #2d1a29; --ink-soft: #655661; --ink-faint: #7a6c76;
  --line: #e8e0e5; --punch: #2d1a29; --punch-soft: #e7ff56; --punch-text: #9b1c1c;
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.02rem; line-height: 1.65; }
a { color: var(--punch-text); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--punch); outline-offset: 3px; border-radius: 6px; }
.doc { max-width: 720px; margin: 0 auto; padding: 28px max(20px, env(safe-area-inset-right, 0px)) 64px max(20px, env(safe-area-inset-left, 0px)); overflow-wrap: break-word; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.mark svg { width: 30px; height: 30px; }
h1 { font-family: var(--display); font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 850; letter-spacing: -0.03em; line-height: 1.08; margin: 40px 0 8px; }
h2 { font-family: var(--display); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 40px 0 8px; scroll-margin-top: 16px; }
h3 { font-size: 1.05rem; margin: 20px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 6px; }
.updated { color: var(--ink-faint); font-size: .92rem; margin: 0 0 24px; }
.lede { color: var(--ink-soft); font-size: 1.1rem; }
.toc { background: var(--bg-soft); border-radius: 16px; padding: 16px 20px; margin: 0 0 8px; }
.toc b { font-family: var(--display); }
.toc ol { margin: 8px 0 0; columns: 2 14rem; }
.toc li { margin-bottom: 2px; break-inside: avoid; }
.todo { background: #fff176; color: #17121f; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.note { border-left: 4px solid var(--punch); background: var(--punch-soft); color: var(--ink); padding: 12px 16px; border-radius: 0 12px 12px 0; margin: 0 0 14px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 0 0 14px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; padding: 14px 28px 14px 0; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--punch-text); line-height: 1.2; }
details[open] summary::after { content: "\2212"; }
details > div { padding-bottom: 8px; }
.status { background: var(--bg-soft); border-radius: 16px; padding: 16px 20px; font-weight: 650; }
.docfoot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; }
.docfoot a { color: var(--ink-soft); }

/* The site's header and footer on the help and legal pages, so there is always a way back. */
.dtop { background: #2d1a29; color: #fff; position: sticky; top: 0; z-index: 5; }
.dtop .in, .dfoot .in { max-width: 1180px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); }
.dtop .in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
.dtop .wm { font-weight: 800; font-size: 24px; letter-spacing: -0.04em; display: inline-flex; align-items: center; text-decoration: none; color: #fff; margin-right: auto; }
.dtop .wm i { display: inline-block; width: .62em; height: .62em; border-radius: 50%; margin: 0 .03em; transform: translateY(.05em); }
.dtop nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.dtop nav a { color: #d9cbd4; text-decoration: none; font-weight: 600; padding: 8px 0; }
.dtop nav a:hover { color: #fff; }
.dtop nav a.cta { background: #e7ff56; color: #2d1a29; border-radius: 999px; padding: 9px 18px; font-weight: 700; }
.back { margin: 0 0 4px; font-size: .95rem; }
.back a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.back a:hover { color: var(--ink); text-decoration: underline; }
.doc h1 { margin-top: 18px; }
.dfoot { background: #2d1a29; color: #d9cbd4; margin-top: 24px; }
.dfoot .in { padding-top: 28px; padding-bottom: 28px; display: grid; gap: 14px; }
.dfoot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.dfoot a { color: #fff; text-decoration: none; font-weight: 600; padding: 4px 0; }
.dfoot a:hover { text-decoration: underline; }
.dfoot small { font-size: .88rem; }
