/* ============================================
   Unmix Design Tokens — shadcn-inspired
   B&W minimalist with acid green accent
   ============================================ */

:root {
  color-scheme: light;

  /* Neutral scale (zinc) */
  --background: #fafafa;
  --foreground: #09090b;
  --card: #ffffff;
  --card-foreground: #09090b;
  --muted: #f4f4f5;
  --muted-foreground: #525257;
  --border: #e4e4e7;
  --border-hover: #d4d4d8;
  --input: #e4e4e7;
  --ring: #4A4BFF;

  /* Primary — indigo */
  --primary: #4A4BFF;
  --primary-foreground: #ffffff;
  --primary-hover: #3839db;
  --primary-soft: #eef0ff;
  --primary-muted: #dde0ff;

  /* Secondary — neutral */
  --secondary: #f4f4f5;
  --secondary-foreground: #09090b;
  --secondary-hover: #e4e4e7;

  /* Accent (warm callout) */
  --accent-warm: #f59e0b;
  --accent-warm-soft: #fffbeb;
  --accent-warm-border: #fde68a;
  --accent-warm-foreground: #78350f;

  /* Surface overlays */
  --overlay: rgba(255, 255, 255, 0.85);
  --shimmer: #ebebed;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;

  /* Shadows — minimal */
  --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.08), 0 1px 2px rgb(0 0 0 / 0.04);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: "DM Sans", "Avenir Next", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Base typography ---- */

h1,
h2,
h3,
h4 {
  font-family: "Sora", "DM Sans", system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ---- Focus & accessibility ---- */

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ---- Scrollbar (subtle) ---- */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}
