/* SITE CHROME — one header (#gh) and one footer (#gf) on every page. 10/27/26, build VM.
   Scoped by ID and reset with all:unset because several pages carry bare `nav`, `header`
   and `footer` rules (pitch, privacy, terms) that would otherwise leak into it.
   No backdrop-filter anywhere: it detaches sticky bars on iOS Safari (build ET). */
#gh,#gh :is(nav,a,span,summary,details,div,button):where(:not(.gh-x,.gh-x *)),#gf,#gf :is(nav,a,span,div,p){all:unset;box-sizing:border-box}
#gh{--gh-ink:#efe9df;--gh-dim:#bdb5a8;--gh-gold:#c9a96e;--gh-gold-hi:#f0d69f;--gh-h:64px;
  display:flex;align-items:center;gap:clamp(14px,2.2vw,30px);height:var(--gh-h);width:100%;
  padding:0 clamp(18px,4vw,48px);z-index:60;color:var(--gh-ink);
  font-family:'DM Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1;
  background:#0f0d0bf0;border-bottom:1px solid #ffffff14;transition:background-color .35s ease,border-color .35s ease}
#gh.gh--over{position:fixed;top:0;left:0;right:0;background:linear-gradient(180deg,#0a0908d9 0%,#0a090899 55%,#0a090800 100%);border-bottom-color:transparent}
#gh.gh--over.gh-solid{background:#0f0d0bf0;border-bottom-color:#ffffff14}
#gh.gh--flow{position:sticky;top:0}
#gh.gh--static{position:relative}
#gh .gh-brand{display:inline-flex;align-items:center;gap:11px;cursor:pointer;color:var(--gh-ink);white-space:nowrap;flex:0 0 auto}
#gh .gh-mark,#gf .gh-mark{display:inline-block;width:30px;height:30px;flex:0 0 auto;background:currentColor;
  -webkit-mask:url(/coin-logo.png) center/contain no-repeat;mask:url(/coin-logo.png) center/contain no-repeat}
#gh .gh-name{display:inline;font-family:'DM Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--gh-ink)}
#gh .gh-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(16px,2.1vw,30px);margin-left:auto}
#gh .gh-nav a,#gh .gh-sheet a:not(.gh-cta){display:inline-block;cursor:pointer;color:var(--gh-dim);text-transform:uppercase;letter-spacing:.16em;font-size:12px;
  padding:7px 0;border-bottom:1px solid transparent;transition:color .25s,border-color .25s;white-space:nowrap}
#gh .gh-nav a:hover{color:var(--gh-ink)}
#gh .gh-nav a[aria-current]{color:var(--gh-gold-hi);border-bottom-color:#c9a96e80}
#gh .gh-cta,#gf .gh-cta{display:inline-flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap;
  font-family:'DM Mono',ui-monospace,monospace;font-size:11.5px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gh-gold-hi,#f0d69f);border:1px solid #c9a96e;padding:10px 16px;border-radius:999px;transition:background-color .25s,color .25s}
#gh .gh-cta:hover,#gf .gh-cta:hover{background:#c9a96e;color:#0a0908}
#gh a:focus-visible,#gh summary:focus-visible,#gf a:focus-visible{outline:2px solid #c9a96e;outline-offset:4px}
#gh .gh-x{display:flex;align-items:center}
/* mobile menu — a <details>, so it opens with no JavaScript at all */
#gh .gh-m{display:none}
#gh .gh-m>summary{display:inline-flex;align-items:center;gap:9px;cursor:pointer;list-style:none;color:var(--gh-ink);
  text-transform:uppercase;letter-spacing:.2em;font-size:11.5px;padding:10px 0 10px 10px}
#gh .gh-m>summary::-webkit-details-marker{display:none}
#gh .gh-m>summary .gh-burger{display:inline-block;position:relative;width:22px;height:12px}
#gh .gh-m>summary .gh-burger::before,#gh .gh-m>summary .gh-burger::after{content:'';position:absolute;left:0;right:0;height:1px;background:currentColor;transition:transform .3s,top .3s}
#gh .gh-m>summary .gh-burger::before{top:1px}#gh .gh-m>summary .gh-burger::after{top:10px}
#gh .gh-m[open]>summary .gh-burger::before{top:6px;transform:rotate(45deg)}#gh .gh-m[open]>summary .gh-burger::after{top:6px;transform:rotate(-45deg)}
#gh .gh-sheet{display:flex;flex-direction:column;position:fixed;left:0;right:0;top:var(--gh-h);bottom:0;overflow:auto;
  background:#0c0a09;padding:28px clamp(22px,6vw,48px) calc(40px + env(safe-area-inset-bottom,0px));border-top:1px solid #ffffff14}
#gh .gh-sheet nav{display:flex;flex-direction:column;gap:2px}
#gh .gh-sheet nav a:not(.gh-cta){display:block;font-family:'Bodoni Moda',Georgia,serif;text-transform:none;letter-spacing:0;font-size:clamp(30px,8.6vw,44px);line-height:1.18;
  color:var(--gh-ink);padding:6px 0;border-bottom:1px solid #ffffff12}
#gh .gh-sheet nav a[aria-current]{color:var(--gh-gold-hi)}
#gh .gh-sheet .gh-cta{align-self:flex-start;margin-top:26px;font-size:12.5px;padding:13px 20px}
#gh .gh-sheet .gh-sub{display:block;margin-top:22px;color:var(--gh-dim);font-size:11px;letter-spacing:.16em;text-transform:uppercase;line-height:1.9}
#gh .gh-sheet .gh-sub a{display:inline;color:var(--gh-dim);cursor:pointer;text-transform:uppercase;letter-spacing:.16em;font-size:11px;padding:0;border:0;white-space:normal}
@media (width<=980px){
  #gh .gh-nav,#gh>.gh-cta{display:none}
  #gh .gh-m{display:block;margin-left:auto}
}
@media (width<=600px){#gh:has(.gh-x) .gh-name{display:none}}
@media (width<=420px){#gh .gh-name{font-size:11px;letter-spacing:.16em}#gh .gh-mark{width:26px;height:26px}}
html.gh-lock{overflow:hidden}

/* ---------------- footer ---------------- */
#gf{display:block;position:relative;z-index:1;width:100%;background:#0a0908;color:#efe9df;border-top:1px solid #ffffff17;
  font-family:'DM Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.6;
  padding:clamp(48px,7vw,84px) clamp(20px,5vw,64px) calc(30px + env(safe-area-inset-bottom,0px))}
#gf .gf-in,#gh-embed.gf-in{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(4,minmax(0,1fr));gap:clamp(26px,3.4vw,48px);max-width:1280px;margin:0 auto}
#gf .gf-id{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
#gf .gf-brand{display:inline-flex;align-items:center;gap:14px;cursor:pointer;color:#efe9df}
#gf .gf-brand .gh-mark{width:44px;height:44px}
#gf .gf-brand span:not(.gh-mark){display:inline;font-family:'Bodoni Moda',Georgia,serif;font-size:24px;letter-spacing:0;text-transform:none;line-height:1.1}
#gf .gf-line{display:block;font-family:'Bodoni Moda',Georgia,serif;font-style:italic;font-size:17px;line-height:1.4;color:#d8d1c5;max-width:26ch}
:is(#gf,#gh-embed) .gf-col{display:flex;flex-direction:column;gap:9px}
:is(#gf,#gh-embed) .gf-h{display:block;color:#c9a96e;font-family:'DM Mono',ui-monospace,monospace;font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;margin:0 0 6px}
:is(#gf,#gh-embed) .gf-col a{display:inline-block;align-self:flex-start;cursor:pointer;color:#cfc8bc;font-family:'DM Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.08em;
  line-height:1.5;text-decoration:none;border:0;border-bottom:1px solid transparent;transition:color .2s,border-color .2s;padding:0;margin:0;background:none}
:is(#gf,#gh-embed) .gf-col a:hover{color:#fff;border-bottom-color:#c9a96e99}
:is(#gf,#gh-embed) .gf-col a[aria-current]{color:#f0d69f}
:is(#gf,#gh-embed) .gf-after a em{font-style:italic;font-family:'Bodoni Moda',Georgia,serif;letter-spacing:0;font-size:14px;color:#e9dcc0}
#gf .gf-base{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;max-width:1280px;margin:clamp(40px,5vw,60px) auto 0;padding-top:22px;border-top:1px solid #ffffff14;
  color:#a59d91;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
#gf .gf-base a{display:inline;cursor:pointer;color:#cfc8bc;border-bottom:1px solid #ffffff2e}
#gf .gf-base a:hover{color:#fff}
#gf .gf-base .gf-gold{color:#e0c48a}
#gf .gf-base .gf-push{margin-left:auto}
@media (width<=1080px){#gf .gf-in,#gh-embed.gf-in{grid-template-columns:repeat(2,minmax(0,1fr))}#gf .gf-id{grid-column:1/-1}}
@media (width<=520px){#gf .gf-base .gf-push{margin-left:0}}
/* homepage: the link grid embedded inside its own CTA footer */
#gh-embed.gf-in{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1240px;margin-left:0;padding:clamp(34px,4vw,52px) clamp(20px,5vw,72px);margin-top:clamp(34px,4vw,52px);border-top:1px solid #ffffff14;position:relative;z-index:2}
#gh-embed .gf-col,#gh-embed .gf-col a,#gh-embed .gf-h{all:unset;box-sizing:border-box}
#gh-embed .gf-col{display:flex;flex-direction:column;gap:9px}
#gh-embed .gf-h{display:block;color:#c9a96e;font-family:'DM Mono',ui-monospace,monospace;font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;margin:0 0 6px}
#gh-embed .gf-col a{display:inline-block;align-self:flex-start;cursor:pointer;color:#cfc8bc;font-family:'DM Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.08em;line-height:1.5;border-bottom:1px solid transparent}
#gh-embed .gf-col a:hover{color:#fff;border-bottom-color:#c9a96e99}
#gh-embed .gf-col a:focus-visible{outline:2px solid #c9a96e;outline-offset:4px}
#gh-embed .gf-after a em{font-style:italic;font-family:'Bodoni Moda',Georgia,serif;font-size:14px;color:#e9dcc0}
@media (width<=1080px){#gh-embed.gf-in{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){#gh,#gh *,#gf *{transition:none!important}}
#gh .gh-x #execTip{top:72px}

@media (width<=760px){#gh-embed.gf-in{padding-right:86px}}
