@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: #FFFFFF;
  --foreground: #111111;
  --card: #FFFFFF;
  --card-foreground: #111111;
  --popover: #FFFFFF;
  --popover-foreground: #111111;
  --primary: #C44887;
  --primary-foreground: #FFFFFF;
  --secondary: #111111;
  --secondary-foreground: #FFFFFF;
  --muted: #F4F4F4;
  --muted-foreground: #555555;
  --accent: #F4F4F4;
  --accent-foreground: #111111;
  --destructive: #A8336E;
  --destructive-foreground: #FFFFFF;
  --border: #D9D9D9;
  --input: #D9D9D9;
  --ring: #C44887;
  --success: #383838;
  --warning: #555555;
  --chart-1: #111111;
  --chart-2: #C44887;
  --chart-3: #555555;
  --chart-4: #383838;
  --chart-5: #D9D9D9;
  --sidebar: #FFFFFF;
  --sidebar-foreground: #111111;
  --sidebar-primary: #C44887;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: #F4F4F4;
  --sidebar-accent-foreground: #111111;
  --sidebar-border: #D9D9D9;
  --sidebar-ring: #C44887;

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: #FFFFFF;
  --surface-hover:   color-mix(in srgb, var(--foreground) 5%,  var(--background));
  --surface-active:  color-mix(in srgb, var(--foreground) 9%, var(--background));
  --surface-elevated: #FFFFFF;

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: #ECECEC;
  --border-muted: #E3E3E3;
  --border-strong: #111111;

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: #383838;

  /* ── primary depth (hover/tint states for brand colour) ─────── */
  --primary-hover: color-mix(in srgb, var(--primary) 88%, var(--foreground));
  --primary-muted: color-mix(in srgb, var(--primary) 15%, var(--background));
  --primary-soft:  color-mix(in srgb, var(--primary) 8%,  var(--background));
  --primary-tint:  color-mix(in srgb, var(--primary) 5%,  var(--background));

  /* ── focus ring (alpha-blended, for soft ring style) ────────── */
  --focus-ring: rgb(196 72 135 / 0.4);

  /* ── error (form validation — distinct from destructive) ─────── */
  --error: #A8336E;
  --error-foreground: #FFFFFF;

  /* ── radius ───────────────────────────────────────────────────── */
  --radius: 0.375rem;
  --radius-none: 0rem;
  --radius-sm: 0.25rem;
  --radius-lg: 0.375rem;
  --radius-xl: 0.5rem;
  --radius-full: 9999px;

  /* ── typography ───────────────────────────────────────────────── */
  --font-display: Montserrat, ui-sans-serif, system-ui, sans-serif;
  --font-sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-weight-display: 800;
  --line-height-display: 1.05;
  --tracking-display: -0.025em;
  --font-weight-body: 400;
  --line-height-body: 1.6;
  --tracking-body: 0em;
  --font-weight-mono: 400;

  /* ── shadows ──────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.05);
  --shadow-md: 0 4px 12px rgba(17, 17, 17, 0.07);
  --shadow-lg: 0 12px 32px rgba(17, 17, 17, 0.1);

  /* ── motion ───────────────────────────────────────────────────── */
  --duration-fast: 100ms;
  --duration-normal: 180ms;
  --duration-slow: 280ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);

  /* ── spacing ──────────────────────────────────────────────────── */
  --spacing-base: 0.25rem;
}

.dark {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: #111111;
  --foreground: #FFFFFF;
  --card: #1B1B1B;
  --card-foreground: #FFFFFF;
  --popover: #1B1B1B;
  --popover-foreground: #FFFFFF;
  --primary: #D45E99;
  --primary-foreground: #FFFFFF;
  --secondary: #FFFFFF;
  --secondary-foreground: #111111;
  --muted: #262626;
  --muted-foreground: #B5B5B5;
  --accent: #262626;
  --accent-foreground: #FFFFFF;
  --destructive: #D45E99;
  --destructive-foreground: #FFFFFF;
  --border: oklch(1 0 0 / 12%);
  --input: oklch(1 0 0 / 16%);
  --ring: #D45E99;
  --success: #D9D9D9;
  --warning: #B5B5B5;
  --chart-1: #FFFFFF;
  --chart-2: #D45E99;
  --chart-3: #B5B5B5;
  --chart-4: #D9D9D9;
  --chart-5: #555555;
  --sidebar: #161616;
  --sidebar-foreground: #FFFFFF;
  --sidebar-primary: #D45E99;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: #262626;
  --sidebar-accent-foreground: #FFFFFF;
  --sidebar-border: oklch(1 0 0 / 12%);
  --sidebar-ring: #D45E99;

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: #161616;
  --surface-elevated: #222222;

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(1 0 0 / 6%);
  --border-muted: oklch(1 0 0 / 9%);
  --border-strong: oklch(1 0 0 / 28%);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: #D9D9D9;

  /* ── primary depth ────────────────────────────────────────────── */
  --primary-tint: color-mix(in srgb, var(--primary) 8%, var(--background));

  /* ── focus ring ───────────────────────────────────────────────── */
  --focus-ring: rgb(212 94 153 / 0.5);

  /* ── error ────────────────────────────────────────────────────── */
  --error: #D45E99;
  --error-foreground: #FFFFFF;
}
