/* ===== The Zgeg — legal pages shared styles ===== */
@font-face{font-family:'Luckiest Guy';font-style:normal;font-weight:400;font-display:swap;src:url('luckiest-guy.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('inter-var.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:italic;font-weight:100 900;font-display:swap;src:url('inter-var-italic.woff2') format('woff2');}

:root{
  --bg:#14110a; --panel:#1d1810; --border:#4a3c22;
  --gold:#f7c02e; --gold-d:#b9740a; --green:#93c83d;
  --text:#f6efdd; --muted:#c3b48b; --body:#d8cba7; --pad:112px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;}
body{background:var(--bg);color:var(--text);font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  line-height:1.5;overflow-x:hidden;-webkit-font-smoothing:antialiased;}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
.display{font-family:'Luckiest Guy',Impact,sans-serif;font-weight:400;letter-spacing:.005em;line-height:1.12;}

.wordmark{font-family:'Luckiest Guy',Impact,sans-serif;font-weight:400;display:inline-flex;align-items:baseline;gap:.22em;line-height:1;white-space:nowrap;}
.wordmark .yoyo{letter-spacing:.01em;background:linear-gradient(180deg,#ffe07a 0%,#ffd451 30%,var(--gold) 60%,var(--gold-d) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:2px var(--bg);paint-order:stroke fill;padding:.08em 0 .04em;}
.wordmark .secret{color:var(--text);-webkit-text-stroke:2px var(--bg);paint-order:stroke fill;padding:.08em 0 .04em;}

/* ---- Nav ---- */
.nav{display:flex;align-items:center;gap:36px;height:112px;padding:0 var(--pad);border-bottom:1px solid var(--border);width:100%;}
.nav .brand{display:flex;align-items:center;gap:14px;}
.nav .brand img{height:52px;width:52px;border-radius:12px;}
.nav .brand .wordmark{font-size:26px;}
.nav .links{display:flex;align-items:center;gap:34px;margin-left:auto;font-size:14px;font-weight:600;color:var(--muted);}
.nav .links a:hover{color:var(--text);}
.nav-cta{display:inline-flex;align-items:center;gap:12px;height:48px;padding:0 22px;border-radius:999px;
  background:linear-gradient(180deg,#ffe07a 0%,var(--gold) 55%,var(--gold-d) 100%);color:#3a2a0c;font-weight:700;font-size:14px;border:2px solid var(--bg);}
.nav-cta:hover{filter:brightness(1.06);}
.arr{width:20px;height:20px;flex:none;}
.arr path{stroke:currentColor;stroke-width:2;stroke-linecap:round;fill:none;}
.burger{display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px;padding:8px;margin-left:auto;}
.burger span{display:block;width:26px;height:2px;background:var(--text);border-radius:2px;}
.mobile-menu[hidden]{display:none;}
.mobile-menu{position:fixed;inset:0;z-index:100;background:rgba(20,17,10,.98);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;}
.mobile-menu a{font-size:24px;font-weight:600;color:var(--text);}
.mobile-menu a:hover{color:var(--gold);}
.mobile-menu a.mm-cta{margin-top:10px;background:var(--gold);color:#3a2a0c;padding:14px 30px;border-radius:999px;font-weight:700;}
.mm-close{position:absolute;top:22px;right:24px;background:none;border:none;color:var(--text);font-size:30px;line-height:1;cursor:pointer;}

/* ---- Page intro ---- */
.intro{position:relative;overflow:hidden;padding:40px var(--pad) 56px;}
.intro .bg{position:absolute;inset:0;z-index:0;}
.intro .bg img{width:100%;height:100%;object-fit:cover;object-position:92% center;transform:scale(1.35);transform-origin:100% 50%;}
.intro .veil{position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(20,17,10,.95) 0%,rgba(20,17,10,.82) 60%,rgba(20,17,10,.18) 100%);}
.intro .inner{position:relative;z-index:2;}
.intro .back{display:inline-block;color:var(--gold);font-size:14px;font-weight:600;margin-bottom:32px;}
.intro .back:hover{text-decoration:underline;}
.intro h1{font-size:clamp(40px,6.4vw,74px);color:var(--text);max-width:900px;}
.intro .updated{margin-top:14px;color:var(--muted);font-size:12px;}

/* ---- Document layout ---- */
.doc-layout{display:flex;gap:96px;align-items:flex-start;border-top:1px solid var(--border);padding:56px var(--pad) 88px;}
.doc-index{width:240px;flex:none;position:sticky;top:24px;}
.doc-index .label{color:var(--gold);font-size:12px;font-weight:700;letter-spacing:.08em;margin-bottom:24px;}
.doc-index .toc{display:flex;flex-direction:column;gap:18px;}
.doc-index .toc a{color:var(--muted);font-size:14px;line-height:1.5;}
.doc-index .toc a:hover{color:var(--gold);}
.doc-index .divider{height:1px;background:var(--border);margin:24px 0;}
.doc-index .contact{color:var(--gold);font-size:13px;}
.doc-index .contact:hover{text-decoration:underline;}

.doc{flex:1;min-width:0;display:flex;flex-direction:column;gap:40px;}
.doc .lead,.doc p{color:var(--body);font-size:17px;line-height:1.75;}
.doc section{display:flex;flex-direction:column;gap:14px;scroll-margin-top:24px;}
.doc h2{color:var(--text);font-size:24px;font-weight:600;}
.doc .display-h{font-family:'Luckiest Guy',sans-serif;font-weight:400;font-size:clamp(28px,3.6vw,40px);line-height:1.2;color:var(--text);}
.doc .feature-block{border-top:1px solid var(--border);padding-top:24px;display:flex;flex-direction:column;gap:28px;}
.doc ul{list-style:none;display:flex;flex-direction:column;gap:20px;}
.doc ul li{display:flex;gap:16px;color:var(--body);font-size:17px;line-height:1.75;}
.doc ul li::before{content:"•";color:var(--gold);flex:none;}
.doc .callout{background:var(--panel);border-left:3px solid var(--gold);border-radius:8px;padding:32px;}
.doc .callout p{color:var(--text);font-size:22px;font-weight:600;line-height:1.6;}
.doc a.inline{color:var(--gold);word-break:break-word;}
.doc a.inline:hover{text-decoration:underline;}

/* ---- Footer ---- */
footer{background:var(--panel);}
.rope-x{position:relative;height:15px;overflow:hidden;
  background:repeating-linear-gradient(62deg,#5f3f10 0 5px,#9a6109 5px 8px,var(--gold) 8px 10px,#7c5208 10px 15px);
  background-size:21px 15px;border-top:1px solid rgba(0,0,0,.35);border-bottom:1px solid rgba(0,0,0,.35);}
.foot-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px var(--pad) 36px;flex-wrap:wrap;}
.foot-brand{display:flex;align-items:center;gap:22px;}
.foot-brand img{height:68px;width:68px;border-radius:16px;}
.foot-sign .l1{font-size:17px;font-style:italic;font-weight:600;color:var(--text);}
.foot-sign .l2{font-size:12px;color:var(--muted);margin-top:8px;}
.foot-links{display:flex;gap:30px;font-size:14px;flex-wrap:wrap;align-items:center;}
.foot-links .beta{color:var(--gold);font-weight:600;}
.foot-links a:hover{color:var(--gold);}
.foot-legal{display:flex;align-items:center;justify-content:space-between;gap:16px;
  border-top:1px solid var(--border);padding:24px var(--pad);font-size:12px;color:var(--muted);flex-wrap:wrap;}
.foot-legal .legal-links{display:flex;gap:26px;flex-wrap:wrap;}
.foot-legal .legal-links a:hover{color:var(--gold);}
.foot-legal .legal-links a.here{color:var(--gold);}

/* ---- Responsive ---- */
@media (max-width:1100px){:root{--pad:56px;}}
@media (max-width:900px){
  :root{--pad:28px;}
  .nav{gap:16px;height:88px;}
  .nav .links,.nav-cta{display:none;}
  .burger{display:flex;}
  .doc-layout{flex-direction:column;gap:36px;padding-top:40px;}
  .doc-index{position:static;width:100%;}
  .foot-top{flex-direction:column;align-items:flex-start;}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}
