/* ============================================================
   4NAYZ v2 — Base Styles
   Aesthetic: Brutalist-arcade. Neon lime on near-black.
   ============================================================ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=JetBrains+Mono:wght@400;500;700&family=Inter+Tight:wght@400;500;600&display=swap');

:root {
  /* Color tokens */
  --bg: #0A0B0A;
  --bg-elev: #101210;
  --surface: #131513;
  --surface-2: #181B18;
  --border: #1E211E;
  --border-bright: #2A2E2A;

  --lime: #C5F82A;
  --lime-dim: #8AB520;
  --lime-glow: rgba(197, 248, 42, 0.15);

  --text: #EAEDE8;
  --text-dim: #A5AA9F;
  --muted: #6B7268;

  --danger: #FF4F4F;
  --warn: #FFB020;
  --info: #5CB9FF;

  /* Typography */
  --font-display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Rhythm */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-none: none;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Container */
  --container: 1240px;
  --container-narrow: 980px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: 'ss01' on, 'cv11' on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle grain texture overlay — gives warmth on deep black */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(44px, 6vw, 82px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 18px; letter-spacing: -0.01em; }

p { color: var(--text-dim); }

a {
  color: var(--lime);
  text-decoration: none;
  transition: color 120ms var(--ease-out);
}
a:hover { color: var(--text); }

code, .mono, .num {
  font-family: var(--font-mono);
  font-feature-settings: 'ss01' on, 'ss02' on, 'zero' on;
}

/* Utility classes */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.lime { color: var(--lime); }
.text-dim { color: var(--text-dim); }
.muted { color: var(--muted); }

.hide-mobile { }
@media (max-width: 780px) {
  .hide-mobile { display: none !important; }
  .container, .container-narrow { padding: 0 20px; }
}

/* Focus state — visible, on-brand */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Selection */
::selection {
  background: var(--lime);
  color: var(--bg);
}
