/* Shared styling for the informational / legal pages (privacy, terms, faq). */
:root {
  --bg:#e8eef4; --surface:#fff; --surface-2:#eef4f8; --line:#d9e2ec;
  --text:#334155; --ink:#0f172a; --muted:#64748b;
  --brand:#1F363C; --teal:#127c8a;
  --shadow:0 1px 2px rgba(15,23,42,.06),0 12px 30px rgba(15,23,42,.08);
  --sans:Inter,Aptos,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg:#0b1220; --surface:#111b27; --surface-2:#16212f; --line:#223041;
    --text:#c3cedb; --ink:#eef3f8; --muted:#8595a6; --teal:#2aa7b8;
    --shadow:0 1px 2px rgba(0,0,0,.3),0 12px 34px rgba(0,0,0,.45); }
}
* { box-sizing:border-box; }
body { margin:0; font-family:var(--sans); color:var(--text); background:var(--bg); line-height:1.62; -webkit-font-smoothing:antialiased; }
a { color:var(--teal); }

.legal-top { position:sticky; top:0; z-index:10; height:56px; display:flex; align-items:center; gap:.8rem; padding:0 1rem; background:var(--brand); color:#eef6f5; }
.legal-top img { height:23px; }
.legal-top .sp { flex:1; }
.legal-top a { color:#cfe0e0; text-decoration:none; font-size:.86rem; }
.legal-top a:hover { color:#fff; }

.legal-wrap { max-width:820px; margin:0 auto; padding:1.6rem 1.15rem 4rem; }
.legal-wrap h1 { color:var(--ink); font-size:1.7rem; letter-spacing:-.01em; margin:0 0 .2rem; }
.legal-updated { color:var(--muted); font-size:.85rem; margin:0 0 1.6rem; }
.legal-card { background:var(--surface); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); padding:1.4rem 1.5rem; }
.legal-card h2 { color:var(--ink); font-size:1.12rem; margin:1.7rem 0 .5rem; }
.legal-card h2:first-child { margin-top:0; }
.legal-card h3 { color:var(--ink); font-size:.98rem; margin:1.1rem 0 .3rem; }
.legal-card p, .legal-card li { font-size:.92rem; }
.legal-card ul { margin:.4rem 0 .8rem; padding-left:1.2rem; }
.legal-card li { margin:.25rem 0; }
.legal-card strong { color:var(--ink); }

.legal-toc { display:flex; flex-wrap:wrap; gap:.4rem .8rem; margin-bottom:1.4rem; font-size:.85rem; }
.legal-toc a { text-decoration:none; }

.legal-note { background:var(--surface-2); border:1px solid var(--line); border-radius:10px; padding:.7rem .9rem; font-size:.85rem; color:var(--muted); margin:0 0 1.4rem; }

.legal-foot { display:flex; gap:1.1rem; flex-wrap:wrap; margin-top:1.6rem; font-size:.86rem; color:var(--muted); }
.legal-foot a { text-decoration:none; }

/* FAQ */
.faq-item { border-top:1px solid var(--line); padding:.2rem 0; }
.faq-item:first-of-type { border-top:0; }
.faq-item summary { cursor:pointer; font-weight:650; color:var(--ink); font-size:.98rem; padding:.85rem 0; list-style:none; display:flex; justify-content:space-between; gap:1rem; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; color:var(--teal); font-weight:700; }
.faq-item[open] summary::after { content:"–"; }
.faq-item .faq-body { padding:0 0 .95rem; }
.faq-item .faq-body p { margin:.2rem 0 .6rem; }
