git / moonbite-network / static/shell.css · raw

/* MoonBite site shell: the one header, menu and footer every page shares, plus   the content layer for pages built on base.html (body.mbs-page).   Built to docs/moonbite-guidelines.html and matched to the homepage:   Void / Slate / Bone / Ash / Moongold, red and green as data only (d03);   radius 6 controls / 10 cards / 20 tiles (d14); content max 1140 (d15);   one easing and three durations (d06). No emoji, no glow. */:root {  --mbs-void: #0B0D12;  --mbs-ink: #0F1218;  --mbs-slate: #161A22;  --mbs-raise: #1D222C;  --mbs-bone: #F5F2EA;  --mbs-ash: #8A8580;  --mbs-ash-2: #8A8580;   /* was #6E6A66: under 4.5:1 on Void for small text (d17) */  --mbs-gold: #D9A441;  --mbs-gold-hi: #E3B259;  --mbs-gain: #2E9E6B;  --mbs-loss: #C8402F;  --mbs-line: rgba(245, 242, 234, .08);  --mbs-line-2: rgba(245, 242, 234, .16);  --mbs-sans: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;  --mbs-display: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;  --mbs-wordmark: 'Archivo Black', 'Helvetica Neue', 'Arial Black', sans-serif;  --mbs-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;  --mbs-ease: cubic-bezier(.22, 1, .36, 1);  --mbs-gutter: 24px;  --mbs-max: 1140px;}@media (max-width: 479px) { :root { --mbs-gutter: 16px; } }.mbs-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 12px 16px; border-radius: 6px;  background: var(--mbs-bone); color: var(--mbs-void); font: 700 14px var(--mbs-sans); text-decoration: none; }.mbs-skip:focus { left: 8px; }/* ------------------------------------------------------------------ header */.mbs-h, .mbs-f { flex-shrink: 0; }.mbs-h { position: sticky; top: 0; z-index: 100; font-family: var(--mbs-sans);  background: rgba(11, 13, 18, .82); border-bottom: 1px solid var(--mbs-line);  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }.mbs-h-in { max-width: calc(var(--mbs-max) + 2 * var(--mbs-gutter)); margin: 0 auto; height: 72px; padding: 0 var(--mbs-gutter);  display: flex; align-items: center; gap: 32px; box-sizing: border-box; }.mbs-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }.mbs-brand svg { width: 28px; height: 28px; display: block; }.mbs-brand span { color: var(--mbs-bone); font-family: var(--mbs-wordmark); font-size: 19px; letter-spacing: -.01em; }.mbs-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }.mbs-nav a { position: relative; color: var(--mbs-ash); text-decoration: none; font-size: 14px; padding: 8px 0;  transition: color 120ms var(--mbs-ease); }.mbs-nav a:hover { color: var(--mbs-bone); }.mbs-nav a[aria-current="page"] { color: var(--mbs-bone); }.mbs-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -4px;  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--mbs-gold); }.mbs-h-right { display: flex; align-items: center; gap: 12px; }.mbs-status { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px;  border: 1px solid var(--mbs-line-2); border-radius: 999px; color: var(--mbs-ash); background: var(--mbs-slate);  font: 400 12px/1 var(--mbs-mono); text-decoration: none; white-space: nowrap;  transition: border-color 120ms var(--mbs-ease), color 120ms var(--mbs-ease); }.mbs-status:hover { border-color: rgba(245, 242, 234, .32); color: var(--mbs-bone); }.mbs-status b { color: var(--mbs-bone); font-weight: 400; }.mbs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mbs-ash); flex: none; }.mbs-dot.is-soon { background: var(--mbs-gold); }.mbs-dot.is-live { background: var(--mbs-gain); }.mbs-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 6px;  border: 1px solid var(--mbs-line-2); background: transparent; color: var(--mbs-bone);  font: 700 14px/1 var(--mbs-sans); text-decoration: none; white-space: nowrap; box-sizing: border-box;  transition: border-color 120ms var(--mbs-ease), background 120ms var(--mbs-ease); }.mbs-cta:hover { border-color: rgba(245, 242, 234, .36); background: rgba(245, 242, 234, .04); }.mbs-menu { display: none; min-height: 44px; padding: 0 16px; border-radius: 6px; cursor: pointer;  background: transparent; border: 1px solid var(--mbs-line-2); color: var(--mbs-bone);  font: 700 14px/1 var(--mbs-sans); }/* full-screen menu (phones and narrow windows) */.mbs-sheet { position: fixed; inset: 72px 0 0 0; z-index: 99; background: var(--mbs-void);  padding: 24px var(--mbs-gutter) 48px; overflow-y: auto; font-family: var(--mbs-sans);  display: flex; flex-direction: column; }.mbs-sheet[hidden] { display: none; }.mbs-sheet nav { display: flex; flex-direction: column; border-top: 1px solid var(--mbs-line); }.mbs-sheet nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0;  border-bottom: 1px solid var(--mbs-line); color: var(--mbs-bone); text-decoration: none;  font-size: 24px; font-weight: 800; letter-spacing: -.02em; }.mbs-sheet nav a small { font: 400 12px var(--mbs-mono); color: var(--mbs-ash); letter-spacing: 0; }.mbs-sheet nav a[aria-current="page"] { color: var(--mbs-gold); }.mbs-sheet .mbs-sheet-foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 12px; }.mbs-sheet .mbs-cta { min-height: 48px; justify-content: center; font-size: 16px; }.mbs-sheet .mbs-status { height: 40px; justify-content: center; }body.mbs-locked { overflow: hidden; }@media (max-width: 1180px) { .mbs-h-right .mbs-status { display: none; } }@media (max-width: 1023px) {  .mbs-nav, .mbs-h-right .mbs-cta { display: none; }  .mbs-h-right { margin-left: auto; }  .mbs-menu { display: inline-flex; align-items: center; }}/* ------------------------------------------------------------------ footer */.mbs-f { position: relative; background: var(--mbs-void); color: var(--mbs-ash);  border-top: 1px solid var(--mbs-line); font-family: var(--mbs-sans); margin-top: 96px; }.mbs-f-in { max-width: calc(var(--mbs-max) + 2 * var(--mbs-gutter)); margin: 0 auto; padding: 64px var(--mbs-gutter) 48px; box-sizing: border-box; }.mbs-f-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 48px; }.mbs-f-brand .mbs-brand svg { width: 32px; height: 32px; }.mbs-f-brand .mbs-brand span { font-family: var(--mbs-sans); font-weight: 800; font-size: 18px; }.mbs-f-brand p { margin: 16px 0 0; max-width: 320px; font-size: 14px; line-height: 1.6; color: var(--mbs-ash); }.mbs-f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }.mbs-f .mbs-f-cols h2 { margin: 0 0 12px !important; font: 700 14px/1.4 var(--mbs-sans) !important; color: var(--mbs-bone) !important;  letter-spacing: 0 !important; text-transform: none; background: none !important; -webkit-text-fill-color: currentColor !important; }.mbs-f-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }.mbs-f-cols a { color: var(--mbs-ash); text-decoration: none; font-size: 14px; transition: color 120ms var(--mbs-ease); }.mbs-f-cols a:hover { color: var(--mbs-bone); }.mbs-f-legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--mbs-line);  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; font-size: 13px; color: var(--mbs-ash); }.mbs-f-legal p { margin: 0; line-height: 1.6; }.mbs-f-legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; align-items: flex-start; }.mbs-f-legal a { color: var(--mbs-ash); text-decoration: none; }.mbs-f-legal a:hover { color: var(--mbs-bone); }@media (max-width: 1023px) { .mbs-f-top { grid-template-columns: 1fr; } }@media (max-width: 767px) {  .mbs-f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }  .mbs-f-legal { grid-template-columns: 1fr; }  .mbs-f-legal nav { justify-content: flex-start; }}/* focus, motion */.mbs-h a:focus-visible, .mbs-h button:focus-visible, .mbs-sheet a:focus-visible, .mbs-f a:focus-visible {  outline: 2px solid var(--mbs-gold); outline-offset: 2px; border-radius: 6px; }@media (prefers-reduced-motion: reduce) { .mbs-h *, .mbs-f * { transition: none !important; } }/* ============================================================ content layer   Pages on base.html carry body.mbs-page. These rules restyle the shared   building blocks (mb-*), so every inner page gets the same calm, editorial   system without editing each template. */body.mbs-page { background: var(--mbs-void); color: var(--mbs-bone); font-family: var(--mbs-sans);  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;  /* the legacy sheets made body a fixed-height flex column that scrolled     inside itself, squashing the footer over the content: plain document flow */  display: block !important; height: auto !important; min-height: 100vh; overflow: visible !important; }html:has(> body.mbs-page) { height: auto !important; overflow-y: auto; }body.mbs-page::before, body.mbs-page::after { display: none !important; }   /* scan lines, tint */body.mbs-page .page-loader { display: none !important; }/* the loader is gone, so nothing may wait on it to fade content in   (the explorer's .main-content stayed at opacity 0) */body.mbs-page .main-content { opacity: 1 !important; transform: none !important; }body.mbs-page main { min-height: 60vh; }body.mbs-page .mb-container { max-width: var(--mbs-max); padding-left: var(--mbs-gutter); padding-right: var(--mbs-gutter); }/* hero */body.mbs-page .mb-hero { position: relative; background: none; padding: clamp(72px, 11vw, 140px) 0 clamp(48px, 7vw, 88px);  border: 0; overflow: hidden; }body.mbs-page .mb-hero::before { display: none; }   /* no gradient washes (d03) */body.mbs-page .mb-hero-glow { display: none; }body.mbs-page .mb-hero-inner { position: relative; max-width: 880px; }body.mbs-page .mb-hero-title { font-family: var(--mbs-display); font-weight: 800; color: var(--mbs-bone);  font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.045em; margin: 18px 0 0; text-wrap: balance; }body.mbs-page .mb-hero-sub { color: var(--mbs-ash); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55;  max-width: 58ch; margin-top: 22px; text-wrap: pretty; }body.mbs-page .mb-gradient-text { background: none !important; -webkit-background-clip: initial !important;  background-clip: initial !important; -webkit-text-fill-color: currentColor !important; color: var(--mbs-gold) !important; }/* eyebrows, badges, banners */body.mbs-page .mb-eyebrow, body.mbs-page .mb-badge { display: inline-flex; align-items: center; gap: 8px;  font: 500 12px/1 var(--mbs-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mbs-gold);  background: none; border: 0; padding: 0; }body.mbs-page .mb-badge { color: var(--mbs-ash); border: 1px solid var(--mbs-line); border-radius: 999px; padding: 7px 12px; }body.mbs-page .mb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mbs-gold); box-shadow: none; }body.mbs-page .mb-banner { background: var(--mbs-slate); border: 1px solid var(--mbs-line); border-radius: 10px;  color: var(--mbs-ash); box-shadow: none; }/* sections */body.mbs-page .mb-section { background: none !important; border: 0; padding: clamp(64px, 9vw, 120px) 0; }body.mbs-page .mb-section + .mb-section { border-top: 1px solid var(--mbs-line) !important; }body.mbs-page .mb-section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); text-align: left; }body.mbs-page .mb-section-head.center, body.mbs-page .mb-section-head[style*="center"] { margin-left: auto; margin-right: auto; }body.mbs-page .mb-section-title { font-family: var(--mbs-display); font-weight: 800; color: var(--mbs-bone);  font-size: clamp(30px, 3.9vw, 52px); line-height: 1.06; letter-spacing: -.04em; margin: 14px 0 0; text-wrap: balance; }body.mbs-page .mb-section-sub { color: var(--mbs-ash); font-size: 17px; line-height: 1.6; max-width: 60ch; margin-top: 16px; }/* grids: hairline-joined panels */body.mbs-page .mb-grid { gap: 1px; background: var(--mbs-line); border: 1px solid var(--mbs-line);  border-radius: 10px; overflow: hidden; }body.mbs-page .mb-grid > * { border-radius: 0 !important; border: 0 !important; margin: 0 !important; }/* cards and features */body.mbs-page .mb-card, body.mbs-page .mb-feature { background: var(--mbs-void); border: 1px solid var(--mbs-line);  border-radius: 10px; box-shadow: none; padding: clamp(24px, 2.6vw, 32px); backdrop-filter: none;  transition: background .2s ease; }body.mbs-page .mb-grid > .mb-card, body.mbs-page .mb-grid > .mb-feature { background: var(--mbs-void); }body.mbs-page .mb-card:hover, body.mbs-page .mb-feature:hover { transform: none; background: var(--mbs-ink); box-shadow: none; }body.mbs-page .mb-card-title, body.mbs-page .mb-feature h3 { color: var(--mbs-bone); font-size: 18px; font-weight: 700;  letter-spacing: -.02em; line-height: 1.3; margin: 0 0 10px; }body.mbs-page .mb-card-text, body.mbs-page .mb-feature p { color: var(--mbs-ash); font-size: 15px; line-height: 1.62; }body.mbs-page .mb-card-link { color: var(--mbs-bone); font-weight: 700; font-size: 14px; text-decoration: none;  display: inline-flex; gap: 6px; margin-top: 18px; }body.mbs-page .mb-card-link:hover { color: var(--mbs-gold); }body.mbs-page .mb-card-icon, body.mbs-page .mb-feature-icon { display: none; }body.mbs-page .card { background: var(--mbs-slate); border: 1px solid var(--mbs-line); border-radius: 10px; box-shadow: none; }body.mbs-page .card-header { border-bottom: 1px solid var(--mbs-line); background: none; color: var(--mbs-bone); }/* buttons */body.mbs-page .btn, body.mbs-page .mb-btn-xl { display: inline-flex; align-items: center; justify-content: center; gap: 8px;  min-height: 48px; padding: 0 24px; border-radius: 6px; font: 700 15px/1 var(--mbs-sans); letter-spacing: -.01em;  text-decoration: none; box-shadow: none; transition: background .15s ease, color .15s ease, border-color .15s ease; }body.mbs-page .mb-btn-xl, body.mbs-page .btn-large { min-height: 52px; padding: 0 24px; font-size: 16px; }/* one primary action per view, in Moongold (d14) */body.mbs-page .btn-primary { background: var(--mbs-gold); color: var(--mbs-void); border: 1px solid var(--mbs-gold); }body.mbs-page .btn-primary:hover { background: var(--mbs-gold-hi); border-color: var(--mbs-gold-hi); color: var(--mbs-void); transform: none; }body.mbs-page .btn-secondary { background: transparent; color: var(--mbs-bone); border: 1px solid var(--mbs-line-2); }body.mbs-page .btn-secondary:hover { border-color: rgba(245, 242, 234, .36); background: transparent; color: var(--mbs-bone); transform: none; }body.mbs-page .mb-cta-row { gap: 12px; margin-top: 32px; }/* faq */body.mbs-page .mb-faq { margin-left: 0; margin-right: auto; }body.mbs-page .mb-faq-item { background: none; border: 0; border-bottom: 1px solid var(--mbs-line); border-radius: 0; }body.mbs-page .mb-faq-q { color: var(--mbs-bone); font-size: 17px; font-weight: 700; letter-spacing: -.02em; padding: 22px 0; background: none; }body.mbs-page .mb-faq-a-inner { color: var(--mbs-ash); line-height: 1.65; }body.mbs-page .mb-plus { color: var(--mbs-ash); }/* code and inline links */body.mbs-page code, body.mbs-page pre { font-family: var(--mbs-mono); }body.mbs-page pre { background: var(--mbs-ink); border: 1px solid var(--mbs-line); border-radius: 10px; }body.mbs-page main a:not([class]) { color: var(--mbs-bone); text-decoration: underline; text-decoration-color: rgba(217, 164, 65, .5);  text-underline-offset: 3px; }body.mbs-page main a:not([class]):hover { text-decoration-color: var(--mbs-gold); }body.mbs-page ::selection { background: rgba(217, 164, 65, .35); color: var(--mbs-bone); }body.mbs-page main :focus-visible { outline: 2px solid var(--mbs-gold); outline-offset: 2px; }