@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');

/* ========== DESIGN TOKENS (App-wide) ========== */
:root {
  --app-surface-1: #1a1a1f;
  --app-surface-2: #111827;
  --app-surface-card: #1a1a2e;
  --app-border: rgba(255, 255, 255, 0.06);
  /* whitelabel neutrals (LB1) — Vestex dark defaults; Ultimo overrides to light.
     content-overlay flips per brand; dark-overlay stays white (dark islands). */
  --app-bg: #222228;
  --app-shell-bg: #131316;
  --app-content-overlay-rgb: 255, 255, 255;
  --app-dark-overlay-rgb: 255, 255, 255;
  --app-radius-md: 12px;
  --app-radius-sm: 8px;
  --app-text-strong: #e2e8f0;
  --app-text-muted: #8a94a6;
  --app-text-1: #e0e0e8;
  --app-text-muted-2: #8a8a9a;
  --app-text-muted-3: #a8a8b8;
  --app-text-white: #ffffff;
  --app-primary: #5cb8e6;
  --app-primary-hover: #4da8d6;
  --app-primary-grad-end: #4a9cd4;
  --app-primary-fg: #0a0e17;
  --app-buy: #5cb8e6;
  --app-sell: #e0a050;
  /* BUG #466 ask 2: the ink to put ON the sell accent, mirroring
     --app-primary-fg's role for the primary accent. White on --app-sell measures
     2.25:1 — far under WCAG AA — which matters because the Buy & Sell CTA renders
     order errors as its own label. This ink measures 8.6:1 on #e0a050 and 6.1:1 on
     the gradient's dark end #c88030. */
  --app-sell-fg: #0a0e17;
  /* AI accent — the hue AI Trading surfaces are edged with (the dashboard
     banner's 1px border, its NEW pill and its button). DEFINED as the brand's
     own accent rather than a colour of its own: those surfaces have always been
     drawn in the brand accent, and a separate name means the day AI gets its own
     hue is a palette edit rather than a hunt through rules. The `-rgb` twin is
     the same colour as a triplet, so a rule can tint with
     rgba(var(--app-ai-accent-rgb), a) instead of hard-coding the channels.
     Ultimo overrides both to its gold — MUST stay mirrored in theme-tokens.css,
     js/config.js BRANDS[...].theme and js/brand-boot.js THEMES. */
  --app-ai-accent: #5cb8e6;
  --app-ai-accent-rgb: 92, 184, 230;
  /* z-index layers */
  --z-topbar: 900;
  --z-flyout: 1000;
  --z-sidebar-overlay: 1100;
  --z-sidebar: 1110;
  --z-modal: 1200;
  --z-toast: 1300;
}

/* ========== RESET & BASE ========== */
* {
  margin: 0; padding: 0; box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--app-content-overlay-rgb), 0.15) transparent;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(var(--app-content-overlay-rgb), 0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--app-content-overlay-rgb), 0.25); }
/* #531: smooth scrolling only for users who have NOT asked the OS for reduced
   motion — a global `html { scroll-behavior: smooth }` also animates every
   programmatic/anchor scroll for them, which is exactly what that setting
   opts out of. Guarded, not removed: everyone else keeps today's behavior. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--app-bg);
  color: var(--app-text-white);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ========== HEADER ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  background: rgba(30, 30, 35, 0.97);
  border-bottom: 1px solid rgba(168, 168, 184, 0.08);
  backdrop-filter: blur(16px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.logo {
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 14px;
  text-transform: uppercase;
}

.logo a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-mark { flex-shrink: 0; }
.logo .v { color: var(--app-primary); }
.logo .estex { color: var(--app-text-1); }

nav {
  display: flex;
  gap: 48px;
}

nav a {
  color: var(--app-text-muted-3);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

nav a:hover, nav a.active { color: var(--app-primary); }

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-login {
  color: var(--app-text-muted-3);
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s;
}

.btn-login:hover { color: var(--app-primary); }

.btn-header {
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-grad-end));
  color: #222228;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: opacity 0.3s;
}

.btn-header:hover { opacity: 0.9; }

/* ========== BUTTONS ========== */
.btn-primary {
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-grad-end));
  color: #222228;
  border: none;
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(92, 184, 230, 0.2);
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(92, 184, 230, 0.35);
  transform: translateY(-1px);
}

/* ========== APP (post-login) common button & card ========== */
.app-body .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border: none;
  border-radius: var(--app-radius-sm);
  background: var(--app-primary);
  color: var(--app-primary-fg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0;
  box-shadow: none;
  transform: none;
  transition: background 0.15s;
}
.app-body .btn-primary:hover {
  background: var(--app-primary-hover);
  box-shadow: none;
  transform: none;
}

/* BUG #116: Disabled affordance for primary buttons. Native HTML `disabled`
 * attribute already prevents click; this just makes the disabled state
 * visible (opacity + not-allowed cursor + no hover lift) so users can tell
 * why the button isn't responding. Applies to both pre-login (.btn-primary
 * alone) and post-login (.app-body scope) so login/signup/withdraw/save
 * flows all share the same affordance. Gemini WCAG check: disabled state
 * is exempt from contrast minimum (1.4.3); native `disabled` carries the
 * a11y semantics so no aria-disabled needed.
 */
.btn-primary:disabled,
.btn-primary[disabled],
.app-body .btn-primary:disabled,
.app-body .btn-primary[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-primary:disabled:hover,
.btn-primary[disabled]:hover,
.app-body .btn-primary:disabled:hover,
.app-body .btn-primary[disabled]:hover {
  background: var(--app-primary);
  box-shadow: none;
  transform: none;
}

.app-body .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  background: transparent;
  color: var(--app-primary);
  border: 1px solid rgba(92, 184, 230, 0.3);
  border-radius: var(--app-radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.app-body .btn-outline:hover {
  background: rgba(92, 184, 230, 0.08);
  border-color: rgba(92, 184, 230, 0.5);
}

.app-card {
  background: var(--app-surface-1);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-md);
}

/* Mobile sidebar open — hide floating UI */
body.sidebar-open .ai-chat-fab,
body.sidebar-open .ai-chat-panel,
body.sidebar-open .toast-container,
body.sidebar-open .spot-toast-container {
  opacity: 0 !important;
  pointer-events: none !important;
}

.btn-secondary {
  background: rgba(168, 168, 184, 0.08);
  color: var(--app-text-muted-3);
  border: 1px solid rgba(168, 168, 184, 0.15);
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  border-color: var(--app-primary);
  color: var(--app-primary);
}

.cta-group {
  display: flex;
  gap: 14px;
  align-items: center;
}

.cta-group.centered {
  justify-content: center;
}

/* Mobile nav actions button */
.mobile-nav-actions .btn-primary {
  padding: 14px 36px;
}

/* ========== HERO (HOME) ========== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 200px 80px 140px;
  background: linear-gradient(160deg, #2a2a30 0%, #303038 30%, #262630 70%, #222228 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(92, 184, 230, 0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 168, 184, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-text {
  max-width: 540px;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: rgba(92, 184, 230, 0.1);
  border: 1px solid rgba(92, 184, 230, 0.2);
  color: var(--app-primary);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-text h1 .accent { color: var(--app-primary); }
.hero-text h1 .muted { color: var(--app-text-muted-3); }

.hero-text p {
  font-size: 17px;
  color: rgba(168, 168, 184, 0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

/* Hero with image */
.hero.hero-with-image {
  display: block;
  padding: 0;
  min-height: 100vh;
}

.hero.hero-with-image::before,
.hero.hero-with-image::after { display: none; }

.hero-image-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.hero-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.hero-image-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(26, 26, 30, 0.92) 0%, rgba(26, 26, 30, 0.7) 35%, rgba(26, 26, 30, 0.15) 65%, transparent 100%);
}

.hero-content-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 200px 80px 140px;
}

.hero-content-overlay .hero-text {
  max-width: 520px;
}

/* Card visual */
.hero-visual {
  position: relative;
  z-index: 1;
}

.card-mockup {
  width: 440px;
  height: 270px;
  background: linear-gradient(145deg, #3e3e46, #323238, #3e3e46);
  border-radius: 18px;
  padding: 34px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 60px rgba(92, 184, 230, 0.05);
  border: 1px solid rgba(168, 168, 184, 0.12);
  overflow: hidden;
  transform: perspective(800px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s;
}

.card-mockup:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

.card-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(92, 184, 230, 0.04) 0%, transparent 40%, rgba(168, 168, 184, 0.03) 100%);
}

.card-logo-mark {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--app-primary);
  margin-bottom: 36px;
  text-transform: uppercase;
}

.card-chip {
  width: 46px;
  height: 34px;
  background: linear-gradient(135deg, var(--app-text-muted-3), #c0c0d0);
  border-radius: 6px;
  margin-bottom: 28px;
  position: relative;
}

.card-chip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 1px;
  background: rgba(50, 50, 56, 0.4);
}

.card-number {
  font-size: 19px;
  letter-spacing: 4px;
  color: rgba(168, 168, 184, 0.5);
  margin-bottom: 28px;
  font-weight: 300;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-name {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--app-text-muted-3);
  font-weight: 500;
}

.card-brand {
  font-size: 20px;
  font-weight: 700;
  color: rgba(168, 168, 184, 0.6);
  letter-spacing: 1px;
}

/* Floating elements */
.float-badge {
  position: absolute;
  background: rgba(30, 30, 35, 0.95);
  border: 1px solid rgba(168, 168, 184, 0.12);
  border-radius: 12px;
  padding: 14px 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.float-badge.top-right {
  top: -30px;
  right: -40px;
}

.float-badge.bottom-left {
  bottom: -20px;
  left: -50px;
}

.float-badge .label {
  font-size: 10px;
  color: var(--app-text-muted-3);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.float-badge .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--app-primary);
}

.float-badge .value.green { color: #4cd964; }

/* ========== PAGE HERO (SUB PAGES) ========== */
.page-hero {
  padding: 160px 60px 80px;
  text-align: center;
  background: linear-gradient(160deg, #2a2a30 0%, #303038 30%, #262630 70%, #222228 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(92, 184, 230, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  position: relative;
}

.page-hero h1 .accent { color: var(--app-primary); }

.page-hero p {
  font-size: 18px;
  color: var(--app-text-muted-3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

/* ========== STATS ========== */
.stats {
  display: flex;
  padding: 50px 60px;
  background: rgba(168, 168, 184, 0.03);
  border-top: 1px solid rgba(168, 168, 184, 0.06);
  border-bottom: 1px solid rgba(168, 168, 184, 0.06);
}

.stat {
  flex: 1;
  text-align: center;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(168, 168, 184, 0.1);
}

.stat-value {
  font-size: 34px;
  font-weight: 700;
  color: var(--app-primary);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--app-text-muted-3);
  letter-spacing: 0.5px;
}

/* ========== SECTION HEADER ========== */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header .tag {
  display: inline-block;
  background: rgba(92, 184, 230, 0.08);
  border: 1px solid rgba(92, 184, 230, 0.15);
  color: var(--app-primary);
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-header h2 .accent { color: var(--app-primary); }

.section-header p {
  font-size: 16px;
  color: var(--app-text-muted-3);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========== FEATURES GRID ========== */
.features {
  padding: 140px 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.features-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(168, 168, 184, 0.05);
  border: 1px solid rgba(168, 168, 184, 0.08);
  border-radius: 16px;
  padding: 48px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--app-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(92, 184, 230, 0.2);
  background: rgba(92, 184, 230, 0.03);
  transform: translateY(-2px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  display: none;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--app-text-1);
}

.feature-card p {
  font-size: 14px;
  color: rgba(168, 168, 184, 0.7);
  line-height: 1.65;
}

/* ========== FEATURE CATEGORIES (Landing Page) ========== */
.feature-category {
  max-width: 900px;
  margin: 0 auto 56px;
}

.feature-category-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--app-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(92, 184, 230, 0.15);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-list-item {
  display: flex;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(168, 168, 184, 0.06);
}

.feature-list-item:last-child {
  border-bottom: none;
}

.feature-list-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--app-text-1);
  min-width: 260px;
  flex-shrink: 0;
}

.feature-list-desc {
  font-size: 14px;
  color: rgba(168, 168, 184, 0.7);
  line-height: 1.5;
}

.coming-soon-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(168, 168, 184, 0.5);
  background: rgba(168, 168, 184, 0.08);
  border: 1px solid rgba(168, 168, 184, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}

.feature-list-item:has(.coming-soon-tag) .feature-list-label {
  color: rgba(224, 224, 232, 0.4);
}

.feature-list-item:has(.coming-soon-tag) .feature-list-desc {
  color: rgba(168, 168, 184, 0.35);
}

@media (max-width: 768px) {
  .feature-list-item {
    flex-direction: column;
    gap: 4px;
  }
  .feature-list-label {
    min-width: unset;
  }
  .feature-category {
    margin-bottom: 40px;
  }
}

/* ========== HOW IT WORKS / STEPS ========== */
.how-it-works {
  padding: 100px 60px;
  background: linear-gradient(180deg, rgba(168, 168, 184, 0.03) 0%, #222228 100%);
}

.steps-section {
  padding: 80px 60px;
}

.steps {
  display: flex;
  gap: 32px;
  margin-top: 60px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(92, 184, 230, 0.1);
  border: 1px solid rgba(92, 184, 230, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--app-primary);
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--app-text-1);
}

.step p {
  font-size: 14px;
  color: var(--app-text-muted-3);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: rgba(92, 184, 230, 0.2);
}

/* ========== CONTENT SECTIONS (alternating layout) ========== */
.content-section {
  padding: 80px 60px;
  border-bottom: 1px solid rgba(168, 168, 184, 0.06);
}

.content-section:nth-child(even) {
  background: rgba(168, 168, 184, 0.02);
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 32px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
  color: var(--app-text-1);
  letter-spacing: -0.3px;
}

.content-block h2 .accent { color: var(--app-primary); }

.content-block > p {
  font-size: 16px;
  color: rgba(168, 168, 184, 0.8);
  line-height: 1.7;
  margin-bottom: 24px;
}

.point-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.point-list li {
  font-size: 14px;
  color: rgba(168, 168, 184, 0.85);
  padding: 12px 16px;
  background: rgba(168, 168, 184, 0.04);
  border: 1px solid rgba(168, 168, 184, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.point-list li .check {
  color: var(--app-primary);
  font-size: 14px;
  flex-shrink: 0;
}

/* ========== HIGHLIGHTS (Corporate) ========== */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 60px;
}

.highlight-card {
  background: rgba(168, 168, 184, 0.05);
  border: 1px solid rgba(168, 168, 184, 0.08);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.highlight-card .hl-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--app-primary);
  margin-bottom: 4px;
}

.highlight-card .hl-label {
  font-size: 13px;
  color: var(--app-text-1);
  font-weight: 600;
  margin-bottom: 4px;
}

.highlight-card .hl-note {
  font-size: 11px;
  color: var(--app-text-muted-3);
}

/* ========== PRICING ========== */
.pricing {
  padding: 100px 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.pricing-card {
  background: rgba(168, 168, 184, 0.05);
  border: 1px solid rgba(168, 168, 184, 0.08);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(92, 184, 230, 0.3);
  background: rgba(92, 184, 230, 0.04);
}

.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-grad-end));
  color: #222228;
  padding: 4px 16px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 184, 230, 0.2);
}

.pricing-card .plan-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--app-text-muted-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pricing-card .price {
  font-size: 42px;
  font-weight: 700;
  color: var(--app-text-1);
  margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 16px;
  color: var(--app-text-muted-3);
  font-weight: 400;
}

.pricing-card .price-note {
  font-size: 12px;
  color: var(--app-text-muted-3);
  margin-bottom: 28px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}

.pricing-card ul li {
  font-size: 13px;
  color: rgba(168, 168, 184, 0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(168, 168, 184, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card ul li .check {
  color: var(--app-primary);
  font-size: 14px;
}

.pricing-card .btn-plan {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
}

.pricing-card .btn-plan.primary {
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-grad-end));
  color: #222228;
  border: none;
}

.pricing-card .btn-plan.outline {
  background: transparent;
  color: var(--app-text-muted-3);
  border: 1px solid rgba(168, 168, 184, 0.15);
}

.pricing-card .btn-plan.outline:hover {
  border-color: var(--app-primary);
  color: var(--app-primary);
}

/* ========== FEE TABLE ========== */
.fee-tables {
  padding: 80px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.fee-table-group {
  margin-bottom: 48px;
}

.fee-table-group h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--app-text-1);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(168, 168, 184, 0.1);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
}

.fee-table th,
.fee-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
}

.fee-table th {
  color: var(--app-primary);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(92, 184, 230, 0.2);
}

.fee-table td {
  color: rgba(168, 168, 184, 0.85);
  border-bottom: 1px solid rgba(168, 168, 184, 0.06);
}

.fee-table tr:hover td {
  background: rgba(92, 184, 230, 0.02);
}

/* ========== COMPARISON TABLE ========== */
.comparison-section {
  padding: 80px 60px;
  background: rgba(168, 168, 184, 0.02);
}

.comparison-note {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--app-text-muted-3);
}

/* Desktop table */
.comparison-desktop {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.comparison-table thead th {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(92, 184, 230, 0.2);
  color: var(--app-text-muted-3);
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  color: var(--app-text-1);
  text-align: left;
}

.comparison-table thead th.highlight {
  color: var(--app-primary);
  background: rgba(92, 184, 230, 0.05);
}

.comparison-table tbody td {
  padding: 12px 16px;
  color: rgba(168, 168, 184, 0.8);
  border-bottom: 1px solid rgba(168, 168, 184, 0.06);
  text-align: center;
  white-space: nowrap;
}

.comparison-table tbody td:first-child {
  text-align: left;
  color: var(--app-text-1);
  font-weight: 500;
}

.comparison-table tbody td.highlight {
  color: var(--app-primary);
  font-weight: 600;
  background: rgba(92, 184, 230, 0.03);
}

.comparison-table tbody tr:hover td {
  background: rgba(92, 184, 230, 0.02);
}

.comparison-table tbody tr:hover td.highlight {
  background: rgba(92, 184, 230, 0.05);
}

/* Mobile accordion - hidden on desktop */
.comparison-mobile { display: none; }

/* Mobile accordion card styles */
.comp-card {
  background: rgba(168, 168, 184, 0.04);
  border: 1px solid rgba(168, 168, 184, 0.08);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.comp-card.open { border-color: rgba(92, 184, 230, 0.2); }

.comp-card-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  gap: 12px;
}

.comp-card-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.comp-card-cat {
  font-size: 13px;
  font-weight: 500;
  color: var(--app-text-1);
}

.comp-card-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--app-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.comp-card-arrow {
  flex-shrink: 0;
  font-size: 10px;
  color: var(--app-primary);
  transition: transform 0.2s;
}

.comp-card.open .comp-card-arrow { transform: rotate(180deg); }

.comp-card-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.comp-card.open .comp-card-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.comp-card-inner {
  overflow: hidden;
  border-top: 1px solid rgba(168, 168, 184, 0.08);
  padding: 0 16px;
}

.comp-card.open .comp-card-inner {
  padding: 12px 16px;
}

.comp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.comp-row-name {
  font-size: 12px;
  color: rgba(168, 168, 184, 0.5);
}

.comp-row-val {
  font-size: 12px;
  color: rgba(168, 168, 184, 0.8);
}

@media (max-width: 1024px) {
  .comparison-desktop { display: none; }
  .comparison-mobile { display: block; }
  .comparison-section { padding: 60px 24px; }
}

/* ========== PARTNER CARDS ========== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 60px 80px;
}

.partner-card {
  background: rgba(168, 168, 184, 0.05);
  border: 1px solid rgba(168, 168, 184, 0.08);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.3s;
}

.partner-card:hover {
  border-color: rgba(92, 184, 230, 0.2);
  transform: translateY(-2px);
}

.partner-category {
  display: inline-block;
  background: rgba(92, 184, 230, 0.08);
  border: 1px solid rgba(92, 184, 230, 0.15);
  color: var(--app-primary);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.partner-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--app-text-1);
  margin-bottom: 10px;
}

.partner-card p {
  font-size: 14px;
  color: rgba(168, 168, 184, 0.7);
  line-height: 1.65;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  padding: 80px 60px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(168, 168, 184, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--app-text-1);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--app-primary); }

.faq-question .arrow {
  font-size: 18px;
  color: var(--app-primary);
  transition: transform 0.3s;
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 14px;
  color: rgba(168, 168, 184, 0.8);
  line-height: 1.7;
  padding-bottom: 24px;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========== CONTACT ========== */
.contact-section {
  padding: 60px;
  text-align: center;
  background: rgba(168, 168, 184, 0.03);
  border-top: 1px solid rgba(168, 168, 184, 0.06);
}

.contact-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--app-text-1);
  margin-bottom: 12px;
}

.contact-section p {
  font-size: 14px;
  color: var(--app-text-muted-3);
  margin-bottom: 8px;
}

.contact-section a {
  color: var(--app-primary);
  font-weight: 600;
}

/* ========== VALUES GRID ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 60px 80px;
}

.value-card {
  background: rgba(168, 168, 184, 0.05);
  border: 1px solid rgba(168, 168, 184, 0.08);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  transition: all 0.3s;
}

.value-card:hover {
  border-color: rgba(92, 184, 230, 0.2);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--app-primary);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: rgba(168, 168, 184, 0.7);
  line-height: 1.65;
}

/* ========== INTRO TEXT ========== */
.intro-section {
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-section p {
  font-size: 17px;
  color: rgba(168, 168, 184, 0.85);
  line-height: 1.8;
}

/* ========== BENEFIT LIST ========== */
.benefit-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 60px 60px;
}

.benefit-list li {
  font-size: 15px;
  color: rgba(168, 168, 184, 0.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(168, 168, 184, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-list li .check {
  color: var(--app-primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* ========== COMPANY INFO ========== */
.company-info {
  padding: 40px 60px 60px;
  text-align: center;
}

.company-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--app-text-1);
  margin-bottom: 8px;
}

.company-info p {
  font-size: 13px;
  color: var(--app-text-muted-3);
}

/* ========== SECURITY FEATURES ========== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 60px 80px;
}

.security-card {
  background: rgba(168, 168, 184, 0.05);
  border: 1px solid rgba(168, 168, 184, 0.08);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  transition: all 0.3s;
}

.security-card:hover {
  border-color: rgba(92, 184, 230, 0.2);
}

.security-card .sec-icon {
  width: 56px;
  height: 56px;
  background: rgba(92, 184, 230, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.security-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--app-text-1);
  margin-bottom: 10px;
}

.security-card p {
  font-size: 14px;
  color: rgba(168, 168, 184, 0.7);
  line-height: 1.65;
}

/* ========== OPERATOR INFO ========== */
.operator-section {
  padding: 40px 60px 60px;
  border-top: 1px solid rgba(168, 168, 184, 0.06);
}

.operator-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--app-text-muted-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.operator-section p {
  font-size: 13px;
  color: rgba(168, 168, 184, 0.6);
  margin-bottom: 6px;
}

/* ========== WHITE LABEL SERVICES GRID ========== */
.wl-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.wl-service-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(var(--app-content-overlay-rgb), 0.03);
  border: 1px solid rgba(168, 168, 184, 0.08);
  border-radius: 12px;
  transition: border-color 0.3s;
}

.wl-service-item:hover {
  border-color: rgba(92, 184, 230, 0.2);
}

.wl-service-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(92, 184, 230, 0.06);
  border-radius: 10px;
}

.wl-service-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--app-text-1);
  margin-bottom: 8px;
}

.wl-service-item p {
  font-size: 13px;
  color: var(--app-text-muted-3);
  line-height: 1.6;
}

/* ========== WHITE LABEL DETAIL GRID ========== */
.wl-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.wl-detail-item {
  padding: 28px;
  background: rgba(var(--app-content-overlay-rgb), 0.03);
  border: 1px solid rgba(168, 168, 184, 0.08);
  border-radius: 12px;
  transition: border-color 0.3s;
}

.wl-detail-item:hover {
  border-color: rgba(92, 184, 230, 0.2);
}

.wl-detail-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--app-primary);
  margin-bottom: 12px;
}

.wl-detail-item p {
  font-size: 14px;
  color: var(--app-text-muted-3);
  line-height: 1.7;
}

/* ========== WHITE LABEL CONTACT SECTION ========== */
.wl-contact-section {
  padding: 80px 60px;
  background: rgba(168, 168, 184, 0.02);
}

.wl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 40px auto 0;
  align-items: start;
}

.wl-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wl-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wl-contact-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--app-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wl-contact-item span:last-child {
  font-size: 15px;
  color: var(--app-text-1);
}

.wl-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wl-contact-form input,
.wl-contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(var(--app-content-overlay-rgb), 0.04);
  border: 1px solid rgba(168, 168, 184, 0.12);
  border-radius: 8px;
  color: var(--app-text-white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.wl-contact-form input::placeholder,
.wl-contact-form textarea::placeholder {
  color: rgba(168, 168, 184, 0.4);
}

.wl-contact-form input:focus,
.wl-contact-form textarea:focus {
  border-color: rgba(92, 184, 230, 0.4);
}

.wl-contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.wl-contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .wl-services-grid {
    grid-template-columns: 1fr;
  }

  .wl-detail-grid {
    grid-template-columns: 1fr;
  }

  .wl-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wl-contact-section {
    padding: 60px 20px;
  }
}

/* ========== REVENUE TABLE ========== */
.revenue-section {
  padding: 80px 60px;
}

.revenue-table {
  width: 100%;
  max-width: 700px;
  margin: 40px auto 0;
  border-collapse: collapse;
}

.revenue-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  color: var(--app-primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(92, 184, 230, 0.2);
}

.revenue-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: rgba(168, 168, 184, 0.85);
  border-bottom: 1px solid rgba(168, 168, 184, 0.06);
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 160px 80px;
  text-align: center;
  background: linear-gradient(180deg, #222228 0%, #2a2a32 50%, #222228 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(92, 184, 230, 0.06) 0%, transparent 70%);
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
  position: relative;
}

.cta-section h2 .accent { color: var(--app-primary); }

.cta-section p {
  font-size: 17px;
  color: var(--app-text-muted-3);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
}

.cta-section .btn-primary {
  position: relative;
  font-size: 16px;
  padding: 18px 48px;
}

/* ========== FOOTER ========== */
footer {
  padding: 80px;
  border-top: 1px solid rgba(168, 168, 184, 0.06);
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--app-text-muted-3);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--app-text-1);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--app-text-muted-3);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--app-primary); }

.footer-bottom {
  padding: 20px 60px;
  border-top: 1px solid rgba(168, 168, 184, 0.06);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(168, 168, 184, 0.5);
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== MOBILE NAV ========== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  z-index: 102;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--app-text-1);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 26, 30, 0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-nav-overlay.open { display: flex; }

.mobile-nav-overlay a {
  color: var(--app-text-1);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.mobile-nav-overlay a:hover { color: var(--app-primary); }

.mobile-nav-overlay .mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

/* ========== CARD COST GRID (responsive replacement for inline styles) ========== */
.cost-grid {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.cost-card {
  flex: 1;
  background: rgba(168, 168, 184, 0.05);
  border: 1px solid rgba(168, 168, 184, 0.08);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.cost-card.highlighted {
  background: rgba(92, 184, 230, 0.04);
  border-color: rgba(92, 184, 230, 0.2);
}

.cost-card .cost-label {
  font-size: 12px;
  color: var(--app-text-muted-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cost-card .cost-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--app-primary);
}

.cost-note {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--app-text-muted-3);
}

/* ========== FORM SUCCESS TOAST ========== */
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success.visible { display: block; }

.form-success .success-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.form-success h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--app-text-1);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 14px;
  color: var(--app-text-muted-3);
  line-height: 1.6;
}

/* ========== SCREEN READER ONLY ========== */
.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;
}

/* ========== LEGAL COMING SOON ========== */
.coming-soon-link {
  opacity: 0.5;
  cursor: default;
  position: relative;
}

.coming-soon-link::after {
  content: ' (Coming Soon)';
  font-size: 10px;
  opacity: 0.6;
}

/* ========== AUTH PAGES ========== */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 24px 80px;
  background: linear-gradient(160deg, #2a2a30 0%, #262630 50%, #222228 100%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(var(--app-content-overlay-rgb), 0.03);
  border: 1px solid rgba(92, 184, 230, 0.08);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

.auth-card-wide {
  max-width: 540px;
}

.auth-logo {
  margin-bottom: 28px;
}

.auth-card h1 {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--app-text-1);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--app-text-muted-3);
  margin-bottom: 36px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.auth-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--app-text-muted-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.auth-field input,
.auth-field select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(var(--app-content-overlay-rgb), 0.04);
  border: 1px solid rgba(168, 168, 184, 0.12);
  border-radius: 8px;
  color: var(--app-text-white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.auth-field input::placeholder {
  color: rgba(168, 168, 184, 0.3);
}

.auth-field input:focus,
.auth-field select:focus {
  border-color: rgba(92, 184, 230, 0.4);
}

.auth-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235cb8e6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.auth-field select option {
  background: var(--app-bg);
}

.field-hint {
  font-size: 11px;
  /* Bug #294: bumped from rgba(...,0.4) to 0.85 for WCAG AA contrast (~4.5:1)
     on the auth-page dark background. Helper text under the Password field
     ("Use uppercase, lowercase, numbers, and symbols") was nearly illegible
     at the old 40% opacity. */
  color: rgba(168, 168, 184, 0.85);
  margin-top: 6px;
}

.auth-field-row {
  display: flex;
  gap: 16px;
}

.auth-field-row .auth-field {
  flex: 1;
}

/* Show/Hide password toggle (Bug #207 / #208 / #209) */
.password-field {
  position: relative;
}

.password-field input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  color: rgba(168, 168, 184, 0.5);
  cursor: pointer;
  transition: color 0.15s;
}

.password-toggle:hover {
  color: var(--app-primary);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--app-text-muted-3);
  cursor: pointer;
}

/* Bug #296: render an inline red border on auth-field inputs when they fail
   HTML5 :invalid (only after the user has typed something — :placeholder-shown
   suppresses the red border on empty/unfocused fields). Combined with the
   global signup error banner, this makes WHICH field is invalid unambiguous. */
.auth-field input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.25);
}

/* Bug #289: legal-policy links inside the consent block were rendered as
   plain inherited-color text (global `a { color:inherit; text-decoration:none }`
   at line 46 stripped link styling). Restore visible link styling for both
   the inline anchor list and the new bulleted .consent-doc-list (#290). */
.auth-checkbox a,
.consent-doc-list a {
  color: var(--app-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-checkbox a:hover,
.consent-doc-list a:hover {
  color: #6ec4f0;
  text-decoration-thickness: 2px;
}
/* Bug #293: WCAG 2.4.7 Focus Visible — keyboard/screen-reader users need a
   visible focus indicator on legal links. :hover above covers mouse only.
   Using :focus-visible (modern, keyboard-only — does NOT fire on mouse click)
   with no :focus fallback: browsers without :focus-visible support fall back
   to their default focus ring (visible, just not brand-styled).
   Selector → screen map:
   - .consent-doc-list a    → /signup consent doc list
   - .auth-checkbox a       → /signup consent block inline anchors
   - .auth-checkbox-block a → /login Reaccept-Terms modal links */
.auth-checkbox a:focus-visible,
.consent-doc-list a:focus-visible,
.auth-checkbox-block a:focus-visible {
  color: #6ec4f0;
  outline: 2px solid var(--app-primary);
  outline-offset: 2px;
  border-radius: 2px;
  text-decoration-thickness: 2px;
}
@media (forced-colors: active) {
  .auth-checkbox a:focus-visible,
  .consent-doc-list a:focus-visible,
  .auth-checkbox-block a:focus-visible {
    outline: 2px solid CanvasText;
  }
}
/* Bug #290 (Gemini /full-review Medium): layout for the per-document list
   (moved from inline styles on the <ul> for maintainability). */
.consent-doc-list {
  list-style: disc;
  margin: 6px 0 0 32px;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
}

/* #229 fix (2026-08-06) — inline GB-12 consent modal on the LOGIN page.
   A brand-new Google user used to have their just-created account deleted and be
   bounced to signup?google=new with no explanation; now they accept here and stay
   signed in. Reuses .auth-checkbox / .consent-doc-list above so the QA findings
   already settled for signup (#288/#290/#291/#292) hold here too — only the
   dialog chrome is new. Login page only; nothing else consumes these classes. */
.consent-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.consent-modal-overlay[hidden] { display: none; }
.consent-modal {
  background: var(--app-bg-2, #15151a);
  border: 1px solid rgba(var(--app-content-overlay-rgb, 255, 255, 255), 0.08);
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  max-height: 90dvh;   /* mobile: track the visible viewport, same fix as the sidebar */
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.consent-modal-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--app-text-1, #fff);
}
.consent-modal-body {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--app-text-2, #a8a8b8);
}
.consent-modal-error {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(224, 80, 80, 0.12);
  border: 1px solid rgba(224, 80, 80, 0.35);
  color: #e05050;
  font-size: 13px;
}
.consent-modal-error[hidden] { display: none; }
.consent-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.consent-modal-actions button { flex: 1; }

.auth-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--app-primary);
  cursor: pointer;
}

.auth-checkbox-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--app-text-muted-3);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.auth-checkbox-block input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--app-primary);
  margin-top: 2px;
  cursor: pointer;
}

.auth-checkbox-block a {
  color: var(--app-primary);
  text-decoration: none;
}

.auth-checkbox-block a:hover {
  text-decoration: underline;
}

.auth-link {
  color: var(--app-primary);
  text-decoration: none;
  font-size: 13px;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
}

.auth-button-row {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.auth-button-row .auth-back {
  flex: 0 0 auto;
  padding: 14px 28px;
  font-size: 14px;
}

.auth-button-row .auth-submit {
  flex: 1;
  margin-top: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: rgba(168, 168, 184, 0.3);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(168, 168, 184, 0.1);
}

.auth-social {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: rgba(var(--app-content-overlay-rgb), 0.04);
  border: 1px solid rgba(168, 168, 184, 0.12);
  border-radius: 8px;
  color: var(--app-text-1);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

.auth-social:hover {
  background: rgba(var(--app-content-overlay-rgb), 0.06);
  border-color: rgba(168, 168, 184, 0.2);
}

.auth-footer {
  margin-top: 28px;
  font-size: 13px;
  color: var(--app-text-muted-3);
}

.auth-footer a {
  color: var(--app-primary);
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Interest checkboxes (signup step 2) */
.interest-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.auth-checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--app-text-muted-3);
  font-size: 13px;
  cursor: pointer;
}

.auth-checkbox-inline input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--app-primary);
  cursor: pointer;
}

/* Private notice (signup step 3) */
.private-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(92, 184, 230, 0.05);
  border: 1px solid rgba(92, 184, 230, 0.15);
  border-radius: 10px;
  margin-top: 4px;
}

.private-notice svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.private-notice p {
  font-size: 13px;
  color: var(--app-text-muted-3);
  line-height: 1.6;
}

.private-notice strong {
  color: var(--app-primary);
}

/* Signup progress indicator */
.signup-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(168, 168, 184, 0.35);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.progress-step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(168, 168, 184, 0.15);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s;
}

.progress-step.active {
  color: var(--app-primary);
}

.progress-step.active span {
  border-color: var(--app-primary);
  background: rgba(92, 184, 230, 0.1);
  color: var(--app-primary);
}

.progress-step.completed {
  color: rgba(92, 184, 230, 0.5);
}

.progress-step.completed span {
  border-color: rgba(92, 184, 230, 0.3);
  background: rgba(92, 184, 230, 0.15);
  color: rgba(92, 184, 230, 0.6);
}

.progress-line {
  width: 40px;
  height: 1px;
  background: rgba(168, 168, 184, 0.12);
  margin: 0 12px;
  transition: background 0.3s;
}

.progress-line.completed {
  background: rgba(92, 184, 230, 0.3);
}

.verification-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(92, 184, 230, 0.05);
  border: 1px solid rgba(92, 184, 230, 0.12);
  border-radius: 10px;
  margin-bottom: 8px;
}

.verification-notice svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.verification-notice p {
  font-size: 13px;
  color: var(--app-text-muted-3);
  line-height: 1.6;
}

/* Auth error & success messages */
.auth-error {
  padding: 14px 18px;
  background: rgba(230, 92, 92, 0.08);
  border: 1px solid rgba(230, 92, 92, 0.25);
  border-radius: 8px;
  color: #e65c5c;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.signup-success {
  text-align: center;
  padding: 40px 20px;
}

.signup-success svg {
  margin-bottom: 20px;
}

.signup-success h2 {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--app-text-1);
  margin-bottom: 12px;
}

.signup-success p {
  font-size: 14px;
  color: var(--app-text-muted-3);
  line-height: 1.7;
  max-width: 340px;
  margin: 0 auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding: 140px 30px 60px; }
  .hero.hero-with-image { padding: 0; }
  .hero-content-overlay { padding: 140px 30px 60px; justify-content: center; }
  .hero-content-overlay .hero-text { text-align: center; max-width: 100%; }
  .hero-content-overlay .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-content-overlay .cta-group { justify-content: center; }
  .hero-image-overlay { background: linear-gradient(to top, rgba(26, 26, 30, 0.95) 0%, rgba(26, 26, 30, 0.75) 40%, rgba(26, 26, 30, 0.4) 100%); }
  .hero-text { max-width: 100%; margin-bottom: 40px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .cta-group { justify-content: center; }
  .features-grid, .features-grid.two-col { grid-template-columns: 1fr !important; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .steps { flex-direction: column; }
  .step::after { display: none; }
  header { padding: 16px 24px; }
  nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { display: none; }
  footer { flex-direction: column; gap: 40px; padding: 40px 24px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { padding: 16px 24px; flex-wrap: wrap; gap: 8px; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: 1fr; padding: 0 24px 60px; }
  .values-grid, .security-grid { grid-template-columns: 1fr; padding: 0 24px 60px; }
  .point-list { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 24px 48px; }
  .page-hero h1 { font-size: 32px; }
  .content-section { padding: 48px 24px; }
  .features { padding: 60px 24px; }
  .stats { flex-wrap: wrap; padding: 32px 24px; }
  .stat { flex: 0 0 50%; }
  .stat:not(:last-child)::after { display: none; }
  .fee-tables { padding: 48px 24px; }
  .cost-grid { flex-direction: column; }
  .cta-section { padding: 60px 24px; }
  .cta-section h2 { font-size: 28px; }
  .intro-section { padding: 40px 24px; }
  .benefit-list { padding: 0 24px 40px; }
  .revenue-section { padding: 48px 24px; }
  .comparison-table { font-size: 11px; }
  .comparison-table thead th, .comparison-table tbody td { padding: 10px 8px; }
  .operator-section { padding: 32px 24px 40px; }
  .auth-card { padding: 36px 24px; }
  .auth-field-row { flex-direction: column; gap: 20px; }
  .auth-button-row { flex-direction: column; }
  .signup-progress { gap: 0; font-size: 10px; }
  .progress-step { font-size: 10px; }
  .progress-line { width: 24px; margin: 0 6px; }
}

/* ===== Ultimo light-theme overrides (whitelabel) =====
   Chrome using bespoke dark gradients/rgba NOT covered by design tokens
   (auth pages, marketing nav, footer, social buttons). Scoped to
   html[data-brand="ultimo"] so Vestex + marketing pages stay untouched (zero-diff). */
html[data-brand="ultimo"] header,
html[data-brand="ultimo"] .vx-nav {
  background: var(--app-surface-1);
  border-bottom-color: var(--app-border);
}
html[data-brand="ultimo"] .vx-nav__word,
html[data-brand="ultimo"] nav a,
html[data-brand="ultimo"] .btn-login { color: var(--app-text-strong); }
html[data-brand="ultimo"] .vx-nav__cta,
html[data-brand="ultimo"] .btn-header { background: var(--app-primary); color: var(--app-primary-fg); }
html[data-brand="ultimo"] .auth-page { background: var(--app-shell-bg); }
html[data-brand="ultimo"] .auth-card { background: var(--app-surface-1); border-color: var(--app-border); }
html[data-brand="ultimo"] footer,
html[data-brand="ultimo"] .footer-bottom {
  background: var(--app-surface-1);
  border-top-color: var(--app-border);
}
html[data-brand="ultimo"] .auth-social {
  background: var(--app-surface-1);
  color: var(--app-text-strong);
  border-color: var(--app-border);
}
html[data-brand="ultimo"] .vx-nav__menu a.is-current,
html[data-brand="ultimo"] .vx-nav__signin:hover,
html[data-brand="ultimo"] .vx-nav__drawer a.is-current { color: var(--app-primary); }

/* Ultimo: the security/account page reuses the marketing section components, whose
   description text is light-gray (var(--app-text-muted-3) / rgba(168,168,184,x)) →
   faint on the light page. Darken to a readable muted. EXCLUDES .cta-section (it is a
   dark band — its text stays light). Scoped → vestex zero-diff. audit 2026-06-25 */
html[data-brand="ultimo"] .section-header p,
html[data-brand="ultimo"] .intro-section p,
html[data-brand="ultimo"] .security-card p { color: var(--app-text-muted); }

/* ===== INFIN8TI dark + purple overrides (whitelabel, 2026-10-07) =====
   Base = the Vestex DARK theme; the palette itself comes from the brand tokens
   (js/config.js BRANDS.infin8ti.theme + js/brand-boot.js THEMES.infin8ti). These rules
   cover only what tokens cannot: the Poppins font, the solid purple button, link colours,
   the login/signup background image and the partner card art. Every selector is scoped
   to html[data-brand="infin8ti"] (or the html[data-card-art] hook that only a brand
   with images.cardImage sets), so vestex.ai and app.ultimox.io are untouched. */
html[data-brand="infin8ti"] body,
html[data-brand="infin8ti"] button,
html[data-brand="infin8ti"] input,
html[data-brand="infin8ti"] select,
html[data-brand="infin8ti"] textarea { font-family: 'Poppins', 'Inter', sans-serif; }
html[data-brand="infin8ti"] body { color: var(--app-text-1); }

/* Marketing/auth chrome: dark brown instead of the Vestex slate. */
html[data-brand="infin8ti"] body > header,
html[data-brand="infin8ti"] .vx-nav {
  background: rgba(27, 18, 16, 0.97);
  border-bottom-color: var(--app-border);
}
html[data-brand="infin8ti"] footer,
html[data-brand="infin8ti"] .footer-bottom { background: var(--app-shell-bg); border-top-color: var(--app-border); }

/* Primary buttons: solid #6002B2 with the #7E4BD6 border (live site), white label. */
html[data-brand="infin8ti"] .btn-primary,
html[data-brand="infin8ti"] .app-body .btn-primary,
html[data-brand="infin8ti"] .btn-header,
html[data-brand="infin8ti"] .vx-nav__cta {
  background: #6002B2;
  border: 1px solid #7E4BD6;
  color: #ffffff;
  box-shadow: none;
}
html[data-brand="infin8ti"] .btn-primary:hover,
html[data-brand="infin8ti"] .app-body .btn-primary:hover,
html[data-brand="infin8ti"] .btn-header:hover,
html[data-brand="infin8ti"] .vx-nav__cta:hover {
  background: #7E4BD6;
  box-shadow: 0 4px 18px rgba(96, 2, 178, 0.35);
}
html[data-brand="infin8ti"] .btn-primary:disabled,
html[data-brand="infin8ti"] .btn-primary[disabled] { background: #3d2b52; border-color: #4a3a5e; color: rgba(255, 255, 255, 0.55); box-shadow: none; }

/* Links */
html[data-brand="infin8ti"] .auth-link,
html[data-brand="infin8ti"] .auth-footer a,
html[data-brand="infin8ti"] .auth-checkbox a,
html[data-brand="infin8ti"] .consent-doc-list a { color: var(--app-link); }
html[data-brand="infin8ti"] .auth-link:hover,
html[data-brand="infin8ti"] .auth-footer a:hover,
html[data-brand="infin8ti"] .auth-checkbox a:hover,
html[data-brand="infin8ti"] .consent-doc-list a:hover { color: var(--app-link-hover); text-decoration: underline; }

/* Login / signup: the live site's purple background art behind a solid dark panel. */
html[data-brand="infin8ti"] .auth-page {
  background: linear-gradient(rgba(10, 4, 14, 0.35), rgba(10, 4, 14, 0.35)),
    url(/assets/infin8ti-auth-bg.jpg) center / cover no-repeat, #0b0610;
}
html[data-brand="infin8ti"] .auth-card {
  background: #2b2624;
  border: 1px solid rgba(126, 75, 214, 0.35);
  border-top: 2px solid #7E4BD6;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}
html[data-brand="infin8ti"] .auth-card h1 { color: #f2f2f2; }
html[data-brand="infin8ti"] .auth-field input,
html[data-brand="infin8ti"] .auth-field select { background: #231815; border-color: rgba(255, 255, 255, 0.10); color: #f2f2f2; }
html[data-brand="infin8ti"] .auth-field input:focus,
html[data-brand="infin8ti"] .auth-field select:focus { border-color: #7E4BD6; }
html[data-brand="infin8ti"] .auth-social { background: #231815; border-color: rgba(255, 255, 255, 0.12); color: #f2f2f2; }
html[data-brand="infin8ti"] .auth-social:hover { border-color: #7E4BD6; }

/* Partner card art (config.js applyCardImage → --app-card-image + html[data-card-art]).
   The art already carries the brand logo, which sits where the drawn logo + chip go, so both
   are hidden (layout space kept). */
html[data-card-art] .debit-card-bg {
  background: var(--app-card-image) center / cover no-repeat, #1a0b2e;
}
html[data-card-art] .debit-card-bg::after { display: none; }
html[data-card-art] .debit-card .debit-card-logo,
html[data-card-art] .debit-card .debit-card-chip { visibility: hidden; }
html[data-card-art] .debit-card { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(175, 77, 240, 0.25); }
html[data-card-art] .debit-card-number,
html[data-card-art] .debit-card-name,
html[data-card-art] .debit-card-label,
html[data-card-art] .debit-card-type { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85); }

/* INFIN8TI app shell: brown sidebar/top bar and #313135 panels like dashboard.infin8ti.com.
   (dashboard.css paints these with Vestex slate literals, not tokens.) */
html[data-brand="infin8ti"] .app-sidebar { background: #1b1210; border-right-color: rgba(255, 255, 255, 0.06); }
html[data-brand="infin8ti"] .app-topbar { background: #1b1210; }
html[data-brand="infin8ti"] .menu-card { background: #313135; border-color: rgba(255, 255, 255, 0.06); }
/* INFIN8TI sidebar logo: brand-boot paints the wordmark as a `background` shorthand on
   .sidebar-logo, which resets background-origin to padding-box, so `contain` scaled the
   image into the 20px padding and it sat flush against the top/left edge. Keep the
   image inside a 120x28 content box (the padding stays as padding). */
html[data-brand="infin8ti"] .app-sidebar .sidebar-logo {
  box-sizing: content-box;
  width: 120px;
  height: 28px;
  background-origin: content-box;
  background-clip: content-box;
}

/* INFIN8TI text + link contrast (owner request 2026-10-08). The shared text inks are the
   brand tokens (--app-text-1 / --app-text-muted / -2 / -3 and the new --app-link /
   --app-link-hover, all in js/config.js BRANDS.infin8ti.theme + js/brand-boot.js), so ONE
   value change there lifts every page. The rules below only catch components that paint
   with a hardcoded Vestex grey (#4a4a5a / #5a5a6a / #6a6a7a / #8b949e / #8a8a9a / #64748b /
   #6b7280) or with --app-primary used as TEXT (3.2:1 on panels) instead of a token; they
   re-point those to the tokens (hover / active / total / highlight states are excluded with
   :not() so their own colours still win). Colour only (no layout); every selector is scoped to
   html[data-brand="infin8ti"], so vestex.ai and app.ultimox.io are untouched. Every pairing
   is >= 4.5:1 on #231815 and on the #313135 / #342e2c panels (see the PR contrast table). */

/* Muted greys -> --app-text-muted. Generated from every unscoped app-page rule whose text colour is one of
   the Vestex dim greys, grouped by source file. A variant with its own colour (S:hover, S.active, S.total
   ...) is excluded with :not(); a selector coloured differently by another file or by an ancestor state
   (e.g. .onboarding-step.done .onboarding-step-icon) is left out. */
/* 404.html */
html[data-brand="infin8ti"] .error-desc,
/* account-security.html */
html[data-brand="infin8ti"] .sec-card p,
html[data-brand="infin8ti"] .totp-secret-label,
html[data-brand="infin8ti"] .sec-header p,
/* affiliates.css */
html[data-brand="infin8ti"] .aff-qr-label,
html[data-brand="infin8ti"] .aff-stat-label,
html[data-brand="infin8ti"] .aff-tier-range,
html[data-brand="infin8ti"] .aff-table thead th,
html[data-brand="infin8ti"] .status-badge.inactive,
/* ai-trading.css */
html[data-brand="infin8ti"] body.ai-trading-page .ai-breadcrumb,
html[data-brand="infin8ti"] body.ai-trading-page .ai-breadcrumb a:not(:hover),
html[data-brand="infin8ti"] body.ai-trading-page .toast-close:not(:hover),
/* auth/action.html */
html[data-brand="infin8ti"] .desc,
/* buy-crypto-v2.css */
html[data-brand="infin8ti"] .buy-breadcrumb a:not(:hover),
html[data-brand="infin8ti"] .buy-page-sub,
html[data-brand="infin8ti"] .buy-search-wrap svg,
html[data-brand="infin8ti"] .buy-asset-ticker,
html[data-brand="infin8ti"] .buy-field-label,
html[data-brand="infin8ti"] .buy-field-balance,
html[data-brand="infin8ti"] .buy-field-hint,
html[data-brand="infin8ti"] .buy-quick-amt:not(:hover):not(.active),
html[data-brand="infin8ti"] .buy-swap-icon,
html[data-brand="infin8ti"] .payment-detail,
html[data-brand="infin8ti"] .buy-summary-row:not(.total),
html[data-brand="infin8ti"] .buy-disclaimer,
/* card-issue.css */
html[data-brand="infin8ti"] .card-type-desc,
html[data-brand="infin8ti"] .terms-check,
html[data-brand="infin8ti"] .req-item:not(.met):not(.unmet),
html[data-brand="infin8ti"] .fee-row:not(.total),
html[data-brand="infin8ti"] .form-hint,
html[data-brand="infin8ti"] .signature-btn.clear-btn,
html[data-brand="infin8ti"] .page-subtitle,
/* card-issue.html */
html[data-brand="infin8ti"] .ts-wrapper.ts-country-select .ts-dropdown .no-results,
/* card-load.css */
html[data-brand="infin8ti"] .balance-label,
html[data-brand="infin8ti"] .balance-card-ref,
html[data-brand="infin8ti"] .field-label,
html[data-brand="infin8ti"] .available-bal,
html[data-brand="infin8ti"] .amount-prefix,
html[data-brand="infin8ti"] .fee-line:not(.total),
html[data-brand="infin8ti"] .history-table .ref-cell,
html[data-brand="infin8ti"] .topup-empty,
html[data-brand="infin8ti"] .cl-modal-close,
html[data-brand="infin8ti"] .confirm-row:not(.highlight),
/* card-renew.css */
html[data-brand="infin8ti"] .renew-form-sign-empty,
/* cards.css */
html[data-brand="infin8ti"] .detail-note,
html[data-brand="infin8ti"] .card-status,
html[data-brand="infin8ti"] .detail-label,
html[data-brand="infin8ti"] .data-table th,
/* commissions.css */
html[data-brand="infin8ti"] .comm-summary-label,
html[data-brand="infin8ti"] .comm-summary-change.neutral,
html[data-brand="infin8ti"] .comm-range-btn:not(.active):not(:hover),
html[data-brand="infin8ti"] .comm-chart-bar-group span,
html[data-brand="infin8ti"] .comm-input-suffix,
html[data-brand="infin8ti"] .comm-table thead th,
/* convert.css */
html[data-brand="infin8ti"] .convert-source,
html[data-brand="infin8ti"] .convert-panel-label,
html[data-brand="infin8ti"] .convert-balance,
html[data-brand="infin8ti"] .slippage-btn:not(:hover):not(.active),
html[data-brand="infin8ti"] .convert-history-table thead th,
/* css/notifications.css */
html[data-brand="infin8ti"] .notif-time,
html[data-brand="infin8ti"] .notif-empty,
/* dashboard.css */
html[data-brand="infin8ti"] .sidebar-coin-ticker,
html[data-brand="infin8ti"] .sidebar-coin-expand,
html[data-brand="infin8ti"] .sidebar-coin-subitem:not(:hover),
html[data-brand="infin8ti"] .sidebar-user-email,
html[data-brand="infin8ti"] .topbar-breadcrumb a:not(:hover),
html[data-brand="infin8ti"] .topbar-breadcrumb svg,
html[data-brand="infin8ti"] .dash-date,
html[data-brand="infin8ti"] .dash-card-label,
html[data-brand="infin8ti"] .onboarding-step:not(.done):not(.active),
html[data-brand="infin8ti"] .snapshot-label,
html[data-brand="infin8ti"] .snapshot-timeframe,
html[data-brand="infin8ti"] .metric-label,
html[data-brand="infin8ti"] .metric-sub:not(.positive):not(.negative),
html[data-brand="infin8ti"] .pos-tab:not(:hover):not(.active),
html[data-brand="infin8ti"] .positions-header .pcol,
html[data-brand="infin8ti"] .pcol-entry,
html[data-brand="infin8ti"] .pcol-liq,
html[data-brand="infin8ti"] .pcol-expiry,
html[data-brand="infin8ti"] .inst-exchange,
html[data-brand="infin8ti"] .positions-count,
html[data-brand="infin8ti"] .positions-total,
html[data-brand="infin8ti"] .empty-state-text,
html[data-brand="infin8ti"] .feature-card-desc,
html[data-brand="infin8ti"] .holding-ticker,
html[data-brand="infin8ti"] .holding-change.neutral,
html[data-brand="infin8ti"] .debit-card-balance-label,
html[data-brand="infin8ti"] .insight-desc,
html[data-brand="infin8ti"] .insight-meta,
html[data-brand="infin8ti"] .activity-desc,
html[data-brand="infin8ti"] .activity-time,
html[data-brand="infin8ti"] .affiliate-stat-label,
html[data-brand="infin8ti"] .affiliate-stat-sub,
html[data-brand="infin8ti"] .chart-labels,
/* kyc.css */
html[data-brand="infin8ti"] .kyc-hero-level.current .kyc-hero-level-icon,
/* market-overview.css */
html[data-brand="infin8ti"] .mo-ticker-quote,
html[data-brand="infin8ti"] .mo-heatmap-loading,
html[data-brand="infin8ti"] .mo-control-label,
html[data-brand="infin8ti"] .mo-tab:not(:hover):not(.active),
html[data-brand="infin8ti"] .mo-search-icon,
html[data-brand="infin8ti"] .mo-stat-label,
html[data-brand="infin8ti"] .mo-empty-row td,
/* portfolio.html */
html[data-brand="infin8ti"] .modal-close:not(:hover),
/* settings.css */
html[data-brand="infin8ti"] .toggle-desc,
html[data-brand="infin8ti"] .danger-desc,
/* support.css */
html[data-brand="infin8ti"] .sup-contact-detail,
html[data-brand="infin8ti"] .sup-faq-question svg,
html[data-brand="infin8ti"] .sup-file-upload:not(:hover),
html[data-brand="infin8ti"] .sup-tickets-table thead th,
/* trade-futures.css */
html[data-brand="infin8ti"] .funding-item-label,
html[data-brand="infin8ti"] .contracts-loading,
html[data-brand="infin8ti"] .contracts-header,
html[data-brand="infin8ti"] .tpsl-close:not(:hover),
html[data-brand="infin8ti"] .pos-table thead th,
html[data-brand="infin8ti"] .toast-close:not(:hover),
html[data-brand="infin8ti"] .wizard-close:not(:hover),
html[data-brand="infin8ti"] .wizard-dot:not(.active):not(.done),
html[data-brand="infin8ti"] .inst-symbol-btn svg,
html[data-brand="infin8ti"] .inst-dd-item-sub,
html[data-brand="infin8ti"] .inst-picker-head,
html[data-brand="infin8ti"] .inst-fav-btn:not(:hover):not(.fav),
html[data-brand="infin8ti"] .inst-picker-empty,
html[data-brand="infin8ti"] .inst-dd-empty,
html[data-brand="infin8ti"] .trigger-basis-note,
/* trade-option.css */
html[data-brand="infin8ti"] .inst-breadcrumb a:not(:hover),
html[data-brand="infin8ti"] .greek-label,
html[data-brand="infin8ti"] .order-field-sub,
html[data-brand="infin8ti"] .order-balance-info,
html[data-brand="infin8ti"] .ob-spread,
html[data-brand="infin8ti"] .ob-header-row,
html[data-brand="infin8ti"] .ob-spread-val,
html[data-brand="infin8ti"] .rt-header-row,
html[data-brand="infin8ti"] .rt-time,
html[data-brand="infin8ti"] .pos-detail-label,
html[data-brand="infin8ti"] .guide-goal-btn svg,
html[data-brand="infin8ti"] .rec-detail span,
/* trade-spot.css */
html[data-brand="infin8ti"] .spot-orderbook .ob-spread-val,
html[data-brand="infin8ti"] .spot-symbol-btn svg,
html[data-brand="infin8ti"] .pairs-loading,
html[data-brand="infin8ti"] .pairs-header,
html[data-brand="infin8ti"] .spot-pos-tab:not(:hover):not(.active),
html[data-brand="infin8ti"] .spot-pos-table thead th,
/* style.css (auth) + trade-option.css attribution + card-load table header */
html[data-brand="infin8ti"] .auth-divider,
html[data-brand="infin8ti"] .tradingview-attribution,
html[data-brand="infin8ti"] .history-table thead th { color: var(--app-text-muted); }
/* Elements that carry an INLINE grey: the Buy & Sell asset list (#5a5a6a), the account-security
   breadcrumb (#6a6a7a), the portfolio
   donut legend (#6b7280) and the cards history table (td.style.color = '#8a8a9a', serialised as rgb(138, 138, 154)). */
html[data-brand="infin8ti"] .buy-asset-list > div[style*="#5a5a6a"],
html[data-brand="infin8ti"] .topbar-breadcrumb a[style*="#6a6a7a"],
html[data-brand="infin8ti"] .legend-item[style*="#6b7280"],
html[data-brand="infin8ti"] .data-table td[style*="rgb(138, 138, 154)"] { color: var(--app-text-muted) !important; }
html[data-brand="infin8ti"] .kyc-badge.unverified { color: var(--app-text-muted-3); }
/* Buy & Sell "Trade on Spot" pointer rows are dimmed with an inline opacity:.72, which pulled the
   name, ticker and link under 4.5:1. Full opacity here; the row stays secondary by colour instead
   (muted name, lavender link) - 6.5:1 and 6.1:1 on the #313135 panel. */
html[data-brand="infin8ti"] .buy-asset-row-elsewhere { opacity: 1 !important; }
html[data-brand="infin8ti"] .buy-asset-row-elsewhere .buy-asset-name { color: var(--app-text-muted); }
/* Placeholders (#4a4a5a in several files) -> readable but still below typed text (#f2f2f2). */
html[data-brand="infin8ti"] input::placeholder,
html[data-brand="infin8ti"] textarea::placeholder { color: var(--app-text-muted); opacity: 1; }

/* Purple used as TEXT (links, active chips/tabs/labels, highlighted values) -> --app-link.
   Fills and borders keep --app-primary / #6002B2. */
/* Generated from every unscoped rule that paints TEXT with var(--app-primary) on the app pages, grouped
   by source file; variants with their own colour (.stat-value.positive, trade-futures .pos-tab.active,
   .type-tag.call, toast icons ...) are left out or guarded with :not(). */
/* account-security.html */
html[data-brand="infin8ti"] .totp-step-number,
html[data-brand="infin8ti"] .totp-secret-key,
html[data-brand="infin8ti"] .btn-start-setup,
/* affiliates.css */
html[data-brand="infin8ti"] .aff-hero-content h1 .accent,
html[data-brand="infin8ti"] .aff-tier-badge.silver.current,
html[data-brand="infin8ti"] .aff-tier-rate,
html[data-brand="infin8ti"] .aff-tier-current-label,
/* ai-trading.css */
html[data-brand="infin8ti"] body.ai-trading-page .ai-back-link,
html[data-brand="infin8ti"] body.ai-trading-page .ai-strategy-box-title,
html[data-brand="infin8ti"] body.ai-trading-page .ai-bot-card-cue,
html[data-brand="infin8ti"] body.ai-trading-page .ai-bot-row-link:hover,
html[data-brand="infin8ti"] body.ai-trading-page .ai-detail-link,
html[data-brand="infin8ti"] body.ai-trading-page .ai-modal-balance-value,
html[data-brand="infin8ti"] body.ai-trading-page .ai-pot-value,
html[data-brand="infin8ti"] body.ai-trading-page .ai-pot-cancel-reservation,
html[data-brand="infin8ti"] body.ai-trading-page .ai-pot-banner-action,
html[data-brand="infin8ti"] body.ai-trading-page .ai-spot-fold,
html[data-brand="infin8ti"] body.ai-trading-page .ai-spot-exrows > summary,
html[data-brand="infin8ti"] body.ai-trading-page .ai-spot-modal-h,
html[data-brand="infin8ti"] body.ai-trading-page .ai-spot-max,
html[data-brand="infin8ti"] body.ai-trading-page .ai-spot-reference-toggle::before,
html[data-brand="infin8ti"] body.ai-trading-page .ai-spot-fold-all,
/* buy-crypto-v2.css */
html[data-brand="infin8ti"] .buy-breadcrumb a:hover,
html[data-brand="infin8ti"] .quick-pill.active,
html[data-brand="infin8ti"] .buy-asset-holding,
html[data-brand="infin8ti"] .buy-asset-elsewhere,
html[data-brand="infin8ti"] .buy-amount-input.receive,
html[data-brand="infin8ti"] .buy-currency-badge.crypto,
html[data-brand="infin8ti"] .buy-quick-amt.active,
html[data-brand="infin8ti"] .payment-icon.wallet,
html[data-brand="infin8ti"] .qt-amount-input.receive,
html[data-brand="infin8ti"] .qt-currency-badge.crypto,
html[data-brand="infin8ti"] .qt-swap-icon:hover,
html[data-brand="infin8ti"] .qt-status-badge.is-confirming,
html[data-brand="infin8ti"] .qt-countdown-ring,
/* card-issue.css */
html[data-brand="infin8ti"] .card-type-icon,
html[data-brand="infin8ti"] .card-type-price,
html[data-brand="infin8ti"] .terms-check a,
html[data-brand="infin8ti"] .debit-card-logo,
html[data-brand="infin8ti"] .issue-page .balance-info,
html[data-brand="infin8ti"] .wizard-step.active:not(.completed) .step-label,
html[data-brand="infin8ti"] .review-section-title,
html[data-brand="infin8ti"] .addl-steps .wizard-step.active:not(.completed) .addl-step-state,
html[data-brand="infin8ti"] .addl-card .addl-link,
/* card-load.css */
html[data-brand="infin8ti"] .balance-amount,
html[data-brand="infin8ti"] .quick-amt-btn:hover,
html[data-brand="infin8ti"] .quick-amt-btn.active,
html[data-brand="infin8ti"] .confirm-message strong,
/* cards.css */
html[data-brand="infin8ti"] .detail-value.highlight,
html[data-brand="infin8ti"] .card-action-btn:hover,
/* commissions.css */
html[data-brand="infin8ti"] .comm-summary-icon.blue,
html[data-brand="infin8ti"] .comm-range-btn.active,
html[data-brand="infin8ti"] .comm-range-btn:hover,
html[data-brand="infin8ti"] .payout-modal-row .payout-modal-value,
html[data-brand="infin8ti"] .comm-export-btn:hover,
/* convert.css */
html[data-brand="infin8ti"] .convert-source strong,
html[data-brand="infin8ti"] .convert-amount-input.to-amount,
html[data-brand="infin8ti"] .convert-swap-btn,
html[data-brand="infin8ti"] .slippage-btn.active,
/* dashboard.css */
html[data-brand="infin8ti"] .sidebar-nav-item.active,
html[data-brand="infin8ti"] .dash-welcome h1 span,
html[data-brand="infin8ti"] .mode-btn.active,
html[data-brand="infin8ti"] .dash-card-link,
html[data-brand="infin8ti"] .dash-badge,
html[data-brand="infin8ti"] .quick-action-btn,
html[data-brand="infin8ti"] .next-action-link,
html[data-brand="infin8ti"] .onboarding-step.active,
html[data-brand="infin8ti"] .onboarding-step.active .onboarding-step-icon,
html[data-brand="infin8ti"] .empty-cta,
html[data-brand="infin8ti"] .insight-tag.market,
html[data-brand="infin8ti"] .activity-icon.trade,
html[data-brand="infin8ti"] .tf-btn.active,
html[data-brand="infin8ti"] .menu-card-icon,
html[data-brand="infin8ti"] .menu-card-body-row .row-badge,
html[data-brand="infin8ti"] .menu-card-cta,
html[data-brand="infin8ti"] .menu-card-arrow,
html[data-brand="infin8ti"] .menu-card-cta-link:hover,
html[data-brand="infin8ti"] .menu-card-cta-link.primary,
html[data-brand="infin8ti"] .menu-card-cta-link.ghost:hover,
html[data-brand="infin8ti"] .menu-ai-bot-link:hover,
/* history.css */
html[data-brand="infin8ti"] .history-tab.active,
html[data-brand="infin8ti"] .badge-futures,
html[data-brand="infin8ti"] .status-open,
/* market-overview.css */
html[data-brand="infin8ti"] .mo-tab-badge,
/* portfolio.css */
html[data-brand="infin8ti"] .table-action-btn.outline,
html[data-brand="infin8ti"] .tx-type.deposit,
/* portfolio.html */
html[data-brand="infin8ti"] .act-trade,
html[data-brand="infin8ti"] .act-trade:hover,
html[data-brand="infin8ti"] .deposit-toast.success .deposit-toast-icon,
/* settings.css */
html[data-brand="infin8ti"] .avatar-upload-btn,
/* style.css */
html[data-brand="infin8ti"] .app-body .btn-outline,
html[data-brand="infin8ti"] .password-toggle:hover,
html[data-brand="infin8ti"] .auth-checkbox-block a:not(:focus-visible),
html[data-brand="infin8ti"] .private-notice strong,
html[data-brand="infin8ti"] .progress-step.active,
html[data-brand="infin8ti"] .progress-step.active span,
/* support.css */
html[data-brand="infin8ti"] .sup-contact-icon.blue,
html[data-brand="infin8ti"] .sup-contact-btn:hover,
html[data-brand="infin8ti"] .ticket-id,
html[data-brand="infin8ti"] .sup-detail-btn:hover,
/* trade-futures.css */
html[data-brand="infin8ti"] .type-tag.perp,
html[data-brand="infin8ti"] .leverage-value,
html[data-brand="infin8ti"] .leverage-preset-btn.active,
html[data-brand="infin8ti"] .contracts-tab.active,
html[data-brand="infin8ti"] .contract-trade-btn,
html[data-brand="infin8ti"] .input-mode-btn.active,
html[data-brand="infin8ti"] .margin-calc-arrow,
html[data-brand="infin8ti"] .bbo-btn:not(:hover),
html[data-brand="infin8ti"] .tpsl-label.tp,
html[data-brand="infin8ti"] .tif-btn.active,
html[data-brand="infin8ti"] .order-insight-content .insight-ok,
html[data-brand="infin8ti"] .pos-tab-count,
html[data-brand="infin8ti"] .order-status-new,
html[data-brand="infin8ti"] .pos-add-margin-btn,
html[data-brand="infin8ti"] .chat-wizard-btn,
html[data-brand="infin8ti"] .wizard-dot.active,
html[data-brand="infin8ti"] .wz-option-tag.recommended,
html[data-brand="infin8ti"] .wz-pct-btn:hover,
html[data-brand="infin8ti"] .wz-pct-btn.active,
html[data-brand="infin8ti"] .wz-review-total,
html[data-brand="infin8ti"] .wizard-btn-customize,
html[data-brand="infin8ti"] .inst-symbol-tab.active,
html[data-brand="infin8ti"] .inst-dd-item.inst-picker-hint,
/* trade-futures.html */
html[data-brand="infin8ti"] .f2-chip-toggle.active,
html[data-brand="infin8ti"] .f2-wz-dot.done,
html[data-brand="infin8ti"] .f2-wz-preset.active,
html[data-brand="infin8ti"] .f2-wz-lev,
html[data-brand="infin8ti"] .f2-margin-cta-actions a,
/* trade-option.css */
html[data-brand="infin8ti"] .inst-breadcrumb a:hover,
html[data-brand="infin8ti"] .expiry-countdown,
html[data-brand="infin8ti"] .tradingview-attribution a,
html[data-brand="infin8ti"] .quick-btn.active,
html[data-brand="infin8ti"] .chain-exp-btn.active,
html[data-brand="infin8ti"] .chain-calls-header,
html[data-brand="infin8ti"] .chain-row.atm .chain-strike,
html[data-brand="infin8ti"] .atm-label,
html[data-brand="infin8ti"] .chain-row.current-strike .chain-strike,
html[data-brand="infin8ti"] .current-label,
html[data-brand="infin8ti"] .guide-ai-avatar,
html[data-brand="infin8ti"] .guide-goal-btn:hover svg,
html[data-brand="infin8ti"] .guide-back:hover,
html[data-brand="infin8ti"] .guide-rec-title,
html[data-brand="infin8ti"] .chat-insight,
/* trade-spot.css */
html[data-brand="infin8ti"] .type-tag.spot,
html[data-brand="infin8ti"] .pairs-tab.active,
html[data-brand="infin8ti"] .pair-trade-btn,
html[data-brand="infin8ti"] .spot-pos-tab-count,
html[data-brand="infin8ti"] .spot-status-tag.open,
html[data-brand="infin8ti"] .spot-status-tag.pending,
html[data-brand="infin8ti"] .spot-status-tag.filled,
html[data-brand="infin8ti"] .spot-order-result-link,
/* js/ai-chat-widget.js (injected <style>) */
html[data-brand="infin8ti"] .chat-action-btn { color: var(--app-link); }
html[data-brand="infin8ti"] [style^="color:var(--app-primary)"],
html[data-brand="infin8ti"] [style^="color: var(--app-primary)"],
html[data-brand="infin8ti"] [style*=";color:var(--app-primary)"],
html[data-brand="infin8ti"] [style*="; color:var(--app-primary)"],
html[data-brand="infin8ti"] [style*=";color: var(--app-primary)"],
html[data-brand="infin8ti"] [style*="; color: var(--app-primary)"] { color: var(--app-link) !important; }
html[data-brand="infin8ti"] .tradingview-attribution a:hover { color: var(--app-link-hover); }
/* Buy / long / positive / up values -> the platform buy cyan (--app-buy), as on vestex.ai and app.ultimox.io
   (owner decision 2026-10-08). The base CSS paints these with --app-primary, which is cyan on Vestex but
   brand purple on INFIN8TI. Sell / short / negative keep their own colours. */
html[data-brand="infin8ti"] .funding-btn.buy,
html[data-brand="infin8ti"] .menu-ai-pnl.is-up,
html[data-brand="infin8ti"] .mover-change.positive,
html[data-brand="infin8ti"] .side-buy,
html[data-brand="infin8ti"] .side-long,
html[data-brand="infin8ti"] .mo-ticker-change.positive,
html[data-brand="infin8ti"] .mo-stat-value.positive,
html[data-brand="infin8ti"] .order-side-btn.long.active,
html[data-brand="infin8ti"] .side-badge.long,
html[data-brand="infin8ti"] .wz-dir-card.long .wz-dir-label,
html[data-brand="infin8ti"] .order-side-btn.buy.active,
html[data-brand="infin8ti"] .ob-row.bid .ob-price,
html[data-brand="infin8ti"] .rt-row.buy .rt-price,
html[data-brand="infin8ti"] .pos-detail-value.positive,
html[data-brand="infin8ti"] .pair-change.positive,
html[data-brand="infin8ti"] .spot-side-tag.buy { color: var(--app-buy); }