@font-face {
  font-family: "Lalezar";
  src: url("../fonts/Lalezar-arabic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --pele: #2872ec;
  --pele-deep: #1a4fcf;
  --ink: #0d1d55;
  --muted: #4a5a8f;
  --sky: #eef4ff;
  --mist: #dce8ff;
  --tomato: #ff4d63;
  --honey: #ffc239;
  --white: #fff;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-hop: cubic-bezier(.34, 1.45, .5, 1);
  --pad: clamp(20px, 6vw, 84px);
  --display: "Lalezar", "Vazirmatn", system-ui, sans-serif;
  --text: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--sky);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 12px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.nav {
  position: fixed; z-index: 60;
  inset-block-start: 14px; inset-inline: 0;
  margin-inline: auto;
  width: min(1120px, calc(100% - 28px));
  display: flex; align-items: center; gap: 24px;
  padding: 7px 14px 7px 8px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  box-shadow: 0 10px 30px -12px rgba(13, 29, 85, .35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 28px; line-height: 1; }
.brand img { border-radius: 12px; }
.nav-links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav-links a { padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background .2s; }
.nav-links a:hover { background: var(--mist); }
.nav-stores { display: flex; gap: 8px; }
.mini-store { display: block; line-height: 0; transition: transform .25s var(--ease-hop); }
.mini-store:hover { transform: translateY(-3px) rotate(-4deg); }
.mini-store img { border-radius: 11px; }
.mini-store[data-store="myket"] img { border-radius: 50%; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: 100svh;
  padding: 140px var(--pad) 190px;
  color: #fff;
  background:
    radial-gradient(900px 600px at 18% 0%, rgba(150, 195, 255, .75), transparent 62%),
    linear-gradient(165deg, #5b9bfb 0%, #2f7bf5 42%, #1b55d6 100%);

  clip-path: polygon(0 0, 100% 0, 100% 100%, 76% 100%, 76% calc(100% - 34px), 52% calc(100% - 34px), 52% calc(100% - 68px), 28% calc(100% - 68px), 28% calc(100% - 102px), 0 calc(100% - 102px));
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 64%; height: 70%;
  background: linear-gradient(20deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0));
  clip-path: polygon(0 100%, 0 75%, 25% 75%, 25% 50%, 50% 50%, 50% 25%, 75% 25%, 75% 0, 100% 0, 100% 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset-inline-end: -8%; inset-block-start: -14%;
  width: 46vw; height: 46vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 66%);
}

.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(76px, 12.5vw, 176px);
  line-height: .92;
  letter-spacing: 0;
  text-shadow: 0 .045em 0 rgba(10, 38, 140, .38);
}
.hero h1 span { display: block; }
.hero h1 span:last-child { margin-inline-start: .5em; }
.lead { margin-top: 30px; max-width: 26em; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.9; color: rgba(255, 255, 255, .94); }

.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.store {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 9px 11px 9px 26px;
  background: #fff; color: var(--ink);
  border-radius: 24px;
  box-shadow: 0 6px 0 rgba(10, 38, 140, .35), 0 22px 30px -14px rgba(10, 38, 140, .55);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.store img { border-radius: 16px; flex: none; }
.store[data-store="myket"] img { border-radius: 50%; }
.store span { display: flex; flex-direction: column; line-height: 1.25; }
.store small { font-size: 13px; font-weight: 500; color: var(--muted); }
.store strong { font-size: 21px; font-weight: 800; }
.store:hover { transform: translateY(-4px); box-shadow: 0 10px 0 rgba(10, 38, 140, .35), 0 28px 34px -14px rgba(10, 38, 140, .55); }
.store:active { transform: translateY(5px); box-shadow: 0 1px 0 rgba(10, 38, 140, .35), 0 6px 14px -8px rgba(10, 38, 140, .55); }
.hero-note { margin-top: 22px; font-size: 14px; opacity: .85; }

.climb {
  --n: 0;
  position: relative; z-index: 2;
  width: 100%; max-width: 560px; justify-self: center;
  aspect-ratio: 560 / 580;
}
.scene { position: absolute; inset: 0; }
.steps { position: absolute; inset: 0; }
.step {
  position: absolute; inset-block-end: 0;
  inset-inline-end: calc(17.9% + (var(--i) - 1) * 20.5%);
  width: 20.5%;
  height: calc(var(--i) * 11.5%);
  display: grid; place-items: end center; padding-bottom: 10px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(14, 52, 168, .62), rgba(14, 52, 168, .30));
  border: 1px solid rgba(255, 255, 255, .34);
  border-bottom: 0;
  box-shadow: inset 0 10px 0 rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  clip-path: inset(0 0 0 0);
  animation: build .8s var(--ease-out) both;
  animation-delay: calc(.15s + var(--i) * .13s);
  transition: background .5s, box-shadow .5s;
}
.step b { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 3.2vw, 34px); line-height: 1; color: rgba(255, 255, 255, .5); transition: color .4s; }
.step.reached {
  background: linear-gradient(180deg, rgba(14, 52, 168, .78), rgba(14, 52, 168, .42));
  box-shadow: inset 0 10px 0 var(--honey);
}
.step.reached b { color: var(--honey); }
@keyframes build { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

.runner {
  position: absolute; z-index: 3;
  width: 19.6%;
  inset-inline-end: max(0%, calc(17.9% + (var(--n) - 1) * 20.5% + .5%));
  inset-block-end: calc(var(--n) * 11.5% - .4%);
  transition: inset-inline-end .75s var(--ease-hop), inset-block-end .75s var(--ease-hop);
  animation: drop 1s var(--ease-hop) .9s both;
}
.runner img { width: 100%; filter: drop-shadow(0 16px 12px rgba(10, 38, 140, .38)); transform-origin: 50% 100%; }
.runner.hop img { animation: hop .75s var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-60%); } to { opacity: 1; transform: none; } }
@keyframes hop {
  0% { transform: translateY(0) rotate(0); }
  35% { transform: translateY(-16%) rotate(-7deg); }
  100% { transform: translateY(0) rotate(0); }
}

.deco.tomato { position: absolute; z-index: 1; width: 15%; inset-block-start: 1%; inset-inline-start: 3%; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 18px 14px rgba(10, 38, 140, .35)); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(4deg); } }

.bell {
  position: absolute; z-index: 4; width: 14%;
  inset-inline-start: 27%; inset-block-start: 3%;
  opacity: 0; transform: translateY(-80px) rotate(-20deg);
  transform-origin: 50% 0;
  pointer-events: none;
  filter: drop-shadow(0 18px 14px rgba(10, 38, 140, .35));
  transition: opacity .3s, transform .6s var(--ease-hop);
}
.climb.done .bell { opacity: 1; transform: none; animation: ring 1.4s .5s ease-in-out 2; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 35% { transform: rotate(-14deg); } 55% { transform: rotate(9deg); } 75% { transform: rotate(-5deg); } }

.tasks {
  position: absolute; z-index: 2;
  inset-block-start: 0; inset-inline-end: 0;
  width: 53%;
  padding: 16px 18px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .95);
  border-radius: 26px;
  box-shadow: 0 6px 0 rgba(10, 38, 140, .25), 0 30px 40px -18px rgba(10, 38, 140, .55);
}
.tasks-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 6px; }
.tasks-head h2 { font-size: 16px; font-weight: 800; }
.count { font-family: var(--display); font-size: 22px; color: var(--pele); line-height: 1; }
.tasks li + li { border-top: 1px solid #e3ebff; }
.tasks button {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 2px; background: none; border: 0; cursor: pointer; text-align: start;
  font-size: clamp(14px, 1.5vw, 16px); font-weight: 600; line-height: 1.5;
}
.box {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%;
  transition: background .25s, border-color .25s, transform .3s var(--ease-hop);
}
.box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s .08s ease-out; }
.txt { position: relative; transition: color .3s; }
button[aria-checked="true"] .box { background: var(--pele); border-color: var(--pele); transform: scale(1.1); }
button[aria-checked="true"] .box svg { stroke-dashoffset: 0; }
button[aria-checked="true"] .txt { color: #8793b5; text-decoration: line-through; text-decoration-thickness: 2px; }
.tasks button:hover .box { border-color: var(--pele); }
.tasks-msg { padding: 8px 2px 2px; font-size: 13px; line-height: 1.7; color: var(--muted); min-height: 2.6em; }
.climb.done .tasks-msg { color: var(--pele-deep); font-weight: 700; }

.section-head { max-width: 1240px; margin-inline: auto; }
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.6vw, 76px); line-height: 1.15; }
.section-head p { margin-top: 14px; max-width: 34em; font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); }

.explore { padding: 40px var(--pad) 130px; }
.explore-grid {
  max-width: 1240px; margin: 60px auto 0;
  display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 56px; align-items: start;
}
.tabs { display: flex; flex-direction: column; gap: 9px; }
.tabs button {
  --k: 0;
  margin-inline-end: calc(var(--k) * 13px);
  padding: 15px 22px;
  background: rgba(255, 255, 255, .8);
  border: 0; border-radius: 18px;
  text-align: start; font-size: 17px; font-weight: 700; cursor: pointer;
  transition: background .25s, color .25s, transform .3s var(--ease-hop), box-shadow .25s;
}
.tabs button:hover { background: #fff; transform: translateX(-4px); }
.tabs button[aria-selected="true"] {
  background: var(--pele); color: #fff;
  box-shadow: 0 6px 0 var(--pele-deep);
  transform: translateX(-8px);
}

.stage { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.shot {
  position: relative; aspect-ratio: 760 / 956;
  border-radius: 38px; overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 9px #fff, 0 40px 70px -26px rgba(13, 29, 85, .5);
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s, transform .7s var(--ease-out); }
.shot img.on { opacity: 1; transform: none; }
.stage-copy h3 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.25; }
.stage-copy p { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 26em; }

.staircase { padding: 20px var(--pad) 0; background: linear-gradient(var(--sky), #fff 40%); }
.flight {
  max-width: 1240px; margin: 150px auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end;
  border-bottom: 14px solid var(--ink);
}
.riser {
  --r: 1;
  position: relative;
  min-height: calc(250px + var(--r) * 56px);
  padding: 34px 24px 32px;
  border-radius: 24px 24px 0 0;
  box-shadow: inset 0 10px 0 rgba(255, 255, 255, .6);
}
.riser:nth-child(1) { background: #dce8ff; }
.riser:nth-child(2) { background: #b8d0ff; }
.riser:nth-child(3) { background: #8bb2fb; }
.riser:nth-child(4) { background: var(--pele); color: #fff; }
.riser .obj { position: absolute; inset-inline-start: 20px; inset-block-end: calc(100% - 12px); width: clamp(84px, 9vw, 124px); filter: drop-shadow(0 16px 12px rgba(13, 29, 85, .3)); }
.riser h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin-bottom: 8px; }
.riser li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-top: 1px solid rgba(13, 29, 85, .14); font-weight: 600; font-size: 16px; line-height: 1.6; }
.riser:nth-child(4) li { border-top-color: rgba(255, 255, 255, .26); }
.riser li span { flex: none; }

.js .riser { clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease-out); transition-delay: calc(var(--r) * .14s); }
.js .riser .obj { opacity: 0; transform: translateY(-30px); transition: opacity .5s, transform .7s var(--ease-hop); transition-delay: calc(var(--r) * .14s + .6s); }
.js .flight.in .riser { clip-path: inset(-200px 0 0 0); }
.js .flight.in .riser .obj { opacity: 1; transform: none; }

.cta { padding: 76px var(--pad) 90px; background: #fff; }
.cta-card {
  position: relative; overflow: hidden;
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 60px);
  color: #fff;
  background: linear-gradient(140deg, #2f7bf5 0%, #1b45c2 62%, #0d1d55 100%);
  border-radius: clamp(28px, 4vw, 48px);
}
.cta-card::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 60%; height: 60%;
  background: linear-gradient(200deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
  clip-path: polygon(0 0, 25% 0, 25% 25%, 50% 25%, 50% 50%, 75% 50%, 75% 75%, 100% 75%, 100% 100%, 0 100%);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; }
.cta-logo { border-radius: 24px; box-shadow: 0 6px 0 rgba(0, 0, 0, .22), 0 20px 30px -12px rgba(0, 0, 0, .5); margin-bottom: 26px; }
.cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.8vw, 66px); line-height: 1.2; }
.cta-copy > p { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .9); max-width: 24em; }
.stores--big .store { padding: 10px 12px 10px 30px; }
.stores--big .store strong { font-size: 24px; }
.poster { position: relative; z-index: 1; }
.poster img { width: 100%; border-radius: 28px; transform: rotate(2.2deg); box-shadow: 0 6px 0 rgba(0, 0, 0, .18), 0 40px 60px -24px rgba(0, 0, 0, .6); }

.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px var(--pad) 40px; background: #fff; color: var(--muted); font-size: 14px; }
.brand--sm { font-size: 22px; color: var(--ink); }
.brand--sm img { border-radius: 9px; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 150px; min-height: 0; gap: 56px; }
  .hero h1 { font-size: clamp(76px, 22vw, 150px); }
  .climb { justify-self: center; }
  .explore-grid { grid-template-columns: 1fr; gap: 28px; }
  .tabs { flex-direction: row; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { --k: 0 !important; flex: none; scroll-snap-align: center; white-space: nowrap; }
  .tabs button:hover, .tabs button[aria-selected="true"] { transform: none; }
  .stage { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
  .flight { grid-template-columns: 1fr; gap: 0; margin-top: 90px; align-items: stretch; }
  .riser { min-height: 0; clip-path: none !important; border-radius: 22px 22px 0 0; margin-inline-end: calc((4 - var(--r)) * 20px); }
  .riser .obj { inset-block-end: auto; inset-block-start: -34px; inset-inline-start: auto; inset-inline-end: 18px; width: 92px; }
  .riser + .riser { margin-top: 56px; }
  .nav-links { display: none; }
  .nav-stores { margin-inline-start: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding-inline: 8px 12px; }
  .stage { grid-template-columns: 1fr; }
  .shot { width: min(340px, 100%); margin-inline: auto; }
  .cta-card { grid-template-columns: 1fr; }
  .poster img { transform: none; }
  .stores { flex-wrap: nowrap; gap: 10px; }
  .store, .stores--big .store { flex: 1 1 0; min-width: 0; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 20px; }
  .store img, .stores--big .store img { width: 44px; height: 44px; }
  .store small { font-size: 11px; }
  .store strong, .stores--big .store strong { font-size: 17px; }
  .climb { aspect-ratio: auto; display: flex; flex-direction: column; gap: 22px; }
  .tasks { position: relative; order: -1; width: 100%; padding: 14px 16px 10px; border-radius: 22px; }
  .scene { position: relative; inset: auto; width: 100%; aspect-ratio: 560 / 470; }
  .tasks button { gap: 8px; padding: 8px 0; }
  .box { width: 22px; height: 22px; }
  .tasks-msg { font-size: 12px; }
  .foot { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.about { padding: 90px var(--pad) 10px; background: #fff; }
.about-body {
  max-width: 1240px; margin: 36px auto 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px);
}
.about-body p { font-size: 18px; color: var(--muted); }
.about-body strong { color: var(--ink); font-weight: 800; }

.faq { padding: 70px var(--pad) 20px; background: #fff; }
.faq-inner { max-width: 1240px; margin-inline: auto; }
.faq-list { max-width: 860px; margin-top: 40px; }
.faq details { background: var(--sky); border-radius: 20px; padding: 0 24px; margin-bottom: 12px; transition: background .25s; }
.faq details[open] { background: var(--mist); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 18px; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--pele); color: #fff; font-size: 22px; line-height: 1;
  transition: transform .3s var(--ease-hop);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; max-width: 46em; font-size: 17px; color: var(--muted); }

.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a:hover { color: var(--pele); }

@media (max-width: 760px) {
  .about-body { grid-template-columns: 1fr; }
  .foot-links { justify-content: center; }
}
