@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn.woff2?v=1") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1436a8;
  --blue-deep: #102e86;
  --ink: #0e1b33;
  --muted: #3e4e68;
  --teal: #0f766e;
  --teal-soft: #e7f7f4;
  --line: #d5deea;
  --paper: #ffffff;
  --bg: #f5f7fb;
  --shadow: 0 10px 30px rgba(16, 46, 134, 0.08);
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Vazirmatn, Tahoma, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.85;
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--blue-deep), #2ad4c2);
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-underline-offset: 0.18em; }

a:visited { color: var(--blue); }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 10px;
}

.skip:focus { top: 0.75rem; }

:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  min-height: 72px;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  min-height: 48px;
}

.brand img { width: 40px; height: 40px; max-width: none; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.45rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover { color: var(--blue); }

.header-cta { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.4;
}

.btn:visited { color: #fff; }

.btn:hover { background: var(--blue-deep); }

.btn-light {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 2px #d5deea;
}

.btn-light:visited { color: var(--blue-deep); }

.btn-light:hover { background: #e7eefc; }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}

.btn-ghost:visited { color: var(--blue); }

.btn-ghost:hover { background: #e7eefc; }

.hero { padding-block: 2.2rem 3rem; }

.hero-grid {
  display: grid;
  gap: 0.5rem 2rem;
  align-items: center;
}

.hero-figure { margin: 0; order: -1; justify-self: center; }

.hero-mark { width: min(220px, 62vw); height: auto; }

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--teal);
  font-weight: 700;
}

.latin {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

h1, h2, h3 { line-height: 1.35; font-weight: 900; }

h1 { margin: 0; font-size: clamp(2.15rem, 7vw, 3.6rem); }

h2 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 3vw, 2rem); }

.lead {
  margin: 0.9rem 0 1.15rem;
  font-size: 1.15rem;
  max-width: 38rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.note { margin: 0.85rem 0 0; color: var(--muted); }

.section { padding-block: 2.6rem; scroll-margin-top: 84px; }

.section-head { max-width: 40rem; margin-bottom: 1.25rem; }

.section-head p { margin: 0; color: var(--muted); }

.cards {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card, .step, .support-card, .faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card { padding: 1.1rem 1.15rem 1.2rem; }

.card h3, .step h3 { margin: 0.7rem 0 0.35rem; font-size: 1.15rem; }

.card p, .step p { margin: 0; color: var(--muted); }

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
}

.card-icon svg { width: 26px; height: 26px; }

.steps {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step { padding: 1.15rem; }

.step-no {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.earn {
  background: var(--blue-deep);
  color: #fff;
}

.earn .section-head p, .earn p { color: #e4ecff; }

.earn h2 { color: #fff; }

.earn-actions { margin-top: 1.1rem; }

.faq { display: grid; gap: 0.7rem; }

.faq-item { padding: 1rem 1.1rem 0.15rem; }

.faq-item h3 { margin: 0 0 0.3rem; font-size: 1.08rem; }

.faq-item p { margin: 0 0 0.9rem; color: var(--muted); }

.support-card { padding: 1.2rem 1.15rem; }

.support-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.8rem;
  margin: 0.8rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.handle { font-weight: 800; }

.site-footer {
  background: var(--blue-deep);
  color: #e4ecff;
  padding-block: 2rem 2.4rem;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
}

.footer-id {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.footer-id:visited { color: #fff; }

.fine {
  width: 100%;
  margin: 0.2rem 0 0;
  color: #c9d6f5;
  font-size: 0.95rem;
}

.missing { padding-block: 3rem 4rem; }

.missing h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }

@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
}

@media (min-width: 720px) {
  .header-cta { display: inline-flex; margin-inline-start: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 840px) {
  .hero { padding-block: 3.2rem 4rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-figure { order: 0; justify-self: end; }
  .hero-mark { width: min(300px, 100%); }
  .hero-copy { text-align: start; }
  .section { padding-block: 3.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
