@font-face {
  font-family: "RasamIranSans";
  src: url("fonts/IRANSansWeb.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RasamIranSans";
  src: url("fonts/IRANSansWeb_Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #ed8a22;
  --orange-dark: #c86e12;
  --ink: #2c3136;
  --muted: #5c6166;
  --line: #e4e6ea;
  --bg: #f3f4f6;
  --card: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "RasamIranSans", Tahoma, sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  background: #fff;
  border-bottom: 6px solid var(--orange);
  padding: 28px 0 32px;
}
.logo {
  height: 78px;
  width: auto;
  display: block;
}
.kicker {
  margin: 18px 0 0;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 14px;
}
h1 {
  margin: 6px 0 8px;
  font-size: 34px;
  line-height: 1.45;
}
.lead {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 17px;
}
.version {
  display: inline-block;
  margin-top: 14px;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}
.version b { color: var(--ink); font-weight: 700; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  opacity: 0.85;
}
.btn.chrome, .btn.firefox {
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  gap: 2px;
}
.btn.chrome {
  background: var(--ink);
  color: #fff;
}
.btn.firefox {
  background: var(--orange);
  color: #fff;
}
.btn.guide {
  background: #fff;
  color: var(--ink);
  border-color: #cfd3d8;
}
.btn:hover { filter: brightness(1.05); }

.section { padding: 36px 0; }
h2 {
  margin: 0 0 8px;
  font-size: 26px;
}
.section > .wrap > p.intro {
  margin: 0 0 18px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 14px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.mark {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #fff4e8;
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.install-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}
.install-block h3 {
  margin: 0 0 4px;
  font-size: 20px;
}
.note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.steps { display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}
.num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.step h4 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
code, .path {
  font-family: Consolas, "Segoe UI", monospace;
  direction: ltr;
  unicode-bidi: isolate;
}

.footer {
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 800px) {
  h1 { font-size: 26px; }
  .grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
}
