@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('../fonts/NotoSansArmenian-Bold.woff2') format('woff2');
}

:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --surface-elevated: #fffdf9;
  --text: #2d2620;
  --text-muted: #8a7a68;
  --primary: #c96442;
  --primary-hover: #a8523a;
  --primary-soft: #f6e9e2;
  --success: #5b8c3d;
  --success-soft: #e9f1de;
  --error: #b54a3e;
  --error-soft: #f5e2df;
  --border: #ede2d3;
  --border-strong: #d9c8b3;
  --shadow-sm: 0 1px 2px rgba(60, 40, 20, 0.05);
  --shadow: 0 1px 2px rgba(60, 40, 20, 0.04), 0 8px 24px rgba(60, 40, 20, 0.06);
  --shadow-lg: 0 2px 4px rgba(60, 40, 20, 0.04), 0 20px 40px rgba(60, 40, 20, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-armenian: 'Noto Sans Armenian', 'Sylfaen', 'Arial Unicode MS', sans-serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
}

h1 {
  font-size: clamp(28px, 5.5vw, 36px);
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(20px, 4vw, 24px);
  margin: 0 0 4px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.hidden { display: none !important; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1916;
    --surface: #26221e;
    --surface-elevated: #2f2a24;
    --text: #f3ebe0;
    --text-muted: #9a8e80;
    --primary: #e07a55;
    --primary-hover: #c96442;
    --primary-soft: #3a2820;
    --success: #7eb050;
    --success-soft: #2c3a22;
    --error: #d96650;
    --error-soft: #3a2520;
    --border: #3a342d;
    --border-strong: #4d463d;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.4);
  }
}
