/* Hub match pass (Nov 17 2026, sandbox): Validator Hub styled after the live homepage.
   Live homepage traits matched:
   base      #000000 pure black, no tinted bands
   text      #F2FFF1 primary, #9DA293 secondary
   headings  DM Sans 700, letter spacing -0.02em, tight line height, sage gradient fill (128deg #C8DEC7 30% to #3C493B 70%)
   body/UI   Montserrat (400 body 16/24, 600 uppercase 12px nav labels with 0.56px tracking)
   buttons   6px corners, #B1FC03 fill, black Montserrat 600 14px uppercase; hover 20% lime fill with lime text
   header    black 5% glass, 16px blur, 1px rgba(242,255,241,0.1) rule; header button is a glass chip (10% sage fill, 20% sage border, 6px)
   cards     12px corners, 1px rgba(242,255,241,0.10) border, solid #181A18 (the live 10% sage on black), inner #0E0E0E
   lines     #2F2F2F hairlines
   Governance banner keeps its #C6F432 chips and button colour. */
:root {
  --hm-base: #000000;
  --hm-card: #181A18;
  --hm-inset: #0E0E0E;
  --hm-rule: rgba(242, 255, 241, 0.10);
  --hm-line: #2F2F2F;
  --hm-ink: #F2FFF1;
  --hm-muted: #9DA293;
  --hm-lime: #B1FC03;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Base */
html, body, html body, html.page-verify body, body.page-verify { background: var(--hm-base) !important; }
body { font-family: "Montserrat", system-ui, sans-serif; color: var(--hm-ink); }
.hub-subnav, .hub-hero, .site-footer { background: var(--hm-base) !important; }
.hub-hero::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.86) 72%, #000 100%),
    url("../img/bgs/mainPatternSmall.png") center top / min(1400px, 160%) auto no-repeat !important;
  opacity: 0.6 !important;
  -webkit-mask-image: radial-gradient(ellipse 70% 85% at 50% 0%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 85% at 50% 0%, #000 45%, transparent 100%);
}
.smh2 { background: #000 !important; }

/* Type */
h1, h2, .section-title, .gov-banner-title {
  font-family: "DM Sans", system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}
.hub-hero h1 { font-size: clamp(40px, 5.4vw, 72px) !important; line-height: 1.08 !important; }
.section-title { font-size: clamp(32px, 3.8vw, 52px) !important; line-height: 1.04 !important; }
h1, .section-title {
  background-image: linear-gradient(128deg, #C8DEC7 30%, #3C493B 70%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-title img { -webkit-text-fill-color: initial; }
main h3 { font-family: "DM Sans", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; }
.net-value, .earn-value, .tally-num, .vh-num, .club-num {
  font-family: "DM Sans", system-ui, sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}
.lede, .section-lead, .net-note, .earn-note, .club-card p, .pom-strip li p:not(.club-num), .source-note {
  color: var(--hm-muted) !important;
  font-family: "Montserrat", system-ui, sans-serif;
}
.lede, .section-lead { font-size: 16px; line-height: 24px; }
.eyebrow, .net-label, .earn-label, .tally-label, .vh-label {
  font-family: "Montserrat", system-ui, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.56px !important;
}
.eyebrow { color: var(--hm-ink) !important; font-size: 12px !important; }

/* Header and nav */
.site-header {
  background: rgba(0, 0, 0, 0.72) !important;
  -webkit-backdrop-filter: blur(16px) !important; backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--hm-rule) !important;
}
.hub-subnav { border-bottom: 1px solid var(--hm-rule) !important; }
.brand img { width: 132px !important; }
.site-nav a, .mobile-nav a, .hub-subnav a {
  font-family: "Montserrat", system-ui, sans-serif !important;
  font-weight: 600 !important; font-size: 12px !important; letter-spacing: 0.56px !important;
  text-transform: uppercase; color: #9CA3AF !important; text-shadow: none !important;
}
.site-nav a[aria-current="page"], .mobile-nav a[aria-current="page"], .site-nav a:hover, .hub-subnav a:hover { color: var(--hm-ink) !important; }
.header-cta, .vfx-hbtn {
  border-radius: 6px !important;
  background: rgba(242, 255, 241, 0.10) !important;
  border: 1px solid rgba(242, 255, 241, 0.20) !important;
  color: var(--hm-ink) !important;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: none !important;
  font-family: "Montserrat", system-ui, sans-serif !important; font-weight: 600 !important; font-size: 12px !important; letter-spacing: 0.56px !important;
}
.header-cta:hover, .vfx-hbtn:hover { background: var(--hm-lime) !important; border-color: var(--hm-lime) !important; color: #000 !important; }
.vfx-hbtn:hover .vfx-hbtn-ico svg { stroke: #000; }
.vfx-hbtn.is-verified { border-color: rgba(177, 252, 3, 0.45) !important; }

/* Buttons */
.btn, .btn-primary, .vfx-btn { border-radius: 6px !important; }
.btn-primary, .vfx-btn {
  background: var(--hm-lime) !important; color: #000 !important; border: 1px solid var(--hm-lime) !important;
  font-family: "Montserrat", system-ui, sans-serif !important; font-weight: 600 !important; font-size: 14px !important; letter-spacing: 0 !important;
  transition: background-color .3s ease, color .3s ease !important;
}
.btn-primary:hover, .vfx-btn:hover { background: rgba(177, 252, 3, 0.20) !important; color: var(--hm-lime) !important; }
.btn-outline, .btn-ghost {
  border: 1px solid rgba(242, 255, 241, 0.20) !important; background: rgba(242, 255, 241, 0.06) !important; color: var(--hm-ink) !important;
  font-family: "Montserrat", system-ui, sans-serif !important; font-weight: 600 !important;
}
.btn-outline:hover, .btn-ghost:hover { border-color: var(--hm-lime) !important; color: var(--hm-lime) !important; }
.gov-banner .gov-banner-cta { border-radius: 6px !important; font-family: "Montserrat", system-ui, sans-serif; font-weight: 600; }
.gov-banner .gov-banner-chips li { border-radius: 6px !important; }

/* Cards */
.id-strip, .pom-strip, .dash-bar, .net-tile, .strip, .rebrand-strip, .earn-fresh, .earn-strip, .earn-chart,
.slash-bar, .table-wrap, .tally-item, .open-props, .club-card, .gov-banner, .pom-scam, .earn-note-box, .smx {
  background: var(--hm-card) !important;
  border: 1px solid var(--hm-rule) !important;
  border-radius: 12px !important;
}
.pom-scam, .earn-note-box, .open-props { border-color: rgba(177, 252, 3, 0.30) !important; }
.club-card { transition: background-color .3s ease, border-color .3s ease; }
.club-card:hover { border-color: rgba(177, 252, 3, 0.20) !important; }
.vh-one, .vh-one.is-set, .smx-rows > div, .smx-steps li { background: var(--hm-inset) !important; }
.club-card-thumb { border-radius: 8px !important; }
table.vals th, table.gov th, .table-wrap th { background: var(--hm-card) !important; }
.table-wrap td, .table-wrap th { border-color: var(--hm-line) !important; }
.smh2 { border-radius: 12px !important; }

/* Header buttons: one glass chip style, like the live homepage STAKE NOW (wins over older pill rules) */
.site-header .header-cta.btn-primary,
.site-header .vfx-hbtn,
.site-header .vfx-hbtn:not(.is-verified) {
  border-radius: 6px !important;
  background: rgba(242, 255, 241, 0.10) !important;
  border: 1px solid rgba(242, 255, 241, 0.20) !important;
  color: #F2FFF1 !important;
  box-shadow: none !important;
  font-family: "Montserrat", system-ui, sans-serif !important; font-weight: 600 !important; font-size: 12px !important; letter-spacing: 0.56px !important;
}
.site-header .header-cta.btn-primary:hover,
.site-header .vfx-hbtn:not(.is-verified):hover { background: #B1FC03 !important; border-color: #B1FC03 !important; color: #000 !important; }
.site-header .vfx-hbtn:not(.is-verified):hover .vfx-hbtn-ico svg { stroke: #000 !important; }
.site-header .vfx-hbtn:not(.is-verified) .vfx-hbtn-ico svg { stroke: #B1FC03 !important; }
.site-header .vfx-hbtn.is-verified { border-color: rgba(177, 252, 3, 0.45) !important; }
@media (min-width: 900px) { .site-header .header-cta.btn-primary, .site-header .vfx-hbtn { min-height: 44px !important; height: 44px !important; } }

/* ===== Glass option: html.glass (sandbox preview with ?glass=1). Live homepage "mirror window":
   translucent sage fill, 16px backdrop blur, light border, soft inner sheen lines. ===== */
html.glass .site-header { background: rgba(0, 0, 0, 0.05) !important; }
html.glass .hub-subnav { background: rgba(0, 0, 0, 0.35) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
html.glass .id-strip, html.glass .net-tile, html.glass .earn-strip, html.glass .earn-fresh, html.glass .pom-strip,
html.glass .club-card, html.glass .tally-item, html.glass .pom-scam, html.glass .earn-note-box, html.glass .open-props,
html.glass .dash-bar, html.glass .slash-bar, html.glass .strip, html.glass .smx {
  background: rgba(242, 255, 241, 0.07) !important;
  -webkit-backdrop-filter: blur(16px) !important; backdrop-filter: blur(16px) !important;
  box-shadow: inset 0 0 0 1px rgba(242, 255, 241, 0.05), inset 0 1px 0 rgba(242, 255, 241, 0.14) !important;
}
html.glass .club-card:hover, html.glass .net-tile:hover { background: rgba(177, 252, 3, 0.08) !important; border-color: rgba(177, 252, 3, 0.20) !important; }
html.glass .smx { background: rgba(10, 12, 10, 0.45) !important; }
html.glass .smx-rows > div, html.glass .smx-steps li, html.glass .vh-one { background: rgba(0, 0, 0, 0.35) !important; }
