/* Neuro-Link 2026 brand tokens + base. Loaded on every page before shell/auth. */

:root {
  /* Brand palette (§2) */
  --deep-cove:  #090F4A; /* primary dark background, "deep-tech" */
  --cobalt:     #2E3884; /* secondary blue, focus / active states */
  --gold-drop:  #FF7E00; /* PRIMARY ACCENT — buttons, highlights, active nav */
  --porcelain:  #F1F1F1; /* light neutral surface */
  --pale-sky:   #71777C; /* mid grey, muted text */
  --grey-goose: #C9CFD3; /* utility grey, borders, UI chrome */

  /* Derived surfaces */
  --surface:        #ffffff;
  --line:           #e2e5ef;
  --ink:            #0c1233;
  --gold-drop-dark: #e56f00;

  /* Status dots — reuse the EPC convention (§2) */
  --status-online:   #21c265; /* green  — online */
  --status-active:   #3b82f6; /* blue   — active */
  --status-awaiting: #ff7e00; /* orange — awaiting */
  --status-offline:  #e0413b; /* red    — offline */
  --status-leads:    #8a5cf6; /* purple — leads */

  /* Typography (§2) */
  --font-display: 'Beautifully Delicious Sans', 'Helvetica Neue', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Helvetica Neue', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Commercial display face. Drop the real files into /public/fonts to activate;
   the stack degrades gracefully to Helvetica Neue / system UI until then. */
@font-face {
  font-family: 'Beautifully Delicious Sans';
  src: url('/fonts/BeautifullyDeliciousSans.woff2') format('woff2'),
       url('/fonts/BeautifullyDeliciousSans.otf') format('opentype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.hidden { display: none !important; }
.muted { color: var(--pale-sky); }

/* ───────── Brand marks (official PNG assets) ───────── */

/* Header lockup (icon + wordmark, no tagline) — orange on the deep-cove bar. */
.nl-lockup {
  display: block;
  height: 28px;
  width: auto;
  max-width: 60vw;
}

/* Full primary lockup incl. tagline — login card. */
.nl-primary {
  display: block;
  width: 300px;
  max-width: 78%;
  height: auto;
  margin: 0 auto;
}

/* Standalone hexagonal-star icon. */
img.nl-mark { display: block; }

/* ───────── Status dots ───────── */

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  vertical-align: middle;
}
.status-dot.online   { background: var(--status-online); }
.status-dot.active   { background: var(--status-active); }
.status-dot.awaiting { background: var(--status-awaiting); }
.status-dot.offline  { background: var(--status-offline); }
.status-dot.leads    { background: var(--status-leads); }

/* ───────── Primary button ───────── */

.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: var(--gold-drop);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 120ms ease, transform 60ms ease;
}
.btn-primary:hover    { background: var(--gold-drop-dark); }
.btn-primary:active   { transform: translateY(1px); }
.btn-primary:focus-visible { outline: 3px solid rgba(255, 126, 0, 0.4); outline-offset: 2px; }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }
