/* Shared styling for Pixel Flow Studio sub-pages (legal, referral) */
:root{
  --bg:#EFF3F2;--surface:#FFFFFF;--ink:#13201E;--ink-2:#2C3A37;--muted:#5E6B68;
  --line:#E1E8E6;--teal-900:#0B2A29;--accent:#168C7D;--mint:#79D4C6;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.7;-webkit-font-smoothing:antialiased;font-size:16.5px}
h1,h2,h3{font-family:'Space Grotesk',sans-serif;font-weight:600;line-height:1.15;letter-spacing:-.02em}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:780px;margin:0 auto;padding:0 26px}

header{position:sticky;top:0;z-index:10;background:rgba(239,243,242,.85);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
header .wrap{max-width:1140px;display:flex;align-items:center;justify-content:space-between;height:70px}
.logo img{height:21px;display:block}
.back{font-size:15px;font-weight:500;color:var(--ink-2)}

.doc{padding:64px 0 80px}
.doc .eyebrow{font-size:12.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.doc h1{font-size:clamp(32px,5vw,46px);margin:14px 0 10px}
.doc .updated{color:var(--muted);font-size:14.5px;margin-bottom:14px}
.doc .intro{font-size:18px;color:var(--ink-2);margin-bottom:10px}
.note{background:#FFF6E9;border:1px solid #F0D9A8;border-radius:12px;padding:16px 20px;font-size:14.5px;color:#6b531f;margin:24px 0}
.doc h2{font-size:23px;margin:42px 0 12px;padding-top:8px}
.doc h3{font-size:18px;margin:26px 0 8px}
.doc p{margin:0 0 14px;color:var(--ink-2)}
.doc ul,.doc ol{margin:0 0 16px 22px;color:var(--ink-2)}
.doc li{margin:0 0 8px}
.doc strong{color:var(--ink)}
.toc{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px 26px;margin:28px 0 40px}
.toc h2{font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 12px;font-family:'Inter';font-weight:600}
.toc ol{margin:0 0 0 18px;columns:2;gap:24px}
.toc a{font-size:14.5px}
@media(max-width:620px){.toc ol{columns:1}}

footer{background:var(--teal-900);color:rgba(255,255,255,.6);padding:40px 0;font-size:14px}
footer .wrap{max-width:1140px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
footer a{color:rgba(255,255,255,.78)}
footer .logo img{filter:invert(1)}
