/* ==========================================================
   SYS SKILL — Base: Tokens, Reset, Typography
   ========================================================== */

:root {
  /* Surfaces */
  --bg:         #0a0b0a;
  --bg-1:       #101210;
  --bg-2:       #161816;
  --bg-3:       #1d1f1d;
  --line:       #242723;
  --line-2:     #2e322d;

  /* Text */
  --ink:        #eef0ea;
  --ink-2:      #c9cdc2;
  --ink-3:      #8a8f84;
  --ink-4:      #5a5f55;

  /* Primary — Sys Skill Green */
  --accent:     #76BC21;
  --accent-dim: #5fa018;
  --accent-ink: #040a00;
  --accent-soft:#162706;

  /* Secondary — Technical Blue */
  --blue:       #6fa8ff;
  --blue-soft:  #14213a;

  /* Semantic */
  --error:      #ff6b6b;
  --success:    #76BC21;

  /* Typography */
  --f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "Cascadia Code", "SF Mono", "Fira Code", "Consolas", monospace;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: rgba(118, 188, 33, 0.3); }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
}
.container-narrow { max-width: 800px; }

/* ---- Eyebrow label ---- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow--accent { color: var(--accent); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ---- Divider ---- */
hr.divider { height: 1px; background: var(--line); border: 0; }

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-4); }
}
