/* ===========================================================
   TRIVLA / NetWatch360 — Design Tokens (v2)
   Shared by the marketing website and the portal.
   =========================================================== */

:root {
  /* ---- Brand: TRIVLA emerald (fresh, slightly cooler) ---- */
  --green-50:  #eafdf6;
  --green-100: #cdf8e8;
  --green-200: #9cf2d4;
  --green-300: #5ee7c0;
  --green-400: #2bd6a8;
  --green-500: #06bf8c;   /* primary accent */
  --green-600: #05a378;
  --green-700: #048462;
  --green-800: #06664e;

  /* ---- Cool neutral ink ---- */
  --ink-950: #070c14;
  --ink-900: #0b1220;
  --ink-800: #131c2b;
  --ink-700: #283447;
  --ink-600: #3c4a60;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #c3cdda;
  --ink-200: #dde4ec;
  --ink-100: #eaeff5;
  --ink-50:  #f5f8fb;

  /* ---- Surfaces ---- */
  --bg:        #ffffff;
  --bg-soft:   #f6f9fb;
  --bg-softer: #eef3f8;
  --line:      #e6ecf2;
  --line-soft: #f0f4f8;

  /* ---- Status ---- */
  --critical: #ef4444;
  --critical-soft: #fef2f2;
  --warning: #f59e0b;
  --warning-soft: #fffbeb;
  --info: #3b82f6;
  --info-soft: #eff6ff;
  --voip: #8b5cf6;
  --voip-soft: #f5f3ff;
  --ok: var(--green-500);

  /* ---- Type ---- */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-ui: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  /* ---- Radii ---- */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* ---- Shadows ---- */
  --sh-xs: 0 1px 2px rgba(11,18,32,0.06);
  --sh-sm: 0 2px 8px rgba(11,18,32,0.06), 0 1px 2px rgba(11,18,32,0.04);
  --sh-md: 0 10px 30px -12px rgba(11,18,32,0.18), 0 2px 6px rgba(11,18,32,0.05);
  --sh-lg: 0 30px 60px -20px rgba(11,18,32,0.28), 0 8px 20px -12px rgba(11,18,32,0.12);
  --sh-glow: 0 12px 30px -8px rgba(6,191,140,0.45), 0 2px 8px rgba(6,191,140,0.25);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.mono { font-family: var(--font-mono); font-feature-settings: "zero" 1; }

/* ---- Buttons ---- */
.nw-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  border: none; border-radius: var(--r-pill);
  padding: 14px 22px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.nw-btn:active { transform: translateY(1px); }

.nw-btn--primary {
  background: var(--green-500); color: #042b1d;
  box-shadow: var(--sh-glow);
}
.nw-btn--primary:hover { background: var(--green-400); box-shadow: 0 16px 36px -8px rgba(6,191,140,0.55); }

.nw-btn--ghost {
  background: transparent; color: var(--ink-800);
  border: 1.5px solid var(--line);
}
.nw-btn--ghost:hover { border-color: var(--ink-300); background: var(--bg-soft); }

.nw-btn--dark {
  background: var(--ink-900); color: #fff;
}
.nw-btn--dark:hover { background: var(--ink-800); }

/* circular icon trailing a pill button, like the reference */
.nw-btn__circle {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

/* ---- Eyebrow / tag ---- */
.nw-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-700);
}
.nw-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-500); box-shadow: 0 0 0 4px var(--green-100);
}

::selection { background: var(--green-200); color: var(--ink-900); }
