/* Codermod design tokens — space + blue brand */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Vazirmatn:wght@400;500;600;700;800&display=swap");

:root {
  --bg-deep: #020617;
  --bg-space: #0b1220;
  --bg-panel: rgba(15, 23, 42, 0.72);
  --bg-panel-solid: #0f172a;

  --primary: #1d4ed8;
  --primary-mid: #2563eb;
  --primary-light: #38bdf8;
  --accent: #22d3ee;
  --cta: #38bdf8;
  --cta-hover: #7dd3fc;

  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --success: #34d399;
  --warning: #fbbf24;
  --roadmap: #60a5fa;

  --border: rgba(56, 189, 248, 0.18);
  --border-strong: rgba(56, 189, 248, 0.35);

  --font-fa: "Vazirmatn", system-ui, sans-serif;
  --font-en: "Nunito", "Vazirmatn", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 12px 40px rgba(2, 6, 23, 0.55);
  --container: 1120px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.28s var(--ease);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-fa);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--cta-hover);
}

button,
input {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  line-height: 1.35;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.en {
  font-family: var(--font-en);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
