@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f6f3ee;
  --card: #ffffff;
  --text: #1f2328;
  --muted: #5b6168;
  --accent: #b4532a;
  --border: #e4ddd2;
  --badge-bg: #f3e6dc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181c;
    --card: #1f2227;
    --text: #e8e6e3;
    --muted: #a3a8af;
    --accent: #e08a5e;
    --border: #33373d;
    --badge-bg: #3a2a22;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.9;
}

.card {
  width: 100%;
  max-width: 34rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px 28px;
  text-align: center;
}

.logo { display: block; margin: 0 auto; width: 72px; height: 72px; }

.contact { margin-top: 4px; direction: ltr; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 0.9rem; }

.badge {
  display: inline-block;
  margin: 8px 0 0;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

h1 { margin: 8px 0 0; font-size: 2.25rem; font-weight: 800; line-height: 1.4; }

h1.small { font-size: 1.6rem; margin-bottom: 12px; }

.tagline { margin: 0 0 16px; color: var(--muted); }

p { margin: 0 0 12px; }

.nowrap { white-space: nowrap; }

hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0 16px; }

.en {
  margin: 0;
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
}

a { color: var(--accent); }

@media (max-width: 420px) {
  body { font-size: 16px; }
  .card { padding: 28px 20px 22px; }
  h1 { font-size: 2rem; }
  h1.small { font-size: 1.4rem; }
}
