/* ==========================================================================
   SysLabs shared UI layer (site-wide)
   Exposes the Academy design tokens + a set of opt-in, namespaced components
   (.sl-*) that any page across the site can adopt for a consistent modern
   look. Loaded globally; it does NOT restyle existing global selectors, so
   current pages render exactly as before until they opt in.
   ========================================================================== */
:root {
  --sl-ink: #0d1526;
  --sl-ink-soft: #1e2a44;
  --sl-body: #4a5568;
  --sl-muted: #8b93a6;
  --sl-line: #e8ecf3;
  --sl-surface: #f7f9fc;
  --sl-surface-2: #eef2f9;
  --sl-blue: #2f7ed8;
  --sl-blue-600: #2568bb;
  --sl-blue-050: #eaf3fd;
  --sl-violet: #6f74f0;
  --sl-navy-900: #0b1b34;
  --sl-r-sm: 12px;
  --sl-r: 16px;
  --sl-r-lg: 22px;
  --sl-grad:
    radial-gradient(
      1100px 520px at 78% -10%,
      rgba(84, 150, 232, 0.35),
      transparent 60%
    ),
    radial-gradient(
      760px 460px at 8% 110%,
      rgba(120, 108, 240, 0.28),
      transparent 55%
    ),
    linear-gradient(160deg, #0b1b34 0%, #10254a 45%, #163a6b 100%);
  --sl-sh-xs:
    0 1px 2px rgba(13, 21, 38, 0.04), 0 1px 3px rgba(13, 21, 38, 0.05);
  --sl-sh-sm:
    0 2px 4px rgba(13, 21, 38, 0.04), 0 6px 16px rgba(13, 21, 38, 0.06);
  --sl-sh-md:
    0 8px 20px rgba(13, 21, 38, 0.07), 0 2px 6px rgba(13, 21, 38, 0.05);
}

/* Eyebrow / kicker */
.sl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sl-blue-600);
  background: var(--sl-blue-050);
  padding: 7px 14px;
  border-radius: 999px;
}
.sl-title {
  color: var(--sl-ink);
  font-weight: 750;
  letter-spacing: -0.02em;
}
.sl-lead {
  color: var(--sl-muted);
  font-size: 1.075rem;
  line-height: 1.65;
}
.sl-text-grad {
  background: linear-gradient(120deg, var(--sl-blue) 10%, var(--sl-violet) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.sl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 0;
  font-weight: 650;
  padding: 12px 24px;
  border-radius: 11px;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s,
    color 0.18s;
  text-decoration: none;
}
.sl-btn-primary {
  background: var(--sl-ink);
  color: #fff;
  box-shadow: var(--sl-sh-sm);
}
.sl-btn-primary:hover {
  background: #12294a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sl-sh-md);
}
.sl-btn-blue {
  background: var(--sl-blue);
  color: #fff;
}
.sl-btn-blue:hover {
  background: var(--sl-blue-600);
  color: #fff;
}
.sl-btn-ghost {
  background: #fff;
  border: 1.5px solid var(--sl-line);
  color: var(--sl-ink);
}
.sl-btn-ghost:hover {
  border-color: var(--sl-blue);
  color: var(--sl-blue-600);
}
.sl-btn-light {
  background: #fff;
  color: var(--sl-navy-900);
}
.sl-btn-light:hover {
  background: var(--sl-blue-050);
  color: var(--sl-navy-900);
}

/* Cards */
.sl-card {
  background: #fff;
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-r);
  box-shadow: var(--sl-sh-xs);
  padding: 26px;
  transition:
    transform 0.22s,
    box-shadow 0.22s,
    border-color 0.22s;
}
.sl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sl-sh-md);
  border-color: #d8e0ec;
}
.sl-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--sl-blue);
  background: var(--sl-blue-050);
  border: 1px solid rgba(47, 126, 216, 0.12);
  margin-bottom: 16px;
}

/* Badges */
.sl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sl-ink-soft);
  background: var(--sl-surface);
  border: 1px solid var(--sl-line);
  padding: 6px 11px;
  border-radius: 8px;
}

/* Surfaces */
.sl-bg-soft {
  background: var(--sl-surface);
}
.sl-hero-dark {
  background: var(--sl-grad);
  color: #fff;
}
.sl-hero-dark .sl-title,
.sl-hero-dark h1,
.sl-hero-dark h2 {
  color: #fff;
}

/* Section rhythm helpers */
.sl-section {
  padding: 88px 0;
}
.sl-section-sm {
  padding: 56px 0;
}
