/* Shared styles for egoyibo.com legal pages (terms, privacy, aml, risk-disclosure, cookies, fees-refunds). */
:root { --bg: #F5F4F2; --ink: #17120E; --muted: #6B635C; --primary: #C2410C; --accent: #F5A524; --card: rgba(255,255,255,.78); --line: rgba(23,18,14,.09); --code: rgba(228,80,11,.08); }
@media (prefers-color-scheme: dark) { :root { --bg: #0F0C0A; --ink: #F5F1EC; --muted: #A69C92; --primary: #FF8A4C; --card: rgba(255,255,255,.05); --line: rgba(255,255,255,.1); --code: rgba(240,97,28,.14); } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Figtree, system-ui, sans-serif; line-height: 1.65; overflow-x: hidden; }
.glow { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.glow i { position: absolute; border-radius: 50%; filter: blur(80px); }
.glow i:nth-child(1) { width: 420px; height: 360px; left: -140px; top: -140px; background: #E4500B; opacity: .16; }
.glow i:nth-child(2) { width: 340px; height: 280px; right: -140px; top: 60px; background: #F5A524; opacity: .11; }
.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Outfit, sans-serif; font-weight: 700; font-size: 21px; color: var(--ink); text-decoration: none; }
.pill { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 14px; padding: 9px 15px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); white-space: nowrap; }
nav.legal-nav { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; }
nav.legal-nav::-webkit-scrollbar { display: none; }
nav.legal-nav a { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); }
nav.legal-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
article { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 28px 22px; margin-bottom: 28px; }
@media (min-width: 640px) { article { padding: 40px 44px; } }
h1 { font-family: Outfit, sans-serif; font-weight: 700; font-size: clamp(30px, 6vw, 42px); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 8px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.summary { background: var(--code); border-radius: 18px; padding: 16px 18px; margin: 0 0 28px; font-size: 15px; }
.summary b { display: block; font-family: Outfit, sans-serif; margin-bottom: 4px; }
.summary ul { margin: 6px 0 0; padding-left: 20px; }
h2 { font-family: Outfit, sans-serif; font-weight: 600; font-size: 21px; line-height: 1.3; margin: 34px 0 8px; scroll-margin-top: 16px; }
h3 { font-family: Outfit, sans-serif; font-weight: 600; font-size: 17px; margin: 22px 0 6px; }
p, li { font-size: 16px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--primary); }
strong { font-weight: 600; }
.table-scroll { overflow-x: auto; margin: 4px 0 16px; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--code); }
tr:last-child td { border-bottom: 0; }
code { background: var(--code); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
footer.bottom { padding: 8px 0 36px; color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
footer.bottom a { color: var(--muted); }
