/* ==========================================================================
   Hackinetix Academy: dark mode  (html[data-theme="dark"])
   ========================================================================== */
html[data-theme="dark"]{
  color-scheme:dark;
  --hx-navy:#eaf1ff;--hx-slate:#aebddc;--hx-bg:#07122b;--hx-surface:#0d1f45;--hx-surface-2:#112758;
  --hx-pale:rgba(255,255,255,.08);--hx-pale-2:rgba(255,255,255,.14);--hx-line:rgba(255,255,255,.11);--hx-blue:#4da3ff;
  --hx-shadow-sm:0 1px 2px rgba(0,0,0,.35),0 4px 14px rgba(0,0,0,.3);
  --hx-shadow:0 1px 2px rgba(0,0,0,.35),0 10px 28px rgba(0,0,0,.38);
  --hx-shadow-lg:0 2px 4px rgba(0,0,0,.35),0 22px 48px rgba(0,0,0,.5);
}
html[data-theme="dark"] body,html[data-theme="dark"] body.hx-theme{background-color:var(--hx-bg)!important;
  background-image:radial-gradient(900px 600px at -10% 105%,rgba(22,112,245,.18),transparent 60%),radial-gradient(700px 500px at 105% -5%,rgba(56,176,255,.10),transparent 60%)}
html[data-theme="dark"] body.hx-theme .hx-main{background-color:transparent}

/* surfaces */
html[data-theme="dark"] body.hx-theme .hx-card,
html[data-theme="dark"] .hx-statband,html[data-theme="dark"] .hx-outcomes li,html[data-theme="dark"] .hx-acc,
html[data-theme="dark"] .hx-prose blockquote,html[data-theme="dark"] .hx-prose table,html[data-theme="dark"] .hx-pagination .page-numbers,
html[data-theme="dark"] .hx-commentlist li,html[data-theme="dark"] .hx2-pill,html[data-theme="dark"] .hx2-about__card,
html[data-theme="dark"] .hx2-svc,html[data-theme="dark"] .hx2-prog,html[data-theme="dark"] .hx2-q,html[data-theme="dark"] .hx2-cta-box__form,
html[data-theme="dark"] .hx-menu .sub-menu,html[data-theme="dark"] .hx-burger,html[data-theme="dark"] .skip-link:focus{background:var(--hx-surface);border-color:var(--hx-line)}
html[data-theme="dark"] .hx-module{background:rgba(255,255,255,.04)}
html[data-theme="dark"] .hx-header{background:rgba(7,18,43,.92);border-bottom-color:var(--hx-line)}
html[data-theme="dark"] .hx-section--pale,html[data-theme="dark"] body.hx-theme .hx-main .hx-section--pale,html[data-theme="dark"] body.hx-theme .hx-main .hx2-section--tint,html[data-theme="dark"] .hx2-section--tint{background:linear-gradient(180deg,#0a1836 0%,#07122b 100%)}
html[data-theme="dark"] .hx2-hero{background:linear-gradient(180deg,#0a1836 0%,#07122b 100%)}
html[data-theme="dark"] .hx2-float{background:rgba(13,31,69,.92);border-color:var(--hx-line)}
html[data-theme="dark"] .hx2-svc:hover{background:var(--hx-grad);border-color:transparent}
html[data-theme="dark"] .hx2-svc__num{color:rgba(255,255,255,.12)}
html[data-theme="dark"] .hx2-svc:hover .hx2-svc__num{color:rgba(255,255,255,.28)}
html[data-theme="dark"] .hx2-about__media::before{opacity:.7}
@media (max-width:980px){html[data-theme="dark"] .hx-nav{background:var(--hx-surface)}}

/* buttons, chips, forms */
html[data-theme="dark"] body.hx-theme .hx-btn--light,html[data-theme="dark"] body.hx-theme a.hx-btn--light{background:#fff;color:#0c1e48}
html[data-theme="dark"] body.hx-theme .hx-btn--ghost,html[data-theme="dark"] body.hx-theme a.hx-btn--ghost{color:#8ec3ff;box-shadow:inset 0 0 0 2px rgba(142,195,255,.7)}
html[data-theme="dark"] body.hx-theme .hx-btn--ghost:hover{background:var(--hx-blue);color:#fff}
html[data-theme="dark"] body.hx-theme .hx-main .hx-chip{background:var(--hx-pale);color:var(--hx-navy)}
html[data-theme="dark"] body.hx-theme .hx-main .hx-chip--blue,html[data-theme="dark"] body.hx-theme .hx-main .hx-filter .hx-chip.is-active{background:var(--hx-grad);color:#fff}
html[data-theme="dark"] body.hx-theme input,html[data-theme="dark"] body.hx-theme select,html[data-theme="dark"] body.hx-theme textarea{background:rgba(255,255,255,.06);color:#eaf1ff;border-color:var(--hx-line)}
html[data-theme="dark"] body.hx-theme input::placeholder,html[data-theme="dark"] body.hx-theme textarea::placeholder{color:#7f92b8}
html[data-theme="dark"] select option{background:#0d1f45;color:#eaf1ff}
html[data-theme="dark"] .hx-checks li::before{background-color:rgba(255,255,255,.14)}
html[data-theme="dark"] .hx-menu>li>a:hover,html[data-theme="dark"] .hx-menu>li.current-menu-item>a,html[data-theme="dark"] .hx-menu>li.current_page_item>a{background:var(--hx-pale);color:#8ec3ff}
html[data-theme="dark"] .hx-menu .sub-menu a:hover{background:var(--hx-pale)}
html[data-theme="dark"] body.hx-theme .hx-main .hx-accent{color:#5cc4ff}
html[data-theme="dark"] body.hx-theme .hx-main .hx2-grad{background:linear-gradient(90deg,#4da3ff 0%,#5cc4ff 100%);-webkit-background-clip:text;background-clip:text}
html[data-theme="dark"] body.hx-theme .hx-main .hx2-grad--light{background:linear-gradient(90deg,#5cc4ff 0%,#ffffff 100%);-webkit-background-clip:text;background-clip:text}
html[data-theme="dark"] body.hx-theme .hx-main .hx2-eyebrow{background:var(--hx-pale);color:#8ec3ff}
html[data-theme="dark"] .hx2-eyebrow--light{background:rgba(255,255,255,.12)}
html[data-theme="dark"] .hx-tile--img{background:var(--hx-grad)}

/* logo: white wordmark on dark */
html[data-theme="dark"] .hx-header .hx-brand__word:not(.hx-brand__word--dark){display:none}
html[data-theme="dark"] .hx-header .hx-brand__word--dark{display:block}
html[data-theme="dark"] .hx-brand__custom{filter:brightness(0) invert(1)}

/* content areas */
html[data-theme="dark"] .hx-prose th{background:var(--hx-pale)}
html[data-theme="dark"] .hx-prose td,html[data-theme="dark"] .hx-prose th{border-color:var(--hx-line)}
html[data-theme="dark"] body.hx-theme .hx-main .hx-pricebox{background:var(--hx-grad-navy)}
html[data-theme="dark"] .wp-block-button__link{box-shadow:none}
html[data-theme="dark"] body.hx-theme .hx-main .hx-banner,html[data-theme="dark"] .hx-banner{border:1px solid var(--hx-line)}
html[data-theme="dark"] img{opacity:.96}
