/* Shared tokens + font. Brand values from miare-vault/brand.md. */
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --purple: #701F83;
  --purple-deep: #5A1869;
  --yellow: #FDB813;
  --ink: #282828;
  --muted: #685E6D;
  --line: #E2D6E8;
  --tint: #F7F2F9;
  --white: #FFFFFF;
  --error: #B3261E;
  --ok: #1E7B4F;
}

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

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

body {
  margin: 0;
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  font-feature-settings: "ss01";
}

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

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

[hidden] { display: none !important; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
