/* ============================================================
   BASE.CSS — Tokens, Reset, Typography
   Fortify Technologies
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --black:       #000000;
  --white:       #ffffff;
  --grey-1:      #111111;
  --grey-2:      #1a1a1a;
  --grey-3:      #2a2a2a;
  --grey-4:      #555555;
  --grey-5:      #aaaaaa;
  --grey-6:      #cccccc;
  --accent:      #2563ff;
  --accent-dim:  #1a4fd6;
  --accent-glow: rgba(37,99,255,0.12);

  --ff-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --nav-h:    68px;
  --max-w:    1280px;
  --pad-x:    48px;
  --pad-x-sm: 20px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }

/* ---- Section label ---- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-5);
  margin-bottom: 16px;
}
.label::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--accent);
  flex-shrink: 0;
}
.label.white::before { background: var(--white); }
.label.dim { color: var(--grey-4); }

/* ---- Divider ---- */
.divider { height: 1px; background: var(--grey-3); }

/* ---- Utility ---- */
.text-muted  { color: var(--grey-5); }
.text-mid    { color: var(--grey-6); }
.text-accent { color: var(--accent); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-0  { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  :root { --pad-x: 28px; }
}
@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); letter-spacing: -0.02em; }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  h3 { font-size: 1.15rem; }
}
