@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f6f5f0;
  --surface: #fff;
  --soft: #f7f7f2;
  --hover: #f3f3ec;
  --text: #29352e;
  --muted: #6e786b;
  --line: #e7e9df;
  --accent: #d75431;
  --accent-hover: #b94120;
  --accent-soft: #fcf0e7;
  --green: #315843;
  --green-soft: #edf3ec;
  --gold: #be923d;
  --radius: 17px;
  --shadow: 0 10px 35px #2437280a;
  --font: Vazirmatn, Tahoma, sans-serif;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171e1a;
  --surface: #202923;
  --soft: #252f28;
  --hover: #303b31;
  --text: #eeeee1;
  --muted: #a2ad9e;
  --line: #364137;
  --accent: #f48e63;
  --accent-hover: #ffab88;
  --accent-soft: #403027;
  --green: #abd3ad;
  --green-soft: #293e2d;
  --gold: #dbb66e;
  --shadow: 0 10px 35px #0002;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font: 400 13px/1.9 var(--font);
  background: var(--bg);
  color: var(--text);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  border: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 760;
  line-height: 1.6;
}
h2 {
  font-size: 17px;
  font-weight: 720;
}
h3 {
  font-size: 14px;
  font-weight: 650;
}
small,
.small {
  font-size: 11px;
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--accent);
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.hidden,
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -100px;
  right: 30px;
  background: var(--surface);
  padding: 10px;
  z-index: 9999;
}
.skip:focus {
  top: 12px;
}
.boot {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
}
.noscript {
  margin: 40px;
}
::selection {
  background: var(--accent-soft);
  color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
