:root {
  /* MAICXEN EDGE Official Design System Tokens */
  --bg: #000000;
  --bg-dash: #000000;
  --surface: #09090b;
  --surface-dash: #09090b;
  --surface-2: #111115;
  --surface-3: #18181e;
  --border: rgba(255, 255, 255, 0.10);
  --border-dash: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(0, 255, 195, 0.38);
  --border-hover: rgba(0, 255, 195, 0.28);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.58);
  --muted-dash: rgba(255, 255, 255, 0.58);

  /* EDGE Cyber Mint Accent Palette */
  --accent: #00ffc3;
  --accent-2: #00d9a6;
  --accent-soft: rgba(0, 255, 195, 0.12);
  --accent-glow: rgba(0, 255, 195, 0.34);
  --blue: #00ffc3;
  --cyan: #33ffd0;
  --green: #00ffc3;
  --success: #00ffc3;
  --amber: #ffaa00;
  --red: #ff4d5e;
  --danger: #ff4d5e;
  --purple: #c084fc;
  --radius: 16px;

  /* Extended Surface & Typography Tokens (aligned with MAICXEN_site & MAICXEN_console) */
  --apple-bg: #000000;
  --apple-elevated: rgba(9, 9, 11, 0.88);
  --apple-surface: #09090b;
  --apple-surface-hover: #121216;
  --apple-hairline: rgba(255, 255, 255, 0.09);
  --apple-hairline-strong: rgba(255, 255, 255, 0.16);
  --apple-text: #ffffff;
  --apple-text-secondary: rgba(255, 255, 255, 0.65);
  --apple-text-tertiary: rgba(255, 255, 255, 0.42);
  --apple-accent: #00ffc3;
  --apple-accent-hover: #33ffd0;
  --apple-font: "Satoshi", "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --apple-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  background-color: #000000;
}

body {
  min-height: 100vh;
  font-family: var(--apple-font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(0, 255, 195, 0.24);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #050507;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 195, 0.35);
}

@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on input focus */
  input, select, textarea {
    font-size: 16px !important;
  }
}
