/* The one bond.it site shell: header (logo, main nav, network pill, account) and footer, identical on every page.
   Markup: operations/site-shell/{header,footer}.html, stamped by operations/site-shell.mjs. Behaviour: site-links.js.
   Loaded last on every page and self-contained (no page variables), so page stylesheets never restyle it.
   Do not add .site-header/.site-footer rules anywhere else. */
body{margin:0}
.site-header,.site-header *,.site-header *::before,.site-footer,.site-footer *,.site-page-note{box-sizing:border-box}
.site-header,.site-footer,.site-page-note{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased;font-synthesis:none;text-align:left;letter-spacing:normal}

/* Header */
.site-header{position:relative;z-index:100;display:block;width:100%;max-width:none;height:auto;min-height:0;margin:0;padding:0;border:0;border-bottom:1px solid #343434;border-radius:0;background:#080808;box-shadow:none;color:#f4f4f5;font-size:14px;font-weight:400;line-height:1.5;white-space:nowrap}
.site-header-inner{display:flex;align-items:center;gap:24px;width:100%;max-width:none;height:72px;margin:0;padding:0 clamp(16px,2.2vw,32px)}
.site-brand{display:inline-flex;align-items:center;flex:none;min-height:44px;margin:0;padding:0;text-decoration:none}
.site-brand img{display:block;width:120px;max-width:none;height:auto}
.site-header a,.site-footer a{text-decoration:none}
.site-header a:hover,.site-footer a:hover{text-decoration:none}
.site-nav{display:flex;align-self:stretch;align-items:stretch;gap:28px;min-width:0;margin:0 0 0 16px;padding:0;border:0;background:none;overflow:visible}
.site-nav a{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;box-shadow:none;color:#b0b0b8;font-size:14px;font-weight:500;line-height:1.5;white-space:nowrap;transition:color .16s,border-color .16s}
.site-nav a:hover{color:#f4f4f5}
.site-nav a[aria-current=page]{color:#f4f4f5;font-weight:600;border-bottom-color:#ff7f11}
.site-header a:focus-visible,.site-header button:focus-visible,.site-footer a:focus-visible{outline:2px solid #ff9a45;outline-offset:2px;border-radius:4px}
.site-header [hidden],.site-footer [hidden]{display:none!important}
.site-network{display:inline-block;flex:none;margin:0 0 0 auto;padding:6px 12px;border:1px solid #343434;border-radius:6px;background:#141414;color:#b0b0b8;font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap}
.site-network::before{content:'';display:inline-block;vertical-align:1px;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#3ddc97;box-shadow:0 0 0 3px #3ddc9738}
.site-menu-toggle{display:none;align-items:center;justify-content:center;flex:none;min-width:44px;min-height:42px;margin:0;padding:0 14px;border:1px solid #343434;border-radius:8px;background:#141414;color:#f4f4f5;font:inherit;font-size:13px;font-weight:500;line-height:1;cursor:pointer}
.site-menu-toggle[aria-expanded=true]{border-color:#ff7f11;background:#2a1b10}
.site-account{display:flex;align-items:center;flex:none;min-width:42px;min-height:42px;margin:0;padding:0}
.site-account .account-control{margin:0}
/* Social features (Alpha, People, account) hide only when the site config says social is off, never on a failed read. */
html[data-social-off] .site-account{display:none}

/* Phones and narrow tablets: one pattern everywhere — a Menu button opens the full nav as a panel under the header. */
@media (max-width:900px){
  .site-header-inner{height:64px;gap:10px}
  .site-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:2px;margin:0;padding:8px clamp(16px,2.2vw,32px) 12px;border-bottom:1px solid #343434;background:#0f0f10;box-shadow:0 18px 40px #0009}
  .site-nav[data-open]{display:flex}
  .site-nav a{min-height:48px;padding:0 12px;border-bottom:0;border-radius:8px;font-size:15px}
  .site-nav a[aria-current=page]{background:#2a1b10;box-shadow:inset 3px 0 #ff7f11}
  .site-menu-toggle{display:inline-flex}
  .site-network{padding:5px 10px;font-size:11px}
  .site-network .net-chain{display:none}
}
@media (max-width:480px){
  .site-header-inner .site-brand img{width:100px}
  .site-network .net-mode{display:none}
}
@media (max-width:340px){
  .site-header-inner{gap:8px}
  .site-header-inner .site-brand img{width:88px}
  .site-menu-toggle{padding:0 10px}
}

/* Footer */
.site-page-note{max-width:none;margin:48px 0 0;padding:0 clamp(16px,2.2vw,32px);color:#8f8f97;font-size:12px;line-height:1.6}
.site-page-note strong{color:#f4f4f5}
.site-footer{display:block;clear:both;width:100%;max-width:none;margin:64px 0 0;padding:36px clamp(16px,2.2vw,32px) calc(24px + var(--site-footer-clearance,0px));border:0;border-top:1px solid #343434;border-radius:0;background:#080808;color:#b0b0b8;font-size:13px;font-weight:400;line-height:1.5}
.site-page-note+.site-footer{margin-top:20px}
.site-footer a{color:#b0b0b8;transition:color .16s}
.site-footer a:hover{color:#ff7f11}
.site-footer a[aria-current=page]{color:#f4f4f5}
.site-footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:36px;margin:0;padding:0}
.site-footer-intro p{max-width:260px;margin:18px 0 0;padding:0;color:#b0b0b8;font-size:13px;line-height:1.7}
.site-footer-group h2{margin:0 0 10px;padding:0;border:0;color:#f4f4f5;font-size:11px;font-weight:600;line-height:1.5;letter-spacing:.13em;text-transform:uppercase}
.site-footer-group a{display:flex;align-items:center;width:fit-content;min-height:34px;margin:0;font-size:13px}
.site-footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 18px;margin:28px 0 0;padding:14px 0 0;border-top:1px solid #343434;font-size:12px}
.site-footer-bottom nav{display:flex;flex-wrap:wrap;gap:0 24px;margin:0;padding:0}
.site-footer-bottom a{display:inline-flex;align-items:center;min-height:34px}
@media (max-width:700px){
  .site-footer{margin-top:48px;padding-top:28px}
  /* Pages with a fixed bottom bar (the token page's trade bar) set --site-footer-clearance so it never covers the footer. */
  .site-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .site-footer-intro{grid-column:1/-1}
  .site-footer-intro p{max-width:100%}
  .site-footer-group a,.site-footer-bottom a{min-height:44px}
  .site-footer-bottom nav{display:grid;grid-template-columns:repeat(3,max-content);gap:0 20px}
}
@media (prefers-reduced-motion:reduce){.site-nav a,.site-footer a{transition:none}}
