/* Shared styles for the Privacy, Terms and Support pages. Matches index.html. */
:root{
  --bg:#131312; --surface:#1D1D1B; --raised:#262624; --stroke:rgba(255,255,255,.1);
  --paper:#EEE7D6; --ink:#1B1915; --ink-muted:#5E584D;
  --accent:#F5C542; --text:#F2EDE3; --text-muted:#9A958B;
  --tape:rgba(216,201,158,.84); --marker:#C4452F;
  --f-logo:"Marker Felt","Gochi Hand",cursive;
  --f-head:"Avenir Next Condensed","Barlow Condensed",sans-serif;
  --f-body:"Avenir Next","Nunito Sans",system-ui,sans-serif;
  --f-hand:"Noteworthy","Kalam",cursive;
  --f-type:"American Typewriter","Special Elite",ui-monospace,monospace;
  --grain-dark:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 -.12'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --grain-light:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--f-body);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body::before{content:"";position:fixed;inset:0;background-image:var(--grain-light);opacity:.16;pointer-events:none;z-index:100;mix-blend-mode:screen}
a{color:inherit}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
.type{font-family:var(--f-type);text-transform:uppercase;letter-spacing:.12em;font-size:12px;color:var(--text-muted)}

.logo{font-family:var(--f-logo);font-size:var(--s,34px);line-height:1;color:var(--text);transform:rotate(-5deg);display:inline-flex;flex-direction:column;position:relative;text-decoration:none;font-weight:700}
.logo span:last-child{margin-top:calc(var(--s,34px) * -.3);margin-left:calc(var(--s,34px) * .42);position:relative;z-index:0}
.logo span:last-child::before{content:"";position:absolute;left:-.12em;bottom:.08em;width:1.9em;height:.09em;background:var(--accent);border-radius:9px;transform:rotate(-4deg);z-index:-1}
.logo .flash{position:absolute;right:calc(var(--s,34px) * -.75);top:48%;width:calc(var(--s,34px) * .5);height:calc(var(--s,34px) * .5)}

nav .wrap{display:flex;align-items:center;justify-content:space-between;padding-top:18px;padding-bottom:22px}
.back{text-decoration:none}
.back:hover{color:var(--accent)}

.doc-head{padding:50px 0 40px;max-width:760px;margin:0 auto}
.doc-head h1{font-family:var(--f-head);font-weight:700;font-size:clamp(52px,8vw,88px);line-height:.95;margin:14px 0 18px}
.doc-head p{color:var(--text-muted);font-size:19px;margin:0}

.sheet{position:relative;max-width:760px;margin:0 auto 110px;filter:drop-shadow(0 10px 16px rgba(0,0,0,.5));transform:rotate(-.4deg)}
.sheet .tape{position:absolute;top:-12px;left:50%;width:96px;height:24px;background:var(--tape);transform:translateX(-50%) rotate(-2deg);z-index:3}
.paper{background:var(--paper);color:var(--ink);position:relative;padding:54px 56px 48px}
.paper::after{content:"";position:absolute;inset:0;background:var(--grain-dark),linear-gradient(135deg,rgba(255,255,255,.22),transparent 50%,rgba(0,0,0,.08));mix-blend-mode:multiply;opacity:.8;pointer-events:none}
.paper h2{font-family:var(--f-head);font-weight:700;font-size:32px;line-height:1;margin:40px 0 12px}
.paper h2:first-child{margin-top:0}
.paper h3{font-family:var(--f-head);font-weight:700;font-size:23px;margin:26px 0 6px}
.paper p,.paper li{color:#3d3931}
.paper ul{padding-left:20px}
.paper li{margin:6px 0}
.paper a{color:var(--ink);text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:3px}
.paper .meta{font-family:var(--f-type);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-muted)}
.note{font-family:var(--f-hand);font-weight:700;color:var(--marker);transform:rotate(-1.5deg);display:inline-block;font-size:19px}
.tldr{background:rgba(245,197,66,.35);padding:18px 22px;border-radius:4px;margin:0 0 30px}
.tldr p{margin:0;color:var(--ink)}

.contact-card{display:flex;gap:18px;align-items:center;flex-wrap:wrap;background:var(--ink);color:var(--text);border-radius:16px;padding:22px 24px;margin:26px 0 8px;position:relative;z-index:1}
.contact-card p{margin:0;color:var(--text-muted);flex:1;min-width:200px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:var(--f-head);font-weight:700;font-size:19px;border-radius:14px;padding:12px 22px;text-decoration:none;background:var(--accent);color:var(--ink)!important;transition:transform .2s cubic-bezier(.3,1.6,.5,1)}
.btn:hover{transform:rotate(-1.5deg) scale(1.03)}

details{border-top:1px dashed rgba(27,25,21,.25);padding:14px 0;position:relative;z-index:1}
details:last-of-type{border-bottom:1px dashed rgba(27,25,21,.25)}
summary{font-family:var(--f-head);font-weight:700;font-size:22px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;color:var(--ink)}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-family:var(--f-type);color:var(--ink-muted);transition:transform .2s}
details[open] summary::after{transform:rotate(45deg)}
details p{margin:10px 0 4px}

/* footer (shared with index.html) */
footer{border-top:1px solid var(--stroke);padding:34px 0 50px}
footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap}
.foot-links{display:flex;gap:20px;flex-wrap:wrap}
.foot-links a{text-decoration:none}
.foot-links a:hover,.foot-links a[aria-current]{color:var(--accent)}
.maker{display:flex;align-items:center;gap:12px;font-family:var(--f-hand);font-size:17px;color:var(--text-muted)}
.maker a{color:var(--text);text-decoration:none;font-weight:700;background:linear-gradient(var(--accent),var(--accent)) 0 88%/100% .18em no-repeat}
.maker a:hover{color:var(--accent)}
.maker .li{display:inline-flex;width:34px;height:34px;border-radius:10px;align-items:center;justify-content:center;background:var(--surface);box-shadow:inset 0 0 0 1px var(--stroke);color:var(--text);background-image:none;transition:transform .2s cubic-bezier(.3,1.6,.5,1),background-color .2s}
.maker .li:hover{background-color:#0A66C2;color:#fff;transform:rotate(-6deg) scale(1.08)}
.maker .li svg{width:17px;height:17px}

@media (max-width:640px){
  .wrap{padding:0 16px}
  .paper{padding:40px 22px 34px}
  .doc-head{padding:30px 0 30px}
  footer .wrap{flex-direction:column;align-items:flex-start}
}
