@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Dark · Charcoal, from the ReviewIt brand case study (docs/ReviewIt-design-Case-Study.pdf). The app is dark only:
     the old light theme and its toggle are gone. Variable names are the ones the stylesheets already use. */
  color-scheme: dark;

  /* Brand / CTA. --accent is for links, focus and selected states; the one gradient is the primary button's. */
  --accent: #7c86ff;
  --accent-dark: #6a5cf0; /* cta-start, also the pressed colour */
  --accent-2: #8f55df; /* cta-end */
  --accent-3: #5b8cff;
  --accent-text: #a3abff; /* links and text on an accent tint: 8.4:1 on a card */
  --accent-gradient: linear-gradient(90deg, #6a5cf0 0%, #8f55df 100%);
  --accent-bg: rgba(124, 134, 255, 0.16);
  --accent-border: rgba(124, 134, 255, 0.32);

  /* Ratings are green in this system, never gold. */
  --star: #3ddc72;

  --app-bg: #0f0f11;
  --sidebar-bg: #0a0a0c;
  --surface: #171719;
  --surface-subtle: #1f1f22;
  --surface-hover: rgba(255, 255, 255, 0.06);

  /* legacy aliases still referenced in a couple of places */
  --bg: var(--app-bg);
  --bg-subtle: var(--sidebar-bg);
  --surface-muted: var(--surface-subtle);

  --text: #ececf1;
  --text-muted: #9d9da8;
  --text-faint: #6c6c76; /* placeholders and disabled only */
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: #6e6e7a;

  --success: #4ade80;
  --success-bg: rgba(74, 222, 128, 0.16);
  --danger: #f08a8f;
  --danger-bg: rgba(240, 138, 143, 0.14);
  --warning: #f5b955;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.35), 0 10px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.45), 0 28px 56px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 6px 16px rgba(124, 134, 255, 0.2);

  /* One family, Inter, for everything; the mono face is only for code. */
  --font-family: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}
