/* Reset, variabile, tipografie */
:root {
  --color-bg: #f6f5f3;
  --color-surface: #ffffff;
  --color-text: #1b1b1f;
  --color-muted: #6b6b76;
  --color-border: #d9d8d4;
  --color-primary: #4b2bd9;
  --color-primary-hover: #3b1fb8;
  --color-primary-contrast: #ffffff;
  --color-danger: #b42318;
  --color-danger-bg: #fdeceb;
  --color-focus: #8d77f0;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  --radius: 10px;
  --shadow-card: 0 1px 2px rgba(20, 20, 30, 0.06), 0 8px 24px rgba(20, 20, 30, 0.06);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, p { margin: 0; }

button, input { font: inherit; color: inherit; }

[hidden] { display: none !important; }

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