/* ============================================================
   BASE — reset, custom properties, html/body foundation
   ============================================================ */

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

/* ── Design tokens ── */
:root {
  /* Backgrounds */
  --bg:           #0a0a0a;
  --surface-1:    #0e0e0e;
  --surface-2:    #111111;
  --surface-3:    #131313;
  --surface-4:    #1a1a1a;
  --surface-blue: #0c1118;

  /* Text */
  --color-primary:   #f5f5f0;
  --color-muted:     #888880;
  --color-muted-60:  rgba(245, 245, 240, 0.6);
  --color-muted-45:  rgba(245, 245, 240, 0.45);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light:  rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.12);

  /* Layout */
  --page-width:    1097px;
  --content-width: 1024px;
  --page-pad:      64px;
  --content-pad:   32px;

  /* Typography */
  --font: 'Jost', 'Century Gothic', 'Futura', 'Trebuchet MS', sans-serif;

  /* Motion */
  --transition: 0.2s ease;
}

/* ── Base styles ── */
html {
  background: var(--bg);
  color: var(--color-primary);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── Focus styles ── */
:focus-visible {
  outline: 2px solid rgba(245, 245, 240, 0.4);
  outline-offset: 3px;
}

/* ── Utilities ── */
.u-text-center   { text-align: center; }
.u-mt-20         { margin-top: 20px; }
.u-mt-48         { margin-top: 48px; }
.u-color-blue-muted { color: rgba(202, 213, 226, 0.7); }
