/* The legal pages' one stylesheet (tools/legal_pages.py writes the pages).
   Mira's own tokens, faces and lockup, restated here because the pages load
   nothing else of the app: the same values as styles.css's :root, .brand-mark
   and .brand-name. */
:root{
  --ink:#1A1A1A; --ink-soft:#605F5F; --ink-faint:#767676;
  --panel:#FFFFFF; --line:#EEEEEE; --line-strong:#DADADA;
  --blue:#0099FF; --blue-text:#0073BF; --bg-gradient-end:#CFE2FC;
  --disp:'Manrope',sans-serif; --body:'Inter',sans-serif; --brand:'Montserrat',sans-serif;
}
*{box-sizing:border-box; margin:0; padding:0}
body{font-family:var(--body); color:var(--ink); background:var(--panel); line-height:1.65;
  -webkit-text-size-adjust:100%}
a:focus-visible{outline:2px solid var(--blue); outline-offset:2px}

.legal-head{border-bottom:1px solid var(--line); padding:16px 20px}
.legal-logo{display:inline-flex; align-items:center; gap:.224em; font-size:20px; line-height:1; text-decoration:none; border-radius:6px}
.brand-mark{height:.99em; width:auto; display:block; flex:none}
.brand-name{font-family:var(--brand); font-weight:700; color:var(--ink); position:relative; top:.067em}

/* About 70 characters a line at body size; the page, not the text, gives way
   on a phone. pre-wrap keeps the supplied text's own spacing as written. */
.legal-doc{max-width:720px; margin:0 auto; padding:40px 20px 56px; font-size:15px; overflow-wrap:break-word}
.legal-doc p,.legal-doc li,.legal-doc h1,.legal-doc h2{white-space:pre-wrap}
.legal-doc h1{font-family:var(--disp); font-size:30px; font-weight:800; line-height:1.2; letter-spacing:-.01em}
.legal-date{margin-top:8px; font-size:13.5px; color:var(--ink-soft)}
.legal-doc h2{font-family:var(--disp); font-size:18.5px; font-weight:700; line-height:1.3; margin-top:36px; margin-bottom:10px}
.legal-doc p{margin-top:12px}
.legal-date + p{margin-top:28px}
.legal-doc h2 + p{margin-top:0}
.legal-doc ul{margin-top:10px; padding-left:22px}
.legal-doc li{margin-top:6px}
.legal-doc li::marker{color:var(--ink-faint)}

.legal-foot{border-top:1px solid var(--line); padding:20px; text-align:center; font-size:12px; color:var(--ink-faint)}

@media (max-width:600px){
  .legal-doc{padding:28px 16px 44px; font-size:14.5px}
  .legal-doc h1{font-size:25px}
  .legal-doc h2{font-size:17px; margin-top:30px}
}
