/* =========================================
   Nambin — Marmo Nero Gold
   Variabili palette + reset + tipografia
   ========================================= */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0d10;
  --bg-deeper: #050505;
  --surface: #1a1820;
  --surface-raised: #242028;
  --border: #2a2730;
  --border-strong: #3a3640;

  --gold: #d4af37;
  --gold-bright: #e8c547;
  --gold-dim: #a88a28;

  --purple: #b47ae8;
  --purple-dim: #8a5ac0;

  --gray: #808080;
  --gray-dim: #5a5a5a;

  --text: #f0ebe0;
  --text-dim: #a09890;
  --text-faint: #666159;

  --green: #4ade80;
  --red: #e06060;
  --red-soft: #d88888;
  --orange: #f0a050;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.6);

  --transition: 0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg-deeper);
  color: var(--text);
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(24px, 4vw, 32px); }
h2 { font-size: clamp(18px, 3vw, 22px); }
h3 { font-size: clamp(16px, 2.4vw, 18px); }
h4 { font-size: clamp(14px, 2vw, 16px); }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-bright); }

small, .small { font-size: clamp(11px, 1.3vw, 12px); }

.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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