/* /privacy, /terms, /refund, /disclaimer, /support: plain reading pages on the home page's tokens (chalk, ink,
   the faint lattice, hairline rules). Header and footer are the /features page's (features.css). Sizes are in rem
   so a larger browser text size is honoured; the column is capped in rem too, so it grows with the text and the
   page still wraps at 360px. No motion at all: nothing here needs prefers-reduced-motion. */

body.doc{font-size:1.125rem;line-height:1.65}
.doc .cat-head{height:auto;min-height:88px;padding-top:8px;padding-bottom:8px}
.doc .cat-back{text-align:right}

.lg-main{padding:32px var(--gutter) 96px;max-width:calc(42rem + 2 * var(--gutter))}

/* the draft banner: a ruled box, ink on cream, one vermilion dot (the site's "now" marker, never decoration) */
.lg-draft{border:1px solid var(--fg);background:var(--cream);padding:16px 20px 18px;margin:0 0 28px}
.lg-draft .lg-tag{display:flex;align-items:center;gap:10px;font:500 .75rem/1.2 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--fg);margin-bottom:8px}
.lg-draft .lg-tag::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--verm);flex:none}
.lg-draft p{font-size:1rem;line-height:1.55;color:var(--fg);max-width:none}

/* the five pages, one row, current one marked */
.lg-pages{display:flex;flex-wrap:wrap;gap:0 24px;padding:6px 0;border-top:1px solid var(--fg);border-bottom:1px solid var(--rule);margin-bottom:28px}
.lg-pages a{font-size:.9375rem;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;color:var(--fg-dim);transition:color 280ms var(--ease)}
.lg-pages a:hover{color:var(--acc)}
.lg-pages a[aria-current="page"]{color:var(--fg);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.35em}

/* on this page: closed by default, a document of 15-20 sections should not push its first paragraph away */
.lg-toc{margin-bottom:36px;border-bottom:1px solid var(--rule)}
.lg-toc summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:.9375rem;color:var(--fg)}
.lg-toc ol{list-style:none;padding:4px 0 16px}
.lg-toc a{display:inline-flex;align-items:center;min-height:36px;font-size:.9375rem;text-decoration:none;color:var(--fg-dim)}
.lg-toc a:hover{color:var(--acc);text-decoration:underline}

/* the document */
.lg-doc h1{font-size:clamp(2.1rem,4.2vw,3.25rem);line-height:1.04;letter-spacing:-.03em;margin-bottom:24px}
.lg-doc h2{font-size:clamp(1.5rem,2.3vw,1.85rem);line-height:1.15;letter-spacing:-.022em;margin:52px 0 14px;scroll-margin-top:24px}
.lg-doc h3{font-size:1.25rem;line-height:1.25;letter-spacing:-.015em;margin:32px 0 10px}
.lg-doc{overflow-wrap:anywhere}
.lg-doc p,.lg-doc li{max-width:none}
.lg-doc p{margin:0 0 1em}
.lg-doc ul,.lg-doc ol{margin:0 0 1.1em;padding-left:1.4em}
.lg-doc li{margin-bottom:.55em;padding-left:.2em}
.lg-doc li::marker{color:var(--fg-dim)}
.lg-doc strong{font-weight:600;color:var(--fg)}
.lg-doc em{font-style:italic}
.lg-doc hr{border:0;border-top:1px solid var(--rule);margin:32px 0}
.lg-doc code{font:400 .875em/1.4 var(--mono);background:var(--sunken);padding:.1em .35em;border-radius:4px;overflow-wrap:anywhere}
.lg-doc blockquote{margin:0 0 1.2em;padding:14px 18px 6px;border:1px solid var(--rule);background:var(--cream)}
.lg-doc blockquote p{font-size:1rem;line-height:1.55;color:var(--fg)}

/* a table is a stack of labelled rows: three long columns do not fit a 42rem column, and a stack survives
   360px and large text alike. The header row stays in the accessibility tree, only off the page. */
.lg-table{margin:0 0 1.4em;border-top:1px solid var(--fg)}
.lg-table table,.lg-table tbody,.lg-table tr,.lg-table th,.lg-table td{display:block}
.lg-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.lg-table tr{padding:14px 0 12px;border-bottom:1px solid var(--rule)}
.lg-table tbody th{font-weight:600;text-align:left;font-size:1.0625rem;line-height:1.35;margin-bottom:4px}
.lg-table td{font-size:1rem;line-height:1.55;margin-top:6px;color:var(--fg)}
.lg-table td::before{content:attr(data-label);display:block;font:500 .6875rem/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-dim);margin-bottom:1px}

/* where the text comes from, so someone can check it is the app's text */
.lg-src{margin-top:56px;padding-top:20px;border-top:1px solid var(--fg)}
.lg-src h2{font:500 .75rem/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-dim);margin-bottom:12px}
.lg-src dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 18px;font-size:.9375rem;line-height:1.5}
.lg-src dt{color:var(--fg-dim)}
.lg-src dd{overflow-wrap:anywhere;color:var(--fg)}
.lg-src code{font:400 .8125rem/1.5 var(--mono);word-break:break-all}
.lg-src p{font-size:.9375rem;line-height:1.55;color:var(--fg-dim);margin-top:12px;max-width:none}

/* support: authored, so its lead and its two contact lines read as a short page, not a policy */
.lg-doc .lg-lede{font-size:clamp(1.125rem,1.45vw,1.3rem);line-height:1.55;color:var(--fg-dim)}
.lg-doc .lg-mail{font:500 clamp(1.1rem,2vw,1.35rem)/1.3 var(--mono);margin:6px 0 1.2em;overflow-wrap:anywhere}
.lg-doc .lg-mail a{text-decoration-thickness:2px}

@media (max-width:899px){
  .doc .cat-head{min-height:64px;padding:8px 20px}
  .lg-main{padding:24px 20px 72px}
  .lg-pages{gap:0 18px}
  .lg-doc h2{margin-top:40px}
  .lg-src dl{grid-template-columns:1fr;gap:2px}
  .lg-src dd{margin-bottom:10px}
}
/* staged legal texts (draft/legal-pages): a drafting condition, a value still to be set, the Grievance Officer */
.lg-doc .lg-cond{margin:0 0 1.2em;padding:12px 16px 4px;border:1px dashed var(--fg-dim);background:transparent}
.lg-doc .lg-cond .lg-tag{font:500 .75rem/1.3 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--fg-dim);margin-bottom:6px}
.lg-doc .lg-cond p{font-size:.9375rem;line-height:1.5;color:var(--fg-dim)}
.lg-ph{background:var(--cream);color:var(--fg);outline:1px dashed var(--verm);outline-offset:1px;padding:0 3px}
.lg-officer{display:grid;grid-template-columns:max-content 1fr;gap:6px 18px;margin:0 0 1.2em;font-size:1rem;line-height:1.5}
.lg-officer dt{color:var(--fg-dim)}
.lg-officer dd{margin:0;min-width:0;overflow-wrap:anywhere}
@media (max-width:480px){.lg-officer{grid-template-columns:1fr;gap:2px}.lg-officer dd{margin-bottom:10px}}
