/* Shared Quesify design tokens — landing, auth, dashboard, widget chrome.
   Dual accents: Milo orange (question / action) + lime (identify / success). */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Karla:wght@400;500;600;700&display=swap");

:root {
  --ink: #0F172A;
  --ink-soft: #1E293B;
  --paper: #F8FAFC;
  --surface: #FFFFFF;
  --muted: #64748B;
  --muted-strong: #475569;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);

  /* Milo / brand — Ques (question) orange is the warm action accent;
     ify (identify) lime stays for success / transform beats. */
  --milo: #E8590C;
  --milo-ink: #3B1406;
  --milo-soft: #FFF1E8;
  --milo-hot: #F97316;

  --lime: #84CC16;
  --lime-bright: #A3E635;
  --lime-ink: #1C2E05;
  --lime-soft: #ECFCCB;

  /* Widget default / legacy primary — still used as default bot color */
  --indigo: #3730A3;
  --indigo-deep: #181433;

  --danger: #B91C1C;
  --success: #15803D;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 28px -14px rgba(15, 23, 42, 0.2);
  --shadow-lg: 0 28px 56px -24px rgba(15, 23, 42, 0.38);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --nav-height: 64px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-wrap: balance;
  letter-spacing: -0.02em;
  color: var(--ink);
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font-family: var(--font-body);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:disabled {
  opacity: 0.55;
  cursor: default;
}

/* Dual accents: orange = question / chat / action; lime = identify / success / live */
.btn-milo {
  background: var(--milo);
  color: #fff;
}

.btn-milo:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(232, 89, 12, 0.45);
}

.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
}

.btn-lime:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(132, 204, 22, 0.5);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover:not(:disabled) {
  background: var(--ink-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn-ghost-dark:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.04);
}
