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

:root {
  color-scheme: dark;
  --bg: #07090d;
  --surface: #10141c;
  --surface-2: #151b25;
  --line: #293140;
  --text: #f4f6fa;
  --muted: #bdc6d6;
  --accent: #ff394f;
  --accent-dark: #df0021;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 2;
}
a { color: inherit; }
.wrap { width: min(1040px, calc(100% - 32px)); margin: auto; }
.top { position: sticky; top: 0; z-index: 10; padding: 18px 0; border-bottom: 1px solid var(--line); background: rgba(7,9,13,.94); backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-weight: 800; text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 14px; }
.top nav a { color: #cbd3df; text-decoration: none; font-size: 14px; }
.hero { padding: 88px 0 58px; }
.kicker { color: var(--accent); font-weight: 700; }
.hero h1 { max-width: 960px; margin: 12px 0 22px; font-size: clamp(36px, 6vw, 66px); line-height: 1.35; }
.lead { max-width: 900px; color: #c9d1df; font-size: clamp(17px, 2vw, 21px); }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.quick a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: #dbe2ec; text-decoration: none; }
.content { padding: 10px 0 76px; }
.content h2 { margin: 56px 0 16px; font-size: clamp(27px, 4vw, 40px); line-height: 1.45; }
.content h3 { line-height: 1.55; }
.content p, .content li { color: var(--muted); }
.content strong { color: #edf1f7; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 14px; margin: 28px 0; }
.card, .faq details, .note { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { position: relative; padding: 20px 70px 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; right: 20px; top: 19px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-dark); color: #fff; font-weight: 800; }
.note { margin: 28px 0; background: var(--surface-2); }
.faq details { margin: 12px 0; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { margin-bottom: 0; }
.cta { margin-top: 58px; padding: clamp(28px, 5vw, 50px); border-radius: 26px; background: linear-gradient(135deg, #df0021, #a50018); }
.cta h2 { margin-top: 0; }
.cta p { color: #fff; }
.button { display: inline-block; margin: 10px 8px 0 0; padding: 12px 21px; border-radius: 999px; background: #fff; color: #111; text-decoration: none; font-weight: 800; }
.button.secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.65); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 36px 0 0; }
.related a { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: #dce3ee; }
.footer { padding: 30px 0; border-top: 1px solid var(--line); color: #9aa6b8; }
.footer a { color: #c5cfdd; }

@media (max-width: 680px) {
  .top { position: static; }
  .top .wrap { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 58px; }
  .steps li { padding-right: 64px; }
}
