
body.page {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.page::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body.page #bg,
body.page #veil,
body.page #grain {
  position: fixed;
}

body.page #veil {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(11,13,16,.55), rgba(11,13,16,.88) 70%),
    linear-gradient(180deg, rgba(11,13,16,.70), rgba(11,13,16,.94));
}

.pg-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--nav-h);
  padding: 0 clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(11,13,16,.82), rgba(11,13,16,.35));
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.pg-brand {
  display: inline-flex;
  align-items: center;
  margin-inline-end: auto;
  opacity: .95;
  transition: opacity .2s, transform .2s;
}

.pg-brand:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.pg-brand img {
  height: 30px;
  width: auto;
  display: block;
}

.pg-nav .nav-btn {
  text-decoration: none;
}

.pg-wrap {
  position: relative;
  z-index: 2;
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px) clamp(16px, 4vw, 40px) 80px;
}

.pg-head {
  margin-bottom: clamp(22px, 4vw, 38px);
}

.pg-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 4px 11px;
  border-radius: 999px;
  color: #08111c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.pg-head h1 {
  margin: 14px 0 10px;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.35;
  font-weight: 800;
}

.pg-lead {
  margin: 0;
  max-width: 70ch;
  color: var(--ink-2);
  font-size: clamp(15px, 2.2vw, 17px);
}

.pg-sec {
  margin-top: clamp(26px, 4vw, 44px);
}

.pg-sec > h2 {
  margin: 0 0 6px;
  font-size: clamp(20px, 3.2vw, 26px);
  font-weight: 800;
}

.pg-sec > h2 + p {
  margin: 0 0 18px;
  max-width: 70ch;
  color: var(--ink-2);
}

.pg-sec h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.pg-card {
  padding: clamp(18px, 3vw, 24px);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 16px 38px rgba(0,0,0,.30);
}

.pg-card + .pg-card {
  margin-top: 14px;
}

.pg-card p:last-child,
.pg-card ul:last-child,
.pg-card ol:last-child {
  margin-bottom: 0;
}

.pg-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pg-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 13px;
  color: #eaf2ff;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(94,159,232,.34), rgba(79,123,247,.16));
}

.pg-ic svg {
  width: 22px;
  height: 22px;
}

.pg-tiles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pg-tile {
  display: block;
  padding: 18px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transition: transform .22s cubic-bezier(.2,.7,.2,1), border-color .22s, box-shadow .22s;
}

.pg-tile:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.pg-tile b {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.pg-tile span {
  color: var(--ink-2);
  font-size: 14px;
}

.pg-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pg-steps > li {
  counter-increment: step;
  position: relative;
  padding: 16px 64px 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}

.pg-steps > li::before {
  content: counter(step, persian);
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  color: #08111c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.pg-steps > li b {
  display: block;
  margin-bottom: 2px;
}

.pg-steps > li p {
  margin: 0;
  color: var(--ink-2);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  margin-inline-start: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .75;
  transition: transform .25s;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq details[open] summary {
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.faq .ans {
  padding: 14px 18px 16px;
  color: var(--ink-2);
}

.faq .ans p:first-child {
  margin-top: 0;
}

.faq .ans p:last-child {
  margin-bottom: 0;
}

.pg-fix {
  border-inline-start: 3px solid var(--danger);
}

.pg-fix .pg-bad,
.pg-fix .pg-good {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
}

.pg-fix .pg-bad b,
.pg-fix .pg-good b {
  flex: none;
  font-size: 13px;
  padding: 1px 9px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.pg-fix .pg-bad b {
  color: #ffd9d3;
  background: rgba(233,115,102,.22);
  border: 1px solid rgba(233,115,102,.45);
}

.pg-fix .pg-good b {
  color: #d8f6e4;
  background: rgba(126,214,159,.20);
  border: 1px solid rgba(126,214,159,.45);
}

.pg-fix .pg-bad span,
.pg-fix .pg-good span {
  color: var(--ink-2);
}

.pg-log {
  display: grid;
  gap: 14px;
}

.pg-rel {
  position: relative;
  padding-inline-start: 22px;
}

.pg-rel::before {
  content: "";
  position: absolute;
  inset-inline-end: -1px;
  top: 26px;
  bottom: -14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(94,159,232,.55), rgba(94,159,232,0));
}

.pg-log > .pg-card:last-child .pg-rel::before {
  display: none;
}

.pg-ver {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.pg-ver h3 {
  margin: 0;
}

.pg-date {
  font-size: 13px;
  color: #93a1b4;
}

.pg-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  color: #eaf2ff;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(94,159,232,.20);
}

.pg-chip.new {
  color: #08111c;
  border-color: transparent;
  background: linear-gradient(135deg, #7ED69F, #5E9FE8);
}

.pg-shot {
  margin: 16px 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}

.pg-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.pg-shot figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #93a1b4;
  border-top: 1px solid rgba(255,255,255,.10);
}

.pg-shot.empty {
  display: grid;
  place-items: center;
  min-height: 200px;
  color: #8d9aad;
  font-size: 14px;
  border-style: dashed;
}

.pg-list {
  margin: 0;
  padding-inline-start: 20px;
  color: var(--ink-2);
}

.pg-list li + li {
  margin-top: 6px;
}

.pg-cta {
  margin-top: clamp(26px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pg-cta .gbtn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pg-foot {
  position: relative;
  z-index: 2;
  padding: 22px clamp(16px, 4vw, 40px) 34px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(11,13,16,.55);
}

.pg-foot-in {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-2);
}

.pg-foot a {
  color: #cfe0f5;
  text-decoration: none;
}

.pg-foot a:hover {
  text-decoration: underline;
}

.pg-foot .sep {
  opacity: .35;
}

@media (max-width: 560px) {
  .pg-steps > li {
    padding: 14px 58px 14px 14px;
  }
}

.pg-grid > .pg-card + .pg-card,
.pg-tiles > .pg-card + .pg-card {
  margin-top: 0;
}

.pg-grid,
.pg-tiles {
  align-items: stretch;
}

.pg-grid > .pg-card,
.pg-tiles > .pg-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pg-grid > .pg-card > h3,
.pg-tiles > .pg-tile > b {
  flex: none;
}

.pg-card,
.pg-fix p,
.pg-sec h3,
.pg-list li,
.pg-steps > li p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ltr {
  unicode-bidi: isolate;
}

@media (max-width: 560px) {
  .pg-fix .pg-bad,
  .pg-fix .pg-good {
    display: block;
  }

  .pg-fix .pg-bad b,
  .pg-fix .pg-good b {
    margin-bottom: 6px;
  }

  .pg-card {
    padding: 16px 14px;
  }
}

.pg-anno {
  position: relative;
  margin: 18px 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: 0 16px 38px rgba(0,0,0,.32);
}

.pg-anno .frame {
  position: relative;
  display: block;
  line-height: 0;
}

.pg-anno img {
  display: block;
  width: 100%;
  height: auto;
}

.pg-anno .mk {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
  border: 2px solid #7ED69F;
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(8,17,28,.55), 0 0 20px rgba(126,214,159,.45);
  pointer-events: none;
}

.pg-anno .mk.round {
  border-radius: 999px;
}

.pg-anno .mk b {
  position: absolute;
  --d: clamp(13px, 2.4vw, 22px);
  top: calc(var(--d) / -2);
  left: calc(var(--d) / -2);
  width: var(--d);
  height: var(--d);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: calc(var(--d) * 0.55);
  line-height: 1;
  font-weight: 800;
  color: #08111c;
  background: linear-gradient(135deg, #7ED69F, #5E9FE8);
  box-shadow: 0 2px 6px rgba(0,0,0,.45);
}

.pg-anno figcaption {
  padding: 12px 14px;
  font-size: 13px;
  color: #93a1b4;
  border-top: 1px solid rgba(255,255,255,.10);
}

.pg-keys {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.pg-keys li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
}

.pg-keys .n {
  flex: none;
  margin-top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #08111c;
  background: linear-gradient(135deg, #7ED69F, #5E9FE8);
}

.pg-keys b {
  color: #fff;
}
