/* ============================================================
   FluxHub homepage — "Officina" redesign 2026
   Dark-first. Archivo display + DM Sans body + DM Mono data.
   Accent: cobalt (brand) + amber (signature / precision).
   Scoped a body.flux-2026. Autonomo: non dipende da
   critical.css / main.css. Riusa i nomi di classe richiesti
   da main.js (.header, .nav-toggle, .nav-menu, .tab-button,
   .tab-panel, .reveal, .clients-track, #demo-form, ...).
   ============================================================ */

body.flux-2026 {
  /* Brand */
  --cobalt: #2447f0;
  --cobalt-bright: #3d5ef7;
  --cobalt-glow: rgba(36, 71, 240, 0.18);
  --amber: #f5a623;
  --amber-dim: rgba(245, 166, 35, 0.14);
  --cyan: #16c8e6;

  /* Dark surfaces */
  --bg: #07091c;
  --surface: #0d1230;
  --surface-2: #131a3a;
  --on-bg: #dde5f7;
  --on-bg-dim: #8494bb;
  --on-bg-mute: #374060;
  --line-dark: #1c2647;

  /* Light surfaces */
  --paper: #f8f7f4;
  --paper-2: #eeecea;
  --on-paper: #0d1228;
  --on-paper-dim: #56637e;
  --on-paper-mute: #98a0b8;
  --line-light: #e2e7f2;

  /* Type */
  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-sm: 10px;

  margin: 0;
  font-family: var(--font-ui);
  color: var(--on-bg);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.flux-2026 * { box-sizing: border-box; }
body.flux-2026 img { max-width: 100%; display: block; }
body.flux-2026 h1, body.flux-2026 h2, body.flux-2026 h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--on-bg);
}
body.flux-2026 a { color: inherit; }

.fx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; top: -48px; left: 8px; background: var(--cobalt); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 1100; text-decoration: none; }
.skip-link:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- BUTTONS ---------- */
body.flux-2026 .btn {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.25s, background 0.2s, color 0.2s;
}
body.flux-2026 .btn-primary {
  background: var(--cobalt);
  color: #fff;
  padding: 12px 22px;
  box-shadow: 0 4px 20px var(--cobalt-glow);
}
body.flux-2026 .btn-primary:hover {
  background: var(--cobalt-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(36,71,240,.38);
}
body.flux-2026 .btn-ghost {
  background: transparent;
  color: var(--on-bg);
  padding: 12px 22px;
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
body.flux-2026 .btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--amber);
  color: var(--amber);
}
body.flux-2026 .btn-lg { padding: 15px 28px; font-size: 16px; }
body.flux-2026 .btn .arr { transition: transform 0.4s var(--ease); }
body.flux-2026 .btn:hover .arr { transform: translateX(5px); }
body.flux-2026 .btn-on-dark { background: #fff; color: var(--on-paper); }
body.flux-2026 .btn-on-dark:hover { background: var(--paper); }
body.flux-2026 .btn-outline-dark {
  background: transparent;
  color: var(--on-bg);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
body.flux-2026 .btn-outline-dark:hover {
  box-shadow: inset 0 0 0 1px var(--amber);
  color: var(--amber);
}

/* ---------- HEADER ---------- */
body.flux-2026 .header { position: sticky; top: 0; z-index: 1000; padding-top: 14px; background: transparent; border: 0; }
body.flux-2026 .header-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 12px 9px 18px;
  background: rgba(28, 36, 72, 0.55);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid rgba(120, 140, 200, 0.24);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
  transition: box-shadow 0.3s, background 0.3s;
}
body.flux-2026 .header.is-scrolled .header-content {
  background: rgba(20, 27, 56, 0.82);
  box-shadow: 0 16px 48px rgba(0,0,0,.55);
}
body.flux-2026 .logo { display: flex; align-items: center; }
body.flux-2026 .logo img { height: 40px; width: auto; }
body.flux-2026 .main-nav { display: flex; align-items: center; gap: clamp(1rem,2vw,1.8rem); }
body.flux-2026 .nav-menu { display: flex; align-items: center; }
body.flux-2026 .nav-links { display: flex; align-items: center; gap: clamp(.9rem,2vw,1.6rem); list-style: none; margin: 0; padding: 0; }
body.flux-2026 .nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--on-bg-dim);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
body.flux-2026 .nav-link:hover { color: var(--on-bg); }
body.flux-2026 .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1.5px;
  border-radius: 2px;
  background: var(--amber);
  transition: width 0.25s var(--ease);
}
body.flux-2026 .nav-link:hover::after { width: 100%; }
body.flux-2026 .nav-cta { white-space: nowrap; }
body.flux-2026 .nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  cursor: pointer;
}
body.flux-2026 .nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--on-bg);
  border-radius: 2px;
  transition: .3s;
}

@media (max-width: 860px) {
  body.flux-2026 .nav-toggle { display: flex; }
  body.flux-2026 .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--line-dark);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 24px 54px rgba(0,0,0,.55);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  body.flux-2026 .nav-menu.active { opacity: 1; transform: none; pointer-events: auto; }
  body.flux-2026 .nav-links { flex-direction: column; align-items: flex-start; gap: 16px; }
  body.flux-2026 .nav-link::after { bottom: -3px; }
}
@media (max-width: 420px) {
  body.flux-2026 .nav-cta { padding: 9px 14px; font-size: 14px; }
  body.flux-2026 .logo img { height: 34px; }
}

/* ---------- HERO ("Sala Controllo") ---------- */
body.flux-2026 .hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 96px;
  background: var(--bg);
}
body.flux-2026 .hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -120px;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(36,71,240,.16), transparent 60%);
  pointer-events: none;
}
body.flux-2026 .hero::after {
  content: "";
  position: absolute;
  bottom: -220px; left: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(245,166,35,.05), transparent 65%);
  pointer-events: none;
}
body.flux-2026 .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 64px;
  align-items: center;
}
body.flux-2026 .hero-copy, body.flux-2026 .viz { min-width: 0; }

body.flux-2026 .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-bg-dim);
  margin-bottom: 30px;
}
body.flux-2026 .eyebrow b { color: var(--on-bg); font-weight: 500; }
body.flux-2026 .eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22d98a;
  box-shadow: 0 0 0 3px rgba(34,217,138,.18);
  animation: fx-beat 2.4s ease-in-out infinite;
}
@keyframes fx-beat {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,217,138,.2); }
  50% { box-shadow: 0 0 0 7px rgba(34,217,138,0); }
}

body.flux-2026 .hero h1 {
  font-weight: 800;
  font-size: clamp(2.35rem, 4.7vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.038em;
  max-width: 14ch;
  color: var(--on-bg);
}
body.flux-2026 .hero h1 .hl { color: var(--amber); white-space: nowrap; }
body.flux-2026 .hero-sub {
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  color: var(--on-bg-dim);
  max-width: 44ch;
  margin: 26px 0 36px;
  line-height: 1.66;
  font-weight: 400;
}
body.flux-2026 .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero entrance — copy sale in scena scaglionata, il pannello la segue */
@keyframes fx-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
body.flux-2026 .hero-copy > * { opacity: 0; animation: fx-rise .85s var(--ease) forwards; }
body.flux-2026 .hero-copy > h1 { animation-delay: .05s; }
body.flux-2026 .hero-copy > .hero-sub { animation-delay: .18s; }
body.flux-2026 .hero-copy > .hero-actions { animation-delay: .3s; }
body.flux-2026 .hero-copy > .proof { animation-delay: .45s; }
body.flux-2026 .viz { opacity: 0; animation: fx-rise .9s var(--ease) .25s forwards; }

body.flux-2026 .proof {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
body.flux-2026 .proof .stat { display: flex; flex-direction: column; gap: 2px; }
body.flux-2026 .proof .num { font-family: var(--font-mono); font-weight: 500; font-size: 21px; color: var(--on-bg); letter-spacing: -0.01em; }
body.flux-2026 .proof .cap { font-size: 12px; color: var(--on-bg-dim); }
body.flux-2026 .proof .sep { width: 1px; height: 36px; background: var(--line-dark); }
body.flux-2026 .proof .integra { font-size: 12.5px; color: var(--on-bg-dim); line-height: 1.4; }
body.flux-2026 .proof .integra b { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--on-bg); font-weight: 500; letter-spacing: .01em; }

/* ---------- INSTRUMENT (HMI control panel) ---------- */
body.flux-2026 .viz { position: relative; }
body.flux-2026 .panel {
  position: relative;
  min-width: 0;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  box-shadow: 0 50px 100px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}
body.flux-2026 .panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
  box-shadow: inset 0 0 80px rgba(36,71,240,.06);
}
body.flux-2026 .bracket { position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--on-bg-mute); opacity: .7; z-index: 3; }
body.flux-2026 .bracket.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
body.flux-2026 .bracket.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
body.flux-2026 .bracket.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
body.flux-2026 .bracket.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

body.flux-2026 .rail {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 20px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255,255,255,.012);
}
body.flux-2026 .rail-id { font-family: var(--font-mono); font-size: 12px; color: var(--on-bg-dim); display: flex; align-items: center; gap: 9px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.flux-2026 .rail-id b { color: var(--on-bg); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
body.flux-2026 .rail-id .pid { color: var(--cobalt-bright); flex-shrink: 0; }
body.flux-2026 .rail-live { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; color: #22d98a; background: rgba(34,217,138,.1); padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(34,217,138,.24); }
body.flux-2026 .rail-live .d { width: 5px; height: 5px; border-radius: 50%; background: #22d98a; animation: fx-blink 1.6s ease-in-out infinite; }
@keyframes fx-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

body.flux-2026 .stage {
  position: relative;
  padding: 26px 22px 22px;
  background:
    linear-gradient(rgba(28,38,71,.55) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(28,38,71,.55) 1px, transparent 1px) 0 0 / 30px 30px,
    transparent;
}
body.flux-2026 svg.flow { display: block; width: 100%; height: auto; overflow: visible; }
body.flux-2026 .conn { fill: none; stroke: #2b3766; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: fx-draw 1s var(--ease) forwards; }
body.flux-2026 .conn.delay1 { animation-delay: .2s; }
body.flux-2026 .conn.delay2 { animation-delay: .45s; }
body.flux-2026 .conn.delay3 { animation-delay: .7s; }
@keyframes fx-draw { to { stroke-dashoffset: 0; } }
body.flux-2026 .node { opacity: 0; transform-box: fill-box; transform-origin: center; animation: fx-pop .5s var(--ease) forwards; }
body.flux-2026 .node.n1 { animation-delay: .1s; }
body.flux-2026 .node.n2 { animation-delay: .3s; }
body.flux-2026 .node.n3 { animation-delay: .55s; }
body.flux-2026 .node.n4 { animation-delay: .8s; }
body.flux-2026 .node.n5 { animation-delay: .95s; }
body.flux-2026 .node.n6 { animation-delay: 1.15s; }
@keyframes fx-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
body.flux-2026 .nbox { fill: var(--surface-2); stroke: #283360; stroke-width: 1.4; }
body.flux-2026 .nbox.accent { fill: rgba(36,71,240,.16); stroke: rgba(61,94,247,.5); }
body.flux-2026 .nlabel { font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; fill: var(--on-bg); }
body.flux-2026 .nsmall { font-family: 'DM Mono', monospace; font-size: 9.5px; font-weight: 400; fill: var(--on-bg-dim); }
body.flux-2026 .diamond { fill: var(--surface-2); stroke: var(--cobalt-bright); stroke-width: 1.7; }

/* node ignition — fires as the live signal passes (signature) */
body.flux-2026 .spark { fill: none; stroke: var(--amber); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: fx-ignite 4.6s linear infinite; }
body.flux-2026 .spark.sp1 { animation-delay: .5s; }
body.flux-2026 .spark.sp2 { animation-delay: 1.45s; }
body.flux-2026 .spark.sp3 { animation-delay: 1.95s; }
body.flux-2026 .spark.sp4 { animation-delay: 2.65s; }
body.flux-2026 .spark.sp6 { animation-delay: 3.9s; }
@keyframes fx-ignite { 0% { opacity: 0; transform: scale(.4); } 3% { opacity: .95; } 13% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }

body.flux-2026 .token {
  offset-path: path('M 70 132 H 150 C 180 132 180 132 205 132 H 286 L 330 92 H 430 L 470 132 H 524');
  offset-rotate: 0deg;
  animation: fx-travel 4.6s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes fx-travel { 0% { offset-distance: 0%; } 11% { offset-distance: 0%; } 85% { offset-distance: 100%; } 100% { offset-distance: 100%; } }
body.flux-2026 .token .core { fill: var(--amber); }
body.flux-2026 .token .halo { fill: var(--amber); opacity: .22; }

/* readout — live gauges integrated into the instrument */
body.flux-2026 .readout { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
body.flux-2026 .gauge { padding: 15px 20px; border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 5px; }
body.flux-2026 .gauge:last-child { border-right: none; }
body.flux-2026 .gauge .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-bg-dim); }
body.flux-2026 .gauge .v { font-family: var(--font-mono); font-size: 19px; font-weight: 500; color: var(--on-bg); letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 6px; }
body.flux-2026 .gauge .v .u { font-size: 11px; color: var(--on-bg-dim); font-weight: 400; }
body.flux-2026 .gauge.live .v { color: var(--amber); }
body.flux-2026 .gauge .bar { height: 3px; border-radius: 2px; background: var(--line-dark); overflow: hidden; margin-top: 3px; }
body.flux-2026 .gauge .bar i { display: block; height: 100%; background: var(--cobalt-bright); border-radius: 2px; transform-origin: left; transform: scaleX(0); animation: fx-fill 1.4s var(--ease) forwards; }
body.flux-2026 .gauge.live .bar i { background: var(--amber); }
@keyframes fx-fill { to { transform: scaleX(var(--lvl, .6)); } }
body.flux-2026 .gauge .v.tick { animation: fx-tick .6s var(--ease); }
@keyframes fx-tick { 0% { color: var(--amber); } 100% { color: inherit; } }

body.flux-2026 .viz-note { margin-top: 14px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--on-bg-mute); text-align: right; }

/* ---------- LOGO BAND (light) ---------- */
body.flux-2026 .logo-band {
  background: var(--paper);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 30px 0;
}
body.flux-2026 .logo-band .label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .10em;
  color: var(--on-paper-mute);
  text-transform: uppercase;
  margin-bottom: 22px;
}
body.flux-2026 .clients-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
body.flux-2026 .clients-marquee + .clients-marquee { margin-top: 16px; }
body.flux-2026 .clients-track {
  display: flex;
  gap: 48px;
  width: max-content;
  align-items: center;
  animation: fx-marquee 60s linear infinite;
}
body.flux-2026 .clients-marquee--reverse .clients-track { animation-direction: reverse; animation-duration: 75s; }
body.flux-2026 .clients-marquee:hover .clients-track { animation-play-state: paused; }
body.flux-2026 .clients-track .client-logo {
  flex: 0 0 auto;
  width: 150px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.flux-2026 .clients-track .client-logo img {
  max-height: 40px;
  width: auto;
  opacity: .48;
  filter: grayscale(100%);
  transition: opacity .3s, filter .3s;
}
body.flux-2026 .clients-track .client-logo:hover img { opacity: 1; filter: grayscale(0); }
@keyframes fx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
body.flux-2026 .clients-grid { display: none; }

/* ---------- SECTION SHELL ---------- */
body.flux-2026 .section { padding: 96px 0; }
body.flux-2026 .section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
body.flux-2026 .section-head.left { margin-left: 0; text-align: left; }
body.flux-2026 .kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
body.flux-2026 .section h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--on-bg);
}
body.flux-2026 .section-sub {
  font-size: 1.06rem;
  color: var(--on-bg-dim);
  margin-top: 16px;
  line-height: 1.65;
}

/* ---------- BENEFITS (dark) ---------- */
body.flux-2026 .benefits { background: var(--bg); }
body.flux-2026 .benefits-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
body.flux-2026 .feature-card {
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .3s, border-color .3s;
}
body.flux-2026 .feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cobalt), var(--amber));
  opacity: 0;
  transition: opacity .3s;
}
body.flux-2026 .feature-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.35); border-color: rgba(36,71,240,.35); }
body.flux-2026 .feature-card:hover::before { opacity: 1; }
body.flux-2026 .feature-card .glyph {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 20px;
  width: 54px;
  height: 54px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-dark);
  color: var(--amber);
  margin-bottom: 22px;
}
body.flux-2026 .feature-card h3 { font-size: 1.42rem; font-weight: 700; margin-bottom: 10px; color: var(--on-bg); }
body.flux-2026 .feature-card p { color: var(--on-bg-dim); font-size: 1rem; max-width: 42ch; line-height: 1.65; }
body.flux-2026 .feature-card .metric { margin-top: 24px; display: inline-flex; align-items: baseline; gap: 10px; }
body.flux-2026 .feature-card .metric .v {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 30px;
  color: var(--amber);
  letter-spacing: -0.02em;
}
body.flux-2026 .feature-card .metric .l { font-size: 13px; color: var(--on-bg-dim); max-width: 22ch; line-height: 1.3; }

body.flux-2026 .benefits-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
body.flux-2026 .benefits-list li {
  display: grid;
  grid-template-columns: 64px 200px 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 12px;
  border-bottom: 1px solid var(--line-dark);
  transition: background .3s, transform .3s var(--ease);
}
body.flux-2026 .benefits-list li:hover { background: var(--surface); transform: translateX(4px); }
body.flux-2026 .benefits-list .n { font-family: var(--font-mono); font-weight: 400; font-size: 13px; color: var(--on-bg-mute); }
body.flux-2026 .benefits-list .k { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--on-bg); }
body.flux-2026 .benefits-list .d { color: var(--on-bg-dim); font-size: .97rem; }

/* ---------- BPM PROOF (light) ---------- */
body.flux-2026 .bpm-proof {
  background: var(--paper);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
body.flux-2026 .bpm-proof .kicker { color: var(--cobalt); }
body.flux-2026 .bpm-proof .section h2,
body.flux-2026 .bpm-proof h2 { color: var(--on-paper); }
body.flux-2026 .bpm-proof .section-sub { color: var(--on-paper-dim); }
body.flux-2026 .proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.flux-2026 .proof-stat {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .3s;
}
body.flux-2026 .proof-stat::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cobalt), var(--cyan));
  opacity: 0;
  transition: opacity .3s;
}
body.flux-2026 .proof-stat:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(13,18,40,.1); }
body.flux-2026 .proof-stat:hover::after { opacity: 1; }
body.flux-2026 .proof-stat .v {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cobalt);
}
body.flux-2026 .proof-stat .k { color: var(--on-paper-dim); margin: 14px auto; font-size: 1rem; max-width: 26ch; line-height: 1.5; }
body.flux-2026 .proof-stat .src { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .02em; color: var(--on-paper-mute); }
body.flux-2026 .proof-note { text-align: center; color: var(--on-paper-mute); font-size: 13px; margin: 28px auto 0; max-width: 62ch; line-height: 1.6; }

/* ---------- PLATFORM (dark, surface tone) ---------- */
body.flux-2026 .platform {
  background: var(--surface);
  color: var(--on-bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
}
body.flux-2026 .platform::before {
  content: "";
  position: absolute;
  top: -30%; right: -8%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(36,71,240,.18), transparent 64%);
  pointer-events: none;
}
body.flux-2026 .platform::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(22,200,230,.1), transparent 66%);
  pointer-events: none;
}
body.flux-2026 .platform .kicker { color: var(--cyan); }
body.flux-2026 .platform h2 { color: var(--on-bg); }
body.flux-2026 .platform .section-sub { color: var(--on-bg-dim); }
body.flux-2026 .platform-demo { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; }
body.flux-2026 .demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
body.flux-2026 .tab-button {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--on-bg-dim);
  background: transparent;
  border: 1px solid var(--line-dark);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s, background .25s, border-color .25s;
}
body.flux-2026 .tab-button:hover { color: var(--on-bg); border-color: var(--on-bg-dim); }
body.flux-2026 .tab-button.active { color: #fff; background: var(--cobalt); border-color: var(--cobalt); }
body.flux-2026 .demo-content { position: relative; min-height: 420px; }
body.flux-2026 .tab-panel {
  opacity: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
body.flux-2026 .tab-panel.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
}
body.flux-2026 .demo-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
body.flux-2026 .demo-image img { width: 100%; height: auto; transition: transform .6s var(--ease); }
body.flux-2026 .tab-panel.active:hover .demo-image img { transform: translateY(-4px) scale(1.01); }
body.flux-2026 .demo-description h3 { color: var(--on-bg); font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; }
body.flux-2026 .demo-description p { color: var(--on-bg-dim); margin-bottom: 20px; line-height: 1.65; }
body.flux-2026 .demo-description ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
body.flux-2026 .demo-description li { position: relative; padding-left: 28px; color: var(--on-bg); font-size: .96rem; }
body.flux-2026 .demo-description li::before {
  content: "";
  position: absolute;
  left: 4px; top: .45em;
  width: 10px; height: 5px;
  border-left: 1.5px solid var(--amber);
  border-bottom: 1.5px solid var(--amber);
  transform: rotate(-45deg);
}
body.flux-2026 .platform-cta {
  text-align: center;
  margin-top: 48px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ---------- SOLUTIONS (light) ---------- */
body.flux-2026 .solutions {
  background: var(--paper);
  border-top: 1px solid var(--line-light);
}
body.flux-2026 .solutions .kicker { color: var(--cobalt); }
body.flux-2026 .solutions h2 { color: var(--on-paper); }
body.flux-2026 .solutions .section-sub { color: var(--on-paper-dim); }
body.flux-2026 .solutions-hooks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
body.flux-2026 .solution-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .4s var(--ease), box-shadow .3s, border-color .3s;
}
body.flux-2026 .solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(13,18,40,.08);
  border-color: var(--cobalt);
}
body.flux-2026 .solution-card .ic {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(36,71,240,.06);
  color: var(--cobalt);
  margin-bottom: 18px;
  border: 1px solid rgba(36,71,240,.12);
}
body.flux-2026 .solution-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; color: var(--on-paper); }
body.flux-2026 .solution-card > p { color: var(--on-paper-dim); margin-bottom: 16px; font-size: .96rem; line-height: 1.6; }
body.flux-2026 .solution-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
body.flux-2026 .solution-card li { position: relative; padding-left: 20px; color: var(--on-paper-dim); font-size: .93rem; }
body.flux-2026 .solution-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: .5em;
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--cobalt);
  border-bottom: 1.5px solid var(--cobalt);
  transform: rotate(-45deg);
}
body.flux-2026 .solution-card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--cobalt); text-decoration: none; }
body.flux-2026 .solution-card .more:hover { text-decoration: underline; }

body.flux-2026 .solutions-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
body.flux-2026 .solutions-list li {
  display: grid;
  grid-template-columns: 56px 220px 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line-light);
  transition: background .25s, transform .3s var(--ease);
}
body.flux-2026 .solutions-list li:hover { background: rgba(36,71,240,.04); transform: translateX(4px); }
body.flux-2026 .solutions-list .n { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--on-paper-mute); }
body.flux-2026 .solutions-list .k { font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: var(--on-paper); }
body.flux-2026 .solutions-list .d { color: var(--on-paper-dim); font-size: .94rem; }

/* ---------- FAQ (light) ---------- */
body.flux-2026 .faq {
  background: var(--paper);
  border-top: 1px solid var(--line-light);
}
body.flux-2026 .faq .kicker { color: var(--cobalt); }
body.flux-2026 .faq h2 { color: var(--on-paper); }
body.flux-2026 .faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line-light); }
body.flux-2026 .faq-item { border-bottom: 1px solid var(--line-light); }
body.flux-2026 .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--on-paper);
  transition: color .2s;
}
body.flux-2026 .faq-item summary::-webkit-details-marker { display: none; }
body.flux-2026 .faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
  color: var(--cobalt);
  transition: transform .3s var(--ease);
}
body.flux-2026 .faq-item[open] summary::after { transform: rotate(45deg); }
body.flux-2026 .faq-item summary:hover { color: var(--cobalt); }
body.flux-2026 .faq-a { padding: 0 4px 26px; color: var(--on-paper-dim); max-width: 72ch; }
body.flux-2026 .faq-item[open] .faq-a { animation: fx-faq-open .4s var(--ease); }
@keyframes fx-faq-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.flux-2026 .faq-a p { margin: 0; line-height: 1.65; }

/* ---------- CTA + FORM (dark) ---------- */
body.flux-2026 .cta {
  background: var(--bg);
  color: var(--on-bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
}
body.flux-2026 .cta::before {
  content: "";
  position: absolute;
  top: -30%; left: -8%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(36,71,240,.2), transparent 64%);
  pointer-events: none;
}
body.flux-2026 .cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
body.flux-2026 .cta .kicker { color: var(--amber); }
body.flux-2026 .cta h2 { color: var(--on-bg); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.1; }
body.flux-2026 .cta .cta-sub { color: var(--on-bg-dim); margin-top: 16px; font-size: 1.06rem; max-width: 42ch; line-height: 1.65; }
body.flux-2026 .cta-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
body.flux-2026 .cta-points li { position: relative; padding-left: 28px; color: var(--on-bg-dim); font-size: .97rem; }
body.flux-2026 .cta-points li::before {
  content: "";
  position: absolute;
  left: 4px; top: .45em;
  width: 10px; height: 5px;
  border-left: 1.5px solid var(--amber);
  border-bottom: 1.5px solid var(--amber);
  transform: rotate(-45deg);
}
body.flux-2026 .cta-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.04);
}
body.flux-2026 .cta-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.flux-2026 .form-group { margin-bottom: 16px; display: flex; flex-direction: column; }
body.flux-2026 .form-group label { font-size: 12.5px; font-weight: 600; color: var(--on-paper); margin-bottom: 7px; }
body.flux-2026 .form-group input,
body.flux-2026 .form-group textarea {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--on-paper);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
body.flux-2026 .form-group input:focus,
body.flux-2026 .form-group textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(36,71,240,.12);
}
body.flux-2026 .form-group input.error,
body.flux-2026 .form-group textarea.error {
  border-color: #e24b4a;
  box-shadow: 0 0 0 3px rgba(226,75,74,.12);
}
body.flux-2026 .error-message { color: #c0392b; font-size: 12.5px; margin-top: 6px; }
body.flux-2026 .cta-form button { width: 100%; margin-top: 6px; }

/* ---------- FOOTER ---------- */
body.flux-2026 .footer { background: #05070f; color: var(--on-bg-dim); padding: 64px 0 32px; }
body.flux-2026 .footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
body.flux-2026 .footer-logo { height: 46px; width: auto; display: block; margin-bottom: 16px; }
body.flux-2026 .footer-description { color: var(--on-bg-dim); max-width: 38ch; font-size: .94rem; line-height: 1.65; }
body.flux-2026 .footer-contact { margin-top: 18px; color: var(--on-bg-dim); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
body.flux-2026 .footer-title { color: var(--on-bg); font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
body.flux-2026 .footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
body.flux-2026 .footer-links a { color: var(--on-bg-dim); text-decoration: none; font-size: .93rem; transition: color .2s; }
body.flux-2026 .footer-links a:hover { color: var(--on-bg); }
body.flux-2026 .footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
body.flux-2026 .footer-bottom .copyright { color: var(--on-bg-mute); font-size: .86rem; }
body.flux-2026 .footer-cert { display: flex; gap: 14px; align-items: center; opacity: .45; }
body.flux-2026 .footer-cert img { height: 38px; width: auto; filter: grayscale(100%) brightness(2); }

/* ---------- REVEAL ---------- */
body.flux-2026 .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
body.flux-2026 .reveal.is-visible { opacity: 1; transform: none; }
body.flux-2026 .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
body.flux-2026 .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
body.flux-2026 .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 60ms; }
body.flux-2026 .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 150ms; }
body.flux-2026 .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 240ms; }
body.flux-2026 .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 330ms; }
body.flux-2026 .reveal-stagger.is-visible > *:nth-child(n+5) { transition-delay: 420ms; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  body.flux-2026 .hero-grid,
  body.flux-2026 .cta-grid { grid-template-columns: 1fr; gap: 44px; }
  body.flux-2026 .benefits-feature { grid-template-columns: 1fr; }
  body.flux-2026 .proof-grid { grid-template-columns: 1fr; }
  body.flux-2026 .solutions-hooks { grid-template-columns: 1fr; }
  body.flux-2026 .tab-panel.active { grid-template-columns: 1fr; gap: 28px; }
  body.flux-2026 .demo-content { min-height: 0; }
  body.flux-2026 .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body.flux-2026 .fx-wrap { padding: 0 20px; }
  body.flux-2026 .section { padding: 64px 0; }
  body.flux-2026 .benefits-list li { grid-template-columns: 44px 1fr; gap: 10px 14px; }
  body.flux-2026 .benefits-list .d { grid-column: 2; }
  body.flux-2026 .solutions-list li { grid-template-columns: 44px 1fr; gap: 10px 14px; }
  body.flux-2026 .solutions-list .d { grid-column: 2; }
  body.flux-2026 .cta-form .form-row { grid-template-columns: 1fr; }
  body.flux-2026 .footer-content { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  body.flux-2026 .readout { grid-template-columns: 1fr; }
  body.flux-2026 .gauge { border-right: none; border-bottom: 1px solid var(--line-dark); }
  body.flux-2026 .gauge:last-child { border-bottom: none; }
  body.flux-2026 .proof .sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.flux-2026 * { animation: none !important; transition-duration: .001ms !important; }
  body.flux-2026 .conn { stroke-dashoffset: 0; }
  body.flux-2026 .node { opacity: 1; transform: none; }
  body.flux-2026 .hero-copy > *, body.flux-2026 .viz { opacity: 1; transform: none; }
  body.flux-2026 .token, body.flux-2026 .spark { display: none; }
  body.flux-2026 .gauge .bar i { transform: scaleX(var(--lvl, .6)); }
  body.flux-2026 .reveal, body.flux-2026 .reveal-stagger > * { opacity: 1; transform: none; }
  body.flux-2026 .clients-track { animation: none; }
}
