/* ════════════════════════════════════════════════════════════════════
   Bankz AI Vault — LUX layer (loaded after site.css)
   1. Typography: Clash Display (display) · General Sans (body) · Geist Mono (numbers)
   2. Metallic system: emerald chrome, brushed gold, platinum, gunmetal
   3. Component-library patterns (vanilla ports): shiny text, border beam,
      spotlight cards, marquee, bento, aurora + particles, animated beams,
      shimmer/magnetic buttons
   ════════════════════════════════════════════════════════════════════ */

/* ── 1. Fonts (self-hosted woff2, swap, metric-matched fallbacks = no CLS) ── */
@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-700.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-700.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* fallbacks tuned in-browser against the real faces */
@font-face { font-family: "Clash Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 112%; ascent-override: 86%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "General Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 99.1%; ascent-override: 108%; descent-override: 28%; line-gap-override: 0%; }
@font-face { font-family: "Geist Fallback"; src: local("Courier New"), local("Liberation Mono"), local("Menlo"); size-adjust: 100%; ascent-override: 104%; descent-override: 27%; }

:root {
  --f-display: "Clash Display", "Clash Fallback", system-ui, sans-serif;
  --f-body: "General Sans", "General Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", "Geist Fallback", ui-monospace, "SFMono-Regular", monospace;

  /* fluid modular scale (≈1.25 → 1.333) */
  --t-xs: clamp(11px, 0.72rem + 0.05vw, 12px);
  --t-sm: clamp(13px, 0.8rem + 0.1vw, 14.5px);
  --t-md: clamp(15.5px, 0.95rem + 0.15vw, 17px);
  --t-lg: clamp(17px, 1rem + 0.45vw, 20px);
  --t-h3: clamp(23px, 1.2rem + 1vw, 31px);
  --t-h2: clamp(32px, 1.2rem + 2.6vw, 54px);
  --t-h1: clamp(38px, 1.1rem + 3.3vw, 64px);

  /* ── 2. metal tokens: highlight / midtone / shadow bands ── */
  --metal-em: linear-gradient(180deg, #f2fff8 0%, #b6ffd9 14%, #3dff9e 30%, #00d873 44%, #007a42 52%, #12c070 58%, #5dffb0 70%, #d8ffec 84%, #04a55a 100%);
  --metal-em-x: linear-gradient(100deg, #0a8f4f 0%, #2cff98 18%, #e6fff2 30%, #39ff8c 42%, #00a85c 58%, #7dffc0 74%, #0f9a57 100%);
  --metal-gold: linear-gradient(180deg, #fffaea 0%, #ffe7a3 15%, #f0c25a 32%, #c18a28 46%, #6f4708 53%, #b67f1f 60%, #f7d27a 74%, #fff2c4 86%, #a8741c 100%);
  --metal-gold-x: linear-gradient(100deg, #8a5a12 0%, #e8b64e 20%, #fff3c8 34%, #f2c662 46%, #a26c17 62%, #f8d98a 80%, #9a6614 100%);
  --metal-plat: linear-gradient(180deg, #ffffff 0%, #f6fffa 24%, #dcece3 44%, #a7bfb2 54%, #d4e6dc 62%, #f8fffb 80%, #bcd2c6 100%);
  --metal-gun: linear-gradient(180deg, #1d3328 0%, #0c1d15 42%, #050d09 58%, #0b1a13 100%);
  --sheen: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.85) 50%, transparent 60%);
  --brushed: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px, rgba(0, 0, 0, 0.04) 3px 4px);
  --bevel: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  --gold: #f0c25a;
  --grad: var(--metal-em-x);
  --metal-btn: linear-gradient(180deg, #e4fff1 0%, #8affc6 20%, #2ff595 42%, #08c96f 52%, #1fe286 60%, #6dffb8 80%, #2bd884 100%);
  --grad-btn: var(--metal-btn);
}

@property --beam-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --sheen-x { syntax: "<percentage>"; inherits: false; initial-value: 160%; }

body { font-family: var(--f-body); font-weight: 400; letter-spacing: 0.002em; font-feature-settings: "kern", "liga"; font-optical-sizing: auto; text-rendering: optimizeLegibility; }
/* all numbers in mock-ups line up */
.mock, .win, .float, .hq-control, .agent-map, .desk3d, .chip, .badge, .k-v, .pc-v, .o-p, .hk b, .matrix, [data-count], [data-px], .tab, .px, .pl-v, .nw-cd, table { font-variant-numeric: tabular-nums lining-nums; }
.mock b, .mock em, .mock strong, .win b, .float b, .hq-control b { font-variant-numeric: tabular-nums lining-nums; }

/* ── type roles ── */
.display { font-family: var(--f-display); font-weight: 600; font-size: var(--t-h1); line-height: 1; letter-spacing: -0.012em; }
.h2 { font-family: var(--f-display); font-weight: 600; font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.01em; }
.h3 { font-family: var(--f-display); font-weight: 600; font-size: var(--t-h3); line-height: 1.12; letter-spacing: -0.012em; }
h3, .vstep h3, .plan h3, .trust h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.008em; }
.lede { font-size: var(--t-lg); line-height: 1.6; color: #b9d3c5; letter-spacing: 0.003em; }
.brand-word { font-family: var(--f-display); font-weight: 500; letter-spacing: 0.005em; }
.brand-word b { font-weight: 700; background: var(--metal-plat); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links a { font-weight: 500; letter-spacing: 0.01em; }
.btn { font-family: var(--f-body); font-weight: 600; letter-spacing: 0.01em; }
.k-v, .hk b, .orail b, .matrix thead th, .nw-cd { font-family: var(--f-display); font-weight: 600; }
.eyebrow, .k-l, .orail .o-n, .hk span, .chip, .badge { font-family: var(--f-mono); }

/* platinum chrome on display + h2 (bands repeat per line via background-size) */
.display, .h2 {
  background: var(--metal-plat); background-size: 100% 1em; background-repeat: repeat-y;
  background-position: 0 0.1em;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.85)) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
}
.display { background-size: 100% 1em; }
.h2 { background-size: 100% 1.04em; }

/* ── 3a. shiny metallic heading text (React Bits ShinyText / Magic UI AnimatedShinyText) ── */
.grad {
  background-image: var(--sheen), var(--metal-em);
  background-size: 250% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: var(--sheen-x) 0, 0 0;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 40, 20, 0.9)) drop-shadow(0 0 22px rgba(0, 255, 136, 0.22));
  animation: lux-sheen 7s var(--ease) infinite;
}
.grad.gold, .gold-text {
  background-image: var(--sheen), var(--metal-gold);
  filter: drop-shadow(0 1px 0 rgba(40, 24, 0, 0.9)) drop-shadow(0 0 22px rgba(240, 194, 90, 0.22));
}
@keyframes lux-sheen { 0%, 55% { --sheen-x: 160%; } 100% { --sheen-x: -60%; } }

/* ── metal accents: prices + stat numbers in brushed gold ── */
.pc-v, .pl-v, .hk b, .orail .o-p {
  background-image: var(--sheen), var(--metal-gold);
  background-size: 250% 100%, 100% 100%; background-repeat: no-repeat;
  background-position: var(--sheen-x) 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(30, 18, 0, 0.9)) drop-shadow(0 6px 18px rgba(240, 194, 90, 0.18));
  animation: lux-sheen 8s var(--ease) infinite;
}
.pc-v, .pl-v { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.015em; }
.orail .o-p { font-family: var(--f-mono); font-weight: 600; }
.matrix .price-row td { background: var(--metal-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--f-mono); }
.vnum { font-family: var(--f-display); font-weight: 600; -webkit-text-stroke: 1px rgba(240, 194, 90, 0.38); }

/* ── eyebrow: gunmetal pill with metallic hairline + gold dot ── */
.eyebrow {
  position: relative; color: #c8f7de; letter-spacing: 0.18em; font-weight: 500;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 55%), var(--metal-gun);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 6px 16px -8px rgba(0, 0, 0, 0.8);
  isolation: isolate;
}
.eyebrow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(100deg, rgba(240, 194, 90, 0.75), rgba(255, 255, 255, 0.2) 30%, rgba(0, 255, 136, 0.55) 60%, rgba(255, 255, 255, 0.1) 80%, rgba(240, 194, 90, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.eyebrow .dot { background: radial-gradient(circle at 35% 30%, #fffbe8, #f0c25a 45%, #8a5a12); box-shadow: 0 0 10px rgba(240, 194, 90, 0.8), 0 0 2px #fff; }

/* ── buttons: emerald chrome + brushed texture + bevel + shimmer sweep ── */
.btn-primary {
  color: #002412; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.05) 46%, rgba(0, 0, 0, 0) 54%, rgba(0, 40, 20, 0.12) 100%), var(--brushed), var(--metal-btn);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -2px 0 rgba(0, 70, 35, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(0, 90, 48, 0.9), 0 1px 0 1px rgba(0, 0, 0, 0.6),
    0 14px 30px -10px rgba(0, 255, 136, 0.55), 0 4px 10px -2px rgba(0, 0, 0, 0.6);
}
.btn-primary::after {
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: lux-shimmer 5.5s var(--ease) infinite 1.2s;
}
.btn-primary:hover::after { animation: none; transform: translateX(130%); }
@keyframes lux-shimmer { 0%, 72% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -2px 0 rgba(0, 70, 35, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(0, 110, 58, 0.95), 0 1px 0 1px rgba(0, 0, 0, 0.6),
    0 20px 44px -10px rgba(0, 255, 136, 0.7), 0 6px 14px -2px rgba(0, 0, 0, 0.6);
}
.btn-primary:active { transform: translateY(1px) scale(0.99); box-shadow: inset 0 2px 6px rgba(0, 50, 25, 0.5), 0 0 0 1px rgba(0, 90, 48, 0.9); }
.btn-primary .ic { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35)); }

.btn-ghost {
  color: #e6fff1; position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(0, 0, 0, 0.18) 52%, rgba(0, 0, 0, 0.05) 100%), var(--brushed), #07150e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.7), 0 10px 24px -12px rgba(0, 0, 0, 0.9);
}
.btn-ghost::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(0, 255, 136, 0.35) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(240, 194, 90, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn-ghost:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 48%, rgba(0, 0, 0, 0.14) 52%, rgba(0, 0, 0, 0.04) 100%), var(--brushed), #0a1f15; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.7), 0 14px 30px -12px rgba(0, 255, 136, 0.45); }
/* magnetic buttons (js sets --mx/--my) */
.mag { transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0); }
.mag:hover { transform: translate3d(var(--mgx, 0px), calc(var(--mgy, 0px) - 2px), 0); }

/* ── badges + chips: struck-metal pills ── */
.badge {
  color: #2a1900; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); font-weight: 600; letter-spacing: 0.08em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 50%), var(--brushed), var(--metal-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(90, 55, 0, 0.6), 0 0 0 1px rgba(120, 78, 10, 0.8), 0 8px 22px -8px rgba(240, 194, 90, 0.55);
}
.badge.soft {
  color: #c9ffe2; text-shadow: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 50%), var(--metal-gun);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(0, 255, 136, 0.35), 0 6px 14px -8px rgba(0, 0, 0, 0.9);
}
.chip { background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015) 55%, rgba(0, 0, 0, 0.15)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 6px -2px rgba(0, 0, 0, 0.6); font-weight: 500; }
.chip-live, .chip-ok { color: #b9ffdb; background: linear-gradient(180deg, rgba(120, 255, 190, 0.2), rgba(0, 255, 136, 0.06) 50%, rgba(0, 60, 30, 0.25)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(0, 255, 136, 0.38), 0 2px 8px -2px rgba(0, 0, 0, 0.6); }
.chip-demo { color: #ffeec2; background: linear-gradient(180deg, rgba(255, 220, 140, 0.2), rgba(240, 194, 90, 0.06) 50%, rgba(60, 40, 0, 0.3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(240, 194, 90, 0.45); }
.chip-live i { background: radial-gradient(circle at 35% 30%, #eafff4, #00ff88 50%, #037a42); }

/* ── glass cards: metallic hairline edge + inner bevel + layered depth ── */
.glass {
  background: radial-gradient(120% 70% at 50% -10%, rgba(255, 255, 255, 0.045), transparent 60%), linear-gradient(180deg, rgba(14, 40, 28, 0.66), rgba(4, 13, 9, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 -1px 0 rgba(0, 0, 0, 0.55), inset 0 0 40px -20px rgba(0, 255, 136, 0.18), 0 1px 0 rgba(0, 0, 0, 0.6), 0 24px 60px -28px rgba(0, 0, 0, 0.95), 0 4px 12px -4px rgba(0, 0, 0, 0.5);
}
.glass::before {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.5) 0%, rgba(0, 255, 136, 0.42) 12%, rgba(0, 255, 136, 0.06) 32%, rgba(255, 255, 255, 0.03) 55%, rgba(240, 194, 90, 0.18) 78%, rgba(255, 255, 255, 0.28) 100%);
}
.featured::before, .trust.feat::before, .price-card.featured::before {
  background: linear-gradient(165deg, #fffbe9 0%, #f0c25a 10%, rgba(0, 255, 136, 0.65) 28%, rgba(0, 255, 136, 0.1) 50%, rgba(240, 194, 90, 0.35) 76%, #fff3c8 100%);
}

/* ── 3b. border beam (Magic UI BorderBeam) on hero/featured surfaces ── */
.beam { position: relative; }
.beam > .beam-ring {
  position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 4;
  background: conic-gradient(from var(--beam-a), transparent 0deg, transparent 280deg, rgba(0, 255, 136, 0.0) 290deg, #00ff88 318deg, #fffbe6 332deg, #f0c25a 344deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: lux-beam 7s linear infinite; animation-delay: var(--beam-delay, 0s);
  opacity: 0.95;
}
@keyframes lux-beam { to { --beam-a: 360deg; } }

/* ── 3c. spotlight cards (Aceternity CardSpotlight) ── */
.spot {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.35s var(--ease);
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 0%), rgba(170, 255, 210, 0.12), rgba(0, 255, 136, 0.05) 35%, transparent 65%);
  mix-blend-mode: screen;
}
.glass:hover > .spot { opacity: 1; }

/* ── icon tiles: machined metal with gradient-stroked glyphs ── */
.vic, .t-ic {
  background: radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.18), transparent 45%), linear-gradient(150deg, #1c4433 0%, #0a1f15 48%, #04100a 60%, #0e2a1d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(0, 255, 136, 0.32), 0 10px 22px -8px rgba(0, 0, 0, 0.9), 0 0 26px -8px rgba(0, 255, 136, 0.55);
}
.vic .ic, .t-ic .ic { stroke: url(#gMetalIc); filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.45)); }
.trust.feat .t-ic .ic, .featured .vic .ic { stroke: url(#gGoldIc); }

/* ── dividers + rails: metallic hairlines with a hot core ── */
.offer::before { height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 194, 90, 0.5) 22%, #eafff3 50%, rgba(0, 255, 136, 0.6) 70%, transparent); box-shadow: 0 0 12px rgba(0, 255, 136, 0.35); }
.steps::before, .journey::before { background: linear-gradient(90deg, #0a8f4f, #b6ffd9 20%, #00d873 40%, #f0c25a 62%, #fff2c4 72%, #04a55a); box-shadow: 0 0 10px rgba(0, 255, 136, 0.45), 0 1px 0 rgba(0, 0, 0, 0.6); }
.tline::before, .final-side .agenda::before { background: linear-gradient(180deg, #e6fff2, #00d873 30%, #f0c25a 70%, #8a5a12); }
.ticker { border-block: 0; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.45) 20%, rgba(255, 255, 255, 0.6) 50%, rgba(240, 194, 90, 0.5) 80%, transparent); }
.ticker::before { top: 0; } .ticker::after { bottom: 0; }

/* ── 3d. capability marquee (Magic UI Marquee) — two counter-rows of metal pills ── */
.ticker { padding: 16px 0; display: grid; gap: 12px; }
.ticker-track { gap: 12px; animation-duration: 46s; }
.ticker-track.rev { animation-direction: reverse; animation-duration: 54s; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px;
  font: 500 14px/1 var(--f-display); letter-spacing: 0.01em; color: #dff7ea;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01) 50%, rgba(0, 0, 0, 0.25)), var(--metal-gun);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(0, 255, 136, 0.16), 0 6px 14px -8px rgba(0, 0, 0, 0.9);
}
.ticker-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffbe8, #f0c25a 50%, #8a5a12); box-shadow: 0 0 8px rgba(240, 194, 90, 0.7); }
.ticker-track.rev span::before { background: radial-gradient(circle at 35% 30%, #eafff4, #00ff88 50%, #037a42); box-shadow: 0 0 8px rgba(0, 255, 136, 0.7); }
.ticker-track i { display: none; }

/* ── 3e. hero background: aurora + grid + particle dust (React Bits Aurora / Particles) ── */
.hero { position: relative; isolation: isolate; }
.hero-fx { position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-fx .aur { position: absolute; inset: -20% -10% 10%; filter: blur(60px) saturate(130%); opacity: 0.7; mix-blend-mode: screen;
  background:
    radial-gradient(40% 32% at 22% 30%, rgba(0, 255, 136, 0.30), transparent 70%),
    radial-gradient(36% 28% at 78% 22%, rgba(240, 194, 90, 0.20), transparent 70%),
    radial-gradient(42% 30% at 60% 70%, rgba(4, 140, 90, 0.35), transparent 70%);
  animation: lux-aurora 24s ease-in-out infinite alternate; }
.hero-fx .aur.b { opacity: 0.45; animation-duration: 31s; animation-direction: alternate-reverse;
  background:
    conic-gradient(from 210deg at 50% 40%, transparent 0deg, rgba(0, 255, 136, 0.22) 50deg, transparent 110deg, rgba(240, 194, 90, 0.16) 200deg, transparent 260deg); }
@keyframes lux-aurora { 0% { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(3%, 3%, 0) rotate(6deg) scale(1.08); } 100% { transform: translate3d(5%, -3%, 0) rotate(-4deg) scale(1.02); } }
.hero-fx .grd { position: absolute; inset: 0; background-image: linear-gradient(rgba(180, 255, 215, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(180, 255, 215, 0.06) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 15%, transparent 72%); }
.hero-fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── 3f. bento offer grid ── */
.offer-rail.bento { grid-template-columns: 1.05fr 1.25fr; grid-template-rows: auto auto; gap: 16px; }
.bento .orail { min-height: 150px; overflow: hidden; align-content: start; }
.bento .orail.featured { grid-column: 2; grid-row: 1 / 3; min-height: 316px; }
.bento .orail:nth-child(3) { grid-column: 1; grid-row: 2; }
.bento .orail b { font-size: clamp(18px, 1.1rem + 0.4vw, 22px); font-weight: 600; letter-spacing: -0.01em; }
.bento .orail.featured b { font-size: clamp(22px, 1.2rem + 0.9vw, 30px); max-width: 16ch; }
.bento .orail > * { position: relative; z-index: 2; }
.bento-viz { position: absolute !important; z-index: 0 !important; right: 0; bottom: 0; width: 62%; height: 70%; pointer-events: none; opacity: 0.9;
  -webkit-mask-image: linear-gradient(200deg, #000 30%, transparent 85%); mask-image: linear-gradient(200deg, #000 30%, transparent 85%); }
.featured .bento-viz { width: 100%; height: 62%; }
.bento .orail .ic { grid-row: 1; align-self: start; }
.bento .orail > .o-n, .bento .orail > b, .bento .orail > .o-p { grid-column: 1; }

/* ── 3g. HQ brain: animated beams + gold core ring ── */
.mesh .beams path { fill: none; stroke: url(#beamG); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 46 420; animation: lux-beam-dash 2.8s linear infinite; filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.9)); }
.mesh .beams path:nth-child(2n) { animation-duration: 3.4s; animation-direction: reverse; stroke: url(#beamGold); }
.mesh .beams path:nth-child(3n) { animation-delay: -1.2s; }
@keyframes lux-beam-dash { from { stroke-dashoffset: 466; } to { stroke-dashoffset: 0; } }
.node { background: radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.08), transparent 60%), linear-gradient(180deg, rgba(14, 44, 30, 0.96), rgba(3, 12, 8, 0.97)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(0, 255, 136, 0.3), 0 12px 30px -8px rgba(0, 0, 0, 0.8); }
.node.core {
  color: #002412; background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 48%), var(--brushed), var(--metal-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -2px 0 rgba(0, 70, 35, 0.6), 0 0 0 1px rgba(0, 90, 48, 0.9), 0 0 0 5px rgba(240, 194, 90, 0.16), 0 0 0 6px rgba(240, 194, 90, 0.4), 0 0 60px rgba(0, 255, 136, 0.55);
}
.node.core::after { content: ""; position: absolute; inset: -12px; border-radius: 20px; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--beam-a), transparent 0 60%, #00ff88 75%, #fffbe6 82%, #f0c25a 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: lux-beam 3.2s linear infinite; }

/* ── nav + dock depth ── */
.nav.scrolled { box-shadow: 0 1px 0 rgba(0, 255, 136, 0.14), 0 2px 0 rgba(0, 0, 0, 0.6), 0 14px 34px -18px rgba(0, 0, 0, 0.95); }
.nav.scrolled::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 194, 90, 0.45) 25%, rgba(255, 255, 255, 0.55) 50%, rgba(0, 255, 136, 0.5) 75%, transparent); }
.m-dock.hide-over { transform: translateY(160%) !important; }
@media (max-width: 640px) { .m-dock.hide-over { transform: translate(-50%, 160%) !important; } }

/* ── dashboard tabs: machined segment control ── */
.term-tabs .tt { font-family: var(--f-body); font-weight: 500; letter-spacing: 0.01em; }
.term-tabs .tt.on { color: #eafff3; background: linear-gradient(180deg, rgba(120, 255, 190, 0.22), rgba(0, 255, 136, 0.06) 50%, rgba(0, 50, 25, 0.3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 255, 136, 0.45), 0 4px 12px -4px rgba(0, 255, 136, 0.35); }

/* fine grain over everything for a printed / anodised feel */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── known-issue fixes ── */
@media (max-width: 640px) {
  .float-chat { bottom: auto !important; }              /* was pushed 185px down over the ticker */
  .offer-rail.bento { grid-template-columns: 1fr; }
  .bento .orail.featured, .bento .orail:nth-child(3) { grid-column: auto; grid-row: auto; min-height: 150px; }
  .bento-viz { width: 55%; height: 80%; opacity: 0.55; }
  .ticker-track span { height: 34px; font-size: 13px; padding: 0 13px; }
  .display { line-height: 1; background-size: 100% 1em; }
  .mesh .beams { display: none; }
}
@media (min-width: 641px) and (max-width: 900px) { .offer-rail.bento { grid-template-columns: 1fr 1fr; } }

/* ── reduced motion: everything still, nothing lost ── */
@media (prefers-reduced-motion: reduce) {
  .grad, .pc-v, .pl-v, .hk b, .orail .o-p, .btn-primary::after, .beam > .beam-ring, .node.core::after, .hero-fx .aur, .mesh .beams path, .ticker-track { animation: none !important; }
  .beam > .beam-ring { --beam-a: 140deg; }
  .mag { transform: none !important; }
}

/* ── QA round 2 ── */
/* gold badge: keep the metal, but no dark band behind the letters */
.badge { background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 42%), var(--brushed), linear-gradient(180deg, #fff2c8 0%, #f6d47e 40%, #e9b850 62%, #f3cb6c 100%); color: #251600; }
@media (max-width: 640px) {
  /* dashboard: only the active page sets the device height (no empty band under short pages) */
  .tpanes { position: relative; }
  .tpane:not(.on) { position: absolute; left: 0; right: 0; top: 0; }
  /* HQ control: phone sits under the laptop instead of covering it */
  .devices { padding: 0; display: flex; flex-direction: column; align-items: center; }
  .devices .laptop { width: 100%; }
  .devices .phone { position: relative; right: auto; bottom: auto; width: 46%; max-width: 180px; margin-top: 16px; }
}
/* hero fills the first screen but never balloons in very tall viewports (full-page capture, tall monitors) */
.hero-in { min-height: min(calc(100vh - var(--nav-h) - 140px), 760px); }
