/* v201: moved verbatim out of terms.html's inline <style> — the strict CSP
   (style-src 'self') refuses <style> elements. Loaded at the same point in the
   cascade (after app.css, before canvas.css). Edit here, not in the page. */
/* R145 — a plain content page (Terms/Privacy/FAQ all share this shell).
   Reuses index.html's nav/footer markup and tokens rather than inventing a
   new look; the only page-local addition is .legal, a readable prose
   column (a 680px measure is comfortable to read at this font size —
   .sect elsewhere in the app runs edge-to-edge because cards don't need a
   line-length limit, but paragraphs do). */
.legal{max-width:680px;margin:0 auto;padding:48px 5% 64px}
.legal h1{font-size:clamp(26px,3.2vw,36px);font-weight:600;margin:0 0 6px}
.legal .updated{font-size:12.5px;color:var(--text3);margin-bottom:32px}
.legal h2{font-size:18px;font-weight:600;margin:32px 0 10px}
.legal p{font-size:14px;line-height:1.7;color:var(--text2);margin-bottom:14px}
.legal ul{margin:0 0 14px;padding-left:22px}
.legal li{font-size:14px;line-height:1.7;color:var(--text2);margin-bottom:6px}
.legal .fill{background:var(--accent-soft);color:var(--accent);border-radius:4px;padding:0 5px;font-weight:600}
.legal .note{margin-top:40px;padding:16px 18px;border-left:3px solid var(--accent);font-size:13px;color:var(--text2);line-height:1.65}
/* R185: questions and sections open on tap (native <details>, works
   without JavaScript and with the keyboard). */
.faq-item,.faq-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-obj);box-shadow:var(--shadow);margin-bottom:12px}
.faq-card{padding:20px 22px}
.faq-card-t{font-size:16px;font-weight:700;margin:0 0 14px}
.faq-a{font-size:14px;line-height:1.7;color:var(--text2)}
.faq-a a{color:var(--brand)}
details.faq-item{padding:0}
details.faq-item>summary{list-style:none;cursor:pointer;display:block;position:relative;padding:17px 50px 17px 22px;margin:0;font-size:15px;font-weight:700;line-height:1.4;color:var(--text);border-radius:var(--r-obj)}
details.faq-item>summary::-webkit-details-marker{display:none}
details.faq-item>summary::after{content:"";position:absolute;right:22px;top:50%;width:8px;height:8px;border-right:2px solid var(--text3);border-bottom:2px solid var(--text3);transform:translateY(-75%) rotate(45deg);transition:transform .15s}
details.faq-item[open]>summary::after{transform:translateY(-25%) rotate(-135deg)}
details.faq-item>summary:hover{color:var(--brand)}
details.faq-item>summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
details.faq-item>summary h2{display:inline;font-size:15px;font-weight:700;margin:0;color:inherit;line-height:inherit}
details.faq-item>.faq-a{padding:0 22px 20px}
details.faq-item>.faq-a>p:last-child,details.faq-item>.faq-a>ul:last-child{margin-bottom:0}
.legal h3{font-size:14.5px;font-weight:700;margin:18px 0 8px;color:var(--text)}
.tbl-wrap{overflow-x:auto;margin:0 0 14px}
.tbl-wrap table{margin:0}
@media (max-width:480px){.tbl-wrap th,.tbl-wrap td{padding:7px 6px;font-size:12.5px}}
@media (prefers-reduced-motion:reduce){details.faq-item>summary::after{transition:none}}
