/* ==========================================================================
   Bourse Chamber — Global Design System (css/main.css)
   Institutional · Courtroom · Financial Terminal · Monochrome
   ========================================================================== */

:root {
  /* Color Palette — Section 4 Exact Tokens */
  --bg-black: #050505;
  --bg-card: #0A0A0A;
  --bg-card-elevated: #131313;
  --bg-surface: #1C1C1C;
  --border-main: #242424;
  --border-subtle: #1C1C1C;
  --border-focus: #FFFFFF;
  
  --text-primary: #FFFFFF;
  --text-secondary: #9A9A9A;
  --text-muted: #6E6E6E;
  --text-dim: #525252;

  /* Pure Grayscale Accents */
  --accent-purple: #FFFFFF;
  --accent-violet: #E5E5E5;
  --accent-cyan: #CCCCCC;
  --accent-blue: #999999;
  --accent-emerald: #FFFFFF;
  --accent-rose: #777777;
  --accent-amber: #AAAAAA;

  /* School Specific Grayscale Codes */
  --school-value: #FFFFFF;
  --school-quality: #E5E5E5;
  --school-growth: #CCCCCC;
  --school-macro: #999999;
  --school-risk: #777777;

  /* Outcome Glow Badges */
  --glow-add: rgba(255, 255, 255, 0.2);
  --glow-reduce: rgba(255, 255, 255, 0.1);
  --glow-pass: rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-pixel: 'Silkscreen', 'JetBrains Mono', monospace;

  /* Spacing & Layout */
  --max-width: 1180px;
  --header-height: 56px;
  --radius: 0px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-black);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* Background Subtle Dither / Grid Texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  background-position: -19px -19px;
  pointer-events: none;
  z-index: 0;
}

/* Monochrome Ambient Depth Glow */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.025) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

::selection {
  background: var(--text-primary);
  color: var(--bg-black);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Layout Utilities */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   Global Navigation
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-main);
  height: var(--header-height);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.logo-mark-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  overflow: visible;
}

.logo-mark-img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.35s ease;
  animation: logoAmbientBreathe 3.6s ease-in-out infinite;
  will-change: transform, filter;
}

/* Expanding Radar Ping Ring */
.logo-mark-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Subtle Corner Energy Accents */
.logo-mark-wrap::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.6;
  pointer-events: none;
  transition: all 0.35s ease;
  animation: logoBoxPulse 4s ease-in-out infinite;
}

/* Hover Animation Effects */
.site-logo:hover .logo-mark-img {
  transform: scale(1.18) rotate(-6deg);
  filter: drop-shadow(0 0 6px #FFFFFF) drop-shadow(0 0 16px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 28px rgba(255, 255, 255, 0.4));
  animation: logoHoverFloat 1.8s ease-in-out infinite alternate;
}

.site-logo:hover .logo-mark-wrap::before {
  animation: logoSonarPing 1.5s cubic-bezier(0.1, 0.8, 0.25, 1) infinite;
}

.site-logo:hover .logo-mark-wrap::after {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.12);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.site-logo:active .logo-mark-img {
  transform: scale(0.94) rotate(0deg);
  filter: drop-shadow(0 0 20px #FFFFFF);
  transition: transform 0.1s ease;
}

@keyframes logoAmbientBreathe {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.35));
  }
  50% {
    transform: translateY(-1.5px) scale(1.05);
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.75));
  }
}

@keyframes logoHoverFloat {
  0% {
    transform: scale(1.18) rotate(-6deg) translateY(0);
  }
  100% {
    transform: scale(1.22) rotate(-3deg) translateY(-2px);
  }
}

@keyframes logoSonarPing {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  60% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

@keyframes logoBoxPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.1);
  }
  50% {
    transform: scale(1.06);
    opacity: 0.85;
    border-color: rgba(255, 255, 255, 0.35);
  }
}

.nav-links {
  display: flex;
  align-items: stretch;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-left: 1px solid var(--border-main);
  cursor: pointer;
  outline: none;
  transition: all 0.18s ease;
  position: relative;
  height: 100%;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--bg-card-elevated);
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
  background: #111111;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.nav-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--text-secondary);
  border-left: 1px solid var(--border-main);
  transition: all 0.2s ease;
  text-decoration: none;
  height: 100%;
}

.nav-icon-link:hover {
  color: #FFFFFF;
  background: var(--bg-card-elevated);
}

.nav-icon-link svg {
  display: block;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 12px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Buttons & Micro-interactions
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  padding: 10px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  user-select: none;
}

.btn-primary {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #111111;
  color: #FFFFFF;
  border: 1px solid #333333;
}

.btn-secondary:hover {
  background: #222222;
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: transparent;
  color: #A3A3A3;
  border-color: #404040;
}

.btn-outline:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* Badges & Tags — Strict Monochrome */
.badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  display: inline-block;
  border-radius: 2px;
  border: 1px solid var(--border-main);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 500;
}

.badge.add {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

.badge.reduce {
  background: #1F1F1F;
  color: #CCCCCC;
  border-color: #4A4A4A;
  font-weight: 600;
}

.badge.pass {
  background: transparent;
  color: #888888;
  border-color: #333333;
  font-weight: 500;
}

.badge.supported {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

.badge.not_supported,
.badge.not-supported {
  background: #1F1F1F;
  color: #CCCCCC;
  border-color: #4A4A4A;
  font-weight: 600;
}

.badge.insufficient_evidence,
.badge.insufficient {
  background: transparent;
  color: #888888;
  border-color: #333333;
  font-weight: 500;
}

.badge.divided {
  background: transparent;
  color: #A3A3A3;
  border-color: #555555;
  font-weight: 600;
}

/* ==========================================================================
   Dossier Drawer (Right Side Inspector)
   ========================================================================== */
.dossier-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(2px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.dossier-scrim.open {
  opacity: 1;
  pointer-events: auto;
}

.dossier-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 90vw;
  background: var(--bg-card);
  border-left: 1px solid var(--border-main);
  z-index: 160;
  transform: translateX(101%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.dossier-drawer.open {
  transform: translateX(0);
}

.dossier-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 6px;
  transition: color 0.15s;
}

.dossier-close:hover {
  color: var(--text-primary);
}

.dossier-avatar-wrap {
  width: 72px;
  height: 72px;
  border: 1px solid var(--border-main);
  background: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.dossier-avatar-wrap img {
  display: block;
  border-radius: 2px;
}

.dossier-seat-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dossier-name {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 4px;
}

.dossier-discipline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.dossier-section-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 26px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.dossier-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.dossier-questions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dossier-questions li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}

.dossier-questions li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.dossier-record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-main);
  margin-top: 10px;
}

.dossier-record-col {
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid var(--border-main);
}

.dossier-record-col:last-child {
  border-right: none;
}

.dossier-record-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 400;
}

.dossier-record-lbl {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.dossier-live-box {
  border: 1px dashed var(--border-main);
  background: var(--bg-black);
  padding: 14px;
  margin-top: 12px;
}

.dossier-live-box b {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.dossier-live-box p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   Toast Notification HUD
   ========================================================================== */
.bourse-toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.bourse-toast {
  background: #0A0A0A;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.9);
  pointer-events: auto;
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bourse-toast.fade-out {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

.toast-dot {
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  display: inline-block;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Global Footer
   ========================================================================== */
footer.site-footer {
  margin-top: 32px;
  border-top: 1px solid var(--border-main);
  background: var(--bg-black);
  padding: 24px 0 28px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  max-width: 68ch;
  line-height: 1.5;
}

.footer-copy {
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

/* ==========================================================================
   Financial Ticker Marquee Bar
   ========================================================================== */
.ticker-marquee-bar {
  width: 100%;
  background: #080808;
  border-bottom: 1px solid var(--border-main);
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marqueeRoll 38s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-item b {
  color: var(--text-primary);
}

@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Interactive Hero Canvas Wave & Motion Controllers
   ========================================================================== */
.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.5;
}

#hero-matrix-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Motion Mode Switcher Button in Header */
.nav-btn-motion {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  border-left: 1px solid var(--border-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn-motion:hover {
  background: var(--bg-card-elevated);
  color: #FFFFFF;
}

.nav-btn-motion .motion-dot {
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 8px #FFFFFF;
  animation: motionDotPulse 1.6s infinite alternate;
}

@keyframes motionDotPulse {
  0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 4px #FFFFFF; }
  100% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 10px #FFFFFF; }
}

/* 4-Stage Process Flow Animated Hover & Shimmer */
.process-step-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.process-step-card:hover {
  transform: translateY(-3px);
  border-color: #555555;
}

.process-step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.process-step-card:hover::after {
  animation: cardShimmer 0.75s ease-out;
}

@keyframes cardShimmer {
  to { left: 180%; }
}

/* ==========================================================================
   Single Page Application (SPA) Master View Switcher & Quick Bar
   ========================================================================== */
.spa-ribbon-bar {
  background: #080808;
  border-bottom: 1px solid var(--border-main);
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.spa-ribbon-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 0;
}

.spa-ribbon-inner::-webkit-scrollbar {
  display: none;
}

.spa-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 7px 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.spa-tab-btn:hover {
  color: #FFFFFF;
  background: var(--bg-card-elevated);
}

.spa-tab-btn.active {
  color: #FFFFFF;
  background: #141414;
  border-color: #FFFFFF;
  box-shadow: inset 0 -2px 0 #FFFFFF, 0 0 14px rgba(255, 255, 255, 0.15);
}

/* Continuous One-Page Master View Sections */
.spa-view-section {
  display: block;
  scroll-margin-top: calc(var(--header-height) + 12px);
  position: relative;
}

.spa-view-section + .spa-view-section {
  border-top: 1px solid var(--border-main);
}

/* Hero Quick Debate Input Bar */
.hero-quick-bar {
  margin: 32px auto 0;
  max-width: 560px;
  display: flex;
  gap: 8px;
  background: #0A0A0A;
  border: 1px solid #333333;
  padding: 5px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.85);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-quick-bar:focus-within {
  border-color: #FFFFFF;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.15);
}

.hero-quick-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  padding: 10px 14px;
}

.hero-quick-input:focus {
  outline: none;
}

.hero-quick-btn {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.hero-quick-btn:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   Dust Protocol Visual System (Reference Aesthetics)
   ========================================================================== */

/* 1. Divider / Separator Utility */
.checker-divider-tape {
  display: none !important;
}

.pixel-deco-wrap {
  display: none !important;
}

.purple-dither-cluster {
  display: inline-flex;
  width: 28px;
  height: 28px;
  background-image: radial-gradient(#FFFFFF 2px, transparent 2px);
  background-size: 6px 6px;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 12px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* 3. Pixel Titles & Subtitles */
.dust-pixel-title {
  font-family: var(--font-pixel);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  letter-spacing: 0.04em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.dust-pixel-subtitle {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 44px;
}

/* 4. Connected 4-Step Process Flow */
.dust-process-container {
  position: relative;
  margin: 40px 0 70px;
}

.dust-process-line {
  position: absolute;
  top: 48%;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  z-index: 0;
  pointer-events: none;
}

.dust-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

.dust-step-card {
  background: #0D0D0D;
  border: 1px solid #2B2B2B;
  border-radius: 18px;
  padding: 34px 20px 28px;
  text-align: center;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dust-step-card .dust-icon-wrap svg {
  stroke: #FFFFFF;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.35));
}

.dust-step-card .dust-step-badge {
  border: 1px solid #555555;
  color: #CCCCCC;
  box-shadow: none;
}

.dust-step-card:hover {
  border-color: #FFFFFF;
  background: #141414;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.dust-step-card:hover .dust-step-badge {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* Reset individual step cards to uniform monochrome */
.dust-step-card:nth-child(1),
.dust-step-card:nth-child(2),
.dust-step-card:nth-child(3),
.dust-step-card:nth-child(4) {
  border-color: #2B2B2B;
  background: #0D0D0D;
}
.dust-step-card:nth-child(1):hover,
.dust-step-card:nth-child(2):hover,
.dust-step-card:nth-child(3):hover,
.dust-step-card:nth-child(4):hover {
  border-color: #FFFFFF;
  background: #141414;
}

.dust-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dust-icon-wrap svg {
  width: 46px;
  height: 46px;
}

.dust-step-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dust-step-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.dust-step-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 5. 2x2 High-Contrast White Cards & Split Section */
.dust-features-section {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.dust-section-title-large {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.dust-section-desc-large {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 34px;
  max-width: 52ch;
}

.dust-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dust-white-card {
  background: #FFFFFF;
  color: #050505;
  border-radius: 6px;
  padding: 20px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dust-white-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.dust-card-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dust-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: #000000;
  fill: none;
}

.dust-card-content h3 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 4px;
}

.dust-card-content p {
  font-size: 0.78rem;
  color: #444444;
  line-height: 1.45;
}

/* 6. Big Rounded White Action / CTA Banner */
.dust-cta-banner-wrap {
  margin: 90px auto 40px;
  max-width: 960px;
  padding: 0 20px;
}

.dust-cta-banner {
  background: #FFFFFF;
  color: #000000;
  border-radius: 24px;
  padding: 56px 40px 48px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
}

.dust-cta-title {
  font-family: var(--font-pixel);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 400;
  color: #000000;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.dust-cta-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 40px;
}

.dust-cta-steps {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.dust-cta-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 170px;
}

.dust-cta-step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dust-cta-step-icon svg {
  width: 38px;
  height: 38px;
  stroke: #000000;
  fill: none;
}

.dust-cta-step-label {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: #000000;
}

.dust-cta-action-btn {
  background: #000000;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 14px 42px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.dust-cta-action-btn:hover {
  background: #222222;
  transform: translateY(-2px);
}

.dust-cta-footnote {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #777777;
  margin-top: 18px;
}

/* 7. Clean High-Contrast Footer (Reference Image 4) */
.dust-site-footer {
  background: #FFFFFF;
  color: #000000;
  padding: 70px 0 36px;
  border-top: 1px solid #E5E5E5;
  margin-top: 60px;
}

.dust-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.dust-footer-brand h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 12px;
}

.dust-footer-tagline {
  font-size: 0.88rem;
  color: #666666;
  max-width: 32ch;
  line-height: 1.5;
}

.dust-footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.dust-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dust-footer-links a {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: #555555;
  transition: color 0.15s ease;
}

.dust-footer-links a:hover {
  color: #000000;
}

.dust-footer-bottom {
  border-top: 1px solid #ECECEC;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #888888;
}

/* Nav Bar CTA Button & Cluster */
.nav-cta-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-left: 1px solid var(--border-main);
  height: 100%;
}

.nav-cta-btn {
  background: #FFFFFF;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 14px;
  height: 32px;
  border-radius: 2px;
  border: 1px solid #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  box-shadow: none;
}

.nav-cta-btn:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.nav-cta-btn.nav-cta-x {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-main);
  padding: 0;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 2px;
  box-shadow: none;
}

.nav-cta-btn.nav-cta-x:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: #555555;
}

.nav-cta-btn.nav-cta-x svg {
  display: block;
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   Accessibility & Responsive Media Queries
   ========================================================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #080808;
    border-bottom: 1px solid var(--border-main);
    padding: 8px 0;
    box-shadow: 0 16px 32px rgba(0,0,0,0.8);
  }

  .nav-link {
    border-left: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 24px;
    width: 100%;
  }

  .nav-icon-link {
    border-left: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 24px;
    justify-content: flex-start;
    height: auto;
  }

  .nav-cta-cell {
    border-left: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 24px;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .dossier-drawer {
    width: 100%;
    max-width: 100vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.budget-replenish-btn {
  background: transparent;
  border: 1px solid var(--border-subtle, #333333);
  color: var(--text-muted, #888888);
  font-family: var(--font-mono, monospace);
  font-size: 0.6rem;
  padding: 1px 6px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.budget-replenish-btn:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Cute 3D Companion Cube Animations (Overview Page)
   ========================================================================== */
.dust-cube-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 320px;
  user-select: none;
}

.dust-cube-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  animation: cuteGlowPulse 4.8s ease-in-out infinite;
}

.dust-cube-shadow {
  position: absolute;
  bottom: 14px;
  width: 150px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 50%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  animation: cuteShadowPulse 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.dust-cube-svg {
  display: block;
  overflow: visible;
  cursor: pointer;
  transform-origin: 130px 200px;
  animation: cuteCubeBounce 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transition: filter 0.3s ease;
}

/* Playful zero-gravity floating, swaying & squishing */
@keyframes cuteCubeBounce {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1, 1);
  }
  20% {
    transform: translateY(-22px) rotate(-3.5deg) scale(0.97, 1.03);
  }
  40% {
    transform: translateY(-34px) rotate(2.5deg) scale(1.02, 0.98);
  }
  60% {
    transform: translateY(-16px) rotate(4deg) scale(0.98, 1.02);
  }
  78% {
    transform: translateY(6px) rotate(-1deg) scale(1.05, 0.94);
  }
  88% {
    transform: translateY(-2px) rotate(0.5deg) scale(0.99, 1.01);
  }
}

@keyframes cuteShadowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  35%, 45% {
    transform: scale(0.65);
    opacity: 0.25;
    filter: blur(4px);
  }
  78% {
    transform: scale(1.18);
    opacity: 0.95;
    filter: blur(1px);
  }
}

@keyframes cuteGlowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  40% {
    transform: scale(1.15);
    opacity: 0.9;
  }
}

/* Natural cute blinking */
.cube-eyes {
  transform-origin: 130px 158px;
  animation: cuteBlink 4.2s infinite;
}

@keyframes cuteBlink {
  0%, 92%, 96%, 100% {
    transform: scaleY(1);
  }
  94% {
    transform: scaleY(0.08);
  }
}

/* Orbiting sparkles */
.sparkle-1 {
  animation: cuteSparkleFloat1 3.4s ease-in-out infinite alternate;
  transform-origin: 218px 57px;
}
.sparkle-2 {
  animation: cuteSparkleFloat2 4.2s ease-in-out infinite alternate;
  transform-origin: 28px 148px;
}
.sparkle-3 {
  animation: cuteSparkleFloat3 5.2s ease-in-out infinite;
  transform-origin: 50px 55px;
}

@keyframes cuteSparkleFloat1 {
  0% { transform: translateY(0) scale(0.85) rotate(0deg); opacity: 0.45; }
  100% { transform: translateY(-16px) scale(1.2) rotate(45deg); opacity: 1; }
}

@keyframes cuteSparkleFloat2 {
  0% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.7; }
  100% { transform: translateY(-18px) translateX(6px) scale(0.8) rotate(-30deg); opacity: 0.35; }
}

@keyframes cuteSparkleFloat3 {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-14px) rotate(14deg); opacity: 0.95; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
}

/* Happy smiling hover expression */
.cube-happy-eyes,
.cube-happy-mouth {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dust-cube-wrap:hover .cube-eyes,
.dust-cube-wrap:hover .cube-mouth {
  opacity: 0;
}

.dust-cube-wrap:hover .cube-happy-eyes,
.dust-cube-wrap:hover .cube-happy-mouth {
  opacity: 1;
}

.dust-cube-wrap:hover .cube-blush {
  fill: rgba(255, 255, 255, 0.65);
  transform: scale(1.25);
  transition: all 0.25s ease;
}

.dust-cube-wrap:hover .dust-cube-svg {
  animation: cuteJoyJump 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.45));
}

@keyframes cuteJoyJump {
  0% {
    transform: translateY(-16px) scale(1.04, 0.96) rotate(-4deg);
  }
  50% {
    transform: translateY(-42px) scale(0.96, 1.05) rotate(3deg);
  }
  100% {
    transform: translateY(-24px) scale(1.02, 0.98) rotate(-2deg);
  }
}

.dust-cube-wrap:active .dust-cube-svg {
  transform: translateY(10px) scale(1.16, 0.84);
  transition: transform 0.12s ease;
}
