/* ============================================================
   Banditwork — Design System
   Ported 2026-04-28 from banditwork-interviewer (Deepgram-inspired,
   lime + near-black). NEW surfaces (CEO chat, Active Tasks,
   recruitment animation) opt into these tokens/classes via the
   `site-*` / `app-*` / `bw-*` prefixes.

   Legacy index.html surfaces are NOT touched by this file — the
   `html, body` and `*` resets from the source are intentionally
   stripped so this file adds no global side effects.

   Fonts (Inter Tight + JetBrains Mono) are loaded via Google Fonts
   <link> in index.html head. No build step required.
   ============================================================ */

:root {
  --site-bg:        #0a0d0c;
  --site-bg-2:      #0f1413;
  --site-surface:   #141a18;
  --site-surface-2: #1a2220;
  --site-line:      #1f2826;
  --site-line-2:    #2a3431;

  --site-fg:        #f5f7f5;
  --site-fg-2:      #b8c2bc;
  --site-fg-3:      #6f7a73;
  --site-fg-4:      #4a544d;

  --lime:           #c4ff3d;
  --lime-soft:      #a3d92e;
  --lime-deep:      #87b81f;
  --lime-glow:      rgba(196, 255, 61, 0.18);

  --site-radius:    6px;
  --site-radius-lg: 12px;
}

/* ---- Layout ---- */
.site-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.site-narrow    { max-width: 760px;  margin: 0 auto; padding: 0 32px; }

/* ---- Typography ---- */
.site-mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

.site-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.site-eyebrow-muted {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-fg-3);
}

.site-display { font-size: clamp(48px, 8vw, 104px); font-weight: 700; line-height: 0.96; letter-spacing: -0.035em; margin: 0; font-family: "Inter Tight", system-ui, sans-serif; }
.site-h1      { font-size: clamp(36px, 5vw, 64px);  font-weight: 700; line-height: 1.02; letter-spacing: -0.025em; margin: 0; font-family: "Inter Tight", system-ui, sans-serif; }
.site-h2      { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;  margin: 0; font-family: "Inter Tight", system-ui, sans-serif; }
.site-h3      { font-size: clamp(20px, 2vw, 26px);  font-weight: 600; line-height: 1.2;  letter-spacing: -0.015em; margin: 0; font-family: "Inter Tight", system-ui, sans-serif; }

.site-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--site-fg-2); font-weight: 400; margin: 0; font-family: "Inter Tight", system-ui, sans-serif; }
.site-body { font-size: 17px; line-height: 1.65; color: var(--site-fg-2); margin: 0; font-family: "Inter Tight", system-ui, sans-serif; }

.site-meta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--site-fg-3);
  letter-spacing: 0.02em;
}

/* ---- Buttons ---- */
.site-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--site-radius);
  font-size: 15px;
  font-weight: 600;
  font-family: "Inter Tight", system-ui, sans-serif;
  cursor: pointer;
  border: none;
  transition: background 120ms cubic-bezier(.2,.7,.2,1), border-color 120ms ease, color 120ms ease, transform 80ms ease;
  text-decoration: none;
}
.site-btn-primary { background: var(--lime); color: #0a0d0c; }
.site-btn-primary:hover { background: #d6ff5a; }
.site-btn-primary:active { transform: translateY(1px); }
.site-btn-ghost {
  background: transparent;
  border: 1px solid var(--site-line-2);
  color: var(--site-fg);
}
.site-btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ---- Sections + Grids ---- */
section.site-section { padding: 96px 0; }

.site-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) {
  .site-grid-2, .site-grid-3 { grid-template-columns: 1fr; }
}

.site-card {
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg);
  padding: 28px;
}

.site-grid-bg {
  background-image:
    linear-gradient(var(--site-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--site-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
}

/* ---- Brand mark ---- */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--site-fg);
  font-family: "Inter Tight", system-ui, sans-serif;
}
.site-brand-name { font-weight: 700; letter-spacing: -0.02em; }
.site-brand-dot  { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.site-brand-sub  { color: var(--site-fg-3); font-weight: 500; letter-spacing: -0.02em; }

/* ---- Forms ---- */
.site-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--site-fg-2);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  font-family: "Inter Tight", system-ui, sans-serif;
}
.site-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--site-bg-2);
  border: 1px solid var(--site-line-2);
  border-radius: var(--site-radius);
  color: var(--site-fg);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 120ms cubic-bezier(.2,.7,.2,1), box-shadow 120ms cubic-bezier(.2,.7,.2,1);
}
.site-input::placeholder { color: var(--site-fg-4); }
.site-input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-glow);
}
textarea.site-input { resize: vertical; min-height: 120px; }

.site-form-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fda4a4;
  padding: 12px 14px;
  border-radius: var(--site-radius);
  font-size: 14px;
  line-height: 1.5;
}
.site-form-info {
  background: rgba(196, 255, 61, 0.06);
  border: 1px solid rgba(196, 255, 61, 0.30);
  color: var(--lime);
  padding: 12px 14px;
  border-radius: var(--site-radius);
  font-size: 14px;
  line-height: 1.5;
}

/* ---- App chrome ---- */
.app-chrome {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 13, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--site-line);
}
.app-chrome-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-chrome a, .app-chrome button { font-family: inherit; }

.app-nav-link {
  color: var(--site-fg-2);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 120ms cubic-bezier(.2,.7,.2,1);
}
.app-nav-link:hover { color: var(--lime); }

/* ---- Surface card ---- */
.app-card {
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg);
  padding: 24px;
  transition: background 120ms cubic-bezier(.2,.7,.2,1), border-color 120ms cubic-bezier(.2,.7,.2,1);
}
a.app-card:hover { background: var(--site-surface-2); border-color: var(--site-line-2); text-decoration: none; }

/* ---- Page title ---- */
.app-page-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  font-family: "Inter Tight", system-ui, sans-serif;
}

/* ---- Dashboard surfaces ---- */
.app-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 1.25rem 0 1.75rem;
  flex-wrap: wrap;
}

.app-rule {
  border: 0;
  border-top: 1px solid var(--site-line);
  margin: 2.25rem 0 1.75rem;
}

.app-empty {
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg);
  background: var(--site-bg-2);
  padding: 2rem;
  text-align: center;
  color: var(--site-fg-3);
}

.app-link {
  color: var(--lime);
  text-decoration: none;
}
.app-link:hover { text-decoration: underline; }

.app-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--site-line);
}
.app-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--site-line);
}
.app-list-title {
  color: var(--site-fg);
  font-weight: 600;
}
.app-list-sub {
  margin-top: 0.125rem;
}

.app-form {
  display: grid;
  gap: 0.75rem;
  max-width: 560px;
  margin-top: 1.5rem;
}
.app-form .site-label { margin-top: 0.5rem; }
.app-form .app-actions { margin-top: 1.25rem; }

/* ============================================================
   Banditwork-specific surfaces (CEO + Active Tasks) — empty for now.
   New components added as the CEO + Teams flow gets built will land
   below this line under the `bw-*` prefix.
   ============================================================ */
