@font-face {
  font-family: Vazirmatn;
  src: url("assets/vazirmatn-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #07110f;
  --bg-2: #0c1c19;
  --ink: #eef7f4;
  --muted: #9bb8b3;
  --line: rgba(180, 220, 210, 0.16);
  --brand: #1aa39a;
  --brand-dim: #0e6e68;
  --gold: #d7a441;
  --danger: #e07060;
  --radius: 18px;
  --space: 8px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.top {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 15, 0.72);
  border-bottom: 1px solid var(--line);
}
.top-inner, .nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.top-inner { padding: 14px 0; }
.nav { gap: 18px; flex-wrap: wrap; font-size: 0.92rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.mark {
  font-weight: 800; letter-spacing: 0.18em; font-size: 0.86rem; color: var(--gold);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px;
  padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  background: var(--brand); color: #04110f; font-weight: 700; cursor: pointer; font: inherit;
}
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.hero {
  min-height: 92vh;
  display: grid; align-items: center;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(26, 163, 154, 0.22), transparent 55%),
    radial-gradient(700px 420px at 0% 80%, rgba(215, 164, 65, 0.12), transparent 50%),
    linear-gradient(180deg, #07110f, #0a1815 70%);
  padding: 72px 0 48px;
}
.eyebrow { color: var(--gold); letter-spacing: 0.12em; font-size: 0.78rem; }
h1, .display {
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  line-height: 1.12; font-weight: 800; margin: 10px 0 18px; letter-spacing: -0.03em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
section { padding: 88px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 0 0 12px; }
.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  margin-top: 28px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 140px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.muted { color: var(--muted); }
.footer { padding: 40px 0 48px; color: var(--muted); font-size: 0.85rem; }
form { display: grid; gap: 10px; max-width: 440px; }
input, textarea, select {
  font: inherit; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #081614; color: var(--ink);
}
.err { color: var(--danger); }
.ok { color: #8fe0b5; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: right; padding: 10px 8px; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) {
  .nav { display: none; }
  section { padding: 56px 0; }
}
