/* ===================================================================
   BASE / RESET — Command Post SATX (real-content replica)
   =================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  /* ---- Brand palette (from real SA SOLD / Command Post emblem) ---- */
  --black: #050505;
  --bg: #0a0a0a;
  --bg-panel: #121212;
  --bg-panel-alt: #161513;
  --bg-raised: #1c1a17;
  --line: #2a2724;
  --line-strong: #3a3530;

  --gold: #d4af37;
  --gold-bright: #f0c85a;
  --gold-dim: #8a6d1f;

  --red: #b91c1c;
  --red-bright: #e2352c;
  --red-dim: #6e1414;

  --white: #f6f4ef;
  --off-white: #d8d3c8;
  --gray: #9b9488;
  --gray-dim: #635e55;

  /* ---- Type ---- */
  --font-display: 'Black Ops One', 'Arial Narrow', sans-serif;
  --font-tech: 'Rajdhani', 'Arial Narrow', sans-serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Share Tech Mono', 'Courier New', monospace;

  --text-2xs: 0.6875rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-hero: clamp(2.5rem, 0.5rem + 6.5vw, 6.5rem);

  /* ---- Spacing ---- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --container: 1280px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

::selection { background: var(--gold); color: var(--black); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
