/* VELTRIX 12 Nov 2026 — Homepage-only contrast & responsive design.
   Loaded LAST. Never affects /dashboard, /owner, Discord login or the rules gate.
   Owner-defined accent and light/dark mode remain supported. */

html body.public-body.vx-home-page {
  --vx-home-ink:#f4f8ff;
  --vx-home-sub:#b8cbe5;
  --vx-home-panel:#102241;
  --vx-home-outline:#294e78;
  background:#071326!important;
  background-image:radial-gradient(ellipse at 12% 8%,#18549f3a,transparent 43%),
    radial-gradient(ellipse at 90% 21%,#6739bd27,transparent 42%),
    linear-gradient(180deg,#08172e 0%,#071326 65%,#0a1932 100%)!important;
  color:var(--vx-home-ink)!important;
  color-scheme:dark;
}
html body.public-body.vx-home-page .public-nav {
  background:#0b1931!important;
  border-bottom:1px solid #2a4771!important;
  box-shadow:0 8px 24px #010b2040!important;
}
html body.public-body.vx-home-page .public-nav .brand>span,
html body.public-body.vx-home-page .public-nav .nav-actions>a:not(.btn) {
  color:#f0f6ff!important;
}
html body.public-body.vx-home-page .public-nav .brand small {color:#a9c7ed!important;}
html body.public-body.vx-home-page .public-nav .nav-actions>a:not(.btn):hover,
html body.public-body.vx-home-page .public-nav .nav-actions>a:not(.btn):focus-visible {
  color:#fff!important;background:#1b365b!important;border-color:#39608d!important;
}
html body.public-body.vx-home-page .public-nav .nav-actions>.btn {
  color:#fff!important;background:#1379db!important;border-color:#4bafff!important;
}
html body.public-body.vx-home-page .public-nav .nav-actions>.btn:hover {background:#2499fa!important;}

/* A coherent navy hero replaces the pale-background/white-text collision. */
html body.public-body.vx-home-page .hero {
  position:relative!important; isolation:isolate!important;
  width:min(1420px,calc(100% - 44px))!important;
  max-width:1420px!important;
  min-height:620px!important;
  margin:32px auto 76px!important;
  padding:clamp(40px,5.5vw,88px) clamp(26px,5vw,80px)!important;
  gap:clamp(24px,4vw,72px)!important;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr)!important;
  align-items:center!important;
  border:1px solid #315988!important;border-radius:28px!important;
  background:radial-gradient(circle at 75% 52%,#2859a94b 0%,transparent 40%),
    radial-gradient(circle at 95% 95%,#723ce52e 0%,transparent 42%),
    linear-gradient(125deg,#0c2344 0%,#0a1a35 58%,#111b3f 100%)!important;
  box-shadow:0 26px 72px #010c2180,inset 0 1px 0 #ffffff12!important;
  overflow:hidden!important;
}
html body.public-body.vx-home-page .hero::before {content:none!important;}
html body.public-body.vx-home-page .hero-copy {position:relative;z-index:3;min-width:0;}
html body.public-body.vx-home-page .hero-copy h1,
html body.public-body.vx-home-page .hero h1 {
  color:#f9fcff!important;-webkit-text-fill-color:#f9fcff!important;
  background:none!important;text-shadow:0 3px 26px #010c1f50!important;
  font-size:clamp(3rem,5vw,5.3rem)!important;
  line-height:1.075!important;letter-spacing:-.055em!important;
  max-width:680px!important;margin:25px 0 26px!important;
  overflow-wrap:break-word!important;
}
html body.public-body.vx-home-page .hero-copy>p {
  color:#c6d9f2!important;-webkit-text-fill-color:#c6d9f2!important;
  opacity:1!important; font-size:clamp(1rem,1.35vw,1.19rem)!important;
  line-height:1.75!important;max-width:540px!important;
}
html body.public-body.vx-home-page .hero .eyebrow {
  background:#12375b!important;color:#a9e0ff!important;
  border:1px solid #326d9a!important;box-shadow:0 5px 19px #0002!important;
  padding:11px 15px!important;max-width:100%;line-height:1.45;
}
html body.public-body.vx-home-page .hero .pulse {background:#4ecbff!important;}
html body.public-body.vx-home-page .hero-actions {gap:12px!important;align-items:center!important;}
html body.public-body.vx-home-page .hero-actions .btn {
  min-height:50px!important;white-space:normal!important;text-align:center!important;
  border-radius:12px!important;font-weight:800!important;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important;
}
html body.public-body.vx-home-page .hero-actions .btn-primary {
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:linear-gradient(115deg,var(--vx-user-accent,#168eff),var(--vx-user-alt,#736bff))!important;
  border:1px solid #6ab6ff!important;box-shadow:0 8px 26px #168eff44!important;
}
html body.public-body.vx-home-page .hero-actions .btn-outline,
html body.public-body.vx-home-page .hero-actions .btn-soft {
  background:#173052!important;color:#e6f3ff!important;-webkit-text-fill-color:#e6f3ff!important;
  border:1px solid #4373a4!important;
}
html body.public-body.vx-home-page .hero-actions .btn:hover,
html body.public-body.vx-home-page .hero-actions .btn:focus-visible {transform:translateY(-2px)!important;filter:brightness(1.14)!important;}
html body.public-body.vx-home-page .hero-sub {gap:10px!important;color:#c6dcf5!important;margin-top:26px!important;}
html body.public-body.vx-home-page .hero-sub>span,
html body.public-body.vx-home-page .hero-sub>a {
  color:#d6e8ff!important;-webkit-text-fill-color:#d6e8ff!important;
  background:#142c4d!important;border:1px solid #335b83!important;
  border-radius:12px!important;font-size:.79rem!important;line-height:1.45!important;
  padding:9px 12px!important;opacity:1!important;
}
html body.public-body.vx-home-page .hero-sub :is(i,svg) {color:#53c7ff!important;}
html body.public-body.vx-home-page .hero-visual {
  min-height:430px!important;overflow:visible!important;
}
html body.public-body.vx-home-page .hero-logo-stage {
  width:100%;max-width:590px!important;min-width:0!important;
  position:relative;display:grid;place-items:center;
  transform:none!important;
}
html body.public-body.vx-home-page .hero-mark.vx-bot-hero {
  display:grid!important;place-items:center!important;
  width:min(100%,540px)!important;height:auto!important;min-height:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  filter:drop-shadow(0 18px 33px #1385e485)!important;
  box-shadow:none!important;
}
html body.public-body.vx-home-page .hero-mark.vx-bot-hero img {
  display:block!important;width:100%!important;height:auto!important;
  max-height:490px!important;object-fit:contain!important;
  border:0!important;background:transparent!important;border-radius:0!important;
}
html body.public-body.vx-home-page .hero-halo {
  width:min(110%,620px)!important;height:500px!important;
  background:radial-gradient(ellipse,#2580e63f 0%,#6f47d91e 35%,transparent 72%)!important;
  filter:blur(18px)!important;left:50%!important;top:50%!important;
  transform:translate(-50%,-50%)!important;
}
html body.public-body.vx-home-page .tiny-sparks {color:#80d8ff!important;}

/* Harmonise the home sections: dark surfaces always get light copy. */
html body.public-body.vx-home-page :is(.landing-section,.dashboard-teaser,.vx-home-news,.vx-public-metrics,.feature-strip) {color:#edf6ff!important;}
html body.public-body.vx-home-page :is(.section-intro h2,.dashboard-teaser h2,.cta h2,.landing-section>h2) {
  color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;
}
html body.public-body.vx-home-page :is(.section-intro p,.dashboard-teaser p,.cta p,.feature-card p,.landing-section>p) {
  color:#bed0e8!important;-webkit-text-fill-color:#bed0e8!important;
}
html body.public-body.vx-home-page .section-intro em,
html body.public-body.vx-home-page .dashboard-teaser em {
  color:#6fc8ff!important;-webkit-text-fill-color:#6fc8ff!important;
  background:none!important;
}
html body.public-body.vx-home-page :is(.kicker,.feature-strip,.feature-strip span) {color:#78cfff!important;}
html body.public-body.vx-home-page :is(.feature-card,.landing-section .box,.vx-home-news .feature-card) {
  color:#f4f9ff!important;
  background:linear-gradient(150deg,#132949,#0d1e39)!important;
  border:1px solid #31557d!important;
  border-radius:18px!important;box-shadow:0 10px 30px #030d202e!important;
}
html body.public-body.vx-home-page :is(.feature-card h3,.landing-section .box h3) {color:#f4f9ff!important;}
html body.public-body.vx-home-page .landing-section .box p {color:#c0d4ee!important;}
html body.public-body.vx-home-page .vx-public-metrics>div {
  background:#132949!important;border:1px solid #31557d!important;color:#bcd5f5!important;
}
html body.public-body.vx-home-page .vx-public-metrics strong {color:#fff!important;}
html body.public-body.vx-home-page .feature-strip {border-color:#284b75!important;}
html body.public-body.vx-home-page .cta {background:linear-gradient(130deg,#10274a,#15264e)!important;border-color:#39699d!important;}
html body.public-body.vx-home-page .public-footer {
  color:#b8cdeb!important;background:#08172d!important;border-color:#29496e!important;
}
html body.public-body.vx-home-page .public-footer a {color:#a8dfff!important;}

/* Owner light mode: the same landing page in a high-contrast blue/white palette. */
html body.public-body.vx-home-page.vx-site-light {
  --vx-home-ink:#132845;--vx-home-sub:#425f83;
  background:#edf5ff!important;background-image:linear-gradient(180deg,#eef5ff,#f8fbff)!important;
  color:#132845!important;color-scheme:light;
}
html body.public-body.vx-home-page.vx-site-light .hero {
  background:radial-gradient(circle at 76% 50%,#b2d4ff8c,transparent 43%),
  linear-gradient(120deg,#fff 0%,#eaf4ff 70%,#e9e7ff 100%)!important;
  border-color:#bad1f1!important;box-shadow:0 22px 58px #244f8c24!important;
}
html body.public-body.vx-home-page.vx-site-light .hero-copy h1 {
  color:#102744!important;-webkit-text-fill-color:#102744!important;text-shadow:none!important;
}
html body.public-body.vx-home-page.vx-site-light .hero-copy>p {color:#426284!important;-webkit-text-fill-color:#426284!important;}
html body.public-body.vx-home-page.vx-site-light .hero .eyebrow {background:#e9f4ff!important;color:#1267a7!important;border-color:#b6d4f5!important;}
html body.public-body.vx-home-page.vx-site-light .hero-sub>span,
html body.public-body.vx-home-page.vx-site-light .hero-sub>a {
  color:#19466c!important;-webkit-text-fill-color:#19466c!important;background:#e8f3ff!important;border-color:#b8d4ef!important;
}
html body.public-body.vx-home-page.vx-site-light :is(.section-intro h2,.dashboard-teaser h2,.landing-section>h2) {color:#132845!important;-webkit-text-fill-color:#132845!important;}
html body.public-body.vx-home-page.vx-site-light :is(.section-intro p,.dashboard-teaser p,.feature-card p,.landing-section>p) {color:#496481!important;-webkit-text-fill-color:#496481!important;}
html body.public-body.vx-home-page.vx-site-light :is(.feature-card,.landing-section .box,.vx-home-news .feature-card,.vx-public-metrics>div) {
  color:#17314e!important;background:#fff!important;border-color:#c4d9f1!important;box-shadow:0 12px 28px #152e4e12!important;
}
html body.public-body.vx-home-page.vx-site-light :is(.feature-card h3,.landing-section .box h3,.vx-public-metrics strong) {color:#17314e!important;}
html body.public-body.vx-home-page.vx-site-light .landing-section .box p {color:#496481!important;}
html body.public-body.vx-home-page.vx-site-light .feature-strip {color:#145d97!important;border-color:#bfd8f0!important;}
html body.public-body.vx-home-page.vx-site-light .cta {background:#102745!important;color:#fff!important;}
html body.public-body.vx-home-page.vx-site-light .cta :is(h2,p) {color:#fff!important;-webkit-text-fill-color:#fff!important;}

@media(max-width:1100px) {
  html body.public-body.vx-home-page .hero {
    grid-template-columns:minmax(0,1fr) minmax(0,.78fr)!important;
    padding:48px 34px!important;min-height:530px!important;gap:16px!important;
  }
  html body.public-body.vx-home-page .hero-copy h1 {font-size:clamp(2.8rem,5.6vw,4.4rem)!important;}
  html body.public-body.vx-home-page .hero-visual {min-height:300px!important;}
}
@media(max-width:820px) {
  html body.public-body.vx-home-page .hero {
    display:grid!important;grid-template-columns:1fr!important;
    width:calc(100% - 28px)!important;
    text-align:center!important;gap:6px!important;
    padding:44px 24px 25px!important;margin:16px auto 48px!important;
    border-radius:20px!important;min-height:0!important;
  }
  html body.public-body.vx-home-page .hero-copy h1 {margin:22px auto!important;max-width:700px!important;font-size:clamp(2.65rem,8.4vw,4.3rem)!important;}
  html body.public-body.vx-home-page .hero-copy>p {margin-inline:auto!important;}
  html body.public-body.vx-home-page .hero-actions,html body.public-body.vx-home-page .hero-sub {justify-content:center!important;}
  html body.public-body.vx-home-page .hero-visual {min-height:260px!important;}
  html body.public-body.vx-home-page .hero-mark.vx-bot-hero {max-width:330px!important;}
  html body.public-body.vx-home-page .hero-halo {height:360px!important;}
}
@media(max-width:520px) {
  html body.public-body.vx-home-page .hero {padding:28px 16px 20px!important;width:calc(100% - 20px)!important;border-radius:17px!important;}
  html body.public-body.vx-home-page .hero .eyebrow {font-size:.65rem!important;letter-spacing:.06em!important;}
  html body.public-body.vx-home-page .hero-copy h1 {font-size:clamp(2.25rem,10.4vw,3.35rem)!important;line-height:1.11!important;}
  html body.public-body.vx-home-page .hero-actions {display:grid!important;grid-template-columns:1fr!important;}
  html body.public-body.vx-home-page .hero-actions .btn {width:100%!important;}
  html body.public-body.vx-home-page .hero-sub {display:grid!important;grid-template-columns:1fr 1fr!important;}
  html body.public-body.vx-home-page .hero-visual {min-height:190px!important;}
  html body.public-body.vx-home-page .hero-mark.vx-bot-hero {max-width:225px!important;}
  html body.public-body.vx-home-page .hero-halo {height:245px!important;}
  html body.public-body.vx-home-page .tiny-sparks {right:0!important;top:5px!important;}
}
@media(max-width:350px){html body.public-body.vx-home-page .hero-sub {grid-template-columns:1fr!important;}}
@media(prefers-reduced-motion:reduce){html body.public-body.vx-home-page .hero-logo-stage,html body.public-body.vx-home-page .hero-mark {animation:none!important;}}
