@tailwind base;
@tailwind components;
@tailwind utilities;

/* KHAIZEN C3 dark "Command Center" theme — design_handoff_c3_dark_theme/.
   This is the whole app's committed visual direction now, not a
   light/dark toggle — no @media(prefers-color-scheme) branching. */

:root {
  --background: #08080d;
  --foreground: #e9e9ef;
}

body {
  color: var(--foreground);
  background:
    radial-gradient(1200px 620px at 8% -12%, rgba(124, 108, 255, 0.2), transparent 60%),
    radial-gradient(1000px 520px at 112% 4%, rgba(168, 85, 247, 0.14), transparent 55%),
    radial-gradient(900px 700px at 90% 120%, rgba(56, 189, 248, 0.08), transparent 60%),
    var(--background);
  background-attachment: fixed;
  font-family: var(--font-ibm-plex-sans), system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-space-grotesk), system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f6f6fb;
}

a {
  color: #a99cff;
}
a:hover {
  color: #c4baff;
}

input, select, textarea {
  color-scheme: dark;
}
input::placeholder, textarea::placeholder {
  color: #6a6a78;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid #8b7cff;
  outline-offset: 1px;
}

.c3-scroll::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
.c3-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
.c3-scroll::-webkit-scrollbar-track {
  background: transparent;
}

@layer utilities {
  .text-balance {
    text-wrap: balance;
  }
}
