/* IDEA TRADE legal-page component - intended to be merged with the real Stitch design */
:root { color-scheme: light; --ink:#0f172a;--muted:#475569;--border:#e2e8f0;--accent:#c45a26;--paper:#fff;--panel:#f8fafc; }
* {box-sizing:border-box}
html{font-size:16px;scroll-behavior:smooth}
body {margin:0;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.7}
a{color:#8f3b17;text-underline-offset:3px}
a:hover,a:focus-visible{color:var(--ink)}
header{border-bottom:1px solid var(--border);background:#fff}
.header-inner{margin:0 auto;max-width:1100px;min-height:78px;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.brand{text-decoration:none;color:var(--ink);font-size:1.26rem;font-weight:800;letter-spacing:0.06em}
.brand strong{color:var(--accent)}
nav{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
nav a{color:var(--muted);text-decoration:none;font-size:.9rem;font-weight:600}
.banner{background:#fff4e9;border-bottom:1px solid #edc9a8;color:#713f12;font-size:.85rem;text-align:center;padding:10px 20px}
main{max-width:880px;margin:52px auto 80px;padding:0 24px}
article h1{font-size:clamp(2rem,5vw,3rem);letter-spacing:-.025em;line-height:1.13;margin:0 0 20px}
article h2{font-size:1.38rem;line-height:1.3;margin:38px 0 14px}
article h3{font-size:1.08rem;margin:28px 0 10px}
article p,article li{color:#334155;font-size:1rem}
article li{margin:0 0 9px} article ul,article ol{padding-left:24px}
article p:first-of-type{margin-top:4px}
article strong{color:var(--ink)}
footer{border-top:1px solid var(--border);background:var(--panel)}
.footer-inner{max-width:1100px;margin:auto;padding:25px 24px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.85rem;color:var(--muted)}
.footer-inner a{color:var(--muted);margin-right:15px}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:640px){.header-inner{justify-content:center;text-align:center}nav{justify-content:center}main{margin:34px auto 60px}.footer-inner{display:block;text-align:center}}
